Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 1 | # Copyright © 2020 Samsung Electronics |
Abdelmuhaimen Seaudi | f487c95 | 2019-09-03 17:45:29 +0000 | [diff] [blame] | 2 | # Copyright © 2019 Orange, Bell Canada |
| 3 | # Copyright © 2017 Amdocs, Bell Canada |
Sylvain Desbureaux | 7acab56 | 2019-03-01 09:26:13 +0100 | [diff] [blame] | 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
Abdelmuhaimen Seaudi | f487c95 | 2019-09-03 17:45:29 +0000 | [diff] [blame] | 17 | ################################################################# |
| 18 | # Global configuration defaults. |
| 19 | ################################################################# |
| 20 | global: |
| 21 | nodePortPrefix: 302 |
| 22 | nodePortPrefixExt: 304 |
| 23 | repository: nexus3.onap.org:10001 |
| 24 | readinessRepository: oomk8s |
| 25 | readinessImage: readiness-check:2.0.2 |
| 26 | loggingRepository: docker.elastic.co |
| 27 | loggingImage: beats/filebeat:5.5.0 |
| 28 | persistence: |
| 29 | mountPath: /dockerdata-nfs |
| 30 | |
| 31 | ################################################################# |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 32 | # Secrets metaconfig |
| 33 | ################################################################# |
| 34 | secrets: |
| 35 | - name: &dbUserSecretName '{{ include "common.release" . }}-cds-db-secret' |
| 36 | uid: 'cds-db-secret' |
| 37 | type: basicAuth |
| 38 | externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "cds-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}' |
| 39 | login: '{{ index .Values "mariadb-galera" "config" "userName" }}' |
| 40 | password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}' |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 41 | |
| 42 | ################################################################# |
Abdelmuhaimen Seaudi | f487c95 | 2019-09-03 17:45:29 +0000 | [diff] [blame] | 43 | # Application configuration defaults. |
| 44 | ################################################################# |
| 45 | # application images |
| 46 | repository: nexus3.onap.org:10001 |
| 47 | pullPolicy: Always |
| 48 | |
| 49 | |
| 50 | subChartsOnly: |
| 51 | enabled: true |
| 52 | |
| 53 | # flag to enable debugging - application support required |
| 54 | debugEnabled: false |
| 55 | |
| 56 | # default number of instances |
| 57 | replicaCount: 1 |
| 58 | |
| 59 | nodeSelector: {} |
| 60 | |
| 61 | affinity: {} |
| 62 | |
| 63 | # probe configuration parameters |
| 64 | liveness: |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 65 | initialDelaySeconds: 20 |
| 66 | periodSeconds: 20 |
| 67 | timeoutSeconds: 20 |
Abdelmuhaimen Seaudi | f487c95 | 2019-09-03 17:45:29 +0000 | [diff] [blame] | 68 | # necessary to disable liveness probe when setting breakpoints |
| 69 | # in debugger so K8s doesn't restart unresponsive container |
| 70 | enabled: true |
| 71 | |
| 72 | readiness: |
| 73 | initialDelaySeconds: 10 |
| 74 | periodSeconds: 10 |
| 75 | |
| 76 | ingress: |
| 77 | enabled: false |
| 78 | |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 79 | mariadb-galera: |
| 80 | config: |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 81 | userName: sdnctl |
| 82 | # userPassword: sdnctl |
| 83 | userCredentialsExternalSecret: *dbUserSecretName |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 84 | mysqlDatabase: &mysqlDbName sdnctl |
| 85 | nameOverride: &dbServer cds-db |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 86 | service: |
| 87 | name: cds-db |
| 88 | portName: cds-db |
| 89 | replicaCount: 1 |
| 90 | persistence: |
| 91 | enabled: true |
Abdelmuhaimen Seaudi | f487c95 | 2019-09-03 17:45:29 +0000 | [diff] [blame] | 92 | mountSubPath: cds/data |
| 93 | |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 94 | cds-blueprints-processor: |
| 95 | config: |
| 96 | cdsDB: |
| 97 | dbServer: *dbServer |
| 98 | dbPort: 3306 |
| 99 | dbName: *mysqlDbName |
| 100 | dbCredsExternalSecret: *dbUserSecretName |
Krzysztof Opasiak | 32f9aaa | 2020-02-06 23:05:15 +0100 | [diff] [blame] | 101 | |
Abdelmuhaimen Seaudi | f487c95 | 2019-09-03 17:45:29 +0000 | [diff] [blame] | 102 | #Resource Limit flavor -By Default using small |
| 103 | flavor: small |
| 104 | #segregation for different envionment (Small and Large) |
| 105 | |
| 106 | resources: |
| 107 | small: |
| 108 | limits: |
| 109 | cpu: 2 |
| 110 | memory: 4Gi |
| 111 | requests: |
| 112 | cpu: 1 |
| 113 | memory: 2Gi |
| 114 | large: |
| 115 | limits: |
| 116 | cpu: 4 |
| 117 | memory: 8Gi |
| 118 | requests: |
| 119 | cpu: 2 |
| 120 | memory: 4Gi |
| 121 | unlimited: {} |