diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-06-22 11:36:14 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-06-23 06:41:21 +0000 |
commit | b0fc540158a2a55fdd692c8237b3280ca18e4a57 (patch) | |
tree | 5e3bb16cf8ad2757a6191bc9fcb73bee57b8102e /kubernetes/a1policymanagement | |
parent | 1f5a0ae9d0fc40ab0906871d68c646cead2415ad (diff) |
[A1P] Correct the ConfigMap Naming
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)
Diffstat (limited to 'kubernetes/a1policymanagement')
-rw-r--r-- | kubernetes/a1policymanagement/templates/configmap.yaml | 3 | ||||
-rw-r--r-- | kubernetes/a1policymanagement/templates/envsubst-configmap.yaml | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/kubernetes/a1policymanagement/templates/configmap.yaml b/kubernetes/a1policymanagement/templates/configmap.yaml index e84beac2ab..13dd4dbd05 100644 --- a/kubernetes/a1policymanagement/templates/configmap.yaml +++ b/kubernetes/a1policymanagement/templates/configmap.yaml @@ -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 }} diff --git a/kubernetes/a1policymanagement/templates/envsubst-configmap.yaml b/kubernetes/a1policymanagement/templates/envsubst-configmap.yaml index 99449638f4..f12d60127f 100644 --- a/kubernetes/a1policymanagement/templates/envsubst-configmap.yaml +++ b/kubernetes/a1policymanagement/templates/envsubst-configmap.yaml @@ -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 }} |