Initial delivery of helm charts to deploy mod2 components. Resolved all
[dcaegen2/platform.git] / mod2 / assembly / helm / components / ui / values.yaml
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
17
18 #################################################################
19 # Global configuration defaults.
20 #################################################################
21 global:
22   nodePortPrefix: 302
23   nodePortPrefixExt: 304
24   repository: nexus3.onap.org:10001
25   readinessImage: onap/oom/readiness:3.0.1
26
27 config:
28   dcaeHostname: <K8SNodeip>
29 #   # The dashboard credentials aren't actually used, since
30 #   # the inventory API and the dashboard pass-through to the
31 #   # inventory API don't require authentication.
32 #   # Since the password doesn't matter, we let it be
33 #   # generated by the common secret template.
34 #   dashboardUser: nobody
35 #   #dashboardPassword: doesntmatter
36 #   mrTopicURL: http://message-router:3904/events
37 #   importCloudify: https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
38 #   importK8S: plugin:k8splugin?version=3.4.2
39 #   importPostgres: plugin:pgaas?version=1.3.0
40 #   importClamp: plugin:clamppolicyplugin?version=1.1.0
41 #   importDMaaP: plugin:dmaap?version=1.5.0
42 #   useDmaapPlugin: false
43
44 # secrets:
45 #   - uid: "dashsecret"
46 #     type: basicAuth
47 #     login: '{{ .Values.config.dashboardUser }}'
48 #     password: '{{ .Values.config.dashboardPassword }}'
49 #     passwordPolicy: generate
50
51 service:
52   type: NodePort
53   name: dcaemod2-ui
54   externalPort: 4200
55   internalPort: 4200
56   ports:
57     - name: http
58       port: 4200
59       port_protocol: http
60       nodePort: 9
61   nodePortPrefixOverride : 3100
62
63 # probe configuration parameters
64 liveness:
65   initialDelaySeconds: 60
66   periodSeconds: 30
67   port: http
68   # necessary to disable liveness probe when setting breakpoints
69   # in debugger so K8s doesn't restart unresponsive container
70   enabled: false
71
72 readiness:
73   initialDelaySeconds: 60
74   periodSeconds: 20
75   port: 4200
76   # Should have a proper readiness endpoint or script
77
78 # application image
79 image: onap/org.onap.dcaegen2.platform.mod.ui:latest
80
81 # Resource Limit flavor -By Default using small
82 flavor: small
83 # Segregation for Different environment (Small and Large)
84 resources:
85   small:
86     limits:
87       cpu: 2
88       memory: 2Gi
89     requests:
90       cpu: 1
91       memory: 1Gi
92   large:
93     limits:
94       cpu: 4
95       memory: 4Gi
96     requests:
97       cpu: 2
98       memory: 2Gi
99   unlimited: {}
100