blob: cfa57f7d9902cd3547ddb36fc322175e6eeb3dc9 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
vaibhav_16decadb27b42018-01-17 12:42:39 +000015apiVersion: v1
16kind: ConfigMap
17metadata:
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000018 name: {{ .Release.Name }}-aaf-backup
kj52dfb132018-03-27 15:50:39 +030019 namespace: {{ include "common.namespace" . }}
vaibhav_16decadb27b42018-01-17 12:42:39 +000020data:
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000021{{ tpl (.Files.Glob "resources/config/backup/*").AsConfig . | indent 2 }}
22---
23apiVersion: v1
24kind: ConfigMap
25metadata:
26 name: {{ .Release.Name }}-aaf-public
27 namespace: {{ include "common.namespace" . }}
28data:
29{{ tpl (.Files.Glob "resources/config/public/*").AsConfig . | indent 2 }}
30---
31apiVersion: v1
32kind: ConfigMap
33metadata:
34 name: {{ .Release.Name }}-aaf-local
35 namespace: {{ include "common.namespace" . }}
36data:
37{{ tpl (.Files.Glob "resources/config/local/org.osaaf.location.props").AsConfig . | indent 2 }}
38{{ tpl (.Files.Glob "resources/config/local/org.osaaf.cm.ca.props").AsConfig . | indent 2 }}
39{{ tpl (.Files.Glob "resources/config/local/org.osaaf.cassandra.props").AsConfig . | indent 2 }}
40{{ tpl (.Files.Glob "resources/config/local/org.osaaf.aaf.props").AsConfig . | indent 2 }}
41---
42apiVersion: v1
43kind: ConfigMap
44metadata:
45 name: {{ .Release.Name }}-aaf-etc
46 namespace: {{ include "common.namespace" . }}
47data:
48{{ tpl (.Files.Glob "resources/config/etc/*").AsConfig . | indent 2 }}
49---
50apiVersion: v1
51kind: ConfigMap
52metadata:
53 name: {{ .Release.Name }}-aaf-data
54 namespace: {{ include "common.namespace" . }}
55data:
56{{ tpl (.Files.Glob "resources/config/data/*").AsConfig . | indent 2 }}