blob: 0b7403e8acf3d48ed7735fd3e7fb7290b1fcd160 [file] [log] [blame]
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +01001# Copyright © 2020 Samsung Electronics
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +00002# Copyright © 2019 Orange, Bell Canada
3# Copyright © 2017 Amdocs, Bell Canada
Sylvain Desbureaux7acab562019-03-01 09:26:13 +01004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000017#################################################################
18# Global configuration defaults.
19#################################################################
20global:
21 nodePortPrefix: 302
22 nodePortPrefixExt: 304
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000023 persistence:
24 mountPath: /dockerdata-nfs
25
26#################################################################
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010027# Secrets metaconfig
28#################################################################
29secrets:
30 - name: &dbUserSecretName '{{ include "common.release" . }}-cds-db-secret'
31 uid: 'cds-db-secret'
32 type: basicAuth
33 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "cds-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
34 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
35 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010036
37#################################################################
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000038# Application configuration defaults.
39#################################################################
40# application images
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000041pullPolicy: Always
42
43
44subChartsOnly:
45 enabled: true
46
47# flag to enable debugging - application support required
48debugEnabled: false
49
50# default number of instances
51replicaCount: 1
52
53nodeSelector: {}
54
55affinity: {}
56
57# probe configuration parameters
58liveness:
Oleg Mitsura3a621182019-10-09 12:40:11 -040059 initialDelaySeconds: 20
60 periodSeconds: 20
61 timeoutSeconds: 20
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000062 # necessary to disable liveness probe when setting breakpoints
63 # in debugger so K8s doesn't restart unresponsive container
64 enabled: true
65
66readiness:
67 initialDelaySeconds: 10
68 periodSeconds: 10
69
70ingress:
71 enabled: false
72
Alexis de Talhouët63df1632019-03-20 08:17:58 -040073mariadb-galera:
74 config:
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010075 userName: sdnctl
76 # userPassword: sdnctl
77 userCredentialsExternalSecret: *dbUserSecretName
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010078 mysqlDatabase: &mysqlDbName sdnctl
79 nameOverride: &dbServer cds-db
Alexis de Talhouët63df1632019-03-20 08:17:58 -040080 service:
81 name: cds-db
82 portName: cds-db
83 replicaCount: 1
84 persistence:
85 enabled: true
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000086 mountSubPath: cds/data
87
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010088cds-blueprints-processor:
Sylvain Desbureaux503b2292020-11-21 22:29:17 +010089 enabled: true
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010090 config:
91 cdsDB:
92 dbServer: *dbServer
93 dbPort: 3306
94 dbName: *mysqlDbName
95 dbCredsExternalSecret: *dbUserSecretName
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010096
Sylvain Desbureaux503b2292020-11-21 22:29:17 +010097cds-command-executor:
98 enabled: true
99
100cds-py-executor:
101 enabled: true
102
103cds-sdc-listener:
104 enabled: true
105
106cds-ui:
107 enabled: true
108
109
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +0000110#Resource Limit flavor -By Default using small
111flavor: small
112#segregation for different envionment (Small and Large)
113
114resources:
115 small:
116 limits:
117 cpu: 2
118 memory: 4Gi
119 requests:
120 cpu: 1
121 memory: 2Gi
122 large:
123 limits:
124 cpu: 4
125 memory: 8Gi
126 requests:
127 cpu: 2
128 memory: 4Gi
129 unlimited: {}