Update to Application properties and Version Change in Catalog Service Issue-ID:DCAEG...
[dcaegen2/platform.git] / adapter / acumos-deployment / 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   readinessRepository: oomk8s
26   readinessImage: readiness-check:2.0.0
27
28   ingress:
29     enabled: true
30     virtualhost:
31         enabled: false
32
33 config:
34   distributorAPIURL: /distributor
35
36
37 # application image
38 repository: nexus3.onap.org:10001
39 image: onap/org.onap.dcaegen2.platform.adapter.acumos:1.0.2
40 dindRepository: docker.io
41 dindImage: docker:dind
42
43 service:
44   type: ClusterIP
45   name: dcae-acumos-adapter
46   ports:
47     - name: http
48       port: 9000
49
50 ingress:
51   enabled: true
52   service:
53     - baseaddr: "acumos-adapter"
54       name: "dcae-acumos-adapter"
55       port: 9000
56   annotations:
57     nginx.ingress.kubernetes.io/ssl-redirect: "false"
58   # Adapter can take a long time to respond, since
59   # it's building and pushing a Docker image
60   # Override default ingress controller timeouts
61     nginx.ingress.kubernetes.io/proxy-connect-timeout: "60"
62     nginx.ingress.kubernetes.io/proxy-send-timeout: "900"
63     nginx.ingress.kubernetes.io/proxy-read-timeout: "900"
64   # Want to set ssl-redirect to false with the values below,
65   # but template doesn't expand properly
66   #config:
67   #  ssl: "none"
68
69 liveness:
70   initialDelaySeconds: 90
71   periodSeconds: 30
72   # necessary to disable liveness probe when setting breakpoints
73   # in debugger so K8s doesn't restart unresponsive container
74   enabled: false
75   port: http
76
77 readiness:
78   initialDelaySeconds: 60
79   periodSeconds: 20
80   port: http
81
82 secrets:
83   - uid: "certs"
84     type: genericKV
85     envs:
86     - name: cert.pem
87       value: '{{ tpl .Values.acumosCert . }}'
88   - uid: "docker"
89     type: genericKV
90     envs:
91     - name: dpass
92       value: '{{ tpl .Values.dockerPass . }}'
93
94 # Resource Limit flavor -By Default using small
95 flavor: small
96 # Segregation for Different environment (Small and Large)
97 resources:
98   small:
99     limits:
100       cpu: 2
101       memory: 2Gi
102     requests:
103       cpu: 1
104       memory: 1Gi
105   large:
106     limits:
107       cpu: 4
108       memory: 4Gi
109     requests:
110       cpu: 2
111       memory: 2Gi
112   unlimited: {}