From f2610c8995f3328839bdde5c9586514942586eb2 Mon Sep 17 00:00:00 2001 From: Gabe Alford Date: Tue, 17 Oct 2023 11:14:54 -0600 Subject: [PATCH] fix: ensure operator management config for non-OpenShift distros --- config/non-olm/patches/manager_patch.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/non-olm/patches/manager_patch.yaml b/config/non-olm/patches/manager_patch.yaml index 5878c800..dd426caa 100644 --- a/config/non-olm/patches/manager_patch.yaml +++ b/config/non-olm/patches/manager_patch.yaml @@ -13,5 +13,15 @@ spec: env: - name: WATCH_NAMESPACE value: null + args: + - "--config=controller_manager_config.yaml" + volumeMounts: + - name: manager-config + mountPath: /controller_manager_config.yaml + subPath: controller_manager_config.yaml securityContext: fsGroup: 65534 + volumes: + - name: manager-config + configMap: + name: manager-config