summaryrefslogtreecommitdiffstats
path: root/kubernetes/platform/components/oom-cert-service/templates/secret.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-04 07:49:31 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-04 07:49:31 +0000
commit291fc44259fee6fd370938bad79fa9553f6c84f0 (patch)
tree96861ae0f0bac38622e6ab72b5585e3f2f02fdf8 /kubernetes/platform/components/oom-cert-service/templates/secret.yaml
parent146eff800eeb62f9d38169089e33d2cd3057d0c4 (diff)
parent741fb0b880f98e2859dc996c17394a7352ba3cfd (diff)
Merge "[CMPv2-CERT-PROVIDER] Add helm chart for K8s external provider"
Diffstat (limited to 'kubernetes/platform/components/oom-cert-service/templates/secret.yaml')
-rw-r--r--kubernetes/platform/components/oom-cert-service/templates/secret.yaml15
1 files changed, 14 insertions, 1 deletions
diff --git a/kubernetes/platform/components/oom-cert-service/templates/secret.yaml b/kubernetes/platform/components/oom-cert-service/templates/secret.yaml
index 280922a014..2d47e6f57c 100644
--- a/kubernetes/platform/components/oom-cert-service/templates/secret.yaml
+++ b/kubernetes/platform/components/oom-cert-service/templates/secret.yaml
@@ -53,4 +53,17 @@ data:
{{ (.Files.Glob "resources/truststore.jks").AsSecrets }}
root.crt:
{{ (.Files.Glob "resources/root.crt").AsSecrets }}
-{{ end -}} \ No newline at end of file
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ .Values.tls.provider.secret.name }}
+type: Opaque
+data:
+ certServiceServer-key.pem:
+ {{ (.Files.Glob "resources/certServiceServer-key.pem").AsSecrets }}
+ certServiceServer-cert.pem:
+ {{ (.Files.Glob "resources/certServiceServer-cert.pem").AsSecrets }}
+ truststore.pem:
+ {{ (.Files.Glob "resources/truststore.pem").AsSecrets }}
+{{ end -}}