diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-02-08 15:59:33 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-02-15 10:22:12 +0000 |
commit | cc3141d86b6b9c18948b067d59387f7a3acaa39a (patch) | |
tree | 171abf9952449c2892b9b35bc2dad69f5d4a833f /kubernetes/vid/templates/secrets.yaml | |
parent | c5059432ac150c1a4c528eef6bda4212696f2b35 (diff) |
[VID] Automatically retrieve certificates
Use certInitializer in order to retrieve the certificates instead of
hardcoding them.
Issue-ID: VID-959
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I72eb09cd2719995ee05141034936f8e0589c7ad1
Diffstat (limited to 'kubernetes/vid/templates/secrets.yaml')
-rw-r--r-- | kubernetes/vid/templates/secrets.yaml | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/kubernetes/vid/templates/secrets.yaml b/kubernetes/vid/templates/secrets.yaml index 72934fffd8..670838c6cf 100644 --- a/kubernetes/vid/templates/secrets.yaml +++ b/kubernetes/vid/templates/secrets.yaml @@ -1,6 +1,7 @@ {{/* # Copyright © 2017 Amdocs, Bell Canada # Copyright © 2020 Samsung Electronics +# Copyright © 2021 Orange # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,17 +17,3 @@ */}} {{ include "common.secretFast" . }} ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ include "common.fullname" . }}-certs - 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/certs/*").AsSecrets . | indent 2 }} |