blob: e5e7b83b56d5b1a7dd5e93f56b215057a9732ddf [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020024 readinessImage: onap/oom/readiness:3.0.1
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000025 loggingRepository: docker.elastic.co
26 loggingImage: beats/filebeat:5.5.0
27 persistence:
28 mountPath: /dockerdata-nfs
29
30#################################################################
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010031# Secrets metaconfig
32#################################################################
33secrets:
34 - name: &dbUserSecretName '{{ include "common.release" . }}-cds-db-secret'
35 uid: 'cds-db-secret'
36 type: basicAuth
37 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "cds-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
38 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
39 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010040
41#################################################################
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000042# Application configuration defaults.
43#################################################################
44# application images
45repository: nexus3.onap.org:10001
46pullPolicy: Always
47
48
49subChartsOnly:
50 enabled: true
51
52# flag to enable debugging - application support required
53debugEnabled: false
54
55# default number of instances
56replicaCount: 1
57
58nodeSelector: {}
59
60affinity: {}
61
62# probe configuration parameters
63liveness:
Oleg Mitsura3a621182019-10-09 12:40:11 -040064 initialDelaySeconds: 20
65 periodSeconds: 20
66 timeoutSeconds: 20
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000067 # necessary to disable liveness probe when setting breakpoints
68 # in debugger so K8s doesn't restart unresponsive container
69 enabled: true
70
71readiness:
72 initialDelaySeconds: 10
73 periodSeconds: 10
74
75ingress:
76 enabled: false
77
Alexis de Talhouët63df1632019-03-20 08:17:58 -040078mariadb-galera:
79 config:
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010080 userName: sdnctl
81 # userPassword: sdnctl
82 userCredentialsExternalSecret: *dbUserSecretName
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010083 mysqlDatabase: &mysqlDbName sdnctl
84 nameOverride: &dbServer cds-db
Alexis de Talhouët63df1632019-03-20 08:17:58 -040085 service:
86 name: cds-db
87 portName: cds-db
88 replicaCount: 1
89 persistence:
90 enabled: true
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000091 mountSubPath: cds/data
92
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010093cds-blueprints-processor:
94 config:
95 cdsDB:
96 dbServer: *dbServer
97 dbPort: 3306
98 dbName: *mysqlDbName
99 dbCredsExternalSecret: *dbUserSecretName
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100100
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +0000101#Resource Limit flavor -By Default using small
102flavor: small
103#segregation for different envionment (Small and Large)
104
105resources:
106 small:
107 limits:
108 cpu: 2
109 memory: 4Gi
110 requests:
111 cpu: 1
112 memory: 2Gi
113 large:
114 limits:
115 cpu: 4
116 memory: 8Gi
117 requests:
118 cpu: 2
119 memory: 4Gi
120 unlimited: {}