Skip to content

Commit

Permalink
Merge pull request #300 from mpatlasov/STOR-1844-update-OLM-manifests…
Browse files Browse the repository at this point in the history
…-to-use-stable-channel

STOR-1844: update OLM manifests to use stable channel
  • Loading branch information
openshift-merge-bot[bot] authored Oct 16, 2024
2 parents e9b462f + 26473e7 commit 7280bd6
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions config/samba/bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=smb-csi-driver-operator
LABEL operators.operatorframework.io.bundle.channels.v1=preview
LABEL operators.operatorframework.io.bundle.channel.default.v1=preview
COPY manifests/preview/smb-csi-driver-operator.clusterserviceversion.yaml /manifests/smb-csi-driver-operator.clusterserviceversion.yaml
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
COPY manifests/stable/smb-csi-driver-operator.clusterserviceversion.yaml /manifests/smb-csi-driver-operator.clusterserviceversion.yaml
COPY metadata/annotations.yaml /metadata/annotations.yaml
2 changes: 1 addition & 1 deletion config/samba/manifests/art.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
updates:
- file: "preview/smb-csi-driver-operator.clusterserviceversion.yaml" # relative to this file
- file: "stable/smb-csi-driver-operator.clusterserviceversion.yaml" # relative to this file
update_list:
# replace metadata.name value
- search: "smb-csi-driver-operator.v{MAJOR}.{MINOR}.0"
Expand Down
1 change: 1 addition & 0 deletions config/samba/manifests/preview
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packageName: smb-csi-driver-operator
channels:
- name: preview
- name: stable
currentCSV: smb-csi-driver-operator.v4.18.0
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
- name: Source Repository
url: https://github.com/openshift/csi-operator
version: 4.18.0
maturity: preview
maturity: stable
maintainers:
- email: [email protected]
name: Red Hat
Expand Down
4 changes: 2 additions & 2 deletions config/samba/metadata/annotations.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
annotations:
operators.operatorframework.io.bundle.channel.default.v1: preview
operators.operatorframework.io.bundle.channels.v1: preview
operators.operatorframework.io.bundle.channel.default.v1: stable
operators.operatorframework.io.bundle.channels.v1: stable
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
operators.operatorframework.io.bundle.metadata.v1: metadata/
Expand Down
2 changes: 1 addition & 1 deletion hack/create-samba-bundle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mkdir -p opm-bundle
pushd opm-bundle
cp -r -v ../../config/samba/* .

MANIFEST=manifests/preview/smb-csi-driver-operator.clusterserviceversion.yaml
MANIFEST=manifests/stable/smb-csi-driver-operator.clusterserviceversion.yaml

# Replace images in the manifest - error prone, needs to be in sync with image-references.
sed -i.bak -e "s~quay.io/openshift/origin-smb-csi-driver-operator:latest~$OPERATOR_IMAGE~" \
Expand Down

0 comments on commit 7280bd6

Please sign in to comment.