From: garciadeblas Date: Mon, 22 Apr 2024 13:25:17 +0000 (+0200) Subject: Fix namespace in manifests in OSM helm chart X-Git-Tag: release-v16.0-start~39 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F26%2F14326%2F1;p=osm%2Fdevops.git Fix namespace in manifests in OSM helm chart Change-Id: I2dac019347973be31f0dc2056ca5109c8e65bd5e Signed-off-by: garciadeblas --- 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