blob: 00ce47b4515294945fd2b607d4dd50937cd19999 [file] [log] [blame]
Jack Lucas332b5e72019-02-06 16:03:13 -05001#============LICENSE_START========================================================
2# ================================================================================
Alex Shatov32f99192020-02-25 15:24:02 -05003# Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
Jack Lucas63fa4942021-07-01 14:31:05 -04004# Copyright (c) 2021 J. F. Lucas. All rights reserved.
Jack Lucas332b5e72019-02-06 16:03:13 -05005# ================================================================================
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#################################################################
22global:
23 nodePortPrefix: 302
Jack Lucasc70bc7e2019-09-23 09:02:31 -040024 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040025 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Schmalzried, Terry (ts862m)12db7892020-08-21 20:42:33 -040026secrets:
27 - uid: 'cm-pass'
28 type: password
29 externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
30 password: '{{ .Values.config.cloudifyManagerPassword }}'
31 policy: required
32
Jack Lucas332b5e72019-02-06 16:03:13 -050033config:
Schmalzried, Terry (ts862m)12db7892020-08-21 20:42:33 -040034 cloudifyManagerPassword: "override me"
Jack Lucas332b5e72019-02-06 16:03:13 -050035 logstashServiceName: log-ls
36 logstashPort: 5044
37 # Addresses of other ONAP entities
38 address:
39 consul:
40 host: consul-server
41 port: 8500
Vijay Venkatesh Kumar4112d5c2019-05-07 20:34:39 +000042 policy_xacml_pdp: policy-xacml-pdp
Jack Lucas332b5e72019-02-06 16:03:13 -050043
44#################################################################
45# Application configuration defaults.
46#################################################################
47# application image
Jack Lucas63fa4942021-07-01 14:31:05 -040048image: onap/org.onap.dcaegen2.platform.policy-handler:5.1.3
Jack Lucas332b5e72019-02-06 16:03:13 -050049pullPolicy: Always
50
51# probe configuration parameters
52liveness:
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
60readiness:
61 initialDelaySeconds: 60
62 periodSeconds: 300
63 path: /healthcheck
64 scheme: HTTP
65
66service:
67 type: ClusterIP
68 name: policy-handler
Alex Shatov32f99192020-02-25 15:24:02 -050069 externalPort: 80
Jack Lucas332b5e72019-02-06 16:03:13 -050070 internalPort: 25577
71
72
73# Resource Limit flavor -By Default using small
74flavor: small
75# Segregation for Different environment (Small and Large)
76resources:
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"
farida azmy37481802021-04-11 15:41:32 +020095
96#Pods Service Account
97serviceAccount:
98 nameOverride: dcae-policy-handler
99 roles:
100 - read