blob: b2a62864e7c67dced754071f5d62a183399bf539 [file] [log] [blame]
Dominic Lunanuovae825fee2018-04-12 14:40:34 +00001# Copyright © 2018 AT&T Intellectual Property. All rights reserved.
Durgpal7ad40692018-08-03 07:28:36 +00002# Modifications Copyright © 2018 Amdocs,Bell Canada
Dominic Lunanuovae825fee2018-04-12 14:40:34 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
Krzysztof Opasiak03a125a2020-05-05 02:11:09 +020024 envsubstImage: dibi/envsubst
25
26secrets:
27 - uid: pg-root-pass
28 name: &pgRootPassSecretName '{{ include "common.release" . }}-dmaap-bc-pg-root-pass'
29 type: password
30 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "dmaap-bc-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
31 password: '{{ .Values.postgres.config.pgRootpassword }}'
32 policy: generate
33 - uid: pg-user-creds
34 name: &pgUserCredsSecretName '{{ include "common.release" . }}-dmaap-bc-pg-user-creds'
35 type: basicAuth
36 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dmaap-bc-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
37 login: '{{ .Values.postgres.config.pgUserName }}'
38 password: '{{ .Values.postgres.config.pgUserPassword }}'
39 passwordPolicy: generate
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000040
41#################################################################
42# Application configuration defaults.
43#################################################################
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000044pullPolicy: Always
45
46# application images
47repository: nexus3.onap.org:10001
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000048#repository: 10.12.7.57:5000
49image: onap/dmaap/dmaap-bc:2.0.4
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000050
51
52# application configuration
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000053dmaapMessageRouterService: message-router
pkaras837db952019-04-23 13:45:25 +020054
dglFromAtt671f59b2019-03-13 15:50:40 +000055# change the following value to point to Windriver instance maintained
dglFromAttfb58a9d2019-04-12 20:12:26 +000056# by AAF team.
dglFromAtt671f59b2019-03-13 15:50:40 +000057# e.g.
58#aafURL: https://aaf-onap-test.osaaf.org:8095/proxy/
59aafURL: https://aaf-service:8100/
pkaras837db952019-04-23 13:45:25 +020060aafLocateUrl: https://aaf-locate:8095
dglFromAttfb58a9d2019-04-12 20:12:26 +000061topicMgrUser: dmaap-bc@dmaap-bc.onap.org
dglFromAtt82340072018-10-16 21:53:34 +000062topicMgrPwd: demo123456!
63adminUser: aaf_admin@people.osaaf.org
64adminPwd: demo123456!
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000065
Krzysztof Opasiakc32ee222020-05-07 00:26:00 +020066#################################################################
67# AAF part
68#################################################################
69certInitializer:
70 nameOverride: dmaap-bc-cert-initializer
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000071 aafDeployFqi: deployer@people.osaaf.org
Ubuntu3d5d1802019-11-14 23:16:17 +000072 aafDeployPass: demo123456!
Krzysztof Opasiakc32ee222020-05-07 00:26:00 +020073 # aafDeployCredsExternalSecret: some secret
Ubuntu3d5d1802019-11-14 23:16:17 +000074 fqdn: dmaap-bc
75 fqi: dmaap-bc@dmaap-bc.onap.org
76 publicFqdn: dmaap-bc.onap.org
77 cadiLatitude: 0.0
78 cadiLongitude: 0.0
Krzysztof Opasiakc32ee222020-05-07 00:26:00 +020079 app_ns: org.osaaf.aaf
80 credsPath: /opt/app/osaaf/local
Ubuntu3d5d1802019-11-14 23:16:17 +000081
82persistence:
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000083 aafCredsPath: /opt/app/osaaf/local/
Ubuntu3d5d1802019-11-14 23:16:17 +000084
dglFromAttce0f3b62018-10-31 22:02:50 +000085# for Casablanca default deployment, leave this true to
86# get a topic namespace that matches MR. When set to false,
87# it will compose the topic namespace using the kubernetes namespace value
88fixedTopicNamespace: true
89
dglFromAttfb58a9d2019-04-12 20:12:26 +000090# for quicker deployments in dev, ability to disable using postgres
91PG:
92 enabled: true
93
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000094nodeSelector: {}
95
96affinity: {}
97
98# probe configuration parameters
99liveness:
100 initialDelaySeconds: 10
101 periodSeconds: 10
102 # necessary to disable liveness probe when setting breakpoints
103 # in debugger so K8s doesn't restart unresponsive container
Sylvain Desbureaux0de113e2020-03-10 09:57:25 +0100104 port: api
105 enabled: true
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000106
107readiness:
108 initialDelaySeconds: 10
109 periodSeconds: 10
Sylvain Desbureaux0de113e2020-03-10 09:57:25 +0100110 port: api
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000111
112
113service:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000114 type: NodePort
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000115 name: dmaap-bc
Sylvain Desbureaux0de113e2020-03-10 09:57:25 +0100116 ports:
117 - name: api
118 port: 8443
119 plain_port: 8080
120 port_protocol: http
121 nodePort: 42
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000122
123
124# application configuration override for postgres
125postgres:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000126 nameOverride: dbc-pg
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000127 service:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000128 name: dbc-postgres
129 name2: dbc-pg-primary
130 name3: dbc-pg-replica
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000131 container:
132 name:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000133 primary: dbc-pg-primary
134 replica: dbc-pg-replica
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000135 config:
136 pgUserName: dmaap_admin
137 pgDatabase: dmaap
Krzysztof Opasiak03a125a2020-05-05 02:11:09 +0200138 pgUserExternalSecret: *pgUserCredsSecretName
139 pgRootPasswordExternalSecret: *pgRootPassSecretName
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000140 persistence:
141 mountSubPath: dbc/data
142 mountInitPath: dbc
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000143
144ingress:
145 enabled: false
Lucjan Bryndza554759c2019-11-27 15:02:14 +0100146 service:
147 - baseaddr: "dmaapbc"
148 name: "dmaap-bc"
149 port: 8443
150 config:
151 ssl: "redirect"
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000152
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000153# Resource Limit flavor -By Default using small
154flavor: small
155# Segregation for Different environment (Small and Large)
156resources:
157 small:
158 limits:
159 cpu: 2
160 memory: 4Gi
161 requests:
162 cpu: 1
163 memory: 1Gi
164 large:
165 limits:
166 cpu: 4
167 memory: 8Gi
168 requests:
169 cpu: 2
170 memory: 2Gi
171 unlimited: {}