1 # Copyright © 2017 Amdocs, Bell Canada
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
19 mariadbGalera: &mariadbGalera
20 #This flag allows DMAAP-DR to instantiate its own mariadb-galera cluster
22 service: mariadb-galera
24 nameOverride: mariadb-galera
26 #################################################################
28 #################################################################
30 - name: &dbUserSecretName '{{ include "common.release" . }}-dmaap-dr-db-user-credentials'
31 uid: 'dmaap-dr-db-user-credentials'
33 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) (hasSuffix "dmaap-dr-db-user-credentials" (index .Values "mariadb-galera" "db" "externalSecret"))}}'
34 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
35 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
37 #################################################################
38 # Application configuration defaults.
39 #################################################################
41 image: onap/dmaap/datarouter-prov:2.1.14
44 # default number of instances
51 containerPort: &svc_port 8080
63 - baseaddr: "dmaap-dr-prov-api"
72 - '{{ include "common.release" . }}-dmaap-dr-mariadb-init-config-job'
74 # dr uses the EELF Logging framework https://github.com/att/EELF
75 # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
78 # probe configuration parameters
80 initialDelaySeconds: 60
82 # necessary to disable liveness probe when setting breakpoints
83 # in debugger so K8s doesn't restart unresponsive container
88 initialDelaySeconds: 60
92 # mariadb-galera configuration
94 nameOverride: &dbServer dmaap-dr-db
97 name: &mysqlDbName datarouter
100 externalSecret: *dbUserSecretName
103 nfsprovisionerPrefix: dmaap-dr-db
106 mountSubPath: data-router/dr-db-data
108 nameOverride: *dbServer
112 userCredentialsExternalSecret: *dbUserSecretName
113 mysqlDatabase: *mysqlDbName
114 nameOverride: dmaap-dr-mariadb-init
116 # Resource Limit flavor -By Default using small
119 # Segregation for Different environment (Small and Large)
137 #Pods Security Context
142 #Pods Service Account
144 nameOverride: dmaap-dr-prov