diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-10-12 13:55:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-12 13:55:26 +0000 |
commit | 538a47ae343f9d521c4434c1f113d8c8ea8fa146 (patch) | |
tree | 4466bffc8de751531b7638d6ebb7db460bbec0b4 /charts/aaf-sms/templates/configmap.yaml | |
parent | d7fd1875b1a8fd34547173296339be5a8c5d28ae (diff) | |
parent | faf65d5b4be50e47c61bde1c38a1b976ba05c3c9 (diff) |
Merge "Add sms preload job that preloads secrets"
Diffstat (limited to 'charts/aaf-sms/templates/configmap.yaml')
-rw-r--r-- | charts/aaf-sms/templates/configmap.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/charts/aaf-sms/templates/configmap.yaml b/charts/aaf-sms/templates/configmap.yaml index 72ce6fb..b513d99 100644 --- a/charts/aaf-sms/templates/configmap.yaml +++ b/charts/aaf-sms/templates/configmap.yaml @@ -1,3 +1,4 @@ +{{/* # Copyright 2018 Intel Corporation, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -11,6 +12,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +*/}} apiVersion: v1 kind: ConfigMap @@ -25,3 +27,16 @@ metadata: data: smsconfig.json: | {{ .Values.config | toJson }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "common.fullname" . }}-preload + namespace: {{ include "common.namespace" . }} + labels: + app: {{ include "common.name" . }}-preload + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +data: +{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }} |