[DMAAP] Update Kohn versions
[oom.git] / kubernetes / dmaap / components / dmaap-dr-prov / 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   nodePortPrefix: 302
20   loggingDirectory: /opt/app/datartr/logs
21   persistence: {}
22   centralizedLoggingEnabled: true
23   mariadbGalera: &mariadbGalera
24     #This flag allows DMAAP-DR to instantiate its own mariadb-galera cluster
25     localCluster: false
26     service: mariadb-galera
27     internalPort: 3306
28     nameOverride: mariadb-galera
29
30 #################################################################
31 # Secrets metaconfig
32 #################################################################
33 secrets:
34   - name: &dbUserSecretName '{{ include "common.release" . }}-dmaap-dr-db-user-credentials'
35     uid: 'dmaap-dr-db-user-credentials'
36     type: basicAuth
37     externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) (hasSuffix "dmaap-dr-db-user-credentials" (index .Values "mariadb-galera" "db" "externalSecret"))}}'
38     login: '{{ index .Values "mariadb-galera" "db" "user" }}'
39     password: '{{ index .Values "mariadb-galera" "db" "password" }}'
40
41 #################################################################
42 # Application configuration defaults.
43 #################################################################
44 # application image
45 image: onap/dmaap/datarouter-prov:2.1.11
46 pullPolicy: Always
47
48 # flag to enable debugging - application support required
49 debugEnabled: false
50
51 # application configuration - see parent values chart
52
53 # default number of instances
54 replicaCount: 1
55
56 nodeSelector: {}
57
58 affinity: {}
59
60 # probe configuration parameters
61 liveness:
62   initialDelaySeconds: 30
63   periodSeconds: 10
64   # necessary to disable liveness probe when setting breakpoints
65   # in debugger so K8s doesn't restart unresponsive container
66   enabled: true
67
68 readiness:
69   initialDelaySeconds: 30
70   periodSeconds: 10
71
72 ## Persist data to a persitent volume
73 persistence:
74   enabled: true
75   volumeReclaimPolicy: Retain
76   accessMode: ReadWriteOnce
77   mountPath: /dockerdata-nfs
78
79 ingress:
80   enabled: false
81   service:
82     - baseaddr: "dmaapdrprov"
83       name: "dmaap-dr-prov"
84       port: 8443
85   config:
86     ssl: "redirect"
87
88 config:
89   # dr provisioning server configuration
90   dmaapDrProv:
91     servicetype: NodePort
92     internalPort: 8080
93     internalPort2: 8443
94     portName: dr-prov-port
95     portName2: dr-prov-port2
96     nodePort: 59
97     nodePort2: 69
98     # dr uses the EELF Logging framework https://github.com/att/EELF
99     # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
100     logLevel: "INFO"
101
102 # mariadb-galera configuration
103 mariadb-galera:
104   nameOverride: &dbServer dmaap-dr-db
105   replicaCount: 1
106   db:
107     name: &mysqlDbName datarouter
108     user: datarouter
109     # password:
110     externalSecret: *dbUserSecretName
111   service:
112     name: *dbServer
113   nfsprovisionerPrefix: dmaap-dr-db
114   persistence:
115     size: 1Gi
116     mountSubPath: data-router/dr-db-data
117   serviceAccount:
118     nameOverride: *dbServer
119
120 mariadb-init:
121   config:
122     userCredentialsExternalSecret: *dbUserSecretName
123     mysqlDatabase: *mysqlDbName
124   nameOverride: dmaap-dr-mariadb-init
125
126 #################################################################
127 # AAF part
128 #################################################################
129 certInitializer:
130   nameOverride: dmaap-dr-prov-cert-initializer
131   aafDeployFqi: deployer@people.osaaf.org
132   aafDeployPass: demo123456!
133 # aafDeployCredsExternalSecret: some secret
134   fqdn: dmaap-dr-prov
135   fqi: dmaap-dr-prov@dmaap-dr.onap.org
136   publicFqdn: dmaap-dr.onap.org
137   cadiLatitude: 0.0
138   cadiLongitude: 0.0
139   app_ns: org.osaaf.aaf
140   credsPath: /opt/app/osaaf/local
141
142
143 # Resource Limit flavor -By Default using small
144 flavor: small
145
146 securityContext:
147   user_id: 1000
148   group_id: 1000
149
150 # Segregation for Different environment (Small and Large)
151 resources:
152   small:
153     limits:
154       cpu: 2000m
155       memory: 4Gi
156     requests:
157       cpu: 500m
158       memory: 1Gi
159   large:
160     limits:
161       cpu: 4000m
162       memory: 8Gi
163     requests:
164       cpu: 1000m
165       memory: 2Gi
166   unlimited: {}
167
168 #Pods Service Account
169 serviceAccount:
170   nameOverride: dmaap-dr-prov
171   roles:
172     - read
173
174 #Log configuration
175 log:
176   path: /var/log/onap