summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates/secrets.yaml
diff options
context:
space:
mode:
authork.kedron <k.kedron@partner.samsung.com>2020-03-26 11:13:46 +0100
committerk.kedron <k.kedron@partner.samsung.com>2020-04-02 09:30:19 +0200
commit2774ab11649e08d79afe67ebfcdddf68f0a2ab84 (patch)
tree2c603cd7b9460509a78e6788af8ec4b8f2b71162 /kubernetes/sdc/templates/secrets.yaml
parentc052dc481ac1c3ba5867d6b21a6cd6b192af86fe (diff)
Updated sdc cert.
Updated truststore/keystore password for sdc cert. Added truststore/keystore password to chef AUTO.json. Updated deployment.yaml files to mount the cert files. Issue-ID: SDC-2855 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ifd0d45cc591a0624005f86d2e67e3c0bc490efd3
Diffstat (limited to 'kubernetes/sdc/templates/secrets.yaml')
-rw-r--r--kubernetes/sdc/templates/secrets.yaml16
1 files changed, 15 insertions, 1 deletions
diff --git a/kubernetes/sdc/templates/secrets.yaml b/kubernetes/sdc/templates/secrets.yaml
index ba2ec86951..6187104ce6 100644
--- a/kubernetes/sdc/templates/secrets.yaml
+++ b/kubernetes/sdc/templates/secrets.yaml
@@ -35,4 +35,18 @@ data:
truststore_password: "{{ .Values.global.secrets.truststore_password }}"
keystore_password: "{{ .Values.global.secrets.keystore_password }}"
# workflow
- wf_external_user_password: "{{ .Values.global.secrets.wf_external_user_password }}" \ No newline at end of file
+ wf_external_user_password: "{{ .Values.global.secrets.wf_external_user_password }}"
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: sdc-cert
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ include "common.release" . }}
+ heritage: {{ .Release.Service }}
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/cert/*").AsSecrets . | indent 2 }}