blob: 35b2711b04b0a56127165e105df6887a3d47d070 [file] [log] [blame]
mmis95971132018-07-17 00:13:13 +01001# ============LICENSE_START=======================================================
2# Copyright (C) 2018 Ericsson. All rights reserved.
jhhd2b9ed82019-12-10 17:15:28 -06003# Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
mmis95971132018-07-17 00:13:13 +01004# ================================================================================
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#
17# SPDX-License-Identifier: Apache-2.0
18# ============LICENSE_END=========================================================
19
20#################################################################
21# Global configuration defaults.
22#################################################################
23global:
24 nodePortPrefix: 302
25 persistence: {}
26
27#################################################################
Dominik Mizynb8c44b42020-04-21 10:48:27 +020028# Secrets metaconfig
29#################################################################
30secrets:
31 - uid: restserver-creds
32 type: basicAuth
33 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
34 login: '{{ .Values.restServer.user }}'
35 password: '{{ .Values.restServer.password }}'
36 - uid: truststore-pass
37 type: password
38 externalSecret: '{{ tpl (default "" .Values.truststore.passwordExternalSecret) . }}'
39 password: '{{ .Values.truststore.password }}'
40 policy: required
41
42#################################################################
mmis95971132018-07-17 00:13:13 +010043# Application configuration defaults.
44#################################################################
45# application image
46repository: nexus3.onap.org:10001
jhha7dbd022020-07-13 10:55:47 -050047image: onap/policy-apex-pdp:2.4.0
mmis95971132018-07-17 00:13:13 +010048pullPolicy: Always
49
50# flag to enable debugging - application support required
51debugEnabled: false
52
53# application configuration
54
Dominik Mizynb8c44b42020-04-21 10:48:27 +020055restServer:
56 user: healthcheck
57 password: zb!XztG34
58truststore:
59 password: Pol1cy_0nap
60
mmis95971132018-07-17 00:13:13 +010061# default number of instances
62replicaCount: 1
63
64nodeSelector: {}
65
66affinity: {}
67
68# probe configuration parameters
69liveness:
70 initialDelaySeconds: 20
71 periodSeconds: 10
72 # necessary to disable liveness probe when setting breakpoints
73 # in debugger so K8s doesn't restart unresponsive container
74 enabled: true
75
76readiness:
77 initialDelaySeconds: 20
78 periodSeconds: 10
79
80service:
jhh59ce22d2019-05-14 17:59:36 -050081 type: ClusterIP
mmis95971132018-07-17 00:13:13 +010082 name: policy-apex-pdp
83 portName: policy-apex-pdp
a.sreekumar7f4efaf2019-04-16 16:24:01 +000084 externalPort: 6969
jhh59ce22d2019-05-14 17:59:36 -050085 internalPort: 6969
mmis95971132018-07-17 00:13:13 +010086 nodePort: 37
87
88ingress:
89 enabled: false
90
vaibhavjayas4136f5d2018-08-17 07:01:05 +000091# Resource Limit flavor -By Default using small
92flavor: small
93# Segregation for Different environment (Small and Large)
94resources:
95 small:
96 limits:
97 cpu: 1
98 memory: 4Gi
99 requests:
100 cpu: 10m
101 memory: 1Gi
102 large:
103 limits:
104 cpu: 2
105 memory: 8Gi
106 requests:
107 cpu: 20m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000108 memory: 2Gi
Pamela Dragosh54048d32018-11-09 07:09:41 -0500109 unlimited: {}