blob: 7b9c561a61bee926ef3494a3dc217458bfa90fdd [file] [log] [blame]
mayankg2703ced85142018-03-20 05:42:53 +00001# Copyright © 2017 Amdocs, Bell Canada
jhhd2b9ed82019-12-10 17:15:28 -06002# Modifications Copyright © 2018,2019 AT&T
mayankg2703ced85142018-03-20 05:42:53 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
mayankg2703ced85142018-03-20 05:42:53 +000021 readinessRepository: oomk8s
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +010022 readinessImage: readiness-check:2.0.2
mayankg2703ced85142018-03-20 05:42:53 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25
26#################################################################
Krzysztof Opasiake0784a92020-04-01 00:46:48 +020027# Secrets metaconfig
28#################################################################
29secrets:
30 - uid: db-secret
31 type: basicAuth
32 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
33 login: '{{ .Values.db.user }}'
34 password: '{{ .Values.db.password }}'
35 passwordPolicy: required
36
37#################################################################
mayankg2703ced85142018-03-20 05:42:53 +000038# Application configuration defaults.
39#################################################################
40# application image
41repository: nexus3.onap.org:10001
jhhd2b9ed82019-12-10 17:15:28 -060042image: onap/policy-pe:1.6.1
mayankg2703ced85142018-03-20 05:42:53 +000043pullPolicy: Always
44
45# flag to enable debugging - application support required
46debugEnabled: false
47
48# application configuration
Krzysztof Opasiake0784a92020-04-01 00:46:48 +020049
50db:
51 user: policy_user
52 password: policy_user
53
mayankg2703c7985462018-03-29 14:24:23 +000054config:
55 papPort: 9091
mayankg2703ced85142018-03-20 05:42:53 +000056
57# default number of instances
Jorge Hernandezd9f75452018-06-04 11:18:52 -050058replicaCount: 1
mayankg2703ced85142018-03-20 05:42:53 +000059
60nodeSelector: {}
61
62affinity: {}
63
64# probe configuration parameters
65liveness:
66 initialDelaySeconds: 10
67 periodSeconds: 10
68 # necessary to disable liveness probe when setting breakpoints
69 # in debugger so K8s doesn't restart unresponsive container
70 enabled: true
71
72readiness:
73 initialDelaySeconds: 10
74 periodSeconds: 10
75
76service:
Jorge Hernandez4519ccc2018-05-09 08:50:59 -050077 type: ClusterIP
mayankg2703ced85142018-03-20 05:42:53 +000078 name: pdp
BorislavG1ffbd992018-04-24 07:56:27 +000079 portName: pdp
Jorge Hernandez4519ccc2018-05-09 08:50:59 -050080 internalPort: 8081
mayankg2703ced85142018-03-20 05:42:53 +000081 externalPort: 8081
mayankg2703ced85142018-03-20 05:42:53 +000082
83ingress:
84 enabled: false
85
vaibhavjayas4136f5d2018-08-17 07:01:05 +000086# Resource Limit flavor -By Default using small
87flavor: small
88# Segregation for Different environment (Small and Large)
89resources:
90 small:
91 limits:
92 cpu: 1
93 memory: 4Gi
94 requests:
95 cpu: 10m
96 memory: 1Gi
97 large:
98 limits:
99 cpu: 2
100 memory: 8Gi
101 requests:
102 cpu: 20m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000103 memory: 2Gi
Pamela Dragosh54048d32018-11-09 07:09:41 -0500104 unlimited: {}