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
27 #This flag allows SO to instantiate its own mariadb-galera cluster
28 #If shared instance is used, this chart assumes that DB already exists
30 service: mariadb-galera
32 nameOverride: mariadb-galera
34 #################################################################
36 #################################################################
39 name: &dbSecretName '{{ include "common.release" . }}-sdnc-ansible-server-db-secret'
41 # This is a nasty trick that allows you override this secret using external one
42 # with the same field that is used to pass this to subchart
43 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-ansible-server-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
44 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
45 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
46 passwordPolicy: required
49 externalSecret: '{{ tpl (default "" .Values.config.restCredsExternalSecret) . }}'
50 login: '{{ .Values.config.restUser }}'
51 password: '{{ .Values.config.restPassword }}'
52 passwordPolicy: required
54 #################################################################
55 # Application configuration defaults.
56 #################################################################
58 repository: nexus3.onap.org:10001
59 image: onap/sdnc-ansible-server-image:1.7.6
62 # flag to enable debugging - application support required
65 # application configuration
68 configDir: /opt/onap/sdnc
71 # restCredsExternalSecret: some secret
75 userCredentialsExternalSecret: *dbSecretName
78 mysqlDatabase: ansible
79 nameOverride: ansible-server-galera
81 name: ansible-server-galera
82 portName: ansible-server-galera
87 mountSubPath: ansible-server/maria/data
89 # default number of instances
96 # probe configuration parameters
98 initialDelaySeconds: 180
100 # necessary to disable liveness probe when setting breakpoints
101 # in debugger so K8s doesn't restart unresponsive container
105 initialDelaySeconds: 60
110 name: sdnc-ansible-server
111 portName: sdnc-ansible-server
118 #Resource Limit flavor -By default using small
121 #Segregation for Different environment (Small and Large)