blob: b23a1b05c273e1b0d446ccf8184526ab4b3dce13 [file] [log] [blame]
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05001# Copyright (c) 2019 IBM, Bell Canada
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +01002# Copyright (c) 2020 Samsung Electronics
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05003#
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05004# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 # Change to an unused port prefix range to prevent port conflicts
21 # with other instances running within the same k8s cluster
Oleg Mitsura0197bf12019-05-03 15:03:55 -040022 nodePortPrefixExt: 304
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050023
24 # image repositories
25 repository: nexus3.onap.org:10001
26
27 # readiness check
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020028 readinessImage: onap/oom/readiness:3.0.1
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050029
30 # image pull policy
31 pullPolicy: Always
32
33 persistence:
34 mountPath: /dockerdata-nfs
35
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010036 # envsusbt
37 envsubstImage: dibi/envsubst
38
Konrad Bańkae332b242020-04-06 13:30:06 +020039 #This configuration specifies Service and port for SDNC OAM interface
40 sdncOamService: sdnc-oam
41 sdncOamPort: 8282
42
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010043#################################################################
44# Secrets metaconfig
45#################################################################
46secrets:
47 - uid: 'cds-db-user-creds'
48 type: basicAuth
49 externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}'
50 login: '{{ .Values.config.cdsDB.dbUser }}'
51 password: '{{ .Values.config.cdsDB.dbPassword }}'
52 passwordPolicy: required
Konrad Bańka031bdb72020-05-14 16:56:39 +020053 - uid: 'sdnc-db-root-pass'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010054 type: password
Konrad Bańka031bdb72020-05-14 16:56:39 +020055 externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}'
56 password: '{{ .Values.config.sdncDB.dbRootPass }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010057 passwordPolicy: required
58
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050059#################################################################
60# Application configuration defaults.
61#################################################################
62# application image
63repository: nexus3.onap.org:10001
Dan Timoney6cc07e02020-09-23 08:52:47 -040064image: onap/ccsdk-blueprintsprocessor:1.0.0
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050065pullPolicy: Always
66
67# flag to enable debugging - application support required
68debugEnabled: false
69
70# application configuration
71config:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050072 appConfigDir: /opt/app/onap/config
abdelseaudica7459b2020-07-03 17:31:06 +000073 useScriptCompileCache: false
Konrad Bańka031bdb72020-05-14 16:56:39 +020074 sdncDB:
75 dbService: mariadb-galera
76 dbPort: 3306
77 dbName: sdnctl
78 #dbRootPass: Custom root password
79 dbRootPassExternalSecret: '{{ include "common.mariadb.secret.rootPassSecretName" ( dict "dot" . "chartName" .Values.config.sdncDB.dbService ) }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010080 cdsDB:
81 dbServer: cds-db
82 dbPort: 3306
83 dbName: sdnctl
84 # dbUser: sdnctl
85 # dbPassword: sdnctl
86 # dbCredsExternalSecret: <some secret name>
87 # dbRootPassword: password
88 # dbRootPassExternalSecret
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050089
90# default number of instances
abdelseaudica7459b2020-07-03 17:31:06 +000091replicaCount: 3
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050092
93nodeSelector: {}
94
95affinity: {}
96
Prathamesh Morde93da1272019-06-24 10:36:15 -040097# flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using
98# custom kafka cluster.
99dmaapEnabled: true
100
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100101
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500102# probe configuration parameters
103liveness:
Yang Xu435062b2019-06-17 01:19:37 -0400104 initialDelaySeconds: 120
Oleg Mitsura3a621182019-10-09 12:40:11 -0400105 periodSeconds: 20
106 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500107 # necessary to disable liveness probe when setting breakpoints
108 # in debugger so K8s doesn't restart unresponsive container
109 enabled: true
110
111readiness:
Yang Xu435062b2019-06-17 01:19:37 -0400112 initialDelaySeconds: 120
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500113 periodSeconds: 10
Oleg Mitsura3a621182019-10-09 12:40:11 -0400114 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500115
116service:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500117 http:
gummarc7bd0e22020-03-05 18:57:12 +0000118 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -0400119 portName: blueprints-processor-http
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500120 internalPort: 8080
121 externalPort: 8080
122 grpc:
Oleg Mitsura0197bf12019-05-03 15:03:55 -0400123 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -0400124 portName: blueprints-processor-grpc
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500125 internalPort: 9111
126 externalPort: 9111
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500127 cluster:
128 type: ClusterIP
129 portName: blueprints-processor-cluster
130 internalPort: 5701
131 externalPort: 5701
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500132
133persistence:
Alexis de Talhouët108e28f2019-04-14 18:54:56 -0400134 volumeReclaimPolicy: Retain
135 accessMode: ReadWriteMany
136 size: 2Gi
137 enabled: true
138 mountSubPath: cds/blueprints/deploy
139 deployedBlueprint: /opt/app/onap/blueprints/deploy
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500140
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500141cluster:
142 # Cannot have cluster enabled if the replicaCount is not at least 3
143 # AND config value useScriptCompileCache is not set to false
abdelseaudica7459b2020-07-03 17:31:06 +0000144 enabled: true
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500145
146 clusterName: cds-cluster
147
148 # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
149 # between 3 and 7 only.
150 groupSize: 3
151
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500152ingress:
153 enabled: false
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100154 service:
155 - baseaddr: "blueprintsprocessorhttp"
Lucjan Bryndza6174db42020-07-09 09:00:20 +0000156 name: "cds-blueprints-processor-http"
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100157 port: 8080
158 config:
159 ssl: "none"
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500160
Dominik Mizyndd285d32020-08-21 13:10:11 +0200161logback:
162 rootLogLevel: INFO
163 logger:
164 springframework: INFO
165 springframeworkWeb: INFO
166 springframeworkSecurityWebauthentication: INFO
167 hibernate: INFO
168 onapCcsdkCds: INFO
169
Dan Timoney6cc07e02020-09-23 08:52:47 -0400170flavor: small
171
172resources:
173 small:
174 limits:
175 cpu: 2
176 memory: 4Gi
177 requests:
178 cpu: 1
179 memory: 1Gi
180 large:
181 limits:
182 cpu: 4
183 memory: 8Gi
184 requests:
185 cpu: 2
186 memory: 4Gi
187 unlimited: {}