blob: c0bcb3b4918cf6169eca17e614208631f8bff51c [file] [log] [blame]
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01001{{/*
Sylvain Desbureaux70070412020-11-09 21:58:48 +01002# Copyright © 2018 Amdocs, Bell Canada, AT&T
Sylvain Desbureauxa41dfc02021-02-15 10:14:22 +01003# Copyright © 2021 Orange
Sylvain Desbureaux70070412020-11-09 21:58:48 +01004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010016*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010017
18apiVersion: v1
19kind: ConfigMap
20metadata:
Sylvain Desbureauxa41dfc02021-02-15 10:14:22 +010021 name: {{ include "common.fullname" . }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010022 namespace: {{ include "common.namespace" . }}
23 labels:
24 app: {{ include "common.name" . }}
25 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
26 release: {{ include "common.release" . }}
27 heritage: {{ .Release.Service }}
28data:
29{{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }}
30{{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }}
31{{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }}
32{{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }}
33{{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }}
34{{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }}
35{{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }}
36---
37apiVersion: v1
38kind: ConfigMap
39metadata:
40 name: {{ include "common.fullname" . }}-aaf-props
41 namespace: {{ include "common.namespace" . }}
42 labels:
43 app: {{ include "common.name" . }}
44 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
45 release: {{ include "common.release" . }}
46 heritage: {{ .Release.Service }}
47data:
48{{ tpl (.Files.Glob "resources/config/aaf/org.osaaf.location.props").AsConfig . | indent 2 }}
49{{ tpl (.Files.Glob "resources/config/aaf/permissions.properties").AsConfig . | indent 2 }}
50{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.props").AsConfig . | indent 2 }}
51{{ tpl (.Files.Glob "resources/config/aaf/cadi.properties").AsConfig . | indent 2 }}