47db1753e0b623bd03ff9401ae66a3518147ebfe
[oom.git] / kubernetes / dcaegen2 / components / dcae-bootstrap / templates / configmap.yaml
1 {{/*
2 #============LICENSE_START========================================================
3 # ================================================================================
4 # Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
5 # Modifications Copyright © 2018 Amdocs, Bell Canada
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #     http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19 */}}
20
21 apiVersion: v1
22 kind: ConfigMap
23 metadata:
24   name: {{ include "common.fullname" . }}-dcae-config
25   namespace: {{ include "common.namespace" . }}
26 data:
27 {{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
28 ---
29 apiVersion: v1
30 kind: ConfigMap
31 metadata:
32   name: {{ include "common.fullname" . }}-dcae-inputs
33   namespace: {{ include "common.namespace" . }}
34 data:
35 {{ tpl (.Files.Glob "resources/inputs/*").AsConfig . | indent 2 }}
36 ---
37 apiVersion: v1
38 kind: ConfigMap
39 metadata:
40   name: {{ include "common.fullname" . }}-dcae-cacert
41   namespace: {{ include "common.namespace" . }}
42 data:
43 {{ tpl (.Files.Glob "resources/certs/*").AsConfig . | indent 2 }}