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