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 # flag to enable the DB creation via mariadb-operator
23 #This flag allows SO to instantiate its own mariadb-galera cluster
24 #If shared instance is used, this chart assumes that DB already exists
26 service: mariadb-galera
28 nameOverride: mariadb-galera
30 #################################################################
32 #################################################################
35 name: '{{ include "common.release" . }}-sdnc-ueb-listener-db-secret'
37 # This is a nasty trick that allows you override this secret using external one
38 # with the same field that is used to pass this to subchart
39 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-ueb-listener-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
40 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
41 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
42 passwordPolicy: required
45 externalSecret: '{{ tpl (default "" .Values.config.odlCredsExternalSecret) . }}'
46 login: '{{ .Values.config.odlUser }}'
47 password: '{{ .Values.config.odlPassword }}'
48 passwordPolicy: required
51 externalSecret: '{{ tpl (default "" .Values.config.uebCredsExternalSecret) . }}'
52 login: '{{ .Values.config.uebUser }}'
53 password: '{{ .Values.config.uebPassword }}'
54 passwordPolicy: required
56 #################################################################
57 # Application configuration defaults.
58 #################################################################
60 image: onap/sdnc-ueb-listener-image:2.5.5
63 # flag to enable debugging - application support required
66 # application configuration
70 sdcbeChartName: sdc-be
71 msgRouterContainerName: message-router
72 configDir: /opt/onap/sdnc/data/properties
74 uebPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
75 # uebCredsExternalSecret: some secret
77 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
78 # odlCredsExternalSecret: some secret
81 # '&mariadbConfig' means we "store" the values for later use in the file
82 # with '*mariadbConfig' pointer.
84 userCredentialsExternalSecret: '{{ include "common.release" . }}-sdnc-ueb-listener-db-secret'
88 nameOverride: ueb-listener-galera
90 name: ueb-listener-galera
91 portName: ueb-listener-galera
96 mountSubPath: ueb-listener/maria/data
101 # default number of instances
108 # probe configuration parameters
110 initialDelaySeconds: 10
112 # necessary to disable liveness probe when setting breakpoints
113 # in debugger so K8s doesn't restart unresponsive container
117 initialDelaySeconds: 10
122 name: sdnc-ueb-listener
128 # Strimzi KafkaUser definition
137 operations: [Read, Write]
144 authorizedPrincipals: []
146 #Resource limit flavor -By default using small
148 #Segregation for different environment (small and large)
166 #Pods Service Account
168 nameOverride: sdnc-ueb-listener