Skip to content

Commit 038f48d

Browse files
committed
fix(manifest): fix env var projection in command
the wrong brackets was causing the "cleanup" namespace to be set to "" instead of the namespace where olm is deployed. this caused upgrade failures when old artifacts weren't properly cleaned on startup.
1 parent 037ead3 commit 038f48d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deploy/chart/templates/0000_50_olm_07-olm-operator.deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
- /bin/olm
2828
args:
2929
- -namespace
30-
- ${OPERATOR_NAMESPACE}
30+
- $(OPERATOR_NAMESPACE)
3131
{{- if .Values.watchedNamespaces }}
3232
- -watchedNamespaces
3333
- {{ .Values.watchedNamespaces }}

manifests/0000_50_olm_07-olm-operator.deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
- /bin/olm
2626
args:
2727
- -namespace
28-
- ${OPERATOR_NAMESPACE}
28+
- $(OPERATOR_NAMESPACE)
2929
- -writeStatusName
3030
- operator-lifecycle-manager
3131
- -writePackageServerStatusName

0 commit comments

Comments
 (0)