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: |
efiacor | 7b9a087 | 2019-08-28 21:20:22 +0000 | [diff] [blame] | 19 | loggingDirectory: /var/log/onap/datarouter |
Sylvain Desbureaux | ce3b461 | 2020-03-10 08:45:42 +0100 | [diff] [blame] | 20 | persistence: {} |
Sylvain Desbureaux | f7768e8 | 2020-03-23 16:48:20 +0100 | [diff] [blame] | 21 | aafEnabled: true |
Maciej Wereski | 9075b5c | 2021-11-04 14:01:26 +0000 | [diff] [blame] | 22 | centralizedLoggingEnabled: true |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 23 | |
| 24 | ################################################################# |
Krzysztof Opasiak | 58685d0 | 2021-07-29 22:45:45 +0200 | [diff] [blame] | 25 | # AAF part |
| 26 | ################################################################# |
| 27 | certInitializer: |
| 28 | nameOverride: dmaap-dr-node-cert-initializer |
| 29 | aafDeployFqi: deployer@people.osaaf.org |
| 30 | aafDeployPass: demo123456! |
| 31 | # aafDeployCredsExternalSecret: some secret |
| 32 | fqdn: dmaap-dr-node |
| 33 | fqi: dmaap-dr-node@dmaap-dr.onap.org |
| 34 | public_fqdn: dmaap-dr.onap.org |
| 35 | cadi_longitude: "0.0" |
| 36 | cadi_latitude: "0.0" |
| 37 | app_ns: org.osaaf.aaf |
| 38 | credsPath: /opt/app/osaaf/local |
| 39 | aaf_add_config: > |
| 40 | echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop |
| 41 | echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop |
| 42 | |
| 43 | ################################################################# |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 44 | # Application configuration defaults. |
| 45 | ################################################################# |
| 46 | # application image |
efiacor | b66260d | 2022-09-26 10:28:43 +0100 | [diff] [blame] | 47 | image: onap/dmaap/datarouter-node:2.1.11 |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 48 | pullPolicy: Always |
| 49 | |
| 50 | # flag to enable debugging - application support required |
| 51 | debugEnabled: false |
| 52 | |
| 53 | # application configuration - see parent values chart |
| 54 | |
| 55 | # default number of instances |
| 56 | replicaCount: 1 |
| 57 | |
| 58 | nodeSelector: {} |
| 59 | |
| 60 | affinity: {} |
| 61 | |
| 62 | # probe configuration parameters |
| 63 | liveness: |
| 64 | initialDelaySeconds: 30 |
| 65 | periodSeconds: 10 |
| 66 | # necessary to disable liveness probe when setting breakpoints |
| 67 | # in debugger so K8s doesn't restart unresponsive container |
| 68 | enabled: true |
Sylvain Desbureaux | f7768e8 | 2020-03-23 16:48:20 +0100 | [diff] [blame] | 69 | port: api |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 70 | |
| 71 | readiness: |
| 72 | initialDelaySeconds: 30 |
| 73 | periodSeconds: 10 |
Sylvain Desbureaux | f7768e8 | 2020-03-23 16:48:20 +0100 | [diff] [blame] | 74 | port: api |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 75 | |
| 76 | ## Persist data to a persitent volume |
| 77 | persistence: |
Sylvain Desbureaux | ce3b461 | 2020-03-10 08:45:42 +0100 | [diff] [blame] | 78 | enabled: true |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 79 | mountPath: /dockerdata-nfs |
Sylvain Desbureaux | f7768e8 | 2020-03-23 16:48:20 +0100 | [diff] [blame] | 80 | spool: |
| 81 | enabled: true |
| 82 | volumeReclaimPolicy: Retain |
| 83 | accessMode: ReadWriteOnce |
| 84 | mountSubPath: data-router/dr-node/spool-data |
| 85 | size: 2Gi |
| 86 | path: /opt/app/datartr/spool |
| 87 | labels: |
| 88 | app.kubernetes.io/component: spool |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 89 | |
Sylvain Desbureaux | f7768e8 | 2020-03-23 16:48:20 +0100 | [diff] [blame] | 90 | event: |
| 91 | enabled: true |
| 92 | volumeReclaimPolicy: Retain |
| 93 | accessMode: ReadWriteOnce |
| 94 | mountSubPath: data-router/dr-node/event-logs |
| 95 | path: /opt/app/datartr/logs |
| 96 | size: 2Gi |
| 97 | labels: |
| 98 | app.kubernetes.io/component: event-logs |
efiacor | 4808baa | 2019-03-11 23:36:05 +0000 | [diff] [blame] | 99 | |
Sylvain Desbureaux | f7768e8 | 2020-03-23 16:48:20 +0100 | [diff] [blame] | 100 | ################################################################# |
Sylvain Desbureaux | f7768e8 | 2020-03-23 16:48:20 +0100 | [diff] [blame] | 101 | # Secrets metaconfig |
| 102 | ################################################################# |
Krzysztof Opasiak | 58685d0 | 2021-07-29 22:45:45 +0200 | [diff] [blame] | 103 | secrets: {} |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 104 | |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 105 | ingress: |
| 106 | enabled: false |
Lucjan Bryndza | 554759c | 2019-11-27 15:02:14 +0100 | [diff] [blame] | 107 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 108 | - baseaddr: "dmaap-dr-node-api" |
Lucjan Bryndza | 554759c | 2019-11-27 15:02:14 +0100 | [diff] [blame] | 109 | name: "dmaap-dr-node" |
| 110 | port: 8443 |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 111 | plain_port: 8080 |
Lucjan Bryndza | 554759c | 2019-11-27 15:02:14 +0100 | [diff] [blame] | 112 | config: |
| 113 | ssl: "redirect" |
Fiachra Corcoran | be96655 | 2018-08-07 16:58:45 +0100 | [diff] [blame] | 114 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 115 | # Resource Limit flavor -By Default using small |
| 116 | flavor: small |
rope252 | f2db5c1 | 2022-01-10 14:15:16 +0000 | [diff] [blame] | 117 | |
| 118 | securityContext: |
| 119 | user_id: 1000 |
| 120 | group_id: 1000 |
| 121 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 122 | # Segregation for Different environment (Small and Large) |
| 123 | resources: |
| 124 | small: |
| 125 | limits: |
| 126 | cpu: 2000m |
| 127 | memory: 4Gi |
| 128 | requests: |
| 129 | cpu: 500m |
| 130 | memory: 1Gi |
| 131 | large: |
| 132 | limits: |
| 133 | cpu: 4000m |
| 134 | memory: 8Gi |
| 135 | requests: |
| 136 | cpu: 1000m |
| 137 | memory: 2Gi |
Emmett Cox | 87d9abe | 2018-11-26 16:57:27 +0000 | [diff] [blame] | 138 | unlimited: {} |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 139 | |
Sylvain Desbureaux | f7768e8 | 2020-03-23 16:48:20 +0100 | [diff] [blame] | 140 | service: |
| 141 | type: NodePort |
| 142 | name: dmaap-dr-node |
| 143 | useNodePortExt: true |
efiacor | b4ea1d7 | 2020-05-10 15:42:34 +0100 | [diff] [blame] | 144 | both_tls_and_plain: true |
Sylvain Desbureaux | f7768e8 | 2020-03-23 16:48:20 +0100 | [diff] [blame] | 145 | annotations: |
| 146 | service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" |
| 147 | ports: |
| 148 | - name: api |
| 149 | port: 8443 |
| 150 | plain_port: 8080 |
| 151 | port_protocol: http |
| 152 | nodePort: 94 |
| 153 | |
econwar | 28266fa | 2019-03-05 16:39:00 +0000 | [diff] [blame] | 154 | config: |
| 155 | # dr node server configuration |
| 156 | dmaapDrNode: |
efiacor | 9ef176c | 2020-02-20 16:50:30 +0000 | [diff] [blame] | 157 | # dr uses the EELF Logging framework https://github.com/att/EELF |
| 158 | # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF |
| 159 | logLevel: "INFO" |
farida azmy | 13388ba | 2021-03-17 11:33:28 +0200 | [diff] [blame] | 160 | |
| 161 | #Pods Service Account |
| 162 | serviceAccount: |
| 163 | nameOverride: dmaap-dr-node |
| 164 | roles: |
| 165 | - read |
Maciej Wereski | 9075b5c | 2021-11-04 14:01:26 +0000 | [diff] [blame] | 166 | |
| 167 | #Log configuration |
| 168 | log: |
| 169 | path: /var/log/onap |