Skip to content

Commit

Permalink
fixed olm package warnings (#1198)
Browse files Browse the repository at this point in the history
* fixed package warnings

* removed unused data
  • Loading branch information
AndrewChubatiuk authored Dec 20, 2024
1 parent a3c07b2 commit 2c7f65f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/operatorhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ jobs:
repo:
- fork: VictoriaMetrics/operatorhub-operators
upstream: k8s-operatorhub/community-operators
catalog: default
- fork: VictoriaMetrics/openshift-community-operators-prod
upstream: redhat-openshift-ecosystem/community-operators-prod
catalog: fbc
steps:
- name: Check out OperatorHub operators repo fork
uses: actions/checkout@v4
Expand Down Expand Up @@ -57,10 +55,9 @@ jobs:
export REPLACE_VERSION=$(find __k8s-operatorhub-repo/operators/victoriametrics-operator/* -maxdepth 0 -type d -exec basename {} \; | sort -V -r | head -1)
yq -i '.spec.replaces = "victoriametrics-operator.v" + strenv(REPLACE_VERSION)' $MANIFEST_PATH
mkdir -p __k8s-operatorhub-repo/operators/victoriametrics-operator
mv bundle/ci.${{ matrix.repo.catalog }}.yaml bundle/ci.yaml
rm bundle/ci.*.yaml
mv bundle/* __k8s-operatorhub-repo/operators/victoriametrics-operator/
if [ -f __k8s-operatorhub-repo/operators/victoriametrics-operator/Makefile ]; then
yq -i '.fbc.enabled = true' __k8s-operatorhub-repo/operators/victoriametrics-operator/ci.yaml
cd __k8s-operatorhub-repo/operators/victoriametrics-operator
make catalogs
fi
Expand Down
10 changes: 0 additions & 10 deletions config/manifests/ci.default.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions config/manifests/ci.fbc.yaml → config/manifests/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
fbc:
enabled: true
updateGraph: replaces-mode
packagemanifestClusterVersionLabel: auto
addReviewers: true
reviewers:
Expand Down

0 comments on commit 2c7f65f

Please sign in to comment.