blob: 8e3364f879836415eef74373a41f8d4abed8e669 [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
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
89mariadb:
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
Yang Xu4ec3d012019-04-24 12:25:39 -0400105 disableNfsProvisioner: true
efiacore62958b2019-09-27 16:54:36 +0100106
107#AAF local config
108aafConfig:
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
118flavor: small
119# Segregation for Different environment (Small and Large)
120resources:
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: {}