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 # flag to enable the DB creation via mariadb-operator
22 #This flag allows DMAAP-DR to instantiate its own mariadb-galera cluster
24 service: mariadb-galera
26 nameOverride: mariadb-galera
28 #################################################################
30 #################################################################
32 - name: &dbUserSecretName '{{ include "common.release" . }}-dmaap-dr-db-user-credentials'
33 uid: 'dmaap-dr-db-user-credentials'
35 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) (hasSuffix "dmaap-dr-db-user-credentials" (index .Values "mariadb-galera" "db" "externalSecret"))}}'
36 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
37 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
39 #################################################################
40 # Application configuration defaults.
41 #################################################################
43 image: onap/dmaap/datarouter-prov:2.1.15
46 # default number of instances
53 containerPort: &svc_port 8080
65 - baseaddr: "dmaap-dr-prov-api"
74 - '{{ include "common.release" . }}-dmaap-dr-mariadb-init-config-job'
76 # dr uses the EELF Logging framework https://github.com/att/EELF
77 # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
80 # probe configuration parameters
82 initialDelaySeconds: 60
84 # necessary to disable liveness probe when setting breakpoints
85 # in debugger so K8s doesn't restart unresponsive container
90 initialDelaySeconds: 60
94 # mariadb-galera configuration
96 nameOverride: &dbServer dmaap-dr-db
102 name: &mysqlDbName datarouter
105 externalSecret: *dbUserSecretName
108 nfsprovisionerPrefix: dmaap-dr-db
111 mountSubPath: data-router/dr-db-data
113 nameOverride: *dbServer
117 userCredentialsExternalSecret: *dbUserSecretName
118 mysqlDatabase: *mysqlDbName
119 nameOverride: dmaap-dr-mariadb-init
121 nameOverride: dmaap-dr-mariadb-init
123 # Resource Limit flavor -By Default using small
126 # Segregation for Different environment (Small and Large)
144 #Pods Security Context
149 #Pods Service Account
151 nameOverride: dmaap-dr-prov