1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved.
3 # Modifications Copyright (C) 2022 Bell Canada. All rights reserved.
4 # Modification (C) 2023 Deutsche Telekom. All rights reserved.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
21 #################################################################
22 # Global configuration defaults.
23 #################################################################
30 #################################################################
32 #################################################################
36 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
37 login: '{{ .Values.db.user }}'
38 password: '{{ .Values.db.password }}'
39 passwordPolicy: required
40 - uid: restserver-creds
42 externalSecret: '{{ tpl (default "" .Values.restServer.apiUserExternalSecret) . }}'
43 login: '{{ .Values.restServer.user }}'
44 password: '{{ .Values.restServer.password }}'
45 passwordPolicy: required
47 #################################################################
48 # Application configuration defaults.
49 #################################################################
51 image: onap/policy-api:2.8.2
54 # flag to enable debugging - application support required
57 # application configuration
63 pgName: policy-pg-primary
71 # default number of instances
78 # probe configuration parameters
80 initialDelaySeconds: 60
82 # necessary to disable liveness probe when setting breakpoints
83 # in debugger so K8s doesn't restart unresponsive container
87 initialDelaySeconds: 10
89 api: /policy/api/v1/healthcheck
124 #Pods Service Account
126 nameOverride: policy-api
132 # Override the labels based on the Prometheus config parameter: serviceMonitorSelector.
133 # The default operator for prometheus enforces the below label.
142 externalSecretNameSuffix: policy-api-user-creds
143 externalSecretUserKey: login
144 externalSecretPasswordKey: password
146 app: '{{ include "common.name" . }}'
147 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
148 release: '{{ include "common.release" . }}'
149 heritage: '{{ .Release.Service }}'