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 |
Krzysztof Opasiak | 2df4a78 | 2020-05-08 22:50:24 +0200 | [diff] [blame] | 28 | name: &dbSecretName '{{ include "common.release" . }}-dmaap-dr-db-user-secret' |
Krzysztof Opasiak | e55b4d5 | 2020-02-07 22:54:20 +0100 | [diff] [blame] | 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 | cb43ca4 | 2020-09-28 19:47:45 +0100 | [diff] [blame^] | 38 | image: onap/dmaap/datarouter-prov:2.1.7 |
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 | |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 72 | ingress: |
| 73 | enabled: false |
Lucjan Bryndza | 554759c | 2019-11-27 15:02:14 +0100 | [diff] [blame] | 74 | service: |
| 75 | - baseaddr: "dmaapdrprov" |
| 76 | name: "dmaap-dr-prov" |
| 77 | port: 8443 |
| 78 | config: |
| 79 | ssl: "redirect" |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 80 | |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 81 | config: |
| 82 | # dr provisioning server configuration |
| 83 | dmaapDrProv: |
| 84 | servicetype: NodePort |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 85 | internalPort: 8080 |
| 86 | internalPort2: 8443 |
| 87 | portName: dr-prov-port |
| 88 | portName2: dr-prov-port2 |
| 89 | nodePort: 59 |
| 90 | nodePort2: 69 |
efiacor | 9ef176c | 2020-02-20 16:50:30 +0000 | [diff] [blame] | 91 | # dr uses the EELF Logging framework https://github.com/att/EELF |
| 92 | # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF |
| 93 | logLevel: "INFO" |
| 94 | |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 95 | # dr-prov db configuration |
| 96 | dmaapDrDb: |
| 97 | mariadbServiceName: dmaap-dr-db-svc |
| 98 | mariadbServicePort: 3306 |
| 99 | mariadbContName: dmaap-dr-db |
Krzysztof Opasiak | e55b4d5 | 2020-02-07 22:54:20 +0100 | [diff] [blame] | 100 | userName: datarouter |
| 101 | # userPassword: password |
| 102 | # userCredentialsExternalSecret: some secret |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 103 | |
| 104 | # mariadb-galera configuration |
| 105 | mariadb: |
| 106 | name: dmaap-dr-db |
| 107 | nameOverride: dmaap-dr-db |
| 108 | replicaCount: 2 |
| 109 | config: |
Krzysztof Opasiak | 2df4a78 | 2020-05-08 22:50:24 +0200 | [diff] [blame] | 110 | userCredentialsExternalSecret: *dbSecretName |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 111 | mysqlDatabase: datarouter |
| 112 | service: |
| 113 | name: dmaap-dr-db-svc |
| 114 | portName: dmaap-dr-db-svc |
| 115 | nfsprovisionerPrefix: dmaap-dr-db |
| 116 | persistence: |
| 117 | size: 1Gi |
| 118 | mountSubPath: data-router/dr-db-data |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 119 | |
Krzysztof Opasiak | 2df4a78 | 2020-05-08 22:50:24 +0200 | [diff] [blame] | 120 | ################################################################# |
| 121 | # AAF part |
| 122 | ################################################################# |
| 123 | certInitializer: |
| 124 | nameOverride: dmaap-dr-prov-cert-initializer |
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! |
Krzysztof Opasiak | 2df4a78 | 2020-05-08 22:50:24 +0200 | [diff] [blame] | 127 | # aafDeployCredsExternalSecret: some secret |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 128 | fqdn: dmaap-dr-prov |
| 129 | fqi: dmaap-dr-prov@dmaap-dr.onap.org |
| 130 | publicFqdn: dmaap-dr.onap.org |
| 131 | cadiLatitude: 0.0 |
| 132 | cadiLongitude: 0.0 |
Krzysztof Opasiak | 2df4a78 | 2020-05-08 22:50:24 +0200 | [diff] [blame] | 133 | app_ns: org.osaaf.aaf |
| 134 | credsPath: /opt/app/osaaf/local |
| 135 | |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 136 | |
| 137 | # Resource Limit flavor -By Default using small |
| 138 | flavor: small |
| 139 | # Segregation for Different environment (Small and Large) |
| 140 | resources: |
| 141 | small: |
| 142 | limits: |
| 143 | cpu: 2000m |
| 144 | memory: 4Gi |
| 145 | requests: |
| 146 | cpu: 500m |
| 147 | memory: 1Gi |
| 148 | large: |
| 149 | limits: |
| 150 | cpu: 4000m |
| 151 | memory: 8Gi |
| 152 | requests: |
| 153 | cpu: 1000m |
| 154 | memory: 2Gi |
Krzysztof Opasiak | e55b4d5 | 2020-02-07 22:54:20 +0100 | [diff] [blame] | 155 | unlimited: {} |