blob: 95bbe1e5ff6984d4337386917739ca3037ab6c51 [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 Lucas332b5e72019-02-06 16:03:13 -05004# ================================================================================
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#################################################################
21global:
22 nodePortPrefix: 302
Jack Lucasc70bc7e2019-09-23 09:02:31 -040023 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Vijay Venkatesh Kumar6ef010c2019-05-01 18:41:35 +000024 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0
Jack Lucas332b5e72019-02-06 16:03:13 -050025
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
Alex Shatov32f99192020-02-25 15:24:02 -050048image: onap/org.onap.dcaegen2.platform.policy-handler:5.1.0
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"