summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/network-name-gen
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-11-08 15:25:10 -0500
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-11-08 15:47:42 -0500
commit55d7dccc271e510989b1a2eb9b11aeba04f0fcb1 (patch)
treea0a693087376ce90e89f3dddd8c41a2cd6fd40eb /kubernetes/common/network-name-gen
parent814e9f40656c46d047e09fc9949714847320284b (diff)
Fix wrong secret definition
Change-Id: I15316af76255d2760e593c7a126969e23f994ded Issue-ID: OOM-1517 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'kubernetes/common/network-name-gen')
-rw-r--r--kubernetes/common/network-name-gen/templates/secrets.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/kubernetes/common/network-name-gen/templates/secrets.yaml b/kubernetes/common/network-name-gen/templates/secrets.yaml
index 4b6d97acad..c8630a2535 100644
--- a/kubernetes/common/network-name-gen/templates/secrets.yaml
+++ b/kubernetes/common/network-name-gen/templates/secrets.yaml
@@ -28,8 +28,14 @@ data:
---
apiVersion: v1
data:
-{{ tpl (.Files.Glob "resources/config/aai_keystore").AsConfig . | indent 2 }}
+{{ tpl (.Files.Glob "resources/config/aai_keystore").AsSecrets . | indent 2 }}
metadata:
name: {{ .Release.Name}}-aai-keystore
namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.fullname" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
kind: Secret
+type: Opaque \ No newline at end of file