1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2018 Ericsson. All rights reserved.
3 # Modifications Copyright (C) 2019-2021 AT&T Intellectual Property.
4 # Modifications Copyright (C) 2023 Nordix Foundation
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 #################################################################
23 #################################################################
25 - uid: restserver-creds
27 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
28 login: '{{ .Values.restServer.user }}'
29 password: '{{ .Values.restServer.password }}'
30 passwordPolicy: required
31 - uid: apiparameters-creds
33 externalSecret: '{{ tpl (default "" .Values.apiParameters.credsExternalSecret) . }}'
34 login: '{{ .Values.apiParameters.user }}'
35 password: '{{ .Values.apiParameters.password }}'
36 passwordPolicy: required
37 - uid: papparameters-creds
39 externalSecret: '{{ tpl (default "" .Values.papParameters.credsExternalSecret) . }}'
40 login: '{{ .Values.papParameters.user }}'
41 password: '{{ .Values.papParameters.password }}'
42 passwordPolicy: required
45 externalSecret: '{{ tpl (default "" .Values.sdcBe.credsExternalSecret) . }}'
46 login: '{{ .Values.sdcBe.user }}'
47 password: '{{ .Values.sdcBe.password }}'
48 passwordPolicy: required
50 #################################################################
51 # Global configuration defaults.
52 #################################################################
57 #################################################################
58 # Application configuration defaults.
59 #################################################################
61 image: onap/policy-distribution:3.1.0
64 # flag to enable debugging - application support required
67 #Strimzi Kafka User def
70 - name: policy-distribution
76 operations: [Read, Write]
89 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
91 # default number of instances
98 # probe configuration parameters
100 initialDelaySeconds: 20
102 # necessary to disable liveness probe when setting breakpoints
103 # in debugger so K8s doesn't restart unresponsive container
107 initialDelaySeconds: 20
112 name: policy-distribution
123 authorizedPrincipals:
124 - serviceAccount: policy-pap-read
144 #Pods Service Account
146 nameOverride: policy-distribution
152 # Override the labels based on the Prometheus config parameter: serviceMonitorSelector.
153 # The default operator for prometheus enforces the below label.
157 port: policy-distribution
162 externalSecretNameSuffix: policy-distribution-restserver-creds
163 externalSecretUserKey: login
164 externalSecretPasswordKey: password
166 app: '{{ include "common.name" . }}'
167 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
168 release: '{{ include "common.release" . }}'
169 heritage: '{{ .Release.Service }}'