Fix the definition of ConfigMap definitions to remove
doubled names
Issue-ID: OOM-3198
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: Ibe56b731eeaf59ee55e260a3684595a0b75ee288
(cherry picked from commit
3dbdcdb96ae6ffbd149e8610d5b15a7a4af465ea)
apiVersion: v1
kind: ConfigMap
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 }}
data:
{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
*/}}
apiVersion: v1
kind: ConfigMap
*/}}
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 }}
data:
{{ tpl (.Files.Glob "resources/envsubst/*").AsConfig . | indent 2 }}