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 | |
| 24 | # image repositories |
| 25 | repository: nexus3.onap.org:10001 |
| 26 | |
| 27 | # readiness check |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 28 | readinessImage: onap/oom/readiness:3.0.1 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 29 | |
| 30 | # image pull policy |
| 31 | pullPolicy: Always |
| 32 | |
| 33 | persistence: |
| 34 | mountPath: /dockerdata-nfs |
| 35 | |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 36 | # envsusbt |
| 37 | envsubstImage: dibi/envsubst |
| 38 | |
Konrad Bańka | e332b24 | 2020-04-06 13:30:06 +0200 | [diff] [blame] | 39 | #This configuration specifies Service and port for SDNC OAM interface |
| 40 | sdncOamService: sdnc-oam |
| 41 | sdncOamPort: 8282 |
| 42 | |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 43 | ################################################################# |
| 44 | # Secrets metaconfig |
| 45 | ################################################################# |
| 46 | secrets: |
| 47 | - uid: 'cds-db-user-creds' |
| 48 | type: basicAuth |
| 49 | externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}' |
| 50 | login: '{{ .Values.config.cdsDB.dbUser }}' |
| 51 | password: '{{ .Values.config.cdsDB.dbPassword }}' |
| 52 | passwordPolicy: required |
Konrad Bańka | 031bdb7 | 2020-05-14 16:56:39 +0200 | [diff] [blame] | 53 | - uid: 'sdnc-db-root-pass' |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 54 | type: password |
Konrad Bańka | 031bdb7 | 2020-05-14 16:56:39 +0200 | [diff] [blame] | 55 | externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}' |
| 56 | password: '{{ .Values.config.sdncDB.dbRootPass }}' |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 57 | passwordPolicy: required |
| 58 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 59 | ################################################################# |
| 60 | # Application configuration defaults. |
| 61 | ################################################################# |
| 62 | # application image |
| 63 | repository: nexus3.onap.org:10001 |
Dan Timoney | 6cc07e0 | 2020-09-23 08:52:47 -0400 | [diff] [blame] | 64 | image: onap/ccsdk-blueprintsprocessor:1.0.0 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 65 | pullPolicy: Always |
| 66 | |
| 67 | # flag to enable debugging - application support required |
| 68 | debugEnabled: false |
| 69 | |
| 70 | # application configuration |
| 71 | config: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 72 | appConfigDir: /opt/app/onap/config |
abdelseaudi | ca7459b | 2020-07-03 17:31:06 +0000 | [diff] [blame] | 73 | useScriptCompileCache: false |
Konrad Bańka | 031bdb7 | 2020-05-14 16:56:39 +0200 | [diff] [blame] | 74 | sdncDB: |
| 75 | dbService: mariadb-galera |
| 76 | dbPort: 3306 |
| 77 | dbName: sdnctl |
| 78 | #dbRootPass: Custom root password |
| 79 | 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] | 80 | cdsDB: |
| 81 | dbServer: cds-db |
| 82 | dbPort: 3306 |
| 83 | dbName: sdnctl |
| 84 | # dbUser: sdnctl |
| 85 | # dbPassword: sdnctl |
| 86 | # dbCredsExternalSecret: <some secret name> |
| 87 | # dbRootPassword: password |
| 88 | # dbRootPassExternalSecret |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 89 | |
| 90 | # default number of instances |
abdelseaudi | ca7459b | 2020-07-03 17:31:06 +0000 | [diff] [blame] | 91 | replicaCount: 3 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 92 | |
| 93 | nodeSelector: {} |
| 94 | |
| 95 | affinity: {} |
| 96 | |
Prathamesh Morde | 93da127 | 2019-06-24 10:36:15 -0400 | [diff] [blame] | 97 | # flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using |
| 98 | # custom kafka cluster. |
| 99 | dmaapEnabled: true |
| 100 | |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 101 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 102 | # probe configuration parameters |
| 103 | liveness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 104 | initialDelaySeconds: 120 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 105 | periodSeconds: 20 |
| 106 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 107 | # necessary to disable liveness probe when setting breakpoints |
| 108 | # in debugger so K8s doesn't restart unresponsive container |
| 109 | enabled: true |
| 110 | |
| 111 | readiness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 112 | initialDelaySeconds: 120 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 113 | periodSeconds: 10 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 114 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 115 | |
| 116 | service: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 117 | http: |
gummar | c7bd0e2 | 2020-03-05 18:57:12 +0000 | [diff] [blame] | 118 | type: ClusterIP |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 119 | portName: blueprints-processor-http |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 120 | internalPort: 8080 |
| 121 | externalPort: 8080 |
| 122 | grpc: |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 123 | type: ClusterIP |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 124 | portName: blueprints-processor-grpc |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 125 | internalPort: 9111 |
| 126 | externalPort: 9111 |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 127 | cluster: |
| 128 | type: ClusterIP |
| 129 | portName: blueprints-processor-cluster |
| 130 | internalPort: 5701 |
| 131 | externalPort: 5701 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 132 | |
| 133 | persistence: |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 134 | volumeReclaimPolicy: Retain |
| 135 | accessMode: ReadWriteMany |
| 136 | size: 2Gi |
| 137 | enabled: true |
| 138 | mountSubPath: cds/blueprints/deploy |
| 139 | deployedBlueprint: /opt/app/onap/blueprints/deploy |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 140 | |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 141 | cluster: |
| 142 | # Cannot have cluster enabled if the replicaCount is not at least 3 |
| 143 | # AND config value useScriptCompileCache is not set to false |
abdelseaudi | ca7459b | 2020-07-03 17:31:06 +0000 | [diff] [blame] | 144 | enabled: true |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 145 | |
| 146 | clusterName: cds-cluster |
| 147 | |
| 148 | # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be |
| 149 | # between 3 and 7 only. |
| 150 | groupSize: 3 |
| 151 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 152 | ingress: |
| 153 | enabled: false |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 154 | service: |
| 155 | - baseaddr: "blueprintsprocessorhttp" |
Lucjan Bryndza | 6174db4 | 2020-07-09 09:00:20 +0000 | [diff] [blame] | 156 | name: "cds-blueprints-processor-http" |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 157 | port: 8080 |
| 158 | config: |
| 159 | ssl: "none" |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 160 | |
Dominik Mizyn | dd285d3 | 2020-08-21 13:10:11 +0200 | [diff] [blame] | 161 | logback: |
| 162 | rootLogLevel: INFO |
| 163 | logger: |
| 164 | springframework: INFO |
| 165 | springframeworkWeb: INFO |
| 166 | springframeworkSecurityWebauthentication: INFO |
| 167 | hibernate: INFO |
| 168 | onapCcsdkCds: INFO |
| 169 | |
Dan Timoney | 6cc07e0 | 2020-09-23 08:52:47 -0400 | [diff] [blame] | 170 | flavor: small |
| 171 | |
| 172 | resources: |
| 173 | small: |
| 174 | limits: |
| 175 | cpu: 2 |
| 176 | memory: 4Gi |
| 177 | requests: |
| 178 | cpu: 1 |
| 179 | memory: 1Gi |
| 180 | large: |
| 181 | limits: |
| 182 | cpu: 4 |
| 183 | memory: 8Gi |
| 184 | requests: |
| 185 | cpu: 2 |
| 186 | memory: 4Gi |
| 187 | unlimited: {} |