1 # Copyright © 2018 AT&T Intellectual Property. All rights reserved.
2 # Modifications Copyright © 2018 Amdocs,Bell Canada
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
22 #################################################################
24 #################################################################
27 name: &pgRootPassSecretName '{{ include "common.release" . }}-dmaap-bc-pg-root-pass'
29 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "dmaap-bc-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
30 password: '{{ .Values.postgres.config.pgRootpassword }}'
33 name: &pgUserCredsSecretName '{{ include "common.release" . }}-dmaap-bc-pg-user-creds'
35 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dmaap-bc-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
36 login: '{{ .Values.postgres.config.pgUserName }}'
37 password: '{{ .Values.postgres.config.pgUserPassword }}'
38 passwordPolicy: generate
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
44 image: onap/dmaap/dmaap-bc:2.0.12
47 #DMaaP Bus Controller client image for provisioning at deploy time
48 dbcClientImage: onap/dmaap/dbc-client:2.0.12
50 # application configuration
51 dmaapMessageRouterService: &mr_name message-router
52 dmaapDataRouterProvService: &dr_prov_name dmaap-dr-prov
53 dmaapDataRouterNodeService: &dr_node_name dmaap-dr-node
59 containerPort: &svc_port 8080
63 name: &svc_name dmaap-bc
71 - baseaddr: "dmaap-bc-api"
77 # probe configuration parameters
79 initialDelaySeconds: 10
81 # necessary to disable liveness probe when setting breakpoints
82 # in debugger so K8s doesn't restart unresponsive container
87 initialDelaySeconds: 10
91 usePostgres: &use_pg true
94 # For Dev deployments, use in memory DB
98 nameOverride: &pg_name dbc-postgres
101 name2: dbc-pg-primary
102 name3: dbc-pg-replica
105 primary: dbc-pg-primary
106 replica: dbc-pg-replica
108 pgUserName: dmaap_admin
110 pgUserExternalSecret: *pgUserCredsSecretName
111 pgRootPasswordExternalSecret: *pgRootPassSecretName
113 mountSubPath: dbc/data
116 # Resource Limit flavor -By Default using small
119 # Segregation for Different environment (Small and Large)
141 #Pods Service Account
143 nameOverride: *svc_name
152 wait_for_job_container:
154 - 'dmaap-provisioning-job'