blob: cc860823f9873894d6731ce5579eff2079590fd4 [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
Krzysztof Opasiak03a125a2020-05-05 02:11:09 +020021
22secrets:
23 - uid: pg-root-pass
24 name: &pgRootPassSecretName '{{ include "common.release" . }}-dmaap-bc-pg-root-pass'
25 type: password
26 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "dmaap-bc-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
27 password: '{{ .Values.postgres.config.pgRootpassword }}'
28 policy: generate
29 - uid: pg-user-creds
30 name: &pgUserCredsSecretName '{{ include "common.release" . }}-dmaap-bc-pg-user-creds'
31 type: basicAuth
32 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dmaap-bc-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
33 login: '{{ .Values.postgres.config.pgUserName }}'
34 password: '{{ .Values.postgres.config.pgUserPassword }}'
35 passwordPolicy: generate
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000036
37#################################################################
38# Application configuration defaults.
39#################################################################
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000040pullPolicy: Always
41
42# application images
efiacorfde53362021-07-22 14:19:38 +010043image: onap/dmaap/dmaap-bc:2.0.8
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000044
45
46# application configuration
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000047dmaapMessageRouterService: message-router
pkaras837db952019-04-23 13:45:25 +020048
dglFromAtt671f59b2019-03-13 15:50:40 +000049# change the following value to point to Windriver instance maintained
dglFromAttfb58a9d2019-04-12 20:12:26 +000050# by AAF team.
dglFromAtt671f59b2019-03-13 15:50:40 +000051# e.g.
52#aafURL: https://aaf-onap-test.osaaf.org:8095/proxy/
53aafURL: https://aaf-service:8100/
pkaras837db952019-04-23 13:45:25 +020054aafLocateUrl: https://aaf-locate:8095
dglFromAttfb58a9d2019-04-12 20:12:26 +000055topicMgrUser: dmaap-bc@dmaap-bc.onap.org
dglFromAtt82340072018-10-16 21:53:34 +000056topicMgrPwd: demo123456!
57adminUser: aaf_admin@people.osaaf.org
58adminPwd: demo123456!
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000059
Krzysztof Opasiakc32ee222020-05-07 00:26:00 +020060#################################################################
61# AAF part
62#################################################################
63certInitializer:
64 nameOverride: dmaap-bc-cert-initializer
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000065 aafDeployFqi: deployer@people.osaaf.org
Ubuntu3d5d1802019-11-14 23:16:17 +000066 aafDeployPass: demo123456!
Krzysztof Opasiakc32ee222020-05-07 00:26:00 +020067 # aafDeployCredsExternalSecret: some secret
Ubuntu3d5d1802019-11-14 23:16:17 +000068 fqdn: dmaap-bc
69 fqi: dmaap-bc@dmaap-bc.onap.org
70 publicFqdn: dmaap-bc.onap.org
71 cadiLatitude: 0.0
72 cadiLongitude: 0.0
Krzysztof Opasiakc32ee222020-05-07 00:26:00 +020073 app_ns: org.osaaf.aaf
74 credsPath: /opt/app/osaaf/local
Ubuntu3d5d1802019-11-14 23:16:17 +000075
76persistence:
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000077 aafCredsPath: /opt/app/osaaf/local/
Ubuntu3d5d1802019-11-14 23:16:17 +000078
dglFromAttce0f3b62018-10-31 22:02:50 +000079# for Casablanca default deployment, leave this true to
80# get a topic namespace that matches MR. When set to false,
81# it will compose the topic namespace using the kubernetes namespace value
82fixedTopicNamespace: true
83
dglFromAttfb58a9d2019-04-12 20:12:26 +000084# for quicker deployments in dev, ability to disable using postgres
85PG:
86 enabled: true
87
Dominic Lunanuovae825fee2018-04-12 14:40:34 +000088nodeSelector: {}
89
90affinity: {}
91
92# probe configuration parameters
93liveness:
94 initialDelaySeconds: 10
95 periodSeconds: 10
96 # necessary to disable liveness probe when setting breakpoints
97 # in debugger so K8s doesn't restart unresponsive container
Sylvain Desbureaux0de113e2020-03-10 09:57:25 +010098 port: api
99 enabled: true
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000100
101readiness:
102 initialDelaySeconds: 10
103 periodSeconds: 10
Sylvain Desbureaux0de113e2020-03-10 09:57:25 +0100104 port: api
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000105
106
107service:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000108 type: NodePort
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000109 name: dmaap-bc
Sylvain Desbureaux0de113e2020-03-10 09:57:25 +0100110 ports:
111 - name: api
112 port: 8443
113 plain_port: 8080
114 port_protocol: http
115 nodePort: 42
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000116
117
118# application configuration override for postgres
119postgres:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000120 nameOverride: dbc-pg
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000121 service:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000122 name: dbc-postgres
123 name2: dbc-pg-primary
124 name3: dbc-pg-replica
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000125 container:
126 name:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000127 primary: dbc-pg-primary
128 replica: dbc-pg-replica
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000129 config:
130 pgUserName: dmaap_admin
131 pgDatabase: dmaap
Krzysztof Opasiak03a125a2020-05-05 02:11:09 +0200132 pgUserExternalSecret: *pgUserCredsSecretName
133 pgRootPasswordExternalSecret: *pgRootPassSecretName
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +0000134 persistence:
135 mountSubPath: dbc/data
136 mountInitPath: dbc
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000137
138ingress:
139 enabled: false
Lucjan Bryndza554759c2019-11-27 15:02:14 +0100140 service:
141 - baseaddr: "dmaapbc"
142 name: "dmaap-bc"
143 port: 8443
144 config:
145 ssl: "redirect"
Dominic Lunanuovae825fee2018-04-12 14:40:34 +0000146
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000147# Resource Limit flavor -By Default using small
148flavor: small
rope252f2db5c12022-01-10 14:15:16 +0000149
150securityContext:
151 user_id: 1000
152 group_id: 101
153
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000154# Segregation for Different environment (Small and Large)
155resources:
156 small:
157 limits:
158 cpu: 2
159 memory: 4Gi
160 requests:
161 cpu: 1
162 memory: 1Gi
163 large:
164 limits:
165 cpu: 4
166 memory: 8Gi
167 requests:
168 cpu: 2
169 memory: 2Gi
170 unlimited: {}
farida azmy13388ba2021-03-17 11:33:28 +0200171
172#Pods Service Account
173serviceAccount:
174 nameOverride: dmaap-bc
175 roles:
176 - read