summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/charts/aaf-sms/templates/configmap.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-10-12 13:55:26 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-12 13:55:26 +0000
commit617e2f6128403ac911843700a082df94759e9497 (patch)
treefffdc5282e4cd99059f7c80bc021e48644d80911 /kubernetes/aaf/charts/aaf-sms/templates/configmap.yaml
parentf44a3566945e9448209370f32138e25539937bf2 (diff)
parent286d1cd2d7715cbc76849f84194ff92e5702a3aa (diff)
Merge "Add sms preload job that preloads secrets"
Diffstat (limited to 'kubernetes/aaf/charts/aaf-sms/templates/configmap.yaml')
-rw-r--r--kubernetes/aaf/charts/aaf-sms/templates/configmap.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/aaf/charts/aaf-sms/templates/configmap.yaml b/kubernetes/aaf/charts/aaf-sms/templates/configmap.yaml
index 72ce6fbadb..b513d992ef 100644
--- a/kubernetes/aaf/charts/aaf-sms/templates/configmap.yaml
+++ b/kubernetes/aaf/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 }}