mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2018 Ericsson. All rights reserved. |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 3 | # Modifications Copyright (C) 2019-2020 AT&T Intellectual Property. |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | |
| 20 | ################################################################# |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 21 | # Secrets metaconfig |
| 22 | ################################################################# |
| 23 | secrets: |
| 24 | - uid: restserver-creds |
| 25 | type: basicAuth |
| 26 | externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}' |
| 27 | login: '{{ .Values.restServer.user }}' |
| 28 | password: '{{ .Values.restServer.password }}' |
| 29 | passwordPolicy: required |
| 30 | - uid: apiparameters-creds |
| 31 | type: basicAuth |
| 32 | externalSecret: '{{ tpl (default "" .Values.apiParameters.credsExternalSecret) . }}' |
| 33 | login: '{{ .Values.apiParameters.user }}' |
| 34 | password: '{{ .Values.apiParameters.password }}' |
| 35 | passwordPolicy: required |
| 36 | - uid: papparameters-creds |
| 37 | type: basicAuth |
| 38 | externalSecret: '{{ tpl (default "" .Values.papParameters.credsExternalSecret) . }}' |
| 39 | login: '{{ .Values.papParameters.user }}' |
| 40 | password: '{{ .Values.papParameters.password }}' |
| 41 | passwordPolicy: required |
| 42 | - uid: sdcbe-creds |
| 43 | type: basicAuth |
| 44 | externalSecret: '{{ tpl (default "" .Values.sdcBe.credsExternalSecret) . }}' |
| 45 | login: '{{ .Values.sdcBe.user }}' |
| 46 | password: '{{ .Values.sdcBe.password }}' |
| 47 | passwordPolicy: required |
| 48 | |
| 49 | ################################################################# |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 50 | # Global configuration defaults. |
| 51 | ################################################################# |
| 52 | global: |
| 53 | persistence: {} |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 54 | envsubstImage: dibi/envsubst |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 55 | |
| 56 | ################################################################# |
| 57 | # Application configuration defaults. |
| 58 | ################################################################# |
| 59 | # application image |
| 60 | repository: nexus3.onap.org:10001 |
jhh | a7dbd02 | 2020-07-13 10:55:47 -0500 | [diff] [blame^] | 61 | image: onap/policy-distribution:2.4.0 |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 62 | pullPolicy: Always |
| 63 | |
| 64 | # flag to enable debugging - application support required |
| 65 | debugEnabled: false |
| 66 | |
| 67 | # application configuration |
| 68 | |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 69 | restServer: |
| 70 | user: healthcheck |
| 71 | password: zb!XztG34 |
| 72 | apiParameters: |
| 73 | user: healthcheck |
| 74 | password: zb!XztG34 |
| 75 | papParameters: |
| 76 | user: healthcheck |
| 77 | password: zb!XztG34 |
| 78 | sdcBe: |
| 79 | user: policy |
| 80 | password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 81 | |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 82 | # default number of instances |
| 83 | replicaCount: 1 |
| 84 | |
| 85 | nodeSelector: {} |
| 86 | |
| 87 | affinity: {} |
| 88 | |
| 89 | # probe configuration parameters |
| 90 | liveness: |
| 91 | initialDelaySeconds: 20 |
| 92 | periodSeconds: 10 |
| 93 | # necessary to disable liveness probe when setting breakpoints |
| 94 | # in debugger so K8s doesn't restart unresponsive container |
| 95 | enabled: true |
| 96 | |
| 97 | readiness: |
| 98 | initialDelaySeconds: 20 |
| 99 | periodSeconds: 10 |
| 100 | |
| 101 | service: |
| 102 | type: ClusterIP |
| 103 | name: policy-distribution |
| 104 | portName: policy-distribution |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 105 | externalPort: 6969 |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 106 | internalPort: 6969 |
| 107 | |
| 108 | ingress: |
| 109 | enabled: false |
| 110 | |
| 111 | resources: {} |