mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ== |
| 21 | readinessRepository: oomk8s |
| 22 | readinessImage: readiness-check:1.1.0 |
| 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
| 31 | image: onap/policy-pe:1.2-SNAPSHOT-latest |
| 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
| 37 | # application configuration |
mayankg2703 | c798546 | 2018-03-29 14:24:23 +0000 | [diff] [blame] | 38 | config: |
| 39 | papPort: 9091 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 40 | |
| 41 | # default number of instances |
mayankg2703 | c798546 | 2018-03-29 14:24:23 +0000 | [diff] [blame] | 42 | replicaCount: 2 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
| 50 | initialDelaySeconds: 10 |
| 51 | periodSeconds: 10 |
| 52 | # necessary to disable liveness probe when setting breakpoints |
| 53 | # in debugger so K8s doesn't restart unresponsive container |
| 54 | enabled: true |
| 55 | |
| 56 | readiness: |
| 57 | initialDelaySeconds: 10 |
| 58 | periodSeconds: 10 |
| 59 | |
| 60 | service: |
| 61 | type: NodePort |
| 62 | name: pdp |
| 63 | externalPort: 8081 |
| 64 | #Example internal target port if required |
| 65 | #internalPort: <80> |
| 66 | nodePort: 20 |
| 67 | |
| 68 | ingress: |
| 69 | enabled: false |
| 70 | |
| 71 | resources: {} |
| 72 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 73 | # choice for the user. This also increases chances charts run on environments with little |
| 74 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 75 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 76 | # |
| 77 | # Example: |
| 78 | # Configure resource requests and limits |
| 79 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 80 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 81 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 82 | #resources: |
| 83 | # limits: |
| 84 | # cpu: 2 |
| 85 | # memory: 4Gi |
| 86 | # requests: |
| 87 | # cpu: 2 |
| 88 | # memory: 4Gi |