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