1 # Copyright (c) 2019 IBM, Bell Canada
2 # Copyright (c) 2020 Samsung Electronics
4 # 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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
20 # Change to an unused port prefix range to prevent port conflicts
21 # with other instances running within the same k8s cluster
22 nodePortPrefixExt: 304
28 mountPath: /dockerdata-nfs
30 #This configuration specifies Service and port for SDNC OAM interface
31 sdncOamService: sdnc-oam
34 #AAF is enabled by default
37 #enable importCustomCerts to add custom CA to blueprint processor pod
38 #importCustomCertsEnabled: true
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
45 #################################################################
47 #################################################################
49 - uid: 'cds-db-user-creds'
51 externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}'
52 login: '{{ .Values.config.cdsDB.dbUser }}'
53 password: '{{ .Values.config.cdsDB.dbPassword }}'
54 passwordPolicy: required
55 - uid: 'sdnc-db-root-pass'
57 externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}'
58 password: '{{ .Values.config.sdncDB.dbRootPass }}'
59 passwordPolicy: required
61 #################################################################
63 #################################################################
65 nameOverride: cds-blueprints-processor-cert-initializer
66 aafDeployFqi: deployer@people.osaaf.org
67 aafDeployPass: demo123456!
68 # aafDeployCredsExternalSecret: some secret
70 fqi: sdnc-cds@sdnc-cds.onap.org
71 public_fqdn: sdnc-cds.onap.org
75 credsPath: /opt/app/osaaf/local
76 fqi_namespace: org.onap.sdnc-cds
77 #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
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
86 #################################################################
87 # Application configuration defaults.
88 #################################################################
90 image: onap/ccsdk-blueprintsprocessor:1.2.1
93 # flag to enable debugging - application support required
96 # application configuration
98 appConfigDir: /opt/app/onap/config
100 dbService: mariadb-galera
103 #dbRootPass: Custom root password
104 dbRootPassExternalSecret: '{{ include "common.mariadb.secret.rootPassSecretName" ( dict "dot" . "chartName" .Values.config.sdncDB.dbService ) }}'
111 # dbCredsExternalSecret: <some secret name>
112 # dbRootPassword: password
113 # dbRootPassExternalSecret
115 # default number of instances
122 # 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.
127 # probe configuration parameters
129 initialDelaySeconds: 10
134 initialDelaySeconds: 0
137 # necessary to disable liveness probe when setting breakpoints
138 # in debugger so K8s doesn't restart unresponsive container
142 initialDelaySeconds: 120
149 portName: blueprints-processor-http
154 portName: blueprints-processor-grpc
159 portName: blueprints-processor-cluster
164 volumeReclaimPolicy: Retain
165 accessMode: ReadWriteMany
168 mountSubPath: cds/blueprints/deploy
169 deployedBlueprint: /opt/app/onap/blueprints/deploy
172 # Cannot have cluster enabled if the replicaCount is not at least 3
175 clusterName: cds-cluster
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.
184 - baseaddr: "blueprintsprocessorhttp"
185 name: "cds-blueprints-processor-http"
193 springframework: INFO
194 springframeworkWeb: INFO
195 springframeworkSecurityWebauthentication: INFO
218 #Pods Service Account
220 nameOverride: cds-blueprints-processor
224 # workflow store flag