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" . }} |
| 20 | data: |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 21 | {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }} |
| 22 | --- |
| 23 | apiVersion: v1 |
| 24 | kind: ConfigMap |
| 25 | metadata: |
| 26 | name: {{ include "common.fullname" . }}-localhost-access-log-configmap |
| 27 | namespace: {{ include "common.namespace" . }} |
| 28 | data: |
| 29 | {{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }} |
| 30 | --- |
| 31 | apiVersion: v1 |
| 32 | kind: ConfigMap |
| 33 | metadata: |
| 34 | name: {{ include "common.fullname" . }}-db-real-configmap |
| 35 | namespace: {{ include "common.namespace" . }} |
| 36 | data: |
| 37 | {{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }} |
| 38 | --- |
| 39 | apiVersion: v1 |
| 40 | kind: ConfigMap |
| 41 | metadata: |
| 42 | name: {{ include "common.fullname" . }}-db-cached-configmap |
| 43 | namespace: {{ include "common.namespace" . }} |
| 44 | data: |
| 45 | {{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }} |
| 46 | --- |
| 47 | apiVersion: v1 |
| 48 | kind: ConfigMap |
| 49 | metadata: |
| 50 | name: {{ include "common.fullname" . }}-aaiconfig-configmap |
| 51 | namespace: {{ include "common.namespace" . }} |
| 52 | data: |
| 53 | {{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }} |
| 54 | --- |
| 55 | apiVersion: v1 |
| 56 | kind: ConfigMap |
| 57 | metadata: |
| 58 | name: {{ include "common.fullname" . }}-springapp-configmap |
| 59 | namespace: {{ include "common.namespace" . }} |
| 60 | data: |
| 61 | {{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }} |
| 62 | --- |
| 63 | apiVersion: v1 |
| 64 | kind: ConfigMap |
| 65 | metadata: |
| 66 | name: {{ include "common.fullname" . }}-realm-configmap |
| 67 | namespace: {{ include "common.namespace" . }} |
| 68 | data: |
| 69 | {{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }} |
Pavel Paroulek | 58ab38e | 2018-09-12 21:34:41 +0200 | [diff] [blame] | 70 | --- |
| 71 | apiVersion: v1 |
| 72 | kind: ConfigMap |
| 73 | metadata: |
| 74 | name: {{ include "common.fullname" . }}-aaf-props |
| 75 | namespace: {{ include "common.namespace" . }} |
| 76 | data: |
| 77 | {{ tpl (.Files.Glob "resources/config/aaf/org.osaaf.location.props").AsConfig . | indent 2 }} |
| 78 | {{ tpl (.Files.Glob "resources/config/aaf/permissions.properties").AsConfig . | indent 2 }} |
| 79 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.props").AsConfig . | indent 2 }} |
| 80 | {{ tpl (.Files.Glob "resources/config/aaf/cadi.properties").AsConfig . | indent 2 }} |
| 81 | |
| 82 | --- |
| 83 | apiVersion: v1 |
| 84 | kind: Secret |
| 85 | metadata: |
| 86 | name: {{ include "common.fullname" . }}-aaf-keys |
| 87 | namespace: {{ include "common.namespace" . }} |
| 88 | type: Opaque |
| 89 | data: |
| 90 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.keyfile").AsSecrets . | indent 2 }} |
| 91 | {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.p12").AsSecrets . | indent 2 }} |
| 92 | {{ tpl (.Files.Glob "resources/config/aaf/truststoreONAPall.jks").AsSecrets . | indent 2 }} |