Merge "[Modeling] Use global storage templates for PVC"
[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:1.1.5
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 # for Casablanca default deployment, leave this true to
51 # get a topic namespace that matches MR.  When set to false,
52 # it will compose the topic namespace using the kubernetes namespace value
53 fixedTopicNamespace: true
54
55 # for quicker deployments in dev, ability to disable using postgres
56 PG:
57   enabled: true
58
59 nodeSelector: {}
60
61 affinity: {}
62
63 # probe configuration parameters
64 liveness:
65   initialDelaySeconds: 10
66   periodSeconds: 10
67   # necessary to disable liveness probe when setting breakpoints
68   # in debugger so K8s doesn't restart unresponsive container
69   enabled: false
70
71 readiness:
72   initialDelaySeconds: 10
73   periodSeconds: 10
74
75
76 service:
77   type: NodePort
78   name: dmaap-bc
79   portName: dmaap-bc
80   portName2: dmaap-bc
81   externalPort: 8080
82   internalPort: 8080
83   externalPort2: 8443
84   internalPort2: 8443
85   nodePort: 41
86   nodePort2: 42
87
88
89 # application configuration override for postgres
90 postgres:
91   nameOverride: dbc-pg
92   service:
93     name: dbc-postgres
94     name2: dbc-pg-primary
95     name3: dbc-pg-replica
96   container:
97     name:
98       primary: dbc-pg-primary
99       replica: dbc-pg-replica
100   config:
101     pgUserName: dmaap_admin
102     pgDatabase: dmaap
103     pgPrimaryPassword: onapdemodb
104     pgUserPassword: onapdemodb
105     pgRootPassword: onapdemodb
106   persistence:
107     mountSubPath: dbc/data
108     mountInitPath: dbc
109   pgpool:
110     nameOverride: dbc-pgpool
111     service:
112       name: dbc-pgpool
113     credentials:
114       pgusername: dmaap_admin
115       pgpassword: onapdemodb
116     container:
117       name:
118         primary: dbc-pgpool-primary
119         replica: dbc-pgpool-replica
120
121 ingress:
122   enabled: false
123   service:
124     - baseaddr: "dmaapbc"
125       name: "dmaap-bc"
126       port: 8443
127   config:
128     ssl: "redirect"
129
130 # Resource Limit flavor -By Default using small
131 flavor: small
132 # Segregation for Different environment (Small and Large)
133 resources:
134   small:
135     limits:
136       cpu: 2
137       memory: 4Gi
138     requests:
139       cpu: 1
140       memory: 1Gi
141   large:
142     limits:
143       cpu: 4
144       memory: 8Gi
145     requests:
146       cpu: 2
147       memory: 2Gi
148   unlimited: {}