blob: 1ead35e2348147ca9849f470acaa9bf59abf191f [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" }}'
41 - name: &dbRootPasswordSecretName '{{ include "common.release" . }}-cds-db-root-pass'
42 uid: 'cds-db-root-pass'
43 type: password
44 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "mariadbRootPasswordExternalSecret")) .) (hasSuffix "cds-db-root-pass" (index .Values "mariadb-galera" "config" "mariadbRootPasswordExternalSecret"))}}'
45 password: '{{ index .Values "mariadb-galera" "config" "mariadbRootPassword" }}'
46
47#################################################################
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000048# Application configuration defaults.
49#################################################################
50# application images
51repository: nexus3.onap.org:10001
52pullPolicy: Always
53
54
55subChartsOnly:
56 enabled: true
57
58# flag to enable debugging - application support required
59debugEnabled: false
60
61# default number of instances
62replicaCount: 1
63
64nodeSelector: {}
65
66affinity: {}
67
68# probe configuration parameters
69liveness:
Oleg Mitsura3a621182019-10-09 12:40:11 -040070 initialDelaySeconds: 20
71 periodSeconds: 20
72 timeoutSeconds: 20
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000073 # necessary to disable liveness probe when setting breakpoints
74 # in debugger so K8s doesn't restart unresponsive container
75 enabled: true
76
77readiness:
78 initialDelaySeconds: 10
79 periodSeconds: 10
80
81ingress:
82 enabled: false
83
Alexis de Talhouët63df1632019-03-20 08:17:58 -040084mariadb-galera:
85 config:
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010086 userName: sdnctl
87 # userPassword: sdnctl
88 userCredentialsExternalSecret: *dbUserSecretName
89 mariadbRootPasswordExternalSecret: *dbRootPasswordSecretName
90 mysqlDatabase: &mysqlDbName sdnctl
91 nameOverride: &dbServer cds-db
Alexis de Talhouët63df1632019-03-20 08:17:58 -040092 service:
93 name: cds-db
94 portName: cds-db
95 replicaCount: 1
96 persistence:
97 enabled: true
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +000098 mountSubPath: cds/data
99
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100100cds-blueprints-processor:
101 config:
102 cdsDB:
103 dbServer: *dbServer
104 dbPort: 3306
105 dbName: *mysqlDbName
106 dbCredsExternalSecret: *dbUserSecretName
107 dbRootPassExternalSecret: *dbRootPasswordSecretName
108
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +0000109#Resource Limit flavor -By Default using small
110flavor: small
111#segregation for different envionment (Small and Large)
112
113resources:
114 small:
115 limits:
116 cpu: 2
117 memory: 4Gi
118 requests:
119 cpu: 1
120 memory: 2Gi
121 large:
122 limits:
123 cpu: 4
124 memory: 8Gi
125 requests:
126 cpu: 2
127 memory: 4Gi
128 unlimited: {}