Merge "[A1P] Correct the ConfigMap Naming"
authorAndreas Geissler <andreas-geissler@telekom.de>
Fri, 23 Jun 2023 06:41:08 +0000 (06:41 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 23 Jun 2023 06:41:08 +0000 (06:41 +0000)
kubernetes/a1policymanagement/templates/configmap.yaml
kubernetes/a1policymanagement/templates/envsubst-configmap.yaml

index e84beac..13dd4db 100644 (file)
@@ -18,7 +18,6 @@
 
 apiVersion: v1
 kind: ConfigMap
-metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
-  name: {{ include "common.fullname" . }}-policy-conf
+metadata: {{- include "common.resourceMetadata" (dict "dot" . "suffix" "policy-conf" ) | nindent 2 }}
 data:
 {{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
index 9944963..f12d601 100644 (file)
@@ -17,7 +17,6 @@
 */}}
 apiVersion: v1
 kind: ConfigMap
-metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
-  name: {{ include "common.fullname" . }}-envsubst-scripts
+metadata: {{- include "common.resourceMetadata" (dict "dot" . "suffix" "envsubst-scripts" ) | nindent 2 }}
 data:
 {{ tpl (.Files.Glob "resources/envsubst/*").AsConfig . | indent 2 }}