Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame^] | 1 | {{/* |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 2 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame^] | 15 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 16 | |
| 17 | apiVersion: v1 |
| 18 | kind: ConfigMap |
| 19 | metadata: |
| 20 | name: {{ include "common.fullname" . }}-configmap |
| 21 | namespace: {{ include "common.namespace" . }} |
| 22 | labels: |
| 23 | app: {{ include "common.name" . }} |
| 24 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 25 | release: {{ include "common.release" . }} |
| 26 | heritage: {{ .Release.Service }} |
| 27 | data: |
| 28 | {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }} |
| 29 | {{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }} |
| 30 | {{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }} |
| 31 | {{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }} |
| 32 | {{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }} |
| 33 | {{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }} |
| 34 | {{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }} |
| 35 | --- |
| 36 | apiVersion: v1 |
| 37 | kind: ConfigMap |
| 38 | metadata: |
| 39 | name: {{ include "common.fullname" . }}-aaf-props |
| 40 | namespace: {{ include "common.namespace" . }} |
| 41 | labels: |
| 42 | app: {{ include "common.name" . }} |
| 43 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 44 | release: {{ include "common.release" . }} |
| 45 | heritage: {{ .Release.Service }} |
| 46 | data: |
| 47 | {{ tpl (.Files.Glob "resources/config/aaf/org.osaaf.location.props").AsConfig . | indent 2 }} |
| 48 | {{ tpl (.Files.Glob "resources/config/aaf/permissions.properties").AsConfig . | indent 2 }} |
| 49 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.props").AsConfig . | indent 2 }} |
| 50 | {{ tpl (.Files.Glob "resources/config/aaf/cadi.properties").AsConfig . | indent 2 }} |
| 51 | --- |
| 52 | apiVersion: v1 |
| 53 | kind: Secret |
| 54 | metadata: |
| 55 | name: {{ include "common.fullname" . }}-aaf-keys |
| 56 | namespace: {{ include "common.namespace" . }} |
| 57 | labels: |
| 58 | app: {{ include "common.name" . }} |
| 59 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 60 | release: {{ include "common.release" . }} |
| 61 | heritage: {{ .Release.Service }} |
| 62 | type: Opaque |
| 63 | data: |
| 64 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.keyfile").AsSecrets . | indent 2 }} |
| 65 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.p12").AsSecrets . | indent 2 }} |
| 66 | {{ tpl (.Files.Glob "resources/config/aaf/bath_config.csv").AsSecrets . | indent 2 }} |