From 51502e05da24c29d85512606bd3d96ab81e985ea Mon Sep 17 00:00:00 2001 From: Raghavi Shirur Date: Wed, 9 Aug 2023 10:11:26 +0530 Subject: [PATCH] Fix yaml env ValueFrom field --- config/manager/manager.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index db41d7332..99ac90707 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -57,6 +57,8 @@ spec: fieldRef: fieldPath: metadata.annotations['olm.targetNamespaces'] - name : ARGOCD_LABEL_SELECTOR - value: "" + valueFrom: + fieldRef: + fieldPath: metadata.labels[ARGOCD_LABEL_SELECTOR] serviceAccountName: controller-manager terminationGracePeriodSeconds: 10 \ No newline at end of file