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 | |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 34 | ################################################################# |
| 35 | # Secrets metaconfig |
| 36 | ################################################################# |
| 37 | secrets: |
| 38 | - uid: 'cds-db-user-creds' |
| 39 | type: basicAuth |
| 40 | externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}' |
| 41 | login: '{{ .Values.config.cdsDB.dbUser }}' |
| 42 | password: '{{ .Values.config.cdsDB.dbPassword }}' |
| 43 | passwordPolicy: required |
Konrad Bańka | 031bdb7 | 2020-05-14 16:56:39 +0200 | [diff] [blame] | 44 | - uid: 'sdnc-db-root-pass' |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 45 | type: password |
Konrad Bańka | 031bdb7 | 2020-05-14 16:56:39 +0200 | [diff] [blame] | 46 | externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}' |
| 47 | password: '{{ .Values.config.sdncDB.dbRootPass }}' |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 48 | passwordPolicy: required |
| 49 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 50 | ################################################################# |
Abdelmuhaimen Seaudi | 822eb09 | 2021-09-04 11:08:36 +0200 | [diff] [blame] | 51 | # AAF part |
| 52 | ################################################################# |
| 53 | certInitializer: |
| 54 | nameOverride: cds-blueprints-processor-initializer |
| 55 | aafDeployFqi: deployer@people.osaaf.org |
| 56 | aafDeployPass: demo123456! |
| 57 | # aafDeployCredsExternalSecret: some secret |
| 58 | fqdn: sdnc-cds |
| 59 | fqi: sdnc-cds@sdnc-cds.onap.org |
| 60 | public_fqdn: sdnc-cds.onap.org |
| 61 | cadi_longitude: "0.0" |
| 62 | cadi_latitude: "0.0" |
| 63 | app_ns: org.osaaf.aaf |
| 64 | credsPath: /opt/app/osaaf/local |
| 65 | fqi_namespace: org.onap.sdnc-cds |
| 66 | aaf_add_config: > |
| 67 | /opt/app/aaf_config/bin/agent.sh; |
| 68 | /opt/app/aaf_config/bin/agent.sh local showpass |
| 69 | {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop |
| 70 | |
| 71 | ################################################################# |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 72 | # Application configuration defaults. |
| 73 | ################################################################# |
| 74 | # application image |
Abdelmuhaimen Seaudi | 822eb09 | 2021-09-04 11:08:36 +0200 | [diff] [blame] | 75 | image: onap/ccsdk-blueprintsprocessor:1.2.0 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 76 | pullPolicy: Always |
| 77 | |
| 78 | # flag to enable debugging - application support required |
| 79 | debugEnabled: false |
| 80 | |
| 81 | # application configuration |
| 82 | config: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 83 | appConfigDir: /opt/app/onap/config |
Konrad Bańka | 031bdb7 | 2020-05-14 16:56:39 +0200 | [diff] [blame] | 84 | sdncDB: |
| 85 | dbService: mariadb-galera |
| 86 | dbPort: 3306 |
| 87 | dbName: sdnctl |
| 88 | #dbRootPass: Custom root password |
| 89 | 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] | 90 | cdsDB: |
| 91 | dbServer: cds-db |
| 92 | dbPort: 3306 |
| 93 | dbName: sdnctl |
Sylvain Desbureaux | 503b229 | 2020-11-21 22:29:17 +0100 | [diff] [blame] | 94 | dbUser: sdnctl |
| 95 | dbPassword: sdnctl |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 96 | # dbCredsExternalSecret: <some secret name> |
| 97 | # dbRootPassword: password |
| 98 | # dbRootPassExternalSecret |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 99 | |
| 100 | # default number of instances |
Jozsef Csongvai | 08515b7 | 2021-04-28 17:04:57 -0400 | [diff] [blame] | 101 | replicaCount: 1 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 102 | |
| 103 | nodeSelector: {} |
| 104 | |
| 105 | affinity: {} |
| 106 | |
Prathamesh Morde | 93da127 | 2019-06-24 10:36:15 -0400 | [diff] [blame] | 107 | # flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using |
| 108 | # custom kafka cluster. |
| 109 | dmaapEnabled: true |
| 110 | |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 111 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 112 | # probe configuration parameters |
Jozsef Csongvai | 08515b7 | 2021-04-28 17:04:57 -0400 | [diff] [blame] | 113 | startup: |
| 114 | initialDelaySeconds: 10 |
| 115 | failureThreshold: 30 |
| 116 | periodSeconds: 10 |
| 117 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 118 | liveness: |
Jozsef Csongvai | 08515b7 | 2021-04-28 17:04:57 -0400 | [diff] [blame] | 119 | initialDelaySeconds: 0 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 120 | periodSeconds: 20 |
| 121 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 122 | # necessary to disable liveness probe when setting breakpoints |
| 123 | # in debugger so K8s doesn't restart unresponsive container |
| 124 | enabled: true |
| 125 | |
| 126 | readiness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 127 | initialDelaySeconds: 120 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 128 | periodSeconds: 10 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 129 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 130 | |
| 131 | service: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 132 | http: |
gummar | c7bd0e2 | 2020-03-05 18:57:12 +0000 | [diff] [blame] | 133 | type: ClusterIP |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 134 | portName: blueprints-processor-http |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 135 | internalPort: 8080 |
| 136 | externalPort: 8080 |
| 137 | grpc: |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 138 | type: ClusterIP |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 139 | portName: blueprints-processor-grpc |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 140 | internalPort: 9111 |
| 141 | externalPort: 9111 |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 142 | cluster: |
| 143 | type: ClusterIP |
| 144 | portName: blueprints-processor-cluster |
| 145 | internalPort: 5701 |
| 146 | externalPort: 5701 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 147 | |
| 148 | persistence: |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 149 | volumeReclaimPolicy: Retain |
| 150 | accessMode: ReadWriteMany |
| 151 | size: 2Gi |
| 152 | enabled: true |
| 153 | mountSubPath: cds/blueprints/deploy |
| 154 | deployedBlueprint: /opt/app/onap/blueprints/deploy |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 155 | |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 156 | cluster: |
| 157 | # Cannot have cluster enabled if the replicaCount is not at least 3 |
Jozsef Csongvai | 08515b7 | 2021-04-28 17:04:57 -0400 | [diff] [blame] | 158 | enabled: false |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 159 | |
| 160 | clusterName: cds-cluster |
| 161 | |
| 162 | # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be |
| 163 | # between 3 and 7 only. |
| 164 | groupSize: 3 |
| 165 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 166 | ingress: |
| 167 | enabled: false |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 168 | service: |
| 169 | - baseaddr: "blueprintsprocessorhttp" |
Lucjan Bryndza | 6174db4 | 2020-07-09 09:00:20 +0000 | [diff] [blame] | 170 | name: "cds-blueprints-processor-http" |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 171 | port: 8080 |
| 172 | config: |
| 173 | ssl: "none" |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 174 | |
Dominik Mizyn | dd285d3 | 2020-08-21 13:10:11 +0200 | [diff] [blame] | 175 | logback: |
| 176 | rootLogLevel: INFO |
| 177 | logger: |
| 178 | springframework: INFO |
| 179 | springframeworkWeb: INFO |
| 180 | springframeworkSecurityWebauthentication: INFO |
| 181 | hibernate: INFO |
| 182 | onapCcsdkCds: INFO |
| 183 | |
Dan Timoney | 6cc07e0 | 2020-09-23 08:52:47 -0400 | [diff] [blame] | 184 | flavor: small |
| 185 | |
| 186 | resources: |
| 187 | small: |
| 188 | limits: |
| 189 | cpu: 2 |
| 190 | memory: 4Gi |
| 191 | requests: |
| 192 | cpu: 1 |
| 193 | memory: 1Gi |
| 194 | large: |
| 195 | limits: |
| 196 | cpu: 4 |
| 197 | memory: 8Gi |
| 198 | requests: |
| 199 | cpu: 2 |
| 200 | memory: 4Gi |
| 201 | unlimited: {} |
farida azmy | ffad032 | 2021-04-09 14:18:14 +0200 | [diff] [blame] | 202 | |
| 203 | #Pods Service Account |
| 204 | serviceAccount: |
| 205 | nameOverride: cds-blueprints-processor |
| 206 | roles: |
| 207 | - read |
Kavitha P | 1a78f2f | 2021-08-25 16:40:38 +0530 | [diff] [blame] | 208 | |
| 209 | # workflow store flag |
| 210 | workflow: |
| 211 | storeEnabled: false |