diff options
author | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2019-08-07 14:49:10 +0200 |
---|---|---|
committer | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2019-08-08 15:31:26 +0200 |
commit | 533bbdb33f904216d405cf27e019792b1e187983 (patch) | |
tree | bfc5abcba11c9baca7a2ab51a736a56833b33334 /kubernetes/vid/templates/secrets.yaml | |
parent | 6261ee91de1fec034cadc5c0be87a92869c5bd14 (diff) |
moving certificates from vid image to mounted catalog
Issue-ID: VID-494
Change-Id: Ie1a3a9b362618d6b1821583bc6b3c39c28eb82c0
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Diffstat (limited to 'kubernetes/vid/templates/secrets.yaml')
-rw-r--r-- | kubernetes/vid/templates/secrets.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/vid/templates/secrets.yaml b/kubernetes/vid/templates/secrets.yaml index 729e0b17c0..222a3d582a 100644 --- a/kubernetes/vid/templates/secrets.yaml +++ b/kubernetes/vid/templates/secrets.yaml @@ -25,3 +25,17 @@ metadata: type: Opaque data: vid-password: {{ .Values.config.vidmysqlpassword | b64enc | quote }} +--- +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: {{ .Release.Name }} + heritage: {{ .Release.Service }} +type: Opaque +data: +{{ tpl (.Files.Glob "resources/certs/*").AsSecrets . | indent 2 }} |