From 2030005a197b5f521c70afb4418f4ef4ecd84202 Mon Sep 17 00:00:00 2001 From: Andrew Block Date: Mon, 25 Dec 2023 17:10:48 -0600 Subject: [PATCH] Corrected ClusterRoleBinding namespace Signed-off-by: Andrew Block --- config/helmchart/kustomization.yaml | 3 +++ config/helmchart/service-account.yaml | 5 +++++ config/helmchart/templates/service-account.yaml | 4 ---- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 config/helmchart/service-account.yaml delete mode 100644 config/helmchart/templates/service-account.yaml diff --git a/config/helmchart/kustomization.yaml b/config/helmchart/kustomization.yaml index 3c8edfbf..966797b7 100644 --- a/config/helmchart/kustomization.yaml +++ b/config/helmchart/kustomization.yaml @@ -12,6 +12,9 @@ namePrefix: group-sync-operator- #commonLabels: # someName: someValue +resources: + - service-account.yaml + bases: - ../rbac - ../prometheus diff --git a/config/helmchart/service-account.yaml b/config/helmchart/service-account.yaml new file mode 100644 index 00000000..7cd6025b --- /dev/null +++ b/config/helmchart/service-account.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: controller-manager + namespace: system diff --git a/config/helmchart/templates/service-account.yaml b/config/helmchart/templates/service-account.yaml deleted file mode 100644 index 2fcd1e68..00000000 --- a/config/helmchart/templates/service-account.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: group-sync-operator-controller-manager \ No newline at end of file