aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/components/cps-core/templates/configmap.yaml
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-07-23 13:57:22 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-08-09 19:53:54 +0000
commitb35e2deb1580a13a435b039fdf8f8381a9873d36 (patch)
treeb1ae1678e981af039521310f69bbfb3e2819b703 /kubernetes/cps/components/cps-core/templates/configmap.yaml
parente5fca1f12d11ffb3ebbb7afbfac35e62f7a55068 (diff)
[CPS] Refactor CPS charts to include sub charts for other cps components
Cps-core sub chart added in CPS. Issue-ID: CPS-513 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ifb049f33864b0608ce8d938158f33bd3c01f87f4
Diffstat (limited to 'kubernetes/cps/components/cps-core/templates/configmap.yaml')
-rw-r--r--kubernetes/cps/components/cps-core/templates/configmap.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/kubernetes/cps/components/cps-core/templates/configmap.yaml b/kubernetes/cps/components/cps-core/templates/configmap.yaml
new file mode 100644
index 0000000000..eeb057cbd8
--- /dev/null
+++ b/kubernetes/cps/components/cps-core/templates/configmap.yaml
@@ -0,0 +1,20 @@
+{{/*
+# Copyright (C) 2021 Pantheon.tech
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# 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
+metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
+data: {{ tpl (.Files.Glob "resources/config/*").AsConfig . | nindent 2 }}