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