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: {} |
Dominik Mizyn | c88bcc9 | 2020-04-14 18:20:20 +0200 | [diff] [blame] | 24 | envsubstImage: dibi/envsubst |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 25 | |
| 26 | ################################################################# |
Krzysztof Opasiak | 7e31efc | 2020-04-01 00:21:45 +0200 | [diff] [blame] | 27 | # Secrets metaconfig |
| 28 | ################################################################# |
| 29 | secrets: |
| 30 | - uid: db-secret |
| 31 | type: basicAuth |
| 32 | externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}' |
| 33 | login: '{{ .Values.db.user }}' |
| 34 | password: '{{ .Values.db.password }}' |
| 35 | passwordPolicy: required |
Dominik Mizyn | c88bcc9 | 2020-04-14 18:20:20 +0200 | [diff] [blame] | 36 | - uid: restserver-creds |
| 37 | type: basicAuth |
| 38 | externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}' |
| 39 | login: '{{ .Values.restServer.user }}' |
| 40 | password: '{{ .Values.restServer.password }}' |
| 41 | passwordPolicy: required |
| 42 | - uid: api-creds |
| 43 | type: basicAuth |
| 44 | externalSecret: '{{ tpl (default "" .Values.apiServer.credsExternalSecret) . }}' |
| 45 | login: '{{ .Values.apiServer.user }}' |
| 46 | password: '{{ .Values.apiServer.password }}' |
| 47 | passwordPolicy: required |
Krzysztof Opasiak | 7e31efc | 2020-04-01 00:21:45 +0200 | [diff] [blame] | 48 | |
| 49 | ################################################################# |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 50 | # Application configuration defaults. |
| 51 | ################################################################# |
| 52 | # application image |
| 53 | repository: nexus3.onap.org:10001 |
jhh | a7dbd02 | 2020-07-13 10:55:47 -0500 | [diff] [blame] | 54 | image: onap/policy-xacml-pdp:2.3.0 |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 55 | pullPolicy: Always |
| 56 | |
| 57 | # flag to enable debugging - application support required |
| 58 | debugEnabled: false |
| 59 | |
| 60 | # application configuration |
| 61 | |
Krzysztof Opasiak | 7e31efc | 2020-04-01 00:21:45 +0200 | [diff] [blame] | 62 | db: |
| 63 | user: policy_user |
| 64 | password: policy_user |
Dominik Mizyn | c88bcc9 | 2020-04-14 18:20:20 +0200 | [diff] [blame] | 65 | restServer: |
| 66 | user: healthcheck |
| 67 | password: zb!XztG34 |
| 68 | apiServer: |
| 69 | user: healthcheck |
| 70 | password: zb!XztG34 |
Krzysztof Opasiak | 7e31efc | 2020-04-01 00:21:45 +0200 | [diff] [blame] | 71 | |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 72 | # default number of instances |
ramverma | 39a79a4 | 2019-05-02 13:07:36 +0000 | [diff] [blame] | 73 | replicaCount: 1 |
Michael Mokry | afae997 | 2019-03-11 14:46:34 -0500 | [diff] [blame] | 74 | |
| 75 | nodeSelector: {} |
| 76 | |
| 77 | affinity: {} |
| 78 | |
| 79 | # probe configuration parameters |
| 80 | liveness: |
| 81 | initialDelaySeconds: 20 |
| 82 | periodSeconds: 10 |
| 83 | # necessary to disable liveness probe when setting breakpoints |
| 84 | # in debugger so K8s doesn't restart unresponsive container |
| 85 | enabled: true |
| 86 | |
| 87 | readiness: |
| 88 | initialDelaySeconds: 20 |
| 89 | periodSeconds: 10 |
| 90 | |
| 91 | service: |
| 92 | type: ClusterIP |
| 93 | name: policy-xacml-pdp |
| 94 | portName: policy-xacml-pdp |
| 95 | externalPort: 6969 |
| 96 | internalPort: 6969 |
| 97 | |
| 98 | ingress: |
| 99 | enabled: false |
| 100 | |
| 101 | resources: {} |