From 0a997e26592ea05b60a97ea55fdf480c70333ca4 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Mon, 22 Apr 2024 15:25:17 +0200 Subject: [PATCH] Fix namespace in manifests in OSM helm chart Change-Id: I2dac019347973be31f0dc2056ca5109c8e65bd5e Signed-off-by: garciadeblas --- .../osm/templates/certauth_setup/lcm-client-certificate.yaml | 2 +- .../helm/osm/templates/certauth_setup/osm-ca-certificate.yaml | 2 +- .../helm/osm/templates/grafana/grafana-clusterrolebinding.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installers/helm/osm/templates/certauth_setup/lcm-client-certificate.yaml b/installers/helm/osm/templates/certauth_setup/lcm-client-certificate.yaml index 9a9646f8..a16a8059 100644 --- a/installers/helm/osm/templates/certauth_setup/lcm-client-certificate.yaml +++ b/installers/helm/osm/templates/certauth_setup/lcm-client-certificate.yaml @@ -19,7 +19,7 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: lcm-client - namespace: osm + namespace: {{ .Release.Namespace }} spec: secretName: lcm-client-cert privateKey: diff --git a/installers/helm/osm/templates/certauth_setup/osm-ca-certificate.yaml b/installers/helm/osm/templates/certauth_setup/osm-ca-certificate.yaml index 23765df0..dc695640 100644 --- a/installers/helm/osm/templates/certauth_setup/osm-ca-certificate.yaml +++ b/installers/helm/osm/templates/certauth_setup/osm-ca-certificate.yaml @@ -19,7 +19,7 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: osm-ca-certificate - namespace: osm + namespace: {{ .Release.Namespace }} spec: isCA: true commonName: osm diff --git a/installers/helm/osm/templates/grafana/grafana-clusterrolebinding.yaml b/installers/helm/osm/templates/grafana/grafana-clusterrolebinding.yaml index a6c2f976..46669bf2 100644 --- a/installers/helm/osm/templates/grafana/grafana-clusterrolebinding.yaml +++ b/installers/helm/osm/templates/grafana/grafana-clusterrolebinding.yaml @@ -28,5 +28,5 @@ roleRef: subjects: - kind: ServiceAccount name: grafana - namespace: osm + namespace: {{ .Release.Namespace }} {{- end -}} \ No newline at end of file -- 2.25.1