Merge "Reverting to AAF deployer@people.osaaf.org for cert distribution"
[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
22 #################################################################
23 # Secrets metaconfig
24 #################################################################
25 secrets:
26   - uid: dmaap-dr-db-user-secret
27     name: '{{ include "common.release" . }}-dmaap-dr-db-user-secret'
28     type: basicAuth
29     externalSecret: '{{ tpl (default "" .Values.config.dmaapDrDb.userCredentialsExternalSecret) . }}'
30     login: '{{ .Values.config.dmaapDrDb.userName }}'
31     password: '{{ .Values.config.dmaapDrDb.userPassword }}'
32
33 #################################################################
34 # Application configuration defaults.
35 #################################################################
36 # application image
37 image: onap/dmaap/datarouter-prov:2.1.5
38 pullPolicy: Always
39
40 # flag to enable debugging - application support required
41 debugEnabled: false
42
43 # application configuration - see parent values chart
44
45 # default number of instances
46 replicaCount: 1
47
48 nodeSelector: {}
49
50 affinity: {}
51
52 # probe configuration parameters
53 liveness:
54   initialDelaySeconds: 30
55   periodSeconds: 10
56   # necessary to disable liveness probe when setting breakpoints
57   # in debugger so K8s doesn't restart unresponsive container
58   enabled: true
59
60 readiness:
61   initialDelaySeconds: 30
62   periodSeconds: 10
63
64 ## Persist data to a persitent volume
65 persistence:
66   volumeReclaimPolicy: Retain
67   accessMode: ReadWriteOnce
68   mountPath: /dockerdata-nfs
69
70   aafCredsMountSubPath: data-router/dr-prov/aaf-props
71   aafCredsSize: 10M
72   aafCredsPath: /opt/app/osaaf/local
73
74 ingress:
75   enabled: false
76   service:
77     - baseaddr: "dmaapdrprov"
78       name: "dmaap-dr-prov"
79       port: 8443
80   config:
81     ssl: "redirect"
82
83 config:
84   # dr provisioning server configuration
85   dmaapDrProv:
86     servicetype: NodePort
87     internalPort: 8080
88     internalPort2: 8443
89     portName: dr-prov-port
90     portName2: dr-prov-port2
91     nodePort: 59
92     nodePort2: 69
93     # dr uses the EELF Logging framework https://github.com/att/EELF
94     # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
95     logLevel: "INFO"
96
97   # dr-prov db configuration
98   dmaapDrDb:
99     mariadbServiceName: dmaap-dr-db-svc
100     mariadbServicePort: 3306
101     mariadbContName: dmaap-dr-db
102     userName: datarouter
103 #    userPassword: password
104 #    userCredentialsExternalSecret: some secret
105
106 # mariadb-galera configuration
107 mariadb:
108   name: dmaap-dr-db
109   nameOverride: dmaap-dr-db
110   replicaCount: 2
111   config:
112     userCredentialsExternalSecret: '{{ include "common.release" . }}-dmaap-dr-db-user-secret'
113     mysqlDatabase: datarouter
114   service:
115     name: dmaap-dr-db-svc
116     portName: dmaap-dr-db-svc
117   nfsprovisionerPrefix: dmaap-dr-db
118   persistence:
119     size: 1Gi
120     mountSubPath: data-router/dr-db-data
121   disableNfsProvisioner: true
122
123 #AAF local config
124 aafConfig:
125   aafDeployFqi: deployer@people.osaaf.org
126   aafDeployPass: demo123456!
127   fqdn: dmaap-dr-prov
128   fqi: dmaap-dr-prov@dmaap-dr.onap.org
129   publicFqdn: dmaap-dr.onap.org
130   cadiLatitude: 0.0
131   cadiLongitude: 0.0
132
133 # Resource Limit flavor -By Default using small
134 flavor: small
135 # Segregation for Different environment (Small and Large)
136 resources:
137   small:
138     limits:
139       cpu: 2000m
140       memory: 4Gi
141     requests:
142       cpu: 500m
143       memory: 1Gi
144   large:
145     limits:
146       cpu: 4000m
147       memory: 8Gi
148     requests:
149       cpu: 1000m
150       memory: 2Gi
151   unlimited: {}