blob: cdd2a4fefe7e0c048c1abe8189a7c316e53f9f61 [file] [log] [blame]
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01001{{/*
Sylvain Desbureaux70070412020-11-09 21:58:48 +01002# Copyright © 2018 Amdocs, AT&T
3# Modifications Copyright © 2018 Bell Canada
4#
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:
21 name: {{ include "common.fullname" . }}-configmap
22 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/*").AsConfig . | indent 2 }}
30
31{{ if .Values.global.installSidecarSecurity }}
32---
33apiVersion: v1
34kind: ConfigMap
35metadata:
36 name: {{ include "common.fullname" . }}-fproxy-config
37 namespace: {{ include "common.namespace" . }}
38data:
39{{ tpl (.Files.Glob "resources/fproxy/config/*").AsConfig . | indent 2 }}
40---
41apiVersion: v1
42kind: ConfigMap
43metadata:
44 name: {{ include "common.fullname" . }}-fproxy-log-config
45 namespace: {{ include "common.namespace" . }}
46data:
47{{ tpl (.Files.Glob "resources/fproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
48---
49apiVersion: v1
50kind: ConfigMap
51metadata:
52 name: {{ include "common.fullname" . }}-rproxy-config
53 namespace: {{ include "common.namespace" . }}
54data:
55{{ tpl (.Files.Glob "resources/rproxy/config/*").AsConfig . | indent 2 }}
56---
57apiVersion: v1
58kind: ConfigMap
59metadata:
60 name: {{ include "common.fullname" . }}-rproxy-log-config
61 namespace: {{ include "common.namespace" . }}
62data:
63{{ tpl (.Files.Glob "resources/rproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
64---
65apiVersion: v1
66kind: ConfigMap
67metadata:
68 name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
69 namespace: {{ include "common.namespace" . }}
70data:
71{{ tpl (.Files.Glob "resources/rproxy/config/auth/uri-authorization.json").AsConfig . | indent 2 }}
72{{ end }}