mmis | 9597113 | 2018-07-17 00:13:13 +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 | 9597113 | 2018-07-17 00:13:13 +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 | ################################################################# |
| 21 | # Global configuration defaults. |
| 22 | ################################################################# |
| 23 | global: |
| 24 | nodePortPrefix: 302 |
| 25 | persistence: {} |
| 26 | |
| 27 | ################################################################# |
Dominik Mizyn | b8c44b4 | 2020-04-21 10:48:27 +0200 | [diff] [blame] | 28 | # Secrets metaconfig |
| 29 | ################################################################# |
| 30 | secrets: |
| 31 | - uid: restserver-creds |
| 32 | type: basicAuth |
| 33 | externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}' |
| 34 | login: '{{ .Values.restServer.user }}' |
| 35 | password: '{{ .Values.restServer.password }}' |
| 36 | - uid: truststore-pass |
| 37 | type: password |
| 38 | externalSecret: '{{ tpl (default "" .Values.truststore.passwordExternalSecret) . }}' |
| 39 | password: '{{ .Values.truststore.password }}' |
| 40 | policy: required |
| 41 | |
| 42 | ################################################################# |
mmis | 9597113 | 2018-07-17 00:13:13 +0100 | [diff] [blame] | 43 | # Application configuration defaults. |
| 44 | ################################################################# |
| 45 | # application image |
| 46 | repository: nexus3.onap.org:10001 |
jhh | 110657a | 2020-04-09 16:35:50 -0500 | [diff] [blame] | 47 | image: onap/policy-apex-pdp:2.3.1 |
mmis | 9597113 | 2018-07-17 00:13:13 +0100 | [diff] [blame] | 48 | pullPolicy: Always |
| 49 | |
| 50 | # flag to enable debugging - application support required |
| 51 | debugEnabled: false |
| 52 | |
| 53 | # application configuration |
| 54 | |
Dominik Mizyn | b8c44b4 | 2020-04-21 10:48:27 +0200 | [diff] [blame] | 55 | restServer: |
| 56 | user: healthcheck |
| 57 | password: zb!XztG34 |
| 58 | truststore: |
| 59 | password: Pol1cy_0nap |
| 60 | |
mmis | 9597113 | 2018-07-17 00:13:13 +0100 | [diff] [blame] | 61 | # default number of instances |
| 62 | replicaCount: 1 |
| 63 | |
| 64 | nodeSelector: {} |
| 65 | |
| 66 | affinity: {} |
| 67 | |
| 68 | # probe configuration parameters |
| 69 | liveness: |
| 70 | initialDelaySeconds: 20 |
| 71 | periodSeconds: 10 |
| 72 | # necessary to disable liveness probe when setting breakpoints |
| 73 | # in debugger so K8s doesn't restart unresponsive container |
| 74 | enabled: true |
| 75 | |
| 76 | readiness: |
| 77 | initialDelaySeconds: 20 |
| 78 | periodSeconds: 10 |
| 79 | |
| 80 | service: |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 81 | type: ClusterIP |
mmis | 9597113 | 2018-07-17 00:13:13 +0100 | [diff] [blame] | 82 | name: policy-apex-pdp |
| 83 | portName: policy-apex-pdp |
a.sreekumar | 7f4efaf | 2019-04-16 16:24:01 +0000 | [diff] [blame] | 84 | externalPort: 6969 |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 85 | internalPort: 6969 |
mmis | 9597113 | 2018-07-17 00:13:13 +0100 | [diff] [blame] | 86 | nodePort: 37 |
| 87 | |
| 88 | ingress: |
| 89 | enabled: false |
| 90 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 91 | # Resource Limit flavor -By Default using small |
| 92 | flavor: small |
| 93 | # Segregation for Different environment (Small and Large) |
| 94 | resources: |
| 95 | small: |
| 96 | limits: |
| 97 | cpu: 1 |
| 98 | memory: 4Gi |
| 99 | requests: |
| 100 | cpu: 10m |
| 101 | memory: 1Gi |
| 102 | large: |
| 103 | limits: |
| 104 | cpu: 2 |
| 105 | memory: 8Gi |
| 106 | requests: |
| 107 | cpu: 20m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 108 | memory: 2Gi |
Pamela Dragosh | 54048d3 | 2018-11-09 07:09:41 -0500 | [diff] [blame] | 109 | unlimited: {} |