Merge "[DMaaP] Use global storage templates for PVC"
[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 # Application configuration defaults.
24 #################################################################
25 # application image
26 image: onap/dmaap/datarouter-prov:2.1.3
27 pullPolicy: Always
28
29 # flag to enable debugging - application support required
30 debugEnabled: false
31
32 # application configuration - see parent values chart
33
34 # default number of instances
35 replicaCount: 1
36
37 nodeSelector: {}
38
39 affinity: {}
40
41 # probe configuration parameters
42 liveness:
43   initialDelaySeconds: 30
44   periodSeconds: 10
45   # necessary to disable liveness probe when setting breakpoints
46   # in debugger so K8s doesn't restart unresponsive container
47   enabled: true
48
49 readiness:
50   initialDelaySeconds: 30
51   periodSeconds: 10
52
53 ## Persist data to a persitent volume
54 persistence:
55   volumeReclaimPolicy: Retain
56   accessMode: ReadWriteOnce
57   mountPath: /dockerdata-nfs
58
59   aafCredsMountSubPath: data-router/dr-prov/aaf-props
60   aafCredsSize: 10M
61   aafCredsPath: /opt/app/osaaf/local
62
63 ingress:
64   enabled: false
65   service:
66     - baseaddr: "dmaapdrprov"
67       name: "dmaap-dr-prov"
68       port: 8443
69   config:
70     ssl: "redirect"
71
72 config:
73   # dr provisioning server configuration
74   dmaapDrProv:
75     servicetype: NodePort
76     internalPort: 8080
77     internalPort2: 8443
78     portName: dr-prov-port
79     portName2: dr-prov-port2
80     nodePort: 59
81     nodePort2: 69
82   # dr-prov db configuration
83   dmaapDrDb:
84     mariadbServiceName: dmaap-dr-db-svc
85     mariadbServicePort: 3306
86     mariadbContName: dmaap-dr-db
87
88 # mariadb-galera configuration
89 mariadb:
90   name: dmaap-dr-db
91   nameOverride: dmaap-dr-db
92   replicaCount: 2
93   config:
94     mariadbRootPassword: datarouter
95     userName: datarouter
96     userPassword: datarouter
97     mysqlDatabase: datarouter
98   service:
99     name: dmaap-dr-db-svc
100     portName: dmaap-dr-db-svc
101   nfsprovisionerPrefix: dmaap-dr-db
102   persistence:
103     size: 1Gi
104     mountSubPath: data-router/dr-db-data
105   disableNfsProvisioner: true
106
107 #AAF local config
108 aafConfig:
109   aafDeployFqi: dmaap-dr@dmaap-dr.onap.org
110   aafDeployPass: demo123456!
111   fqdn: dmaap-dr-prov
112   fqi: dmaap-dr-prov@dmaap-dr.onap.org
113   publicFqdn: dmaap-dr.onap.org
114   cadiLatitude: 0.0
115   cadiLongitude: 0.0
116
117 # Resource Limit flavor -By Default using small
118 flavor: small
119 # Segregation for Different environment (Small and Large)
120 resources:
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
135   unlimited: {}