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 #################################################################
20 loggingDirectory: /opt/app/datartr/logs
22 mariadbGalera: &mariadbGalera
23 #This flag allows DMAAP-DR to instantiate its own mariadb-galera cluster
25 service: mariadb-galera
27 nameOverride: mariadb-galera
29 #################################################################
31 #################################################################
33 - name: &dbUserSecretName '{{ include "common.release" . }}-dmaap-dr-db-user-credentials'
34 uid: 'dmaap-dr-db-user-credentials'
36 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) (hasSuffix "dmaap-dr-db-user-credentials" (index .Values "mariadb-galera" "db" "externalSecret"))}}'
37 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
38 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
44 image: onap/dmaap/datarouter-prov:2.1.8
47 # flag to enable debugging - application support required
50 # application configuration - see parent values chart
52 # default number of instances
59 # probe configuration parameters
61 initialDelaySeconds: 30
63 # necessary to disable liveness probe when setting breakpoints
64 # in debugger so K8s doesn't restart unresponsive container
68 initialDelaySeconds: 30
71 ## Persist data to a persitent volume
74 volumeReclaimPolicy: Retain
75 accessMode: ReadWriteOnce
76 mountPath: /dockerdata-nfs
81 - baseaddr: "dmaapdrprov"
88 # dr provisioning server configuration
93 portName: dr-prov-port
94 portName2: dr-prov-port2
97 # dr uses the EELF Logging framework https://github.com/att/EELF
98 # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
101 # mariadb-galera configuration
103 nameOverride: &dbServer dmaap-dr-db
106 name: &mysqlDbName datarouter
109 externalSecret: *dbUserSecretName
112 nfsprovisionerPrefix: dmaap-dr-db
115 mountSubPath: data-router/dr-db-data
117 nameOverride: *dbServer
121 userCredentialsExternalSecret: *dbUserSecretName
122 mysqlDatabase: *mysqlDbName
123 nameOverride: dmaap-dr-mariadb-init
125 #################################################################
127 #################################################################
129 nameOverride: dmaap-dr-prov-cert-initializer
130 aafDeployFqi: deployer@people.osaaf.org
131 aafDeployPass: demo123456!
132 # aafDeployCredsExternalSecret: some secret
134 fqi: dmaap-dr-prov@dmaap-dr.onap.org
135 publicFqdn: dmaap-dr.onap.org
138 app_ns: org.osaaf.aaf
139 credsPath: /opt/app/osaaf/local
142 # Resource Limit flavor -By Default using small
144 # Segregation for Different environment (Small and Large)
162 #Pods Service Account
164 nameOverride: dmaap-dr-prov