blob: d9936d79f48a317a29526af41b7978ee9a6beafa [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
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000021 readinessRepository: oomk8s
Gary Wubf4b4d82018-05-11 13:26:30 -070022 readinessImage: readiness-check:2.0.0
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
Krzysztof Opasiak03a125a2020-05-05 02:11:09 +020025 envsubstImage: dibi/envsubst
26
27secrets:
28 - uid: pg-root-pass
29 name: &pgRootPassSecretName '{{ include "common.release" . }}-dmaap-bc-pg-root-pass'
30 type: password
31 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "dmaap-bc-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
32 password: '{{ .Values.postgres.config.pgRootpassword }}'
33 policy: generate
34 - uid: pg-user-creds
35 name: &pgUserCredsSecretName '{{ include "common.release" . }}-dmaap-bc-pg-user-creds'
36 type: basicAuth
37 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dmaap-bc-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
38 login: '{{ .Values.postgres.config.pgUserName }}'
39 password: '{{ .Values.postgres.config.pgUserPassword }}'
40 passwordPolicy: generate
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000041
42#################################################################
43# Application configuration defaults.
44#################################################################
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000045pullPolicy: Always
46
47# application images
48repository: nexus3.onap.org:10001
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000049#repository: 10.12.7.57:5000
50image: onap/dmaap/dmaap-bc:2.0.4
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000051
52
53# application configuration
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000054dmaapMessageRouterService: message-router
pkaras837db952019-04-23 13:45:25 +020055
dglFromAtt671f59b2019-03-13 15:50:40 +000056# change the following value to point to Windriver instance maintained
dglFromAttfb58a9d2019-04-12 20:12:26 +000057# by AAF team.
dglFromAtt671f59b2019-03-13 15:50:40 +000058# e.g.
59#aafURL: https://aaf-onap-test.osaaf.org:8095/proxy/
60aafURL: https://aaf-service:8100/
pkaras837db952019-04-23 13:45:25 +020061aafLocateUrl: https://aaf-locate:8095
dglFromAttfb58a9d2019-04-12 20:12:26 +000062topicMgrUser: dmaap-bc@dmaap-bc.onap.org
dglFromAtt82340072018-10-16 21:53:34 +000063topicMgrPwd: demo123456!
64adminUser: aaf_admin@people.osaaf.org
65adminPwd: demo123456!
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000066
Krzysztof Opasiakc32ee222020-05-07 00:26:00 +020067#################################################################
68# AAF part
69#################################################################
70certInitializer:
71 nameOverride: dmaap-bc-cert-initializer
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000072 aafDeployFqi: deployer@people.osaaf.org
Ubuntu3d5d1802019-11-14 23:16:17 +000073 aafDeployPass: demo123456!
Krzysztof Opasiakc32ee222020-05-07 00:26:00 +020074 # aafDeployCredsExternalSecret: some secret
Ubuntu3d5d1802019-11-14 23:16:17 +000075 fqdn: dmaap-bc
76 fqi: dmaap-bc@dmaap-bc.onap.org
77 publicFqdn: dmaap-bc.onap.org
78 cadiLatitude: 0.0
79 cadiLongitude: 0.0
Krzysztof Opasiakc32ee222020-05-07 00:26:00 +020080 app_ns: org.osaaf.aaf
81 credsPath: /opt/app/osaaf/local
Ubuntu3d5d1802019-11-14 23:16:17 +000082
83persistence:
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000084 aafCredsPath: /opt/app/osaaf/local/
Ubuntu3d5d1802019-11-14 23:16:17 +000085
dglFromAttce0f3b62018-10-31 22:02:50 +000086# for Casablanca default deployment, leave this true to
87# get a topic namespace that matches MR. When set to false,
88# it will compose the topic namespace using the kubernetes namespace value
89fixedTopicNamespace: true
90
dglFromAttfb58a9d2019-04-12 20:12:26 +000091# for quicker deployments in dev, ability to disable using postgres
92PG:
93 enabled: true
94
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000095nodeSelector: {}
96
97affinity: {}
98
99# probe configuration parameters
100liveness:
101 initialDelaySeconds: 10
102 periodSeconds: 10
103 # necessary to disable liveness probe when setting breakpoints
104 # in debugger so K8s doesn't restart unresponsive container
Sylvain Desbureaux0de113e2020-03-10 09:57:25 +0100105 port: api
106 enabled: true
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000107
108readiness:
109 initialDelaySeconds: 10
110 periodSeconds: 10
Sylvain Desbureaux0de113e2020-03-10 09:57:25 +0100111 port: api
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000112
113
114service:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000115 type: NodePort
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000116 name: dmaap-bc
Sylvain Desbureaux0de113e2020-03-10 09:57:25 +0100117 ports:
118 - name: api
119 port: 8443
120 plain_port: 8080
121 port_protocol: http
122 nodePort: 42
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000123
124
125# application configuration override for postgres
126postgres:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000127 nameOverride: dbc-pg
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000128 service:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000129 name: dbc-postgres
130 name2: dbc-pg-primary
131 name3: dbc-pg-replica
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000132 container:
133 name:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000134 primary: dbc-pg-primary
135 replica: dbc-pg-replica
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000136 config:
137 pgUserName: dmaap_admin
138 pgDatabase: dmaap
Krzysztof Opasiak03a125a2020-05-05 02:11:09 +0200139 pgUserExternalSecret: *pgUserCredsSecretName
140 pgRootPasswordExternalSecret: *pgRootPassSecretName
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000141 persistence:
142 mountSubPath: dbc/data
143 mountInitPath: dbc
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000144
145ingress:
146 enabled: false
Lucjan Bryndza554759c2019-11-27 15:02:14 +0100147 service:
148 - baseaddr: "dmaapbc"
149 name: "dmaap-bc"
150 port: 8443
151 config:
152 ssl: "redirect"
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000153
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000154# Resource Limit flavor -By Default using small
155flavor: small
156# Segregation for Different environment (Small and Large)
157resources:
158 small:
159 limits:
160 cpu: 2
161 memory: 4Gi
162 requests:
163 cpu: 1
164 memory: 1Gi
165 large:
166 limits:
167 cpu: 4
168 memory: 8Gi
169 requests:
170 cpu: 2
171 memory: 2Gi
172 unlimited: {}