Merge "[VFC] Uses new tpls for repos / images"
[oom.git] / kubernetes / dcaemod / components / dcaemod-runtime-api / 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   readinessImage: onap/oom/readiness:3.0.1
25
26 config:
27   dashboardURL: https://inventory:8080/dcae-service-types
28   # The dashboard credentials aren't actually used, since
29   # the inventory API and the dashboard pass-through to the
30   # inventory API don't require authentication.
31   # Since the password doesn't matter, we let it be
32   # generated by the common secret template.
33   dashboardUser: nobody
34   #dashboardPassword: doesntmatter
35   mrTopicURL: http://message-router:3904/events
36   importCloudify: https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
37   importK8S: plugin:k8splugin?version=3.4.2
38   importPostgres: plugin:pgaas?version=1.3.0
39   importClamp: plugin:clamppolicyplugin?version=1.1.0
40   importDMaaP: plugin:dmaap?version=1.5.0
41   useDmaapPlugin: false
42
43 secrets:
44   - uid: "dashsecret"
45     type: basicAuth
46     login: '{{ .Values.config.dashboardUser }}'
47     password: '{{ .Values.config.dashboardPassword }}'
48     passwordPolicy: generate
49
50 service:
51   type: ClusterIP
52   name: dcaemod-runtime-api
53   ports:
54     - name: http
55       port: 9090
56
57 # probe configuration parameters
58 liveness:
59   initialDelaySeconds: 60
60   periodSeconds: 30
61   port: http
62   # necessary to disable liveness probe when setting breakpoints
63   # in debugger so K8s doesn't restart unresponsive container
64   enabled: true
65
66 readiness:
67   initialDelaySeconds: 60
68   periodSeconds: 20
69   port: http
70   # Should have a proper readiness endpoint or script
71
72 # application image
73 repository: nexus3.onap.org:10001
74 image: onap/org.onap.dcaegen2.platform.mod.runtime-web:1.1.1
75
76 # Resource Limit flavor -By Default using small
77 flavor: small
78 # Segregation for Different environment (Small and Large)
79 resources:
80   small:
81     limits:
82       cpu: 2
83       memory: 2Gi
84     requests:
85       cpu: 1
86       memory: 1Gi
87   large:
88     limits:
89       cpu: 4
90       memory: 4Gi
91     requests:
92       cpu: 2
93       memory: 2Gi
94   unlimited: {}
95