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