blob: 7edb3ab87101415fd4d4109f852fdb68303d70fe [file] [log] [blame]
ramverma1a3b8ad2019-02-25 12:45:11 +00001# ============LICENSE_START=======================================================
2# Copyright (C) 2019 Nordix Foundation.
jhhd2b9ed82019-12-10 17:15:28 -06003# Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
ramverma1a3b8ad2019-02-25 12:45:11 +00004# ================================================================================
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 persistence: {}
Krzysztof Opasiak3d9dc8b2020-03-31 23:05:16 +020025 envsubstImage: dibi/envsubst
26
27#################################################################
28# Secrets metaconfig
29#################################################################
30secrets:
31 - uid: db-secret
32 type: basicAuth
33 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
34 login: '{{ .Values.db.user }}'
35 password: '{{ .Values.db.password }}'
36 passwordPolicy: required
ramverma1a3b8ad2019-02-25 12:45:11 +000037
38#################################################################
39# Application configuration defaults.
40#################################################################
41# application image
42repository: nexus3.onap.org:10001
jhhd2b9ed82019-12-10 17:15:28 -060043image: onap/policy-pap:2.2.0
ramverma1a3b8ad2019-02-25 12:45:11 +000044pullPolicy: Always
45
46# flag to enable debugging - application support required
47debugEnabled: false
48
49# application configuration
50
Krzysztof Opasiak3d9dc8b2020-03-31 23:05:16 +020051db:
52 user: policy_user
53 password: policy_user
54
ramverma1a3b8ad2019-02-25 12:45:11 +000055# default number of instances
56replicaCount: 1
57
58nodeSelector: {}
59
60affinity: {}
61
62# probe configuration parameters
63liveness:
64 initialDelaySeconds: 20
65 periodSeconds: 10
66 # necessary to disable liveness probe when setting breakpoints
67 # in debugger so K8s doesn't restart unresponsive container
68 enabled: true
69
70readiness:
71 initialDelaySeconds: 20
72 periodSeconds: 10
73
74service:
75 type: ClusterIP
76 name: policy-pap
77 portName: policy-pap
78 internalPort: 6969
jhh59ce22d2019-05-14 17:59:36 -050079 externalPort: 6969
ramverma1a3b8ad2019-02-25 12:45:11 +000080
81ingress:
82 enabled: false
83
84resources: {}