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 #################################################################
21 #This flag allows SO to instantiate its own mariadb-galera cluster
22 #If shared instance is used, this chart assumes that DB already exists
24 service: mariadb-galera
26 nameOverride: mariadb-galera
28 #################################################################
30 #################################################################
33 name: &dbSecretName '{{ include "common.release" . }}-sdnc-dmaap-listener-db-secret'
35 # This is a nasty trick that allows you override this secret using external one
36 # with the same field that is used to pass this to subchart
37 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-dmaap-listener-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
38 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
39 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
40 passwordPolicy: required
43 externalSecret: '{{ tpl (default "" .Values.config.odlCredsExternalSecret) . }}'
44 login: '{{ .Values.config.odlUser }}'
45 password: '{{ .Values.config.odlPassword }}'
46 passwordPolicy: required
48 #################################################################
49 # Application configuration defaults.
50 #################################################################
52 image: onap/sdnc-dmaap-listener-image:2.5.5
55 # flag to enable debugging - application support required
58 # application configuration
63 msgRouterContainerName: message-router
64 configDir: /opt/onap/sdnc/data/properties
66 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
67 # odlCredsExternalSecret: some secret
71 userCredentialsExternalSecret: *dbSecretName
75 nameOverride: dmaap-listener-galera
77 name: dmaap-listener-galera
78 portName: dmaap-listener-galera
83 mountSubPath: dmaap-listener/maria/data
85 # default number of instances
92 # probe configuration parameters
94 initialDelaySeconds: 10
96 # necessary to disable liveness probe when setting breakpoints
97 # in debugger so K8s doesn't restart unresponsive container
101 initialDelaySeconds: 10
109 name: sdnc-dmaap-listener
117 authorizedPrincipals:
118 - serviceAccount: message-router-read
120 #Resource limit flavor -By default using small
122 #Segregation for different environment (small and large)
141 #Pods Service Account
143 nameOverride: sdnc-dmaap-listener