Skip to content

Commit c49fd4e

Browse files
committed
Update operator deployment with UNSUPPORTED_ADDON_FEATURES env var
* bundle sets the --unsupported-addon-features arg with value of env Signed-off-by: Swarup Ghosh <swghosh@redhat.com>
1 parent 78de13d commit c49fd4e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

bundle/manifests/cert-manager-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,7 @@ spec:
673673
- --v=$(OPERATOR_LOG_LEVEL)
674674
- --trusted-ca-configmap=$(TRUSTED_CA_CONFIGMAP_NAME)
675675
- --cloud-credentials-secret=$(CLOUD_CREDENTIALS_SECRET_NAME)
676+
- --unsupported-addon-features=$(UNSUPPORTED_ADDON_FEATURES)
676677
command:
677678
- /usr/bin/cert-manager-operator
678679
env:
@@ -706,6 +707,7 @@ spec:
706707
value: "2"
707708
- name: TRUSTED_CA_CONFIGMAP_NAME
708709
- name: CLOUD_CREDENTIALS_SECRET_NAME
710+
- name: UNSUPPORTED_ADDON_FEATURES
709711
image: openshift.io/cert-manager-operator:latest
710712
imagePullPolicy: IfNotPresent
711713
name: cert-manager-operator

config/manager/manager.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ spec:
6262
- '--v=$(OPERATOR_LOG_LEVEL)'
6363
- '--trusted-ca-configmap=$(TRUSTED_CA_CONFIGMAP_NAME)'
6464
- '--cloud-credentials-secret=$(CLOUD_CREDENTIALS_SECRET_NAME)'
65+
- '--unsupported-addon-features=$(UNSUPPORTED_ADDON_FEATURES)'
6566
env:
6667
- name: WATCH_NAMESPACE
6768
valueFrom:
@@ -93,6 +94,7 @@ spec:
9394
value: '2'
9495
- name: TRUSTED_CA_CONFIGMAP_NAME
9596
- name: CLOUD_CREDENTIALS_SECRET_NAME
97+
- name: UNSUPPORTED_ADDON_FEATURES
9698
image: controller:latest
9799
imagePullPolicy: IfNotPresent
98100
name: cert-manager-operator

0 commit comments

Comments
 (0)