Merge "update release version of modeling-etsicatalog"
[oom.git] / kubernetes / dmaap / components / dmaap-bc / values.yaml
1 # Copyright © 2018  AT&T Intellectual Property.  All rights reserved.
2 # Modifications Copyright © 2018 Amdocs,Bell Canada
3 #
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 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   envsubstImage: dibi/envsubst
26
27 secrets:
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
41
42 #################################################################
43 # Application configuration defaults.
44 #################################################################
45 pullPolicy: Always
46
47 # application images
48 repository: nexus3.onap.org:10001
49 #repository:  10.12.7.57:5000
50 image: onap/dmaap/dmaap-bc:2.0.4
51
52
53 # application configuration
54 dmaapMessageRouterService: message-router
55
56 # change the following value to point to Windriver instance maintained
57 # by AAF team.
58 # e.g.
59 #aafURL: https://aaf-onap-test.osaaf.org:8095/proxy/
60 aafURL: https://aaf-service:8100/
61 aafLocateUrl: https://aaf-locate:8095
62 topicMgrUser: dmaap-bc@dmaap-bc.onap.org
63 topicMgrPwd: demo123456!
64 adminUser: aaf_admin@people.osaaf.org
65 adminPwd: demo123456!
66
67 #################################################################
68 # AAF part
69 #################################################################
70 certInitializer:
71   nameOverride: dmaap-bc-cert-initializer
72   aafDeployFqi: deployer@people.osaaf.org
73   aafDeployPass: demo123456!
74   # aafDeployCredsExternalSecret: some secret
75   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
80   app_ns: org.osaaf.aaf
81   credsPath: /opt/app/osaaf/local
82
83 persistence:
84   aafCredsPath: /opt/app/osaaf/local/
85
86 # 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
89 fixedTopicNamespace: true
90
91 # for quicker deployments in dev, ability to disable using postgres
92 PG:
93   enabled: true
94
95 nodeSelector: {}
96
97 affinity: {}
98
99 # probe configuration parameters
100 liveness:
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
105   port: api
106   enabled: true
107
108 readiness:
109   initialDelaySeconds: 10
110   periodSeconds: 10
111   port: api
112
113
114 service:
115   type: NodePort
116   name: dmaap-bc
117   ports:
118     - name: api
119       port: 8443
120       plain_port: 8080
121       port_protocol: http
122       nodePort: 42
123
124
125 # application configuration override for postgres
126 postgres:
127   nameOverride: dbc-pg
128   service:
129     name: dbc-postgres
130     name2: dbc-pg-primary
131     name3: dbc-pg-replica
132   container:
133     name:
134       primary: dbc-pg-primary
135       replica: dbc-pg-replica
136   config:
137     pgUserName: dmaap_admin
138     pgDatabase: dmaap
139     pgUserExternalSecret: *pgUserCredsSecretName
140     pgRootPasswordExternalSecret: *pgRootPassSecretName
141   persistence:
142     mountSubPath: dbc/data
143     mountInitPath: dbc
144
145 ingress:
146   enabled: false
147   service:
148     - baseaddr: "dmaapbc"
149       name: "dmaap-bc"
150       port: 8443
151   config:
152     ssl: "redirect"
153
154 # Resource Limit flavor -By Default using small
155 flavor: small
156 # Segregation for Different environment (Small and Large)
157 resources:
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: {}