blob: 348c083233dc81617ebc7bb5e7f6fa1faa0aae16 [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#################################################################
Krzysztof Opasiake55b4d52020-02-07 22:54:20 +010023# Secrets metaconfig
24#################################################################
25secrets:
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#################################################################
Fiachra Corcoranbe966552018-08-07 16:58:45 +010034# Application configuration defaults.
35#################################################################
36# application image
efiacora03527b2020-02-07 19:02:15 +000037image: onap/dmaap/datarouter-prov:2.1.4
Fiachra Corcoranbe966552018-08-07 16:58:45 +010038pullPolicy: Always
39
40# flag to enable debugging - application support required
41debugEnabled: false
42
43# application configuration - see parent values chart
44
45# default number of instances
46replicaCount: 1
47
48nodeSelector: {}
49
50affinity: {}
51
52# probe configuration parameters
53liveness:
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
60readiness:
61 initialDelaySeconds: 30
62 periodSeconds: 10
63
64## Persist data to a persitent volume
65persistence:
efiacore62958b2019-09-27 16:54:36 +010066 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
Fiachra Corcoranbe966552018-08-07 16:58:45 +010073
74ingress:
75 enabled: false
Lucjan Bryndza554759c2019-11-27 15:02:14 +010076 service:
77 - baseaddr: "dmaapdrprov"
78 name: "dmaap-dr-prov"
79 port: 8443
80 config:
81 ssl: "redirect"
Fiachra Corcoranbe966552018-08-07 16:58:45 +010082
econwar28266fa2019-03-05 16:39:00 +000083config:
84 # dr provisioning server configuration
85 dmaapDrProv:
86 servicetype: NodePort
econwar28266fa2019-03-05 16:39:00 +000087 internalPort: 8080
88 internalPort2: 8443
89 portName: dr-prov-port
90 portName2: dr-prov-port2
91 nodePort: 59
92 nodePort2: 69
efiacor9ef176c2020-02-20 16:50:30 +000093 # 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
econwar28266fa2019-03-05 16:39:00 +000097 # dr-prov db configuration
98 dmaapDrDb:
99 mariadbServiceName: dmaap-dr-db-svc
100 mariadbServicePort: 3306
101 mariadbContName: dmaap-dr-db
Krzysztof Opasiake55b4d52020-02-07 22:54:20 +0100102 userName: datarouter
103# userPassword: password
104# userCredentialsExternalSecret: some secret
econwar28266fa2019-03-05 16:39:00 +0000105
106# mariadb-galera configuration
107mariadb:
108 name: dmaap-dr-db
109 nameOverride: dmaap-dr-db
110 replicaCount: 2
111 config:
Krzysztof Opasiake55b4d52020-02-07 22:54:20 +0100112 userCredentialsExternalSecret: '{{ include "common.release" . }}-dmaap-dr-db-user-secret'
econwar28266fa2019-03-05 16:39:00 +0000113 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
Yang Xu4ec3d012019-04-24 12:25:39 -0400121 disableNfsProvisioner: true
efiacore62958b2019-09-27 16:54:36 +0100122
123#AAF local config
124aafConfig:
efiacor6ca697d2020-03-06 16:30:05 +0000125 aafDeployFqi: deployer@people.osaaf.org
efiacore62958b2019-09-27 16:54:36 +0100126 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
134flavor: small
135# Segregation for Different environment (Small and Large)
136resources:
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
Krzysztof Opasiake55b4d52020-02-07 22:54:20 +0100151 unlimited: {}