blob: ced70050a380d64f49e35522a4b84df89261d0ca [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
Fiachra Corcoranbe966552018-08-07 16:58:45 +010022
23#################################################################
Krzysztof Opasiak58685d02021-07-29 22:45:45 +020024# AAF part
25#################################################################
26certInitializer:
27 nameOverride: dmaap-dr-node-cert-initializer
28 aafDeployFqi: deployer@people.osaaf.org
29 aafDeployPass: demo123456!
30 # aafDeployCredsExternalSecret: some secret
31 fqdn: dmaap-dr-node
32 fqi: dmaap-dr-node@dmaap-dr.onap.org
33 public_fqdn: dmaap-dr.onap.org
34 cadi_longitude: "0.0"
35 cadi_latitude: "0.0"
36 app_ns: org.osaaf.aaf
37 credsPath: /opt/app/osaaf/local
38 aaf_add_config: >
39 echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
40 echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
41
42#################################################################
Fiachra Corcoranbe966552018-08-07 16:58:45 +010043# Application configuration defaults.
44#################################################################
45# application image
Sylvain Desbureauxbba4a132021-03-25 10:15:41 +010046image: onap/dmaap/datarouter-node:2.1.8
Fiachra Corcoranbe966552018-08-07 16:58:45 +010047pullPolicy: Always
48
49# flag to enable debugging - application support required
50debugEnabled: false
51
52# application configuration - see parent values chart
53
54# default number of instances
55replicaCount: 1
56
57nodeSelector: {}
58
59affinity: {}
60
61# probe configuration parameters
62liveness:
63 initialDelaySeconds: 30
64 periodSeconds: 10
65 # necessary to disable liveness probe when setting breakpoints
66 # in debugger so K8s doesn't restart unresponsive container
67 enabled: true
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010068 port: api
Fiachra Corcoranbe966552018-08-07 16:58:45 +010069
70readiness:
71 initialDelaySeconds: 30
72 periodSeconds: 10
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010073 port: api
Fiachra Corcoranbe966552018-08-07 16:58:45 +010074
75## Persist data to a persitent volume
76persistence:
Sylvain Desbureauxce3b4612020-03-10 08:45:42 +010077 enabled: true
efiacor4808baa2019-03-11 23:36:05 +000078 mountPath: /dockerdata-nfs
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010079 spool:
80 enabled: true
81 volumeReclaimPolicy: Retain
82 accessMode: ReadWriteOnce
83 mountSubPath: data-router/dr-node/spool-data
84 size: 2Gi
85 path: /opt/app/datartr/spool
86 labels:
87 app.kubernetes.io/component: spool
efiacor4808baa2019-03-11 23:36:05 +000088
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010089 event:
90 enabled: true
91 volumeReclaimPolicy: Retain
92 accessMode: ReadWriteOnce
93 mountSubPath: data-router/dr-node/event-logs
94 path: /opt/app/datartr/logs
95 size: 2Gi
96 labels:
97 app.kubernetes.io/component: event-logs
efiacor4808baa2019-03-11 23:36:05 +000098
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010099#################################################################
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +0100100# Secrets metaconfig
101#################################################################
Krzysztof Opasiak58685d02021-07-29 22:45:45 +0200102secrets: {}
efiacore62958b2019-09-27 16:54:36 +0100103
Fiachra Corcoranbe966552018-08-07 16:58:45 +0100104ingress:
105 enabled: false
Lucjan Bryndza554759c2019-11-27 15:02:14 +0100106 service:
107 - baseaddr: "dmaapdrnode"
108 name: "dmaap-dr-node"
109 port: 8443
110 config:
111 ssl: "redirect"
Fiachra Corcoranbe966552018-08-07 16:58:45 +0100112
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000113# Resource Limit flavor -By Default using small
114flavor: small
115# Segregation for Different environment (Small and Large)
116resources:
117 small:
118 limits:
119 cpu: 2000m
120 memory: 4Gi
121 requests:
122 cpu: 500m
123 memory: 1Gi
124 large:
125 limits:
126 cpu: 4000m
127 memory: 8Gi
128 requests:
129 cpu: 1000m
130 memory: 2Gi
Emmett Cox87d9abe2018-11-26 16:57:27 +0000131 unlimited: {}
econwar28266fa2019-03-05 16:39:00 +0000132
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +0100133service:
134 type: NodePort
135 name: dmaap-dr-node
136 useNodePortExt: true
efiacorb4ea1d72020-05-10 15:42:34 +0100137 both_tls_and_plain: true
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +0100138 annotations:
139 service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
140 ports:
141 - name: api
142 port: 8443
143 plain_port: 8080
144 port_protocol: http
145 nodePort: 94
146
econwar28266fa2019-03-05 16:39:00 +0000147config:
148 # dr node server configuration
149 dmaapDrNode:
efiacor9ef176c2020-02-20 16:50:30 +0000150 # dr uses the EELF Logging framework https://github.com/att/EELF
151 # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
152 logLevel: "INFO"
farida azmy13388ba2021-03-17 11:33:28 +0200153
154#Pods Service Account
155serviceAccount:
156 nameOverride: dmaap-dr-node
157 roles:
158 - read