blob: 35700d9f9c04f43b1b5277085cf446a565aa2622 [file] [log] [blame]
Chenfei Gao9292e882019-02-27 22:14:45 -05001# ============LICENSE_START=======================================================
jhhd2b9ed82019-12-10 17:15:28 -06002# Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
Chenfei Gao9292e882019-02-27 22:14:45 -05003# ================================================================================
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# SPDX-License-Identifier: Apache-2.0
17# ============LICENSE_END=========================================================
18
19#################################################################
20# Global configuration defaults.
21#################################################################
22global:
23 nodePortPrefix: 304
24 persistence: {}
Krzysztof Opasiak09d1b312020-03-31 23:44:22 +020025 envsubstImage: dibi/envsubst
26
27#################################################################
28# Secrets metaconfig
29#################################################################
30secrets:
Dominik Mizyn11038102020-04-14 17:14:42 +020031 - uid: db-creds
Krzysztof Opasiak09d1b312020-03-31 23:44:22 +020032 type: basicAuth
33 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
34 login: '{{ .Values.db.user }}'
35 password: '{{ .Values.db.password }}'
36 passwordPolicy: required
Dominik Mizyn11038102020-04-14 17:14:42 +020037 - uid: restserver-creds
38 type: basicAuth
39 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
40 login: '{{ .Values.restServer.user }}'
41 password: '{{ .Values.restServer.password }}'
42 passwordPolicy: required
Chenfei Gao9292e882019-02-27 22:14:45 -050043
44#################################################################
45# Application configuration defaults.
46#################################################################
47# application image
48repository: nexus3.onap.org:10001
jhha7dbd022020-07-13 10:55:47 -050049image: onap/policy-api:2.3.0
Chenfei Gao9292e882019-02-27 22:14:45 -050050pullPolicy: Always
51
52# flag to enable debugging - application support required
53debugEnabled: false
54
55# application configuration
Krzysztof Opasiak09d1b312020-03-31 23:44:22 +020056db:
57 user: policy_user
58 password: policy_user
Dominik Mizyn11038102020-04-14 17:14:42 +020059restServer:
60 user: healthcheck
61 password: zb!XztG34
Chenfei Gao9292e882019-02-27 22:14:45 -050062
63# default number of instances
64replicaCount: 1
65
66nodeSelector: {}
67
68affinity: {}
69
70# probe configuration parameters
71liveness:
72 initialDelaySeconds: 20
73 periodSeconds: 10
74 # necessary to disable liveness probe when setting breakpoints
75 # in debugger so K8s doesn't restart unresponsive container
76 enabled: true
77
78readiness:
79 initialDelaySeconds: 20
80 periodSeconds: 10
81
82service:
jhh59ce22d2019-05-14 17:59:36 -050083 type: ClusterIP
Chenfei Gao9292e882019-02-27 22:14:45 -050084 name: policy-api
85 portName: policy-api
jhh59ce22d2019-05-14 17:59:36 -050086 externalPort: 6969
Chenfei Gao9292e882019-02-27 22:14:45 -050087 internalPort: 6969
88 nodePort: 40
89
90ingress:
91 enabled: false
92
93resources: {}