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 #################################################################
24 mountPath: /dockerdata-nfs
25 # This configuration specifies Service and port for SDNC OAM interface
26 sdncOamService: sdnc-oam
28 # This concerns CDS/AAI communication through HTTP when TLS is not being needed
29 # Port value should match the one in aai/values.yml : service.externalPlainPort
31 ExternalPlainPort: 80 # when TLS is not needed
32 ServiceName: aai # domain
33 # http://aai:80 or https://aai:443
35 #enable importCustomCerts to add custom CA to blueprint processor pod
36 #importCustomCertsEnabled: true
38 #use below configmap to add custom CA certificates
39 #certificates with *.pem will be added to JAVA truststore $JAVA_HOME/lib/security/cacerts in the pod
40 #certificates with *.crt will be added to /etc/ssl/certs/ca-certificates.crt in the pod
41 #customCertsConfigMap: onap-cds-blueprints-processor-configmap
43 #################################################################
45 #################################################################
47 - uid: 'cds-db-user-creds'
49 externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}'
50 login: '{{ .Values.config.cdsDB.dbUser }}'
51 password: '{{ .Values.config.cdsDB.dbPassword }}'
52 passwordPolicy: required
53 - uid: 'sdnc-db-root-pass'
55 externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}'
56 password: '{{ .Values.config.sdncDB.dbRootPass }}'
57 passwordPolicy: required
60 externalSecret: '{{ tpl (default "" .Values.config.cps.cpsUserExternalSecret) . }}'
61 login: '{{ .Values.config.cps.cpsUsername }}'
62 password: '{{ .Values.config.cps.cpsPassword }}'
63 passwordPolicy: required
65 #################################################################
66 # Application configuration defaults.
67 #################################################################
69 image: onap/ccsdk-blueprintsprocessor:1.5.1
72 # flag to enable debugging - application support required
75 # application configuration
77 appConfigDir: /opt/app/onap/config
79 dbService: mariadb-galera
82 # dbRootPass: Custom root password
83 dbRootPassExternalSecret: '{{ include "common.mariadb.secret.rootPassSecretName" ( dict "dot" . "chartName" .Values.config.sdncDB.dbService ) }}'
90 # dbCredsExternalSecret: <some secret name>
91 # dbRootPassword: password
92 # dbRootPassExternalSecret
96 cpsUserExternalSecret: '{{ include "common.release" . }}-cps-core-app-user-creds'
98 # default number of instances
105 # Strimzi KafkaUser config
108 - name: cds-bp-processor
111 - name: cds.blueprint-processor
114 operations: [Read, Write]
115 # Strimzi KafkaTopic config
117 - name: cds.blueprint-processor.self-service-api.request
118 - name: cds.blueprint-processor.self-service-api.response
119 - name: cds.blueprint-processor.self-service-api.audit.request
120 - name: cds.blueprint-processor.self-service-api.audit.response
123 containerHttpPort: &svc_http_port 8080
124 containerGrpcPort: &svc_grpc_port 9111
125 containerTcpPort: &svc_tcp_port 5701
131 internalPort: *svc_http_port
132 externalPort: *svc_http_port
136 internalPort: *svc_grpc_port
137 externalPort: *svc_grpc_port
140 portName: tcp-cluster
141 internalPort: *svc_tcp_port
142 externalPort: *svc_tcp_port
145 # probe configuration parameters
147 initialDelaySeconds: 10
153 initialDelaySeconds: 1
156 # necessary to disable liveness probe when setting breakpoints
157 # in debugger so K8s doesn't restart unresponsive container
162 initialDelaySeconds: 120
168 volumeReclaimPolicy: Retain
169 accessMode: ReadWriteMany
172 mountSubPath: cds/blueprints/deploy
173 deployedBlueprint: /opt/app/onap/blueprints/deploy
176 # Cannot have cluster enabled if the replicaCount is not at least 3
178 clusterName: cds-cluster
179 # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
180 # between 3 and 7 only.
186 - baseaddr: "cds-blueprintsprocessor-api"
187 name: "cds-blueprints-processor-http"
195 springframework: INFO
196 springframeworkWeb: INFO
197 springframeworkSecurityWebauthentication: INFO
224 #Pods Service Account
226 nameOverride: cds-blueprints-processor
230 # workflow store flag