blob: 1e08954b669f5949b71b40f5e6916ec1f9d674c8 [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#################################################################
24# Application configuration defaults.
25#################################################################
26# application image
efiacorcb43ca42020-09-28 19:47:45 +010027image: onap/dmaap/datarouter-node:2.1.7
Fiachra Corcoranbe966552018-08-07 16:58:45 +010028pullPolicy: Always
29
30# flag to enable debugging - application support required
31debugEnabled: false
32
33# application configuration - see parent values chart
34
35# default number of instances
36replicaCount: 1
37
38nodeSelector: {}
39
40affinity: {}
41
42# probe configuration parameters
43liveness:
44 initialDelaySeconds: 30
45 periodSeconds: 10
46 # necessary to disable liveness probe when setting breakpoints
47 # in debugger so K8s doesn't restart unresponsive container
48 enabled: true
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010049 port: api
Fiachra Corcoranbe966552018-08-07 16:58:45 +010050
51readiness:
52 initialDelaySeconds: 30
53 periodSeconds: 10
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010054 port: api
Fiachra Corcoranbe966552018-08-07 16:58:45 +010055
56## Persist data to a persitent volume
57persistence:
Sylvain Desbureauxce3b4612020-03-10 08:45:42 +010058 enabled: true
efiacor4808baa2019-03-11 23:36:05 +000059 mountPath: /dockerdata-nfs
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010060 spool:
61 enabled: true
62 volumeReclaimPolicy: Retain
63 accessMode: ReadWriteOnce
64 mountSubPath: data-router/dr-node/spool-data
65 size: 2Gi
66 path: /opt/app/datartr/spool
67 labels:
68 app.kubernetes.io/component: spool
efiacor4808baa2019-03-11 23:36:05 +000069
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010070 event:
71 enabled: true
72 volumeReclaimPolicy: Retain
73 accessMode: ReadWriteOnce
74 mountSubPath: data-router/dr-node/event-logs
75 path: /opt/app/datartr/logs
76 size: 2Gi
77 labels:
78 app.kubernetes.io/component: event-logs
efiacor4808baa2019-03-11 23:36:05 +000079
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010080#################################################################
81# AAF part
82#################################################################
efiacore62958b2019-09-27 16:54:36 +010083aafConfig:
efiacor6ca697d2020-03-06 16:30:05 +000084 aafDeployFqi: deployer@people.osaaf.org
efiacore62958b2019-09-27 16:54:36 +010085 aafDeployPass: demo123456!
86 fqdn: dmaap-dr-node
87 fqi: dmaap-dr-node@dmaap-dr.onap.org
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010088 public_fqdn: dmaap-dr.onap.org
89 cadi_longitude: 0.0
90 cadi_latitude: 0.0
91 app_ns: org.osaaf.aaf
92 permission_user: 1000
93 permission_group: 1001
94 secret_uid: &aaf_secret_uid dmaap-dr-node-aaf-deploy-creds
95 credsPath: /opt/app/osaaf/local
efiacore62958b2019-09-27 16:54:36 +010096
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010097#################################################################
98# Secrets metaconfig
99#################################################################
100secrets:
101 - uid: *aaf_secret_uid
102 type: basicAuth
103 externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDisabled" .Values.global.aafEnabled }}'
104 login: '{{ .Values.aafConfig.aafDeployFqi }}'
105 password: '{{ .Values.aafConfig.aafDeployPass }}'
106 passwordPolicy: required
efiacore62958b2019-09-27 16:54:36 +0100107
Fiachra Corcoranbe966552018-08-07 16:58:45 +0100108ingress:
109 enabled: false
Lucjan Bryndza554759c2019-11-27 15:02:14 +0100110 service:
111 - baseaddr: "dmaapdrnode"
112 name: "dmaap-dr-node"
113 port: 8443
114 config:
115 ssl: "redirect"
Fiachra Corcoranbe966552018-08-07 16:58:45 +0100116
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000117# Resource Limit flavor -By Default using small
118flavor: small
119# Segregation for Different environment (Small and Large)
120resources:
121 small:
122 limits:
123 cpu: 2000m
124 memory: 4Gi
125 requests:
126 cpu: 500m
127 memory: 1Gi
128 large:
129 limits:
130 cpu: 4000m
131 memory: 8Gi
132 requests:
133 cpu: 1000m
134 memory: 2Gi
Emmett Cox87d9abe2018-11-26 16:57:27 +0000135 unlimited: {}
econwar28266fa2019-03-05 16:39:00 +0000136
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +0100137service:
138 type: NodePort
139 name: dmaap-dr-node
140 useNodePortExt: true
efiacorb4ea1d72020-05-10 15:42:34 +0100141 both_tls_and_plain: true
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +0100142 annotations:
143 service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
144 ports:
145 - name: api
146 port: 8443
147 plain_port: 8080
148 port_protocol: http
149 nodePort: 94
150
econwar28266fa2019-03-05 16:39:00 +0000151config:
152 # dr node server configuration
153 dmaapDrNode:
efiacor9ef176c2020-02-20 16:50:30 +0000154 # dr uses the EELF Logging framework https://github.com/att/EELF
155 # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
156 logLevel: "INFO"