summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/so-secrets/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-04-07 11:16:22 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-07 11:16:22 +0000
commita391f4daa788e896e77300665a661b61e83b3e46 (patch)
treefa931a90a61ecfadb4c3bf5ea7807adad53c04f6 /kubernetes/so/charts/so-secrets/templates
parentbcea64b75f3d8f17759fed3ad7f0051a5874b37c (diff)
parent3ea400b4e62a027caa9bbba14b52d2c04e07f6c0 (diff)
Merge "Added trust store for SOL003 Adapter & ETSI Catalog Manager"
Diffstat (limited to 'kubernetes/so/charts/so-secrets/templates')
-rw-r--r--kubernetes/so/charts/so-secrets/templates/secrets.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/kubernetes/so/charts/so-secrets/templates/secrets.yaml b/kubernetes/so/charts/so-secrets/templates/secrets.yaml
index 9a749638f0..5be2cc7c41 100644
--- a/kubernetes/so/charts/so-secrets/templates/secrets.yaml
+++ b/kubernetes/so/charts/so-secrets/templates/secrets.yaml
@@ -25,3 +25,16 @@ data:
trustStorePassword: {{ .Values.global.client.certs.trustStorePassword }}
keyStorePassword: {{ .Values.global.client.certs.keyStorePassword}}
type: Opaque
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.release" . }}-so-truststore-secret
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/certs/*").AsSecrets . | indent 2 }}