blob: a5180c53c6e1a6a6fe90b082f51bd7b99832f394 [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
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050024 # image pull policy
25 pullPolicy: Always
26
27 persistence:
28 mountPath: /dockerdata-nfs
29
Konrad Bańkae332b242020-04-06 13:30:06 +020030 #This configuration specifies Service and port for SDNC OAM interface
31 sdncOamService: sdnc-oam
32 sdncOamPort: 8282
33
Abdelmuhaimen Seaudi2b55c442021-09-19 09:02:22 +000034 #AAF is enabled by default
35 #aafEnabled: true
36
37 #enable importCustomCerts to add custom CA to blueprint processor pod
38 #importCustomCertsEnabled: true
39
40 #use below configmap to add custom CA certificates
41 #certificates with *.pem will be added to JAVA truststore $JAVA_HOME/lib/security/cacerts in the pod
42 #certificates with *.crt will be added to /etc/ssl/certs/ca-certificates.crt in the pod
43 #customCertsConfigMap: onap-cds-blueprints-processor-configmap
44
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010045#################################################################
46# Secrets metaconfig
47#################################################################
48secrets:
49 - uid: 'cds-db-user-creds'
50 type: basicAuth
51 externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}'
52 login: '{{ .Values.config.cdsDB.dbUser }}'
53 password: '{{ .Values.config.cdsDB.dbPassword }}'
54 passwordPolicy: required
Konrad Bańka031bdb72020-05-14 16:56:39 +020055 - uid: 'sdnc-db-root-pass'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010056 type: password
Konrad Bańka031bdb72020-05-14 16:56:39 +020057 externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}'
58 password: '{{ .Values.config.sdncDB.dbRootPass }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010059 passwordPolicy: required
60
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050061#################################################################
Abdelmuhaimen Seaudi822eb092021-09-04 11:08:36 +020062# AAF part
63#################################################################
64certInitializer:
Abdelmuhaimen Seaudi2b55c442021-09-19 09:02:22 +000065 nameOverride: cds-blueprints-processor-cert-initializer
Abdelmuhaimen Seaudi822eb092021-09-04 11:08:36 +020066 aafDeployFqi: deployer@people.osaaf.org
67 aafDeployPass: demo123456!
68 # aafDeployCredsExternalSecret: some secret
69 fqdn: sdnc-cds
70 fqi: sdnc-cds@sdnc-cds.onap.org
71 public_fqdn: sdnc-cds.onap.org
72 cadi_longitude: "0.0"
73 cadi_latitude: "0.0"
74 app_ns: org.osaaf.aaf
75 credsPath: /opt/app/osaaf/local
76 fqi_namespace: org.onap.sdnc-cds
Abdelmuhaimen Seaudi2b55c442021-09-19 09:02:22 +000077 #enable below if we need custom CA to be added to blueprint processor pod
78 #importCustomCertsEnabled: true
79 #truststoreMountpath: /opt/onap/cds
80 #truststoreOutputFileName: truststoreONAPall.jks
Abdelmuhaimen Seaudi822eb092021-09-04 11:08:36 +020081 aaf_add_config: >
82 /opt/app/aaf_config/bin/agent.sh;
83 /opt/app/aaf_config/bin/agent.sh local showpass
84 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
85
86#################################################################
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050087# Application configuration defaults.
88#################################################################
89# application image
Dan Timoneyc8964e52022-03-30 07:51:50 -040090image: onap/ccsdk-blueprintsprocessor:1.3.0
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050091pullPolicy: Always
92
93# flag to enable debugging - application support required
94debugEnabled: false
95
96# application configuration
97config:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050098 appConfigDir: /opt/app/onap/config
Konrad Bańka031bdb72020-05-14 16:56:39 +020099 sdncDB:
100 dbService: mariadb-galera
101 dbPort: 3306
102 dbName: sdnctl
103 #dbRootPass: Custom root password
104 dbRootPassExternalSecret: '{{ include "common.mariadb.secret.rootPassSecretName" ( dict "dot" . "chartName" .Values.config.sdncDB.dbService ) }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100105 cdsDB:
106 dbServer: cds-db
107 dbPort: 3306
108 dbName: sdnctl
Sylvain Desbureaux503b2292020-11-21 22:29:17 +0100109 dbUser: sdnctl
110 dbPassword: sdnctl
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100111 # dbCredsExternalSecret: <some secret name>
112 # dbRootPassword: password
113 # dbRootPassExternalSecret
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500114
115# default number of instances
Jozsef Csongvai08515b72021-04-28 17:04:57 -0400116replicaCount: 1
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500117
118nodeSelector: {}
119
120affinity: {}
121
Prathamesh Morde93da1272019-06-24 10:36:15 -0400122# flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using
123# custom kafka cluster.
124dmaapEnabled: true
125
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +0100126
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500127# probe configuration parameters
Jozsef Csongvai08515b72021-04-28 17:04:57 -0400128startup:
129 initialDelaySeconds: 10
130 failureThreshold: 30
131 periodSeconds: 10
132
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500133liveness:
Jozsef Csongvai08515b72021-04-28 17:04:57 -0400134 initialDelaySeconds: 0
Oleg Mitsura3a621182019-10-09 12:40:11 -0400135 periodSeconds: 20
136 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500137 # necessary to disable liveness probe when setting breakpoints
138 # in debugger so K8s doesn't restart unresponsive container
139 enabled: true
140
141readiness:
Yang Xu435062b2019-06-17 01:19:37 -0400142 initialDelaySeconds: 120
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500143 periodSeconds: 10
Oleg Mitsura3a621182019-10-09 12:40:11 -0400144 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500145
146service:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500147 http:
gummarc7bd0e22020-03-05 18:57:12 +0000148 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -0400149 portName: blueprints-processor-http
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500150 internalPort: 8080
151 externalPort: 8080
152 grpc:
Oleg Mitsura0197bf12019-05-03 15:03:55 -0400153 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -0400154 portName: blueprints-processor-grpc
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500155 internalPort: 9111
156 externalPort: 9111
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500157 cluster:
158 type: ClusterIP
159 portName: blueprints-processor-cluster
160 internalPort: 5701
161 externalPort: 5701
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500162
163persistence:
Alexis de Talhouët108e28f2019-04-14 18:54:56 -0400164 volumeReclaimPolicy: Retain
165 accessMode: ReadWriteMany
166 size: 2Gi
167 enabled: true
168 mountSubPath: cds/blueprints/deploy
169 deployedBlueprint: /opt/app/onap/blueprints/deploy
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500170
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500171cluster:
172 # Cannot have cluster enabled if the replicaCount is not at least 3
Jozsef Csongvai08515b72021-04-28 17:04:57 -0400173 enabled: false
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500174
175 clusterName: cds-cluster
176
177 # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
178 # between 3 and 7 only.
179 groupSize: 3
180
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500181ingress:
182 enabled: false
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100183 service:
184 - baseaddr: "blueprintsprocessorhttp"
Lucjan Bryndza6174db42020-07-09 09:00:20 +0000185 name: "cds-blueprints-processor-http"
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100186 port: 8080
187 config:
188 ssl: "none"
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500189
Dominik Mizyndd285d32020-08-21 13:10:11 +0200190logback:
191 rootLogLevel: INFO
192 logger:
193 springframework: INFO
194 springframeworkWeb: INFO
195 springframeworkSecurityWebauthentication: INFO
196 hibernate: INFO
197 onapCcsdkCds: INFO
198
Dan Timoney6cc07e02020-09-23 08:52:47 -0400199flavor: small
200
201resources:
202 small:
203 limits:
204 cpu: 2
205 memory: 4Gi
206 requests:
207 cpu: 1
208 memory: 1Gi
209 large:
210 limits:
211 cpu: 4
212 memory: 8Gi
213 requests:
214 cpu: 2
215 memory: 4Gi
216 unlimited: {}
farida azmyffad0322021-04-09 14:18:14 +0200217
218#Pods Service Account
219serviceAccount:
220 nameOverride: cds-blueprints-processor
221 roles:
222 - read
Kavitha P1a78f2f2021-08-25 16:40:38 +0530223
224# workflow store flag
225workflow:
226 storeEnabled: false