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