Skip to content

Commit 13f7723

Browse files
Merge pull request #237 from awgreene/olmconfig-create-only-annotation
Add the create-only annotation to the olmconfig/cluster manifest
2 parents 6efdf7a + 423c687 commit 13f7723

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

manifests/0000_50_olm_02-olmconfig.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: OLMConfig
33
metadata:
44
name: cluster
55
annotations:
6+
release.openshift.io/create-only: "true"
67
include.release.openshift.io/ibm-cloud-managed: "true"
78
include.release.openshift.io/self-managed-high-availability: "true"
89
include.release.openshift.io/single-node-developer: "true"

scripts/cluster-olmconfig.patch.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
metadata:
2+
annotations:
3+
release.openshift.io/create-only: "true"

scripts/generate_crds_manifests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ ${YQ} merge --inplace -d'0' manifests/0000_50_olm_00-namespace.yaml scripts/moni
6464
${YQ} write --inplace -s scripts/olm-deployment.patch.yaml manifests/0000_50_olm_07-olm-operator.deployment.yaml
6565
${YQ} write --inplace -s scripts/catalog-deployment.patch.yaml manifests/0000_50_olm_08-catalog-operator.deployment.yaml
6666
${YQ} write --inplace -s scripts/packageserver-deployment.patch.yaml manifests/0000_50_olm_15-packageserver.clusterserviceversion.yaml
67+
${YQ} merge --inplace manifests/0000_50_olm_02-olmconfig.yaml scripts/cluster-olmconfig.patch.yaml
6768
mv manifests/0000_50_olm_15-packageserver.clusterserviceversion.yaml pkg/manifests/csv.yaml
6869
cp scripts/packageserver-pdb.yaml manifests/0000_50_olm_00-packageserver.pdb.yaml
6970

0 commit comments

Comments
 (0)