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