blob: d04c22beb0177c57586ce94bdd75aba17f329af2 [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
23 repository: nexus3.onap.org:10001
24 readinessRepository: oomk8s
25 readinessImage: readiness-check:2.0.2
26 loggingRepository: docker.elastic.co
27 loggingImage: beats/filebeat:5.5.0
28 persistence:
29 mountPath: /dockerdata-nfs
30
31#################################################################
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010032# Secrets metaconfig
33#################################################################
34secrets:
35 - name: &dbUserSecretName '{{ include "common.release" . }}-cds-db-secret'
36 uid: 'cds-db-secret'
37 type: basicAuth
38 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "cds-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
39 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
40 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010041
42#################################################################
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000043# Application configuration defaults.
44#################################################################
45# application images
46repository: nexus3.onap.org:10001
47pullPolicy: Always
48
49
50subChartsOnly:
51 enabled: true
52
53# flag to enable debugging - application support required
54debugEnabled: false
55
56# default number of instances
57replicaCount: 1
58
59nodeSelector: {}
60
61affinity: {}
62
63# probe configuration parameters
64liveness:
Oleg Mitsura3a621182019-10-09 12:40:11 -040065 initialDelaySeconds: 20
66 periodSeconds: 20
67 timeoutSeconds: 20
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000068 # necessary to disable liveness probe when setting breakpoints
69 # in debugger so K8s doesn't restart unresponsive container
70 enabled: true
71
72readiness:
73 initialDelaySeconds: 10
74 periodSeconds: 10
75
76ingress:
77 enabled: false
78
Alexis de Talhouët63df1632019-03-20 08:17:58 -040079mariadb-galera:
80 config:
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010081 userName: sdnctl
82 # userPassword: sdnctl
83 userCredentialsExternalSecret: *dbUserSecretName
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010084 mysqlDatabase: &mysqlDbName sdnctl
85 nameOverride: &dbServer cds-db
Alexis de Talhouët63df1632019-03-20 08:17:58 -040086 service:
87 name: cds-db
88 portName: cds-db
89 replicaCount: 1
90 persistence:
91 enabled: true
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000092 mountSubPath: cds/data
93
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010094cds-blueprints-processor:
95 config:
96 cdsDB:
97 dbServer: *dbServer
98 dbPort: 3306
99 dbName: *mysqlDbName
100 dbCredsExternalSecret: *dbUserSecretName
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100101
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +0000102#Resource Limit flavor -By Default using small
103flavor: small
104#segregation for different envionment (Small and Large)
105
106resources:
107 small:
108 limits:
109 cpu: 2
110 memory: 4Gi
111 requests:
112 cpu: 1
113 memory: 2Gi
114 large:
115 limits:
116 cpu: 4
117 memory: 8Gi
118 requests:
119 cpu: 2
120 memory: 4Gi
121 unlimited: {}