Merge "[DMaaP BC] Use common.service template"
[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
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 pullPolicy: Always
30
31 # application images
32 repository: nexus3.onap.org:10001
33 image: onap/dmaap/dmaap-bc:2.0.3
34
35
36 # application configuration
37 dmaapMessageRouterService: message-router
38
39 # change the following value to point to Windriver instance maintained
40 # by AAF team.
41 # e.g.
42 #aafURL: https://aaf-onap-test.osaaf.org:8095/proxy/
43 aafURL: https://aaf-service:8100/
44 aafLocateUrl: https://aaf-locate:8095
45 topicMgrUser: dmaap-bc@dmaap-bc.onap.org
46 topicMgrPwd: demo123456!
47 adminUser: aaf_admin@people.osaaf.org
48 adminPwd: demo123456!
49
50 #AAF local config
51 aafConfig:
52   aafDeployFqi: dmaap-bc@dmaap-bc.onap.org
53   aafDeployPass: demo123456!
54   fqdn: dmaap-bc
55   fqi: dmaap-bc@dmaap-bc.onap.org
56   publicFqdn: dmaap-bc.onap.org
57   cadiLatitude: 0.0
58   cadiLongitude: 0.0
59
60 persistence:
61   aafCredsPath: /opt/app/osaaf/local
62
63 # for Casablanca default deployment, leave this true to
64 # get a topic namespace that matches MR.  When set to false,
65 # it will compose the topic namespace using the kubernetes namespace value
66 fixedTopicNamespace: true
67
68 # for quicker deployments in dev, ability to disable using postgres
69 PG:
70   enabled: true
71
72 nodeSelector: {}
73
74 affinity: {}
75
76 # probe configuration parameters
77 liveness:
78   initialDelaySeconds: 10
79   periodSeconds: 10
80   # necessary to disable liveness probe when setting breakpoints
81   # in debugger so K8s doesn't restart unresponsive container
82   port: api
83   enabled: true
84
85 readiness:
86   initialDelaySeconds: 10
87   periodSeconds: 10
88   port: api
89
90
91 service:
92   type: NodePort
93   name: dmaap-bc
94   ports:
95     - name: api
96       port: 8443
97       plain_port: 8080
98       port_protocol: http
99       nodePort: 42
100
101
102 # application configuration override for postgres
103 postgres:
104   nameOverride: dbc-pg
105   service:
106     name: dbc-postgres
107     name2: dbc-pg-primary
108     name3: dbc-pg-replica
109   container:
110     name:
111       primary: dbc-pg-primary
112       replica: dbc-pg-replica
113   config:
114     pgUserName: dmaap_admin
115     pgDatabase: dmaap
116     pgPrimaryPassword: onapdemodb
117     pgUserPassword: onapdemodb
118     pgRootPassword: onapdemodb
119   persistence:
120     mountSubPath: dbc/data
121     mountInitPath: dbc
122
123 ingress:
124   enabled: false
125   service:
126     - baseaddr: "dmaapbc"
127       name: "dmaap-bc"
128       port: 8443
129   config:
130     ssl: "redirect"
131
132 # Resource Limit flavor -By Default using small
133 flavor: small
134 # Segregation for Different environment (Small and Large)
135 resources:
136   small:
137     limits:
138       cpu: 2
139       memory: 4Gi
140     requests:
141       cpu: 1
142       memory: 1Gi
143   large:
144     limits:
145       cpu: 4
146       memory: 8Gi
147     requests:
148       cpu: 2
149       memory: 2Gi
150   unlimited: {}