Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git] / kubernetes / dcaemod / components / dcaemod-designtool / values.yaml
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 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   persistence: {}
23   nodePortPrefix: 302
24   nodePortPrefixExt: 304
25
26   ingress:
27     enabled: true
28     virtualhost:
29         enabled: false
30
31 config:
32   nifiJarsIndexURL: http://dcaemod-genprocessor:8080/nifi-jars
33   distributorAPIURL: /distributor
34
35 # application image
36 image: onap/org.onap.dcaegen2.platform.mod.designtool-web:1.0.2
37
38 service:
39   type: ClusterIP
40   name: dcaemod-designtool
41   ports:
42     - name: http
43       port: 8080
44
45 ingress:
46     enabled: true
47     service:
48     - baseaddr: "nifi"
49       name: "dcaemod-designtool"
50       port: 8080
51     - baseaddr: "nifi-api"
52       name: "dcaemod-designtool"
53       port: 8080
54     config:
55       ssl: "none"
56
57 # probe configuration parameters
58 liveness:
59   initialDelaySeconds: 90
60   periodSeconds: 30
61   # necessary to disable liveness probe when setting breakpoints
62   # in debugger so K8s doesn't restart unresponsive container
63   enabled: true
64   port: http
65
66 readiness:
67   initialDelaySeconds: 60
68   periodSeconds: 20
69   path: /nifi-api/system-diagnostics
70   scheme: HTTP
71   port: http
72
73 # Resource Limit flavor -By Default using small
74 flavor: small
75 # Segregation for Different environment (Small and Large)
76 resources:
77   small:
78     limits:
79       cpu: 2
80       memory: 2Gi
81     requests:
82       cpu: 1
83       memory: 1Gi
84   large:
85     limits:
86       cpu: 4
87       memory: 4Gi
88     requests:
89       cpu: 2
90       memory: 2Gi
91   unlimited: {}