Fix namespace in manifests in OSM helm chart 26/14326/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 22 Apr 2024 13:25:17 +0000 (15:25 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 22 Apr 2024 13:26:53 +0000 (15:26 +0200)
Change-Id: I2dac019347973be31f0dc2056ca5109c8e65bd5e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/helm/osm/templates/certauth_setup/lcm-client-certificate.yaml
installers/helm/osm/templates/certauth_setup/osm-ca-certificate.yaml
installers/helm/osm/templates/grafana/grafana-clusterrolebinding.yaml

index 9a9646f..a16a805 100644 (file)
@@ -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:
index 23765df..dc69564 100644 (file)
@@ -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
index a6c2f97..46669bf 100644 (file)
@@ -28,5 +28,5 @@ roleRef:
 subjects:
 - kind: ServiceAccount
   name: grafana
-  namespace: osm
+  namespace: {{ .Release.Namespace }}
 {{- end -}}
\ No newline at end of file