Merge "[CONSUL] Add limits to consul chart."
[oom.git] / kubernetes / dcaegen2 / components / dcae-bootstrap / values.yaml
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
4 # Modifications Copyright © 2018 Amdocs, Bell Canada
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #     http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
18
19 #################################################################
20 # Global configuration defaults.
21 #################################################################
22 global:
23   nodePortPrefix: 302
24   nodePortPrefixExt: 304
25   readinessImage: onap/oom/readiness:3.0.1
26   loggingRepository: docker.elastic.co
27   loggingImage: beats/filebeat:5.5.0
28   tlsRepository: nexus3.onap.org:10001
29   tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
30   envsubstImage: dibi/envsubst
31
32 secrets:
33   - uid: pg-root-pass
34     name: &pgRootPassSecretName '{{ include "common.release" . }}-dcae-bootstrap-pg-root-pass'
35     type: password
36     externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "dcae-bootstrap-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
37     password: '{{ .Values.postgres.config.pgRootpassword }}'
38     policy: generate
39   - uid: 'cm-pass'
40     type: password
41     externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
42     password: '{{ .Values.config.cloudifyManagerPassword }}'
43
44 config:
45   logstashServiceName: log-ls
46   logstashPort: 5044
47   # Addresses of ONAP components
48   address:
49     consul:
50       host: consul-server
51       port: 8500
52     consul_ui: consul-server-ui
53     cm:
54       host: dcae-cloudify-manager
55       port: 443
56       proto: https
57     #Temporary assignment to avoid conflict
58     #To be removed after bootstrap changes done to remove dashboard
59     dashboard:
60       port: 30473
61       portSecure: 30474
62     datafile_collector:
63       port: 30223
64       portSecure: 30262
65     dmaap_dr_prov: dmaap-dr-prov
66     message_router: message-router
67     msb_discovery: msb-discovery
68     msb_iag: msb-iag
69     policy_pdp: pdp
70     sdc: sdc-be
71     snmptrap:
72       port: 30470
73     ves:
74       port: 30235
75       portSecure: 30417
76
77 # postgres values--overriding defaults in the postgres subchart
78 postgres:
79   nameOverride: dcae-db
80   service:
81     name: dcae-postgres
82     name2: dcae-pg-primary
83     name3: dcae-pg-replica
84   suffix: svc.cluster.local
85   container:
86     name:
87       primary: dcae-pg-primary
88       replica: dcae-pg-replica
89   config:
90     pgRootPasswordExternalSecret: *pgRootPassSecretName
91   persistence:
92     mountSubPath: dcae/data
93     mountInitPath: dcae
94
95 mongo:
96   nameOverride: dcae-mongo
97   config:
98     dbName: dcaecommondb
99   service:
100     name: dcae-mongohost
101     internalPort: 27017
102   nfsprovisionerPrefix: dcaemongo
103   sdnctlPrefix: tcagen2
104   persistence:
105     mountSubPath: dcae/mongo/data
106     enabled: true
107   disableNfsProvisioner: true
108
109 # application image
110 repository: nexus3.onap.org:10001
111 image: onap/org.onap.dcaegen2.deployments.k8s-bootstrap-container:2.1.7
112 default_k8s_location: central
113
114 # DCAE component images to be deployed via Cloudify Manager
115 # Use to override default setting in blueprints
116 componentImages:
117   holmes_rules: onap/holmes/rule-management:1.2.8
118   holmes_engine: onap/holmes/engine-management:1.2.8
119   tcagen2: onap/org.onap.dcaegen2.analytics.tca-gen2.dcae-analytics-tca-web:1.2.1
120   ves: onap/org.onap.dcaegen2.collectors.ves.vescollector:1.7.8
121   snmptrap: onap/org.onap.dcaegen2.collectors.snmptrap:1.4.0
122   prh: onap/org.onap.dcaegen2.services.prh.prh-app-server:1.5.4
123   hv_ves: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.5.0
124
125 # Resource Limit flavor -By Default using small
126 flavor: small
127 # Segregation for Different environment (Small and Large)
128 resources:
129   small:
130     limits:
131       cpu: 2
132       memory: 2Gi
133     requests:
134       cpu: 1
135       memory: 1Gi
136   large:
137     limits:
138       cpu: 4
139       memory: 4Gi
140     requests:
141       cpu: 2
142       memory: 2Gi
143   unlimited: {}
144 # Kubernetes namespace for components deployed via Cloudify manager
145 # If empty, use the common namespace
146 # dcae_ns: "onap"