toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [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 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 15 | apiVersion: v1 |
| 16 | kind: ConfigMap |
| 17 | metadata: |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 18 | name: {{ include "common.fullname" . }}-log |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 19 | namespace: {{ include "common.namespace" . }} |
toshrajbhardwaj | 4cd5fc0 | 2018-09-18 03:24:47 +0000 | [diff] [blame] | 20 | labels: |
| 21 | app: {{ include "common.name" . }} |
| 22 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 23 | release: {{ .Release.Name }} |
| 24 | heritage: {{ .Release.Service }} |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 25 | data: |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 26 | {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }} |
| 27 | --- |
| 28 | apiVersion: v1 |
| 29 | kind: ConfigMap |
| 30 | metadata: |
| 31 | name: {{ include "common.fullname" . }}-localhost-access-log-configmap |
| 32 | namespace: {{ include "common.namespace" . }} |
toshrajbhardwaj | 4cd5fc0 | 2018-09-18 03:24:47 +0000 | [diff] [blame] | 33 | labels: |
| 34 | app: {{ include "common.name" . }} |
| 35 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 36 | release: {{ .Release.Name }} |
| 37 | heritage: {{ .Release.Service }} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 38 | data: |
| 39 | {{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }} |
| 40 | --- |
| 41 | apiVersion: v1 |
| 42 | kind: ConfigMap |
| 43 | metadata: |
| 44 | name: {{ include "common.fullname" . }}-db-real-configmap |
| 45 | namespace: {{ include "common.namespace" . }} |
toshrajbhardwaj | 4cd5fc0 | 2018-09-18 03:24:47 +0000 | [diff] [blame] | 46 | labels: |
| 47 | app: {{ include "common.name" . }} |
| 48 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 49 | release: {{ .Release.Name }} |
| 50 | heritage: {{ .Release.Service }} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 51 | data: |
| 52 | {{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }} |
| 53 | --- |
| 54 | apiVersion: v1 |
| 55 | kind: ConfigMap |
| 56 | metadata: |
| 57 | name: {{ include "common.fullname" . }}-db-cached-configmap |
| 58 | namespace: {{ include "common.namespace" . }} |
toshrajbhardwaj | 4cd5fc0 | 2018-09-18 03:24:47 +0000 | [diff] [blame] | 59 | labels: |
| 60 | app: {{ include "common.name" . }} |
| 61 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 62 | release: {{ .Release.Name }} |
| 63 | heritage: {{ .Release.Service }} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 64 | data: |
| 65 | {{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }} |
| 66 | --- |
| 67 | apiVersion: v1 |
| 68 | kind: ConfigMap |
| 69 | metadata: |
| 70 | name: {{ include "common.fullname" . }}-aaiconfig-configmap |
| 71 | namespace: {{ include "common.namespace" . }} |
toshrajbhardwaj | 4cd5fc0 | 2018-09-18 03:24:47 +0000 | [diff] [blame] | 72 | labels: |
| 73 | app: {{ include "common.name" . }} |
| 74 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 75 | release: {{ .Release.Name }} |
| 76 | heritage: {{ .Release.Service }} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 77 | data: |
| 78 | {{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }} |
| 79 | --- |
| 80 | apiVersion: v1 |
| 81 | kind: ConfigMap |
| 82 | metadata: |
| 83 | name: {{ include "common.fullname" . }}-springapp-configmap |
| 84 | namespace: {{ include "common.namespace" . }} |
toshrajbhardwaj | 4cd5fc0 | 2018-09-18 03:24:47 +0000 | [diff] [blame] | 85 | labels: |
| 86 | app: {{ include "common.name" . }} |
| 87 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 88 | release: {{ .Release.Name }} |
| 89 | heritage: {{ .Release.Service }} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 90 | data: |
| 91 | {{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }} |
| 92 | --- |
| 93 | apiVersion: v1 |
| 94 | kind: ConfigMap |
| 95 | metadata: |
| 96 | name: {{ include "common.fullname" . }}-realm-configmap |
| 97 | namespace: {{ include "common.namespace" . }} |
toshrajbhardwaj | 4cd5fc0 | 2018-09-18 03:24:47 +0000 | [diff] [blame] | 98 | labels: |
| 99 | app: {{ include "common.name" . }} |
| 100 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 101 | release: {{ .Release.Name }} |
| 102 | heritage: {{ .Release.Service }} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 103 | data: |
| 104 | {{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }} |
Pavel Paroulek | 58ab38e | 2018-09-12 21:34:41 +0200 | [diff] [blame] | 105 | --- |
| 106 | apiVersion: v1 |
| 107 | kind: ConfigMap |
| 108 | metadata: |
| 109 | name: {{ include "common.fullname" . }}-aaf-props |
| 110 | namespace: {{ include "common.namespace" . }} |
toshrajbhardwaj | 4cd5fc0 | 2018-09-18 03:24:47 +0000 | [diff] [blame] | 111 | labels: |
| 112 | app: {{ include "common.name" . }} |
| 113 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 114 | release: {{ .Release.Name }} |
| 115 | heritage: {{ .Release.Service }} |
Pavel Paroulek | 58ab38e | 2018-09-12 21:34:41 +0200 | [diff] [blame] | 116 | data: |
| 117 | {{ tpl (.Files.Glob "resources/config/aaf/org.osaaf.location.props").AsConfig . | indent 2 }} |
| 118 | {{ tpl (.Files.Glob "resources/config/aaf/permissions.properties").AsConfig . | indent 2 }} |
| 119 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.props").AsConfig . | indent 2 }} |
| 120 | {{ tpl (.Files.Glob "resources/config/aaf/cadi.properties").AsConfig . | indent 2 }} |
| 121 | |
| 122 | --- |
| 123 | apiVersion: v1 |
| 124 | kind: Secret |
| 125 | metadata: |
| 126 | name: {{ include "common.fullname" . }}-aaf-keys |
| 127 | namespace: {{ include "common.namespace" . }} |
toshrajbhardwaj | 4cd5fc0 | 2018-09-18 03:24:47 +0000 | [diff] [blame] | 128 | labels: |
| 129 | app: {{ include "common.name" . }} |
| 130 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 131 | release: {{ .Release.Name }} |
| 132 | heritage: {{ .Release.Service }} |
Pavel Paroulek | 58ab38e | 2018-09-12 21:34:41 +0200 | [diff] [blame] | 133 | type: Opaque |
| 134 | data: |
| 135 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.keyfile").AsSecrets . | indent 2 }} |
| 136 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.p12").AsSecrets . | indent 2 }} |
| 137 | {{ tpl (.Files.Glob "resources/config/aaf/truststoreONAPall.jks").AsSecrets . | indent 2 }} |