Merge "[COMMON] Add limits to mongo statefulsets."
[oom.git] / kubernetes / dcaegen2 / components / dcae-policy-handler / 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   readinessImage: onap/oom/readiness:3.0.1
24   loggingRepository: docker.elastic.co
25   loggingImage: beats/filebeat:5.5.0
26   tlsRepository: nexus3.onap.org:10001
27   tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
28   consulLoaderRepository: nexus3.onap.org:10001
29   consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0
30   repositoryCred:
31     user: docker
32     password: docker
33
34 secrets:
35   - uid: 'cm-pass'
36     type: password
37     externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
38     password: '{{ .Values.config.cloudifyManagerPassword }}'
39     policy: required
40
41 config:
42   cloudifyManagerPassword: "override me"
43   logstashServiceName: log-ls
44   logstashPort: 5044
45   # Addresses of other ONAP entities
46   address:
47     consul:
48       host: consul-server
49       port: 8500
50     policy_xacml_pdp: policy-xacml-pdp
51
52 #################################################################
53 # Application configuration defaults.
54 #################################################################
55 # application image
56 repository: nexus3.onap.org:10001
57 image: onap/org.onap.dcaegen2.platform.policy-handler:5.1.0
58 pullPolicy: Always
59
60 # probe configuration parameters
61 liveness:
62   initialDelaySeconds: 10
63   periodSeconds: 10
64   # necessary to disable liveness probe when setting breakpoints
65   # in debugger so K8s doesn't restart unresponsive container
66   # liveness not desirable for Cloudify Manager container
67   enabled: false
68
69 readiness:
70   initialDelaySeconds: 60
71   periodSeconds: 300
72   path: /healthcheck
73   scheme: HTTP
74
75 service:
76   type: ClusterIP
77   name: policy-handler
78   externalPort: 80
79   internalPort: 25577
80
81
82 # Resource Limit flavor -By Default using small
83 flavor: small
84 # Segregation for Different environment (Small and Large)
85 resources:
86   small:
87     limits:
88       cpu: 2
89       memory: 2Gi
90     requests:
91       cpu: 1
92       memory: 1Gi
93   large:
94     limits:
95       cpu: 4
96       memory: 4Gi
97     requests:
98       cpu: 2
99       memory: 2Gi
100   unlimited: {}
101 # Kubernetes namespace for components deployed via Cloudify manager
102 # If empty, use the common namespace
103 # dcae_ns: "dcae"