blob: c2745ca7e3e94ab2281e715758782b17fe70eba9 [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
efiacorecbae132022-03-04 15:01:30 +00003# Modification Copyright © 2022 Nordix Foundation
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05004#
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05005# 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
17#################################################################
18# Global configuration defaults.
19#################################################################
20global:
21 # Change to an unused port prefix range to prevent port conflicts
22 # with other instances running within the same k8s cluster
Oleg Mitsura0197bf12019-05-03 15:03:55 -040023 nodePortPrefixExt: 304
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050024
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050025 # image pull policy
26 pullPolicy: Always
27
28 persistence:
29 mountPath: /dockerdata-nfs
30
Andreas Geissler4ee97a92022-04-29 13:01:14 +020031 # This configuration specifies Service and port for SDNC OAM interface
Konrad Bańkae332b242020-04-06 13:30:06 +020032 sdncOamService: sdnc-oam
33 sdncOamPort: 8282
34
Andreas Geissler4ee97a92022-04-29 13:01:14 +020035 # This concerns CDS/AAI communication through HTTP when TLS is not being needed
36 # Port value should match the one in aai/values.yml : service.externalPlainPort
37 aaiData:
38 ExternalPlainPort: 80 # when TLS is not needed
39 ServiceName: aai # domain
40 # http://aai:80 or https://aai:443
41
Abdelmuhaimen Seaudi2b55c442021-09-19 09:02:22 +000042 #AAF is enabled by default
43 #aafEnabled: true
44
45 #enable importCustomCerts to add custom CA to blueprint processor pod
46 #importCustomCertsEnabled: true
47
48 #use below configmap to add custom CA certificates
49 #certificates with *.pem will be added to JAVA truststore $JAVA_HOME/lib/security/cacerts in the pod
50 #certificates with *.crt will be added to /etc/ssl/certs/ca-certificates.crt in the pod
51 #customCertsConfigMap: onap-cds-blueprints-processor-configmap
52
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010053#################################################################
54# Secrets metaconfig
55#################################################################
56secrets:
57 - uid: 'cds-db-user-creds'
58 type: basicAuth
59 externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}'
60 login: '{{ .Values.config.cdsDB.dbUser }}'
61 password: '{{ .Values.config.cdsDB.dbPassword }}'
62 passwordPolicy: required
Konrad Bańka031bdb72020-05-14 16:56:39 +020063 - uid: 'sdnc-db-root-pass'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010064 type: password
Konrad Bańka031bdb72020-05-14 16:56:39 +020065 externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}'
66 password: '{{ .Values.config.sdncDB.dbRootPass }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010067 passwordPolicy: required
efiacorecbae132022-03-04 15:01:30 +000068 - uid: cds-kafka-secret
69 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
70 type: genericKV
71 envs:
72 - name: password
73 value: '{{ .Values.config.someConfig }}'
74 policy: generate
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010075
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050076#################################################################
Abdelmuhaimen Seaudi822eb092021-09-04 11:08:36 +020077# AAF part
78#################################################################
79certInitializer:
Abdelmuhaimen Seaudi2b55c442021-09-19 09:02:22 +000080 nameOverride: cds-blueprints-processor-cert-initializer
Abdelmuhaimen Seaudi822eb092021-09-04 11:08:36 +020081 aafDeployFqi: deployer@people.osaaf.org
82 aafDeployPass: demo123456!
83 # aafDeployCredsExternalSecret: some secret
84 fqdn: sdnc-cds
85 fqi: sdnc-cds@sdnc-cds.onap.org
86 public_fqdn: sdnc-cds.onap.org
87 cadi_longitude: "0.0"
88 cadi_latitude: "0.0"
89 app_ns: org.osaaf.aaf
90 credsPath: /opt/app/osaaf/local
91 fqi_namespace: org.onap.sdnc-cds
Abdelmuhaimen Seaudi2b55c442021-09-19 09:02:22 +000092 #enable below if we need custom CA to be added to blueprint processor pod
93 #importCustomCertsEnabled: true
94 #truststoreMountpath: /opt/onap/cds
95 #truststoreOutputFileName: truststoreONAPall.jks
Abdelmuhaimen Seaudi822eb092021-09-04 11:08:36 +020096 aaf_add_config: >
97 /opt/app/aaf_config/bin/agent.sh;
98 /opt/app/aaf_config/bin/agent.sh local showpass
99 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
100
101#################################################################
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500102# Application configuration defaults.
103#################################################################
104# application image
Dan Timoneyc8964e52022-03-30 07:51:50 -0400105image: onap/ccsdk-blueprintsprocessor:1.3.0
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500106pullPolicy: Always
107
108# flag to enable debugging - application support required
109debugEnabled: false
110
111# application configuration
112config:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500113 appConfigDir: /opt/app/onap/config
Konrad Bańka031bdb72020-05-14 16:56:39 +0200114 sdncDB:
115 dbService: mariadb-galera
116 dbPort: 3306
117 dbName: sdnctl
Andreas Geissler4ee97a92022-04-29 13:01:14 +0200118 # dbRootPass: Custom root password
Konrad Bańka031bdb72020-05-14 16:56:39 +0200119 dbRootPassExternalSecret: '{{ include "common.mariadb.secret.rootPassSecretName" ( dict "dot" . "chartName" .Values.config.sdncDB.dbService ) }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100120 cdsDB:
121 dbServer: cds-db
122 dbPort: 3306
123 dbName: sdnctl
Sylvain Desbureaux503b2292020-11-21 22:29:17 +0100124 dbUser: sdnctl
125 dbPassword: sdnctl
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100126 # dbCredsExternalSecret: <some secret name>
127 # dbRootPassword: password
128 # dbRootPassExternalSecret
efiacorecbae132022-03-04 15:01:30 +0000129 someConfig: blah
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500130
131# default number of instances
Jozsef Csongvai08515b72021-04-28 17:04:57 -0400132replicaCount: 1
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500133
134nodeSelector: {}
135
136affinity: {}
137
efiacorecbae132022-03-04 15:01:30 +0000138# If useStrimziKafka is true, the following also applies:
139# strimzi will create an associated kafka user and the topics defined for Request and Audit elements below.
140# The connection type must be kafka-scram-plain-text-auth
141# The bootstrapServers will target the strimzi kafka cluster by default
142useStrimziKafka: false
143cdsKafkaUser: cds-kafka-user
Prathamesh Morde93da1272019-06-24 10:36:15 -0400144
efiacorecbae132022-03-04 15:01:30 +0000145kafkaRequestConsumer:
146 enabled: false
147 type: kafka-scram-plain-text-auth
148 bootstrapServers: host:port
149 groupId: cds-consumer
150 topic: cds.blueprint-processor.self-service-api.request
151 clientId: request-receiver-client-id
152 pollMillSec: 1000
153kafkaRequestProducer:
154 type: kafka-scram-plain-text-auth
155 bootstrapServers: host:port
156 clientId: request-producer-client-id
157 topic: cds.blueprint-processor.self-service-api.response
158 enableIdempotence: false
159kafkaAuditRequest:
160 enabled: false
161 type: kafka-scram-plain-text-auth
162 bootstrapServers: host:port
163 clientId: audit-request-producer-client-id
164 topic: cds.blueprint-processor.self-service-api.audit.request
165 enableIdempotence: false
166kafkaAuditResponse:
167 type: kafka-scram-plain-text-auth
168 bootstrapServers: host:port
169 clientId: audit-response-producer-client-id
170 topic: cds.blueprint-processor.self-service-api.audit.response
171 enableIdempotence: false
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100172
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500173# probe configuration parameters
Jozsef Csongvai08515b72021-04-28 17:04:57 -0400174startup:
175 initialDelaySeconds: 10
176 failureThreshold: 30
177 periodSeconds: 10
178
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500179liveness:
Andreas Geissler4ee97a92022-04-29 13:01:14 +0200180 initialDelaySeconds: 1
Oleg Mitsura3a621182019-10-09 12:40:11 -0400181 periodSeconds: 20
Andreas Geissler4ee97a92022-04-29 13:01:14 +0200182 timeoutSeconds: 30
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500183 # necessary to disable liveness probe when setting breakpoints
184 # in debugger so K8s doesn't restart unresponsive container
Andreas Geissler4ee97a92022-04-29 13:01:14 +0200185 enabled: false
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500186
187readiness:
Yang Xu435062b2019-06-17 01:19:37 -0400188 initialDelaySeconds: 120
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500189 periodSeconds: 10
Oleg Mitsura3a621182019-10-09 12:40:11 -0400190 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500191
192service:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500193 http:
gummarc7bd0e22020-03-05 18:57:12 +0000194 type: ClusterIP
Andreas Geissler4ee97a92022-04-29 13:01:14 +0200195 portName: http
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500196 internalPort: 8080
197 externalPort: 8080
198 grpc:
Oleg Mitsura0197bf12019-05-03 15:03:55 -0400199 type: ClusterIP
Andreas Geissler4ee97a92022-04-29 13:01:14 +0200200 portName: grpc
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500201 internalPort: 9111
202 externalPort: 9111
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500203 cluster:
204 type: ClusterIP
Andreas Geissler4ee97a92022-04-29 13:01:14 +0200205 portName: tcp-cluster
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500206 internalPort: 5701
207 externalPort: 5701
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500208
209persistence:
Alexis de Talhouët108e28f2019-04-14 18:54:56 -0400210 volumeReclaimPolicy: Retain
211 accessMode: ReadWriteMany
212 size: 2Gi
213 enabled: true
214 mountSubPath: cds/blueprints/deploy
215 deployedBlueprint: /opt/app/onap/blueprints/deploy
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500216
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500217cluster:
218 # Cannot have cluster enabled if the replicaCount is not at least 3
Jozsef Csongvai08515b72021-04-28 17:04:57 -0400219 enabled: false
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500220
221 clusterName: cds-cluster
222
223 # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
224 # between 3 and 7 only.
225 groupSize: 3
226
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500227ingress:
228 enabled: false
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100229 service:
230 - baseaddr: "blueprintsprocessorhttp"
Lucjan Bryndza6174db42020-07-09 09:00:20 +0000231 name: "cds-blueprints-processor-http"
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100232 port: 8080
Andreas Geissler4ee97a92022-04-29 13:01:14 +0200233 config:
234 ssl: "none"
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500235
Dominik Mizyndd285d32020-08-21 13:10:11 +0200236logback:
237 rootLogLevel: INFO
238 logger:
239 springframework: INFO
240 springframeworkWeb: INFO
241 springframeworkSecurityWebauthentication: INFO
242 hibernate: INFO
243 onapCcsdkCds: INFO
244
Dan Timoney6cc07e02020-09-23 08:52:47 -0400245flavor: small
246
247resources:
248 small:
249 limits:
250 cpu: 2
251 memory: 4Gi
252 requests:
253 cpu: 1
254 memory: 1Gi
255 large:
256 limits:
257 cpu: 4
258 memory: 8Gi
259 requests:
260 cpu: 2
261 memory: 4Gi
262 unlimited: {}
farida azmyffad0322021-04-09 14:18:14 +0200263
264#Pods Service Account
265serviceAccount:
266 nameOverride: cds-blueprints-processor
267 roles:
268 - read
Kavitha P1a78f2f2021-08-25 16:40:38 +0530269
270# workflow store flag
271workflow:
272 storeEnabled: false