Skip to content
Prev Previous commit
Next Next commit
add namespace field in sa, and update watch namespace
Signed-off-by: Allen Li <[email protected]>
  • Loading branch information
qpdpQ committed Jan 30, 2025
commit a38256d4d5724882fdfe2342b48a55d02f651dca
7 changes: 3 additions & 4 deletions helm/templates/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,9 @@ spec:
fieldPath: metadata.namespace
- name: WATCH_NAMESPACE
valueFrom:
configMapKeyRef:
key: namespaces
name: namespace-scope
optional: true
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
# this might be remove in non-olm env
- name: OPERATOR_CONDITION_NAME
value: operand-deployment-lifecycle-manager.v4.3.9
Expand Down
1 change: 1 addition & 0 deletions helm/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: operand-deployment-lifecycle-manager
namespace: {{ .Values.operatorNamespace }}