toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 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 | # Default values for data-router. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | |
| 20 | |
| 21 | # Global configuration defaults |
| 22 | global: |
| 23 | nodePortPrefix: 302 |
| 24 | persistence: {} |
| 25 | |
| 26 | # application image |
| 27 | repository: nexus3.onap.org:10001 |
Gary Wu | bc1e731 | 2018-10-18 09:48:31 -0700 | [diff] [blame] | 28 | image: onap/data-router:1.3.0 |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 29 | pullPolicy: Always |
| 30 | restartPolicy: Always |
| 31 | |
| 32 | # BusyBox image |
| 33 | busyboxRepository: registry.hub.docker.com |
| 34 | busyboxImage: library/busybox:latest |
| 35 | |
| 36 | |
| 37 | # application configuration |
| 38 | config: |
| 39 | keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 40 | keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 41 | |
| 42 | |
| 43 | # default number of instances |
| 44 | replicaCount: 1 |
| 45 | |
| 46 | nodeSelector: {} |
| 47 | |
| 48 | affinity: {} |
| 49 | |
| 50 | # probe configuration parameters |
| 51 | liveness: |
| 52 | initialDelaySeconds: 10 |
| 53 | periodSeconds: 10 |
| 54 | # necessary to disable liveness probe when setting breakpoints |
| 55 | # in debugger so K8s doesn't restart unresponsive container |
| 56 | enabled: true |
| 57 | |
| 58 | readiness: |
| 59 | initialDelaySeconds: 10 |
| 60 | periodSeconds: 10 |
| 61 | |
| 62 | service: |
| 63 | name: pomba-data-router |
| 64 | type: NodePort |
| 65 | externalPort: 9502 |
| 66 | internalPort: 9502 |
| 67 | nodePort: 49 |
| 68 | |
| 69 | ingress: |
| 70 | enabled: false |
| 71 | |
| 72 | persistence: |
| 73 | enabled: true |
| 74 | |
| 75 | ## A manually managed Persistent Volume and Claim |
| 76 | ## Requires persistence.enabled: true |
| 77 | ## If defined, PVC must be created manually before volume will be bound |
| 78 | # existingClaim: |
| 79 | volumeReclaimPolicy: Retain |
| 80 | |
| 81 | ## database data Persistent Volume Storage Class |
| 82 | ## If defined, storageClassName: <storageClass> |
| 83 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 84 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 85 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 86 | ## GKE, AWS & OpenStack) |
| 87 | ## |
| 88 | ## storageClass: "-" |
| 89 | accessMode: ReadWriteMany |
| 90 | size: 2Gi |
| 91 | mountPath: /dockerdata-nfs |
| 92 | mountSubPath: pomba/data-router/logs |
| 93 | |
| 94 | resources: {} |
| 95 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 96 | # choice for the user. This also increases chances charts run on environments with little |
| 97 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 98 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 99 | # |
| 100 | # Example: |
| 101 | # Configure resource requests and limits |
| 102 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 103 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 104 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 105 | #resources: |
| 106 | # limits: |
| 107 | # cpu: 2 |
| 108 | # memory: 4Gi |
| 109 | # requests: |
| 110 | # cpu: 2 |
| 111 | # memory: 4Gi |