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 readinessRepository: oomk8s
21 readinessImage: readiness-check:2.0.2
22 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
25 envsubstImage: dibi/envsubst
28 #This flag allows SO to instantiate its own mariadb-galera cluster
29 #If shared instance is used, this chart assumes that DB already exists
31 service: mariadb-galera
33 nameOverride: mariadb-galera
35 #################################################################
37 #################################################################
39 - uid: db-root-password
41 externalSecret: '{{ .Values.global.mariadbGalera.localCluster | ternary (default (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride"))) (index .Values "mariadb-galera" "config" "mariadbRootPasswordExternalSecret")) (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
42 password: '{{ (index .Values "mariadb-galera" "config" "mariadbRootPassword" }}'
43 passwordPolicy: required
45 name: &dbSecretName '{{ include "common.release" . }}-sdnc-portal-db-secret'
47 # This is a nasty trick that allows you override this secret using external one
48 # with the same field that is used to pass this to subchart
49 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-portal-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
50 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
51 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
52 passwordPolicy: required
55 externalSecret: '{{ tpl (default "" .Values.config.odlCredsExternalSecret) . }}'
56 login: '{{ .Values.config.odlUser }}'
57 password: '{{ .Values.config.odlPassword }}'
58 passwordPolicy: required
59 - uid: fabric-db-creds
61 externalSecret: '{{ tpl (default "" .Values.config.odlCredsExternalSecret) . }}'
62 login: '{{ .Values.config.dbFabricUser }}'
63 password: '{{ .Values.config.dbFabricPassword }}'
64 passwordPolicy: required
65 - uid: keystore-password
67 externalSecret: '{{ tpl (default "" .Values.config.KeyStorePwdExternalSecret) . }}'
68 password: '{{ .Values.config.keystorePwd }}'
69 passwordPolicy: required
71 #################################################################
72 # Application configuration defaults.
73 #################################################################
75 repository: nexus3.onap.org:10001
76 image: onap/admportal-sdnc-image:1.7.6
80 dbFabricPassword: admin
81 # dbFabricDBCredsExternalSecret: some secret
83 configDir: /opt/onap/sdnc/data/properties
84 storesDir: /opt/onap/sdnc/data/stores
86 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
87 # odlCredsExternalSecret: some secret
88 keystorePwd: ff^G9D]yf&r}Ktum@BJ0YB?N
89 # keystorePwdExternalSecret: some secret
93 userCredentialsExternalSecret: *dbSecretName
97 nameOverride: sdnc-portal-galera
99 name: sdnc-portal-galera
100 portName: sdnc-portal-galera
105 mountSubPath: sdnc-portal/maria/data
107 # default number of instances
114 # probe configuration parameters
116 initialDelaySeconds: 180
118 # necessary to disable liveness probe when setting breakpoints
119 # in debugger so K8s doesn't restart unresponsive container
123 initialDelaySeconds: 60
129 portName: sdnc-portal
137 #Resource limit flavor -By default using small
139 #segregation for different environment (small and large)