blob: 4dcd7c3319c01977890916cd87c52a9c9955c12d [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:
19 nodePortPrefix: 302
econwar28266fa2019-03-05 16:39:00 +000020 loggingDirectory: /opt/app/datartr/logs
Fiachra Corcoranbe966552018-08-07 16:58:45 +010021
22#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
efiacora03527b2020-02-07 19:02:15 +000026image: onap/dmaap/datarouter-prov:2.1.4
Fiachra Corcoranbe966552018-08-07 16:58:45 +010027pullPolicy: Always
28
29# flag to enable debugging - application support required
30debugEnabled: false
31
32# application configuration - see parent values chart
33
34# default number of instances
35replicaCount: 1
36
37nodeSelector: {}
38
39affinity: {}
40
41# probe configuration parameters
42liveness:
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
49readiness:
50 initialDelaySeconds: 30
51 periodSeconds: 10
52
53## Persist data to a persitent volume
54persistence:
efiacore62958b2019-09-27 16:54:36 +010055 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
Fiachra Corcoranbe966552018-08-07 16:58:45 +010062
63ingress:
64 enabled: false
Lucjan Bryndza554759c2019-11-27 15:02:14 +010065 service:
66 - baseaddr: "dmaapdrprov"
67 name: "dmaap-dr-prov"
68 port: 8443
69 config:
70 ssl: "redirect"
Fiachra Corcoranbe966552018-08-07 16:58:45 +010071
econwar28266fa2019-03-05 16:39:00 +000072config:
73 # dr provisioning server configuration
74 dmaapDrProv:
75 servicetype: NodePort
econwar28266fa2019-03-05 16:39:00 +000076 internalPort: 8080
77 internalPort2: 8443
78 portName: dr-prov-port
79 portName2: dr-prov-port2
80 nodePort: 59
81 nodePort2: 69
efiacor9ef176c2020-02-20 16:50:30 +000082 # dr uses the EELF Logging framework https://github.com/att/EELF
83 # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
84 logLevel: "INFO"
85
econwar28266fa2019-03-05 16:39:00 +000086 # dr-prov db configuration
87 dmaapDrDb:
88 mariadbServiceName: dmaap-dr-db-svc
89 mariadbServicePort: 3306
90 mariadbContName: dmaap-dr-db
91
92# mariadb-galera configuration
93mariadb:
94 name: dmaap-dr-db
95 nameOverride: dmaap-dr-db
96 replicaCount: 2
97 config:
98 mariadbRootPassword: datarouter
99 userName: datarouter
100 userPassword: datarouter
101 mysqlDatabase: datarouter
102 service:
103 name: dmaap-dr-db-svc
104 portName: dmaap-dr-db-svc
105 nfsprovisionerPrefix: dmaap-dr-db
106 persistence:
107 size: 1Gi
108 mountSubPath: data-router/dr-db-data
Yang Xu4ec3d012019-04-24 12:25:39 -0400109 disableNfsProvisioner: true
efiacore62958b2019-09-27 16:54:36 +0100110
111#AAF local config
112aafConfig:
113 aafDeployFqi: dmaap-dr@dmaap-dr.onap.org
114 aafDeployPass: demo123456!
115 fqdn: dmaap-dr-prov
116 fqi: dmaap-dr-prov@dmaap-dr.onap.org
117 publicFqdn: dmaap-dr.onap.org
118 cadiLatitude: 0.0
119 cadiLongitude: 0.0
120
121# Resource Limit flavor -By Default using small
122flavor: small
123# Segregation for Different environment (Small and Large)
124resources:
125 small:
126 limits:
127 cpu: 2000m
128 memory: 4Gi
129 requests:
130 cpu: 500m
131 memory: 1Gi
132 large:
133 limits:
134 cpu: 4000m
135 memory: 8Gi
136 requests:
137 cpu: 1000m
138 memory: 2Gi
139 unlimited: {}