Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
| 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 | |
| 15 | apiVersion: v1 |
| 16 | kind: ConfigMap |
| 17 | metadata: |
| 18 | name: {{ include "common.fullname" . }}-configmap |
| 19 | namespace: {{ include "common.namespace" . }} |
| 20 | labels: |
| 21 | app: {{ include "common.name" . }} |
| 22 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 23 | release: {{ include "common.release" . }} |
| 24 | heritage: {{ .Release.Service }} |
| 25 | data: |
| 26 | {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }} |
| 27 | {{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }} |
| 28 | {{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }} |
| 29 | {{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }} |
| 30 | {{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }} |
| 31 | {{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }} |
| 32 | {{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }} |
| 33 | --- |
| 34 | apiVersion: v1 |
| 35 | kind: ConfigMap |
| 36 | metadata: |
| 37 | name: {{ include "common.fullname" . }}-aaf-props |
| 38 | namespace: {{ include "common.namespace" . }} |
| 39 | labels: |
| 40 | app: {{ include "common.name" . }} |
| 41 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 42 | release: {{ include "common.release" . }} |
| 43 | heritage: {{ .Release.Service }} |
| 44 | data: |
| 45 | {{ tpl (.Files.Glob "resources/config/aaf/org.osaaf.location.props").AsConfig . | indent 2 }} |
| 46 | {{ tpl (.Files.Glob "resources/config/aaf/permissions.properties").AsConfig . | indent 2 }} |
| 47 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.props").AsConfig . | indent 2 }} |
| 48 | {{ tpl (.Files.Glob "resources/config/aaf/cadi.properties").AsConfig . | indent 2 }} |
| 49 | --- |
| 50 | apiVersion: v1 |
| 51 | kind: Secret |
| 52 | metadata: |
| 53 | name: {{ include "common.fullname" . }}-aaf-keys |
| 54 | namespace: {{ include "common.namespace" . }} |
| 55 | labels: |
| 56 | app: {{ include "common.name" . }} |
| 57 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 58 | release: {{ include "common.release" . }} |
| 59 | heritage: {{ .Release.Service }} |
| 60 | type: Opaque |
| 61 | data: |
| 62 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.keyfile").AsSecrets . | indent 2 }} |
| 63 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.p12").AsSecrets . | indent 2 }} |
| 64 | {{ tpl (.Files.Glob "resources/config/aaf/bath_config.csv").AsSecrets . | indent 2 }} |