Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 1 | # Copyright (c) 2019 IBM, Bell Canada |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 2 | # Copyright (c) 2020 Samsung Electronics |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 3 | # |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 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 |
| 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 | ################################################################# |
| 19 | global: |
| 20 | # Change to an unused port prefix range to prevent port conflicts |
| 21 | # with other instances running within the same k8s cluster |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 22 | nodePortPrefixExt: 304 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 23 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 24 | # image pull policy |
| 25 | pullPolicy: Always |
| 26 | |
| 27 | persistence: |
| 28 | mountPath: /dockerdata-nfs |
| 29 | |
Konrad Bańka | e332b24 | 2020-04-06 13:30:06 +0200 | [diff] [blame] | 30 | #This configuration specifies Service and port for SDNC OAM interface |
| 31 | sdncOamService: sdnc-oam |
| 32 | sdncOamPort: 8282 |
| 33 | |
Abdelmuhaimen Seaudi | 2b55c44 | 2021-09-19 09:02:22 +0000 | [diff] [blame^] | 34 | #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 Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 45 | ################################################################# |
| 46 | # Secrets metaconfig |
| 47 | ################################################################# |
| 48 | secrets: |
| 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ńka | 031bdb7 | 2020-05-14 16:56:39 +0200 | [diff] [blame] | 55 | - uid: 'sdnc-db-root-pass' |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 56 | type: password |
Konrad Bańka | 031bdb7 | 2020-05-14 16:56:39 +0200 | [diff] [blame] | 57 | externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}' |
| 58 | password: '{{ .Values.config.sdncDB.dbRootPass }}' |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 59 | passwordPolicy: required |
| 60 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 61 | ################################################################# |
Abdelmuhaimen Seaudi | 822eb09 | 2021-09-04 11:08:36 +0200 | [diff] [blame] | 62 | # AAF part |
| 63 | ################################################################# |
| 64 | certInitializer: |
Abdelmuhaimen Seaudi | 2b55c44 | 2021-09-19 09:02:22 +0000 | [diff] [blame^] | 65 | nameOverride: cds-blueprints-processor-cert-initializer |
Abdelmuhaimen Seaudi | 822eb09 | 2021-09-04 11:08:36 +0200 | [diff] [blame] | 66 | 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 Seaudi | 2b55c44 | 2021-09-19 09:02:22 +0000 | [diff] [blame^] | 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 |
Abdelmuhaimen Seaudi | 822eb09 | 2021-09-04 11:08:36 +0200 | [diff] [blame] | 81 | 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 Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 87 | # Application configuration defaults. |
| 88 | ################################################################# |
| 89 | # application image |
Abdelmuhaimen Seaudi | 822eb09 | 2021-09-04 11:08:36 +0200 | [diff] [blame] | 90 | image: onap/ccsdk-blueprintsprocessor:1.2.0 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 91 | pullPolicy: Always |
| 92 | |
| 93 | # flag to enable debugging - application support required |
| 94 | debugEnabled: false |
| 95 | |
| 96 | # application configuration |
| 97 | config: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 98 | appConfigDir: /opt/app/onap/config |
Konrad Bańka | 031bdb7 | 2020-05-14 16:56:39 +0200 | [diff] [blame] | 99 | 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 Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 105 | cdsDB: |
| 106 | dbServer: cds-db |
| 107 | dbPort: 3306 |
| 108 | dbName: sdnctl |
Sylvain Desbureaux | 503b229 | 2020-11-21 22:29:17 +0100 | [diff] [blame] | 109 | dbUser: sdnctl |
| 110 | dbPassword: sdnctl |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 111 | # dbCredsExternalSecret: <some secret name> |
| 112 | # dbRootPassword: password |
| 113 | # dbRootPassExternalSecret |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 114 | |
| 115 | # default number of instances |
Jozsef Csongvai | 08515b7 | 2021-04-28 17:04:57 -0400 | [diff] [blame] | 116 | replicaCount: 1 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 117 | |
| 118 | nodeSelector: {} |
| 119 | |
| 120 | affinity: {} |
| 121 | |
Prathamesh Morde | 93da127 | 2019-06-24 10:36:15 -0400 | [diff] [blame] | 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. |
| 124 | dmaapEnabled: true |
| 125 | |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 126 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 127 | # probe configuration parameters |
Jozsef Csongvai | 08515b7 | 2021-04-28 17:04:57 -0400 | [diff] [blame] | 128 | startup: |
| 129 | initialDelaySeconds: 10 |
| 130 | failureThreshold: 30 |
| 131 | periodSeconds: 10 |
| 132 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 133 | liveness: |
Jozsef Csongvai | 08515b7 | 2021-04-28 17:04:57 -0400 | [diff] [blame] | 134 | initialDelaySeconds: 0 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 135 | periodSeconds: 20 |
| 136 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 137 | # necessary to disable liveness probe when setting breakpoints |
| 138 | # in debugger so K8s doesn't restart unresponsive container |
| 139 | enabled: true |
| 140 | |
| 141 | readiness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 142 | initialDelaySeconds: 120 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 143 | periodSeconds: 10 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 144 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 145 | |
| 146 | service: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 147 | http: |
gummar | c7bd0e2 | 2020-03-05 18:57:12 +0000 | [diff] [blame] | 148 | type: ClusterIP |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 149 | portName: blueprints-processor-http |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 150 | internalPort: 8080 |
| 151 | externalPort: 8080 |
| 152 | grpc: |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 153 | type: ClusterIP |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 154 | portName: blueprints-processor-grpc |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 155 | internalPort: 9111 |
| 156 | externalPort: 9111 |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 157 | cluster: |
| 158 | type: ClusterIP |
| 159 | portName: blueprints-processor-cluster |
| 160 | internalPort: 5701 |
| 161 | externalPort: 5701 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 162 | |
| 163 | persistence: |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 164 | 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 Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 170 | |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 171 | cluster: |
| 172 | # Cannot have cluster enabled if the replicaCount is not at least 3 |
Jozsef Csongvai | 08515b7 | 2021-04-28 17:04:57 -0400 | [diff] [blame] | 173 | enabled: false |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 174 | |
| 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 Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 181 | ingress: |
| 182 | enabled: false |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 183 | service: |
| 184 | - baseaddr: "blueprintsprocessorhttp" |
Lucjan Bryndza | 6174db4 | 2020-07-09 09:00:20 +0000 | [diff] [blame] | 185 | name: "cds-blueprints-processor-http" |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 186 | port: 8080 |
| 187 | config: |
| 188 | ssl: "none" |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 189 | |
Dominik Mizyn | dd285d3 | 2020-08-21 13:10:11 +0200 | [diff] [blame] | 190 | logback: |
| 191 | rootLogLevel: INFO |
| 192 | logger: |
| 193 | springframework: INFO |
| 194 | springframeworkWeb: INFO |
| 195 | springframeworkSecurityWebauthentication: INFO |
| 196 | hibernate: INFO |
| 197 | onapCcsdkCds: INFO |
| 198 | |
Dan Timoney | 6cc07e0 | 2020-09-23 08:52:47 -0400 | [diff] [blame] | 199 | flavor: small |
| 200 | |
| 201 | resources: |
| 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 azmy | ffad032 | 2021-04-09 14:18:14 +0200 | [diff] [blame] | 217 | |
| 218 | #Pods Service Account |
| 219 | serviceAccount: |
| 220 | nameOverride: cds-blueprints-processor |
| 221 | roles: |
| 222 | - read |
Kavitha P | 1a78f2f | 2021-08-25 16:40:38 +0530 | [diff] [blame] | 223 | |
| 224 | # workflow store flag |
| 225 | workflow: |
| 226 | storeEnabled: false |