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