Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame^] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
| 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 | # Default values for data-router. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
| 20 | loggingImage: beats/filebeat:5.5.0 |
| 21 | |
| 22 | # application image |
| 23 | repository: nexus3.onap.org:10001 |
| 24 | image: onap/data-router:1.7.0 |
| 25 | pullPolicy: Always |
| 26 | restartPolicy: Always |
| 27 | flavor: small |
| 28 | flavorOverride: small |
| 29 | dockerhubRepository: registry.hub.docker.com |
| 30 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
| 31 | |
| 32 | # application configuration |
| 33 | config: |
| 34 | keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 35 | keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 36 | schemaTranslatorList: config |
| 37 | schemaVersionList: "v11,v12,v13,v14,v15,v16,v17,v18,v19" |
| 38 | schemaApiDefault: "v19" |
| 39 | |
| 40 | |
| 41 | # default number of instances |
| 42 | replicaCount: 1 |
| 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
| 50 | initialDelaySeconds: 300 |
| 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: 120 |
| 58 | periodSeconds: 10 |
| 59 | |
| 60 | service: |
| 61 | name: aai-data-router |
| 62 | internalPort: 9502 |
| 63 | |
| 64 | ingress: |
| 65 | enabled: false |
| 66 | |
| 67 | persistence: |
| 68 | enabled: true |
| 69 | |
| 70 | ## A manually managed Persistent Volume and Claim |
| 71 | ## Requires persistence.enabled: true |
| 72 | ## If defined, PVC must be created manually before volume will be bound |
| 73 | # existingClaim: |
| 74 | volumeReclaimPolicy: Retain |
| 75 | |
| 76 | ## database data Persistent Volume Storage Class |
| 77 | ## If defined, storageClassName: <storageClass> |
| 78 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 79 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 80 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 81 | ## GKE, AWS & OpenStack) |
| 82 | ## |
| 83 | ## storageClass: "-" |
| 84 | accessMode: ReadWriteMany |
| 85 | size: 2Gi |
| 86 | mountPath: /dockerdata-nfs |
| 87 | mountSubPath: aai/data-router/logs |
| 88 | |
| 89 | resources: |
| 90 | small: |
| 91 | limits: |
| 92 | cpu: 2 |
| 93 | memory: 4Gi |
| 94 | requests: |
| 95 | cpu: 0.25 |
| 96 | memory: 750Mi |
| 97 | large: |
| 98 | limits: |
| 99 | cpu: 4 |
| 100 | memory: 8Gi |
| 101 | requests: |
| 102 | cpu: 0.5 |
| 103 | memory: 1536Mi |
| 104 | unlimited: {} |
| 105 | |
| 106 | # Entity Event route configuration |
| 107 | event: |
| 108 | port: |
| 109 | dmaap: 3905 |
| 110 | protocol: https |
| 111 | consumer: |
| 112 | topic: AAI-EVENT |