Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 2 | # Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved. |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 3 | # ================================================================================ |
| 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 | ################################################################# |
| 22 | global: |
| 23 | persistence: {} |
| 24 | |
| 25 | ################################################################# |
Krzysztof Opasiak | 7e31efc | 2020-04-01 00:21:45 +0200 | [diff] [blame] | 26 | # Secrets metaconfig |
| 27 | ################################################################# |
| 28 | secrets: |
| 29 | - uid: db-secret |
| 30 | type: basicAuth |
| 31 | externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}' |
| 32 | login: '{{ .Values.db.user }}' |
| 33 | password: '{{ .Values.db.password }}' |
| 34 | passwordPolicy: required |
| 35 | |
| 36 | ################################################################# |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 37 | # Application configuration defaults. |
| 38 | ################################################################# |
| 39 | # application image |
| 40 | repository: nexus3.onap.org:10001 |
jhh | 110657a | 2020-04-09 16:35:50 -0500 | [diff] [blame] | 41 | image: onap/policy-xacml-pdp:2.2.1 |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 42 | pullPolicy: Always |
| 43 | |
| 44 | # flag to enable debugging - application support required |
| 45 | debugEnabled: false |
| 46 | |
| 47 | # application configuration |
| 48 | |
Krzysztof Opasiak | 7e31efc | 2020-04-01 00:21:45 +0200 | [diff] [blame] | 49 | db: |
| 50 | user: policy_user |
| 51 | password: policy_user |
| 52 | |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 53 | # default number of instances |
ramverma | 39a79a4 | 2019-05-02 13:07:36 +0000 | [diff] [blame] | 54 | replicaCount: 1 |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 55 | |
| 56 | nodeSelector: {} |
| 57 | |
| 58 | affinity: {} |
| 59 | |
| 60 | # probe configuration parameters |
| 61 | liveness: |
| 62 | initialDelaySeconds: 20 |
| 63 | periodSeconds: 10 |
| 64 | # necessary to disable liveness probe when setting breakpoints |
| 65 | # in debugger so K8s doesn't restart unresponsive container |
| 66 | enabled: true |
| 67 | |
| 68 | readiness: |
| 69 | initialDelaySeconds: 20 |
| 70 | periodSeconds: 10 |
| 71 | |
| 72 | service: |
| 73 | type: ClusterIP |
| 74 | name: policy-xacml-pdp |
| 75 | portName: policy-xacml-pdp |
| 76 | externalPort: 6969 |
| 77 | internalPort: 6969 |
| 78 | |
| 79 | ingress: |
| 80 | enabled: false |
| 81 | |
| 82 | resources: {} |