ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2019 Nordix Foundation. |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 3 | # Modifications Copyright (C) 2019-2020 AT&T Intellectual Property. |
Bruno Sakoto | 425d5be | 2020-05-20 07:25:41 -0400 | [diff] [blame] | 4 | # Modifications Copyright (C) 2020 Bell Canada. |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 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 |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 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. |
| 17 | # |
| 18 | # SPDX-License-Identifier: Apache-2.0 |
| 19 | # ============LICENSE_END========================================================= |
| 20 | |
| 21 | ################################################################# |
| 22 | # Global configuration defaults. |
| 23 | ################################################################# |
| 24 | global: |
Bruno Sakoto | 425d5be | 2020-05-20 07:25:41 -0400 | [diff] [blame] | 25 | nodePortPrefixExt: 304 |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 26 | persistence: {} |
Krzysztof Opasiak | 3d9dc8b | 2020-03-31 23:05:16 +0200 | [diff] [blame] | 27 | envsubstImage: dibi/envsubst |
| 28 | |
| 29 | ################################################################# |
| 30 | # Secrets metaconfig |
| 31 | ################################################################# |
| 32 | secrets: |
| 33 | - uid: db-secret |
| 34 | type: basicAuth |
| 35 | externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}' |
| 36 | login: '{{ .Values.db.user }}' |
| 37 | password: '{{ .Values.db.password }}' |
| 38 | passwordPolicy: required |
Dominik Mizyn | 389fca1 | 2020-04-09 22:37:00 +0200 | [diff] [blame] | 39 | - uid: restserver-secret |
| 40 | type: basicAuth |
| 41 | externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}' |
| 42 | login: '{{ .Values.restServer.user }}' |
| 43 | password: '{{ .Values.restServer.password }}' |
| 44 | passwordPolicy: required |
| 45 | - uid: api-secret |
| 46 | type: basicAuth |
| 47 | externalSecret: '{{ tpl (default "" .Values.healthCheckRestClient.api.credsExternalSecret) . }}' |
| 48 | login: '{{ .Values.healthCheckRestClient.api.user }}' |
| 49 | password: '{{ .Values.healthCheckRestClient.api.password }}' |
| 50 | passwordPolicy: required |
| 51 | - uid: distribution-secret |
| 52 | type: basicAuth |
| 53 | externalSecret: '{{ tpl (default "" .Values.healthCheckRestClient.distribution.credsExternalSecret) . }}' |
| 54 | login: '{{ .Values.healthCheckRestClient.distribution.user }}' |
| 55 | password: '{{ .Values.healthCheckRestClient.distribution.password }}' |
| 56 | passwordPolicy: required |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 57 | |
| 58 | ################################################################# |
| 59 | # Application configuration defaults. |
| 60 | ################################################################# |
| 61 | # application image |
| 62 | repository: nexus3.onap.org:10001 |
jhh | 080016d | 2020-05-22 09:59:49 -0500 | [diff] [blame] | 63 | image: onap/policy-pap:2.2.3 |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 64 | pullPolicy: Always |
| 65 | |
| 66 | # flag to enable debugging - application support required |
| 67 | debugEnabled: false |
| 68 | |
| 69 | # application configuration |
| 70 | |
Krzysztof Opasiak | 3d9dc8b | 2020-03-31 23:05:16 +0200 | [diff] [blame] | 71 | db: |
| 72 | user: policy_user |
| 73 | password: policy_user |
Dominik Mizyn | 389fca1 | 2020-04-09 22:37:00 +0200 | [diff] [blame] | 74 | restServer: |
| 75 | user: healthcheck |
| 76 | password: zb!XztG34 |
| 77 | healthCheckRestClient: |
| 78 | api: |
| 79 | user: healthcheck |
| 80 | password: zb!XztG34 |
| 81 | distribution: |
| 82 | user: healthcheck |
| 83 | password: zb!XztG34 |
Krzysztof Opasiak | 3d9dc8b | 2020-03-31 23:05:16 +0200 | [diff] [blame] | 84 | |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 85 | # default number of instances |
| 86 | replicaCount: 1 |
| 87 | |
| 88 | nodeSelector: {} |
| 89 | |
| 90 | affinity: {} |
| 91 | |
| 92 | # probe configuration parameters |
| 93 | liveness: |
| 94 | initialDelaySeconds: 20 |
| 95 | periodSeconds: 10 |
| 96 | # necessary to disable liveness probe when setting breakpoints |
| 97 | # in debugger so K8s doesn't restart unresponsive container |
| 98 | enabled: true |
| 99 | |
| 100 | readiness: |
| 101 | initialDelaySeconds: 20 |
| 102 | periodSeconds: 10 |
| 103 | |
| 104 | service: |
| 105 | type: ClusterIP |
| 106 | name: policy-pap |
| 107 | portName: policy-pap |
| 108 | internalPort: 6969 |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 109 | externalPort: 6969 |
Bruno Sakoto | 425d5be | 2020-05-20 07:25:41 -0400 | [diff] [blame] | 110 | nodePort: 42 |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 111 | |
| 112 | ingress: |
| 113 | enabled: false |
| 114 | |
| 115 | resources: {} |