1 # Copyright (c) 2019 IBM, Bell Canada
2 # Copyright (c) 2020 Samsung Electronics
3 # Modification Copyright © 2022-2023 Nordix Foundation
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
9 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 #################################################################
18 # Global configuration defaults.
19 #################################################################
21 mariadbGalera: &mariadbGalera
22 # flag to enable the DB creation via mariadb-operator
24 #This flag allows NBI to instantiate its own mariadb-galera cluster
25 #When changing it to "true", also set "globalCluster: false"
26 #as the dependency check will not work otherwise (Chart.yaml)
29 service: mariadb-galera
31 nameOverride: mariadb-galera
35 mountPath: /dockerdata-nfs
36 # This configuration specifies Service and port for SDNC OAM interface
37 sdncOamService: sdnc-oam
39 # This concerns CDS/AAI communication through HTTP when TLS is not being needed
40 # Port value should match the one in aai/values.yml : service.externalPlainPort
42 ExternalPlainPort: 80 # when TLS is not needed
43 ServiceName: aai # domain
44 # http://aai:80 or https://aai:443
46 #enable importCustomCerts to add custom CA to blueprint processor pod
47 #importCustomCertsEnabled: true
49 #use below configmap to add custom CA certificates
50 #certificates with *.pem will be added to JAVA truststore $JAVA_HOME/lib/security/cacerts in the pod
51 #certificates with *.crt will be added to /etc/ssl/certs/ca-certificates.crt in the pod
52 #customCertsConfigMap: onap-cds-blueprints-processor-configmap
54 #################################################################
56 #################################################################
58 - uid: 'cds-db-user-creds'
60 externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}'
61 login: '{{ .Values.config.cdsDB.dbUser }}'
62 password: '{{ .Values.config.cdsDB.dbPassword }}'
63 passwordPolicy: required
64 - uid: 'sdnc-db-root-pass'
66 externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}'
67 password: '{{ .Values.config.sdncDB.dbRootPass }}'
68 passwordPolicy: required
71 externalSecret: '{{ tpl (default "" .Values.config.cps.cpsUserExternalSecret) . }}'
72 login: '{{ .Values.config.cps.cpsUsername }}'
73 password: '{{ .Values.config.cps.cpsPassword }}'
74 passwordPolicy: required
76 #################################################################
77 # Application configuration defaults.
78 #################################################################
80 image: onap/ccsdk-blueprintsprocessor:1.5.3
83 # flag to enable debugging - application support required
86 # application configuration
88 appConfigDir: /opt/app/onap/config
90 dbService: mariadb-galera
93 # dbRootPass: Custom root password
94 dbRootPassExternalSecret: '{{ include "common.mariadb.secret.rootPassSecretName" ( dict "dot" . "chartName" .Values.config.sdncDB.dbService ) }}'
101 # dbCredsExternalSecret: <some secret name>
102 # dbRootPassword: password
103 # dbRootPassExternalSecret
107 cpsUserExternalSecret: '{{ include "common.release" . }}-cps-core-app-user-creds'
109 # default number of instances
116 # Strimzi KafkaUser config
119 - name: cds-bp-processor
122 - name: cds.blueprint-processor
125 operations: [Read, Write]
126 # Strimzi KafkaTopic config
128 - name: cds.blueprint-processor.self-service-api.request
129 - name: cds.blueprint-processor.self-service-api.response
130 - name: cds.blueprint-processor.self-service-api.audit.request
131 - name: cds.blueprint-processor.self-service-api.audit.response
134 containerHttpPort: &svc_http_port 8080
135 containerGrpcPort: &svc_grpc_port 9111
136 containerTcpPort: &svc_tcp_port 5701
142 internalPort: *svc_http_port
143 externalPort: *svc_http_port
147 internalPort: *svc_grpc_port
148 externalPort: *svc_grpc_port
151 portName: tcp-cluster
152 internalPort: *svc_tcp_port
153 externalPort: *svc_tcp_port
156 # probe configuration parameters
158 initialDelaySeconds: 10
164 initialDelaySeconds: 1
167 # necessary to disable liveness probe when setting breakpoints
168 # in debugger so K8s doesn't restart unresponsive container
173 initialDelaySeconds: 120
179 volumeReclaimPolicy: Retain
180 accessMode: ReadWriteMany
183 mountSubPath: cds/blueprints/deploy
184 deployedBlueprint: /opt/app/onap/blueprints/deploy
187 # Cannot have cluster enabled if the replicaCount is not at least 3
189 clusterName: cds-cluster
190 # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
191 # between 3 and 7 only.
197 - baseaddr: "cds-blueprintsprocessor-api"
198 name: "cds-blueprints-processor-http"
206 springframework: INFO
207 springframeworkWeb: INFO
208 springframeworkSecurityWebauthentication: INFO
234 - '{{ .Values.global.mariadbGalera.service }}'
236 #Pods Service Account
238 nameOverride: cds-blueprints-processor
242 # workflow store flag
248 baseUrl: http://jaeger-collector.istio-system:9411
250 probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
252 - .*/execution-service/health-check