Chenfei Gao | 9292e88 | 2019-02-27 22:14:45 -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. |
Chenfei Gao | 9292e88 | 2019-02-27 22:14:45 -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 | nodePortPrefix: 304 |
| 24 | persistence: {} |
| 25 | |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 31 | image: onap/policy-api:2.2.1 |
Chenfei Gao | 9292e88 | 2019-02-27 22:14:45 -0500 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
| 37 | # application configuration |
| 38 | |
| 39 | # default number of instances |
| 40 | replicaCount: 1 |
| 41 | |
| 42 | nodeSelector: {} |
| 43 | |
| 44 | affinity: {} |
| 45 | |
| 46 | # probe configuration parameters |
| 47 | liveness: |
| 48 | initialDelaySeconds: 20 |
| 49 | periodSeconds: 10 |
| 50 | # necessary to disable liveness probe when setting breakpoints |
| 51 | # in debugger so K8s doesn't restart unresponsive container |
| 52 | enabled: true |
| 53 | |
| 54 | readiness: |
| 55 | initialDelaySeconds: 20 |
| 56 | periodSeconds: 10 |
| 57 | |
| 58 | service: |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 59 | type: ClusterIP |
Chenfei Gao | 9292e88 | 2019-02-27 22:14:45 -0500 | [diff] [blame] | 60 | name: policy-api |
| 61 | portName: policy-api |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 62 | externalPort: 6969 |
Chenfei Gao | 9292e88 | 2019-02-27 22:14:45 -0500 | [diff] [blame] | 63 | internalPort: 6969 |
| 64 | nodePort: 40 |
| 65 | |
| 66 | ingress: |
| 67 | enabled: false |
| 68 | |
| 69 | resources: {} |