blob: e34bc0068d244bd731cced57340321558681cc81 [file] [log] [blame]
Fiachra Corcoranbe966552018-08-07 16:58:45 +01001# 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#################################################################
18global:
efiacor7b9a0872019-08-28 21:20:22 +000019 loggingDirectory: /var/log/onap/datarouter
Sylvain Desbureauxce3b4612020-03-10 08:45:42 +010020 persistence: {}
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010021 aafEnabled: true
Maciej Wereski9075b5c2021-11-04 14:01:26 +000022 centralizedLoggingEnabled: true
Fiachra Corcoranbe966552018-08-07 16:58:45 +010023
24#################################################################
Krzysztof Opasiak58685d02021-07-29 22:45:45 +020025# AAF part
26#################################################################
27certInitializer:
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 Corcoranbe966552018-08-07 16:58:45 +010044# Application configuration defaults.
45#################################################################
46# application image
efiacorfde53362021-07-22 14:19:38 +010047image: onap/dmaap/datarouter-node:2.1.9
Fiachra Corcoranbe966552018-08-07 16:58:45 +010048pullPolicy: Always
49
50# flag to enable debugging - application support required
51debugEnabled: false
52
53# application configuration - see parent values chart
54
55# default number of instances
56replicaCount: 1
57
58nodeSelector: {}
59
60affinity: {}
61
62# probe configuration parameters
63liveness:
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 Desbureauxf7768e82020-03-23 16:48:20 +010069 port: api
Fiachra Corcoranbe966552018-08-07 16:58:45 +010070
71readiness:
72 initialDelaySeconds: 30
73 periodSeconds: 10
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010074 port: api
Fiachra Corcoranbe966552018-08-07 16:58:45 +010075
76## Persist data to a persitent volume
77persistence:
Sylvain Desbureauxce3b4612020-03-10 08:45:42 +010078 enabled: true
efiacor4808baa2019-03-11 23:36:05 +000079 mountPath: /dockerdata-nfs
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010080 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
efiacor4808baa2019-03-11 23:36:05 +000089
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010090 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
efiacor4808baa2019-03-11 23:36:05 +000099
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +0100100#################################################################
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +0100101# Secrets metaconfig
102#################################################################
Krzysztof Opasiak58685d02021-07-29 22:45:45 +0200103secrets: {}
efiacore62958b2019-09-27 16:54:36 +0100104
Fiachra Corcoranbe966552018-08-07 16:58:45 +0100105ingress:
106 enabled: false
Lucjan Bryndza554759c2019-11-27 15:02:14 +0100107 service:
108 - baseaddr: "dmaapdrnode"
109 name: "dmaap-dr-node"
110 port: 8443
111 config:
112 ssl: "redirect"
Fiachra Corcoranbe966552018-08-07 16:58:45 +0100113
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000114# Resource Limit flavor -By Default using small
115flavor: small
116# Segregation for Different environment (Small and Large)
117resources:
118 small:
119 limits:
120 cpu: 2000m
121 memory: 4Gi
122 requests:
123 cpu: 500m
124 memory: 1Gi
125 large:
126 limits:
127 cpu: 4000m
128 memory: 8Gi
129 requests:
130 cpu: 1000m
131 memory: 2Gi
Emmett Cox87d9abe2018-11-26 16:57:27 +0000132 unlimited: {}
econwar28266fa2019-03-05 16:39:00 +0000133
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +0100134service:
135 type: NodePort
136 name: dmaap-dr-node
137 useNodePortExt: true
efiacorb4ea1d72020-05-10 15:42:34 +0100138 both_tls_and_plain: true
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +0100139 annotations:
140 service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
141 ports:
142 - name: api
143 port: 8443
144 plain_port: 8080
145 port_protocol: http
146 nodePort: 94
147
econwar28266fa2019-03-05 16:39:00 +0000148config:
149 # dr node server configuration
150 dmaapDrNode:
efiacor9ef176c2020-02-20 16:50:30 +0000151 # dr uses the EELF Logging framework https://github.com/att/EELF
152 # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
153 logLevel: "INFO"
farida azmy13388ba2021-03-17 11:33:28 +0200154
155#Pods Service Account
156serviceAccount:
157 nameOverride: dmaap-dr-node
158 roles:
159 - read
Maciej Wereski9075b5c2021-11-04 14:01:26 +0000160
161#Log configuration
162log:
163 path: /var/log/onap