00ce47b4515294945fd2b607d4dd50937cd19999
[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 # Copyright (c) 2021 J. F. Lucas.  All rights reserved.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #     http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
18
19 #################################################################
20 # Global configuration defaults.
21 #################################################################
22 global:
23   nodePortPrefix: 302
24   tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
25   consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
26 secrets:
27   - uid: 'cm-pass'
28     type: password
29     externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
30     password: '{{ .Values.config.cloudifyManagerPassword }}'
31     policy: required
32
33 config:
34   cloudifyManagerPassword: "override me"
35   logstashServiceName: log-ls
36   logstashPort: 5044
37   # Addresses of other ONAP entities
38   address:
39     consul:
40       host: consul-server
41       port: 8500
42     policy_xacml_pdp: policy-xacml-pdp
43
44 #################################################################
45 # Application configuration defaults.
46 #################################################################
47 # application image
48 image: onap/org.onap.dcaegen2.platform.policy-handler:5.1.3
49 pullPolicy: Always
50
51 # probe configuration parameters
52 liveness:
53   initialDelaySeconds: 10
54   periodSeconds: 10
55   # necessary to disable liveness probe when setting breakpoints
56   # in debugger so K8s doesn't restart unresponsive container
57   # liveness not desirable for Cloudify Manager container
58   enabled: false
59
60 readiness:
61   initialDelaySeconds: 60
62   periodSeconds: 300
63   path: /healthcheck
64   scheme: HTTP
65
66 service:
67   type: ClusterIP
68   name: policy-handler
69   externalPort: 80
70   internalPort: 25577
71
72
73 # Resource Limit flavor -By Default using small
74 flavor: small
75 # Segregation for Different environment (Small and Large)
76 resources:
77   small:
78     limits:
79       cpu: 2
80       memory: 2Gi
81     requests:
82       cpu: 1
83       memory: 1Gi
84   large:
85     limits:
86       cpu: 4
87       memory: 4Gi
88     requests:
89       cpu: 2
90       memory: 2Gi
91   unlimited: {}
92 # Kubernetes namespace for components deployed via Cloudify manager
93 # If empty, use the common namespace
94 # dcae_ns: "dcae"
95
96 #Pods Service Account
97 serviceAccount:
98   nameOverride: dcae-policy-handler
99   roles:
100     - read