Add readiness dependency on aaf
[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.2
34
35
36 # application configuration
37 dmaapMessageRouterService: message-router
38 # change the following value to point to Windriver instance maintained
39 # by AAF team.
40 # e.g.
41 #aafURL: https://aaf-onap-test.osaaf.org:8095/proxy/
42 aafURL: https://aaf-service:8100/
43 topicMgrUser: dmaap-bc@dmaap-bc.onap.org
44 topicMgrPwd: demo123456!
45 adminUser: aaf_admin@people.osaaf.org
46 adminPwd: demo123456!
47
48 # for Casablanca default deployment, leave this true to
49 # get a topic namespace that matches MR.  When set to false,
50 # it will compose the topic namespace using the kubernetes namespace value
51 fixedTopicNamespace: true
52
53 # for quicker deployments in dev, ability to disable using postgres
54 PG:
55   enabled: true
56
57 nodeSelector: {}
58
59 affinity: {}
60
61 # probe configuration parameters
62 liveness:
63   initialDelaySeconds: 10
64   periodSeconds: 10
65   # necessary to disable liveness probe when setting breakpoints
66   # in debugger so K8s doesn't restart unresponsive container
67   enabled: false
68
69 readiness:
70   initialDelaySeconds: 10
71   periodSeconds: 10
72
73
74 service:
75   type: NodePort
76   name: dmaap-bc
77   portName: dmaap-bc
78   portName2: dmaap-bc
79   externalPort: 8080
80   internalPort: 8080
81   externalPort2: 8443
82   internalPort2: 8443
83   nodePort: 41
84   nodePort2: 42
85
86
87 # application configuration override for postgres
88 postgres:
89   nameOverride: dbc-pg
90   service:
91     name: dbc-postgres
92     name2: dbc-pg-primary
93     name3: dbc-pg-replica
94   container:
95     name:
96       primary: dbc-pg-primary
97       replica: dbc-pg-replica
98   config:
99     pgUserName: dmaap_admin
100     pgDatabase: dmaap
101     pgPrimaryPassword: onapdemodb
102     pgUserPassword: onapdemodb
103     pgRootPassword: onapdemodb
104   persistence:
105     mountSubPath: dbc/data
106     mountInitPath: dbc
107   pgpool:
108     nameOverride: dbc-pgpool
109     service:
110       name: dbc-pgpool
111     credentials:
112       pgusername: dmaap_admin
113       pgpassword: onapdemodb
114     container:
115       name:
116         primary: dbc-pgpool-primary
117         replica: dbc-pgpool-replica
118
119 ingress:
120   enabled: false
121
122 # Resource Limit flavor -By Default using small
123 flavor: small
124 # Segregation for Different environment (Small and Large)
125 resources:
126   small:
127     limits:
128       cpu: 2
129       memory: 4Gi
130     requests:
131       cpu: 1
132       memory: 1Gi
133   large:
134     limits:
135       cpu: 4
136       memory: 8Gi
137     requests:
138       cpu: 2
139       memory: 2Gi
140   unlimited: {}