[DMAAP] Update Kohn versions
[oom.git] / kubernetes / dmaap / components / dmaap-dr-node / values.yaml
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   loggingDirectory: /var/log/onap/datarouter
20   persistence: {}
21   aafEnabled: true
22   centralizedLoggingEnabled: true
23
24 #################################################################
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 #################################################################
44 # Application configuration defaults.
45 #################################################################
46 # application image
47 image: onap/dmaap/datarouter-node:2.1.11
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
69   port: api
70
71 readiness:
72   initialDelaySeconds: 30
73   periodSeconds: 10
74   port: api
75
76 ## Persist data to a persitent volume
77 persistence:
78   enabled: true
79   mountPath: /dockerdata-nfs
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
89
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
99
100 #################################################################
101 # Secrets metaconfig
102 #################################################################
103 secrets: {}
104
105 ingress:
106   enabled: false
107   service:
108     - baseaddr: "dmaapdrnode"
109       name: "dmaap-dr-node"
110       port: 8443
111   config:
112     ssl: "redirect"
113
114 # Resource Limit flavor -By Default using small
115 flavor: small
116
117 securityContext:
118   user_id: 1000
119   group_id: 1000
120
121 # Segregation for Different environment (Small and Large)
122 resources:
123   small:
124     limits:
125       cpu: 2000m
126       memory: 4Gi
127     requests:
128       cpu: 500m
129       memory: 1Gi
130   large:
131     limits:
132       cpu: 4000m
133       memory: 8Gi
134     requests:
135       cpu: 1000m
136       memory: 2Gi
137   unlimited: {}
138
139 service:
140   type: NodePort
141   name: dmaap-dr-node
142   useNodePortExt: true
143   both_tls_and_plain: true
144   annotations:
145     service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
146   ports:
147     - name: api
148       port: 8443
149       plain_port: 8080
150       port_protocol: http
151       nodePort: 94
152
153 config:
154   # dr node server configuration
155   dmaapDrNode:
156     # dr uses the EELF Logging framework https://github.com/att/EELF
157     # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
158     logLevel: "INFO"
159
160 #Pods Service Account
161 serviceAccount:
162   nameOverride: dmaap-dr-node
163   roles:
164     - read
165
166 #Log configuration
167 log:
168   path: /var/log/onap