Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 20 | loggingDirectory: /opt/app/datartr/logs |
Sylvain Desbureaux | ce3b461 | 2020-03-10 08:45:42 +0100 | [diff] [blame] | 21 | persistence: {} |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 22 | |
| 23 | ################################################################# |
Krzysztof Opasiak | e55b4d5 | 2020-02-07 22:54:20 +0100 | [diff] [blame] | 24 | # Secrets metaconfig |
| 25 | ################################################################# |
| 26 | secrets: |
| 27 | - uid: dmaap-dr-db-user-secret |
| 28 | name: '{{ include "common.release" . }}-dmaap-dr-db-user-secret' |
| 29 | type: basicAuth |
| 30 | externalSecret: '{{ tpl (default "" .Values.config.dmaapDrDb.userCredentialsExternalSecret) . }}' |
| 31 | login: '{{ .Values.config.dmaapDrDb.userName }}' |
| 32 | password: '{{ .Values.config.dmaapDrDb.userPassword }}' |
| 33 | |
| 34 | ################################################################# |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 35 | # Application configuration defaults. |
| 36 | ################################################################# |
| 37 | # application image |
efiacor | a00766f | 2020-04-02 20:00:49 +0100 | [diff] [blame] | 38 | image: onap/dmaap/datarouter-prov:2.1.6 |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 39 | pullPolicy: Always |
| 40 | |
| 41 | # flag to enable debugging - application support required |
| 42 | debugEnabled: false |
| 43 | |
| 44 | # application configuration - see parent values chart |
| 45 | |
| 46 | # default number of instances |
| 47 | replicaCount: 1 |
| 48 | |
| 49 | nodeSelector: {} |
| 50 | |
| 51 | affinity: {} |
| 52 | |
| 53 | # probe configuration parameters |
| 54 | liveness: |
| 55 | initialDelaySeconds: 30 |
| 56 | periodSeconds: 10 |
| 57 | # necessary to disable liveness probe when setting breakpoints |
| 58 | # in debugger so K8s doesn't restart unresponsive container |
| 59 | enabled: true |
| 60 | |
| 61 | readiness: |
| 62 | initialDelaySeconds: 30 |
| 63 | periodSeconds: 10 |
| 64 | |
| 65 | ## Persist data to a persitent volume |
| 66 | persistence: |
Sylvain Desbureaux | ce3b461 | 2020-03-10 08:45:42 +0100 | [diff] [blame] | 67 | enabled: true |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 68 | volumeReclaimPolicy: Retain |
| 69 | accessMode: ReadWriteOnce |
| 70 | mountPath: /dockerdata-nfs |
| 71 | |
| 72 | aafCredsMountSubPath: data-router/dr-prov/aaf-props |
| 73 | aafCredsSize: 10M |
| 74 | aafCredsPath: /opt/app/osaaf/local |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 75 | |
| 76 | ingress: |
| 77 | enabled: false |
Lucjan Bryndza | 554759c | 2019-11-27 15:02:14 +0100 | [diff] [blame] | 78 | service: |
| 79 | - baseaddr: "dmaapdrprov" |
| 80 | name: "dmaap-dr-prov" |
| 81 | port: 8443 |
| 82 | config: |
| 83 | ssl: "redirect" |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 84 | |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 85 | config: |
| 86 | # dr provisioning server configuration |
| 87 | dmaapDrProv: |
| 88 | servicetype: NodePort |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 89 | internalPort: 8080 |
| 90 | internalPort2: 8443 |
| 91 | portName: dr-prov-port |
| 92 | portName2: dr-prov-port2 |
| 93 | nodePort: 59 |
| 94 | nodePort2: 69 |
efiacor | 9ef176c | 2020-02-20 16:50:30 +0000 | [diff] [blame] | 95 | # dr uses the EELF Logging framework https://github.com/att/EELF |
| 96 | # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF |
| 97 | logLevel: "INFO" |
| 98 | |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 99 | # dr-prov db configuration |
| 100 | dmaapDrDb: |
| 101 | mariadbServiceName: dmaap-dr-db-svc |
| 102 | mariadbServicePort: 3306 |
| 103 | mariadbContName: dmaap-dr-db |
Krzysztof Opasiak | e55b4d5 | 2020-02-07 22:54:20 +0100 | [diff] [blame] | 104 | userName: datarouter |
| 105 | # userPassword: password |
| 106 | # userCredentialsExternalSecret: some secret |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 107 | |
| 108 | # mariadb-galera configuration |
| 109 | mariadb: |
| 110 | name: dmaap-dr-db |
| 111 | nameOverride: dmaap-dr-db |
| 112 | replicaCount: 2 |
| 113 | config: |
Krzysztof Opasiak | e55b4d5 | 2020-02-07 22:54:20 +0100 | [diff] [blame] | 114 | userCredentialsExternalSecret: '{{ include "common.release" . }}-dmaap-dr-db-user-secret' |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 115 | mysqlDatabase: datarouter |
| 116 | service: |
| 117 | name: dmaap-dr-db-svc |
| 118 | portName: dmaap-dr-db-svc |
| 119 | nfsprovisionerPrefix: dmaap-dr-db |
| 120 | persistence: |
| 121 | size: 1Gi |
| 122 | mountSubPath: data-router/dr-db-data |
Yang Xu | 4ec3d01 | 2019-04-24 12:25:39 -0400 | [diff] [blame] | 123 | disableNfsProvisioner: true |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 124 | |
| 125 | #AAF local config |
| 126 | aafConfig: |
efiacor | 6ca697d | 2020-03-06 16:30:05 +0000 | [diff] [blame] | 127 | aafDeployFqi: deployer@people.osaaf.org |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 128 | aafDeployPass: demo123456! |
| 129 | fqdn: dmaap-dr-prov |
| 130 | fqi: dmaap-dr-prov@dmaap-dr.onap.org |
| 131 | publicFqdn: dmaap-dr.onap.org |
| 132 | cadiLatitude: 0.0 |
| 133 | cadiLongitude: 0.0 |
| 134 | |
| 135 | # Resource Limit flavor -By Default using small |
| 136 | flavor: small |
| 137 | # Segregation for Different environment (Small and Large) |
| 138 | resources: |
| 139 | small: |
| 140 | limits: |
| 141 | cpu: 2000m |
| 142 | memory: 4Gi |
| 143 | requests: |
| 144 | cpu: 500m |
| 145 | memory: 1Gi |
| 146 | large: |
| 147 | limits: |
| 148 | cpu: 4000m |
| 149 | memory: 8Gi |
| 150 | requests: |
| 151 | cpu: 1000m |
| 152 | memory: 2Gi |
Krzysztof Opasiak | e55b4d5 | 2020-02-07 22:54:20 +0100 | [diff] [blame] | 153 | unlimited: {} |