From f1f8a0d02d88dc239e286ae57fc4a063627b6414 Mon Sep 17 00:00:00 2001 From: Timm Hirsens Date: Thu, 4 Jul 2024 10:08:09 +0200 Subject: [PATCH] fix: operator deployment ignores custom namespace --- .../helm/retina/templates/operator/clusterrolebinding.yaml | 2 +- .../controller/helm/retina/templates/operator/deployment.yaml | 2 +- .../helm/retina/templates/operator/serviceaccount.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/hubble/manifests/controller/helm/retina/templates/operator/clusterrolebinding.yaml b/deploy/hubble/manifests/controller/helm/retina/templates/operator/clusterrolebinding.yaml index 09580886c7..3138f41fbf 100644 --- a/deploy/hubble/manifests/controller/helm/retina/templates/operator/clusterrolebinding.yaml +++ b/deploy/hubble/manifests/controller/helm/retina/templates/operator/clusterrolebinding.yaml @@ -17,6 +17,6 @@ roleRef: subjects: - kind: ServiceAccount name: retina-operator - namespace: kube-system + namespace: {{ .Values.namespace }} {{- end -}} diff --git a/deploy/hubble/manifests/controller/helm/retina/templates/operator/deployment.yaml b/deploy/hubble/manifests/controller/helm/retina/templates/operator/deployment.yaml index 7aed8c5281..60bbf52647 100644 --- a/deploy/hubble/manifests/controller/helm/retina/templates/operator/deployment.yaml +++ b/deploy/hubble/manifests/controller/helm/retina/templates/operator/deployment.yaml @@ -3,7 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: retina-operator - namespace: kube-system + namespace: {{ .Values.namespace }} labels: app: retina-operator control-plane: retina-operator diff --git a/deploy/hubble/manifests/controller/helm/retina/templates/operator/serviceaccount.yaml b/deploy/hubble/manifests/controller/helm/retina/templates/operator/serviceaccount.yaml index 5bc62e53ba..161637850c 100644 --- a/deploy/hubble/manifests/controller/helm/retina/templates/operator/serviceaccount.yaml +++ b/deploy/hubble/manifests/controller/helm/retina/templates/operator/serviceaccount.yaml @@ -11,6 +11,6 @@ metadata: app.kubernetes.io/part-of: operator app.kubernetes.io/managed-by: kustomize name: retina-operator - namespace: kube-system + namespace: {{ .Values.namespace }} {{- end -}}