Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 1 | # Copyright © 2018 Orange |
| 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 | persistence: {} |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 22 | |
| 23 | |
| 24 | ################################################################# |
| 25 | # Application configuration defaults. |
| 26 | ################################################################# |
| 27 | |
| 28 | dockerHubRepository: registry.hub.docker.com |
Sylvain Desbureaux | 2c2599f | 2019-04-04 09:11:27 +0200 | [diff] [blame] | 29 | image: library/mongo:4.0.8 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 30 | pullPolicy: Always |
| 31 | |
| 32 | # application configuration |
| 33 | config: |
| 34 | dbName: mongo |
| 35 | # default number of instances |
| 36 | replicaCount: 1 |
| 37 | |
| 38 | nodeSelector: {} |
| 39 | |
| 40 | affinity: {} |
| 41 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 42 | # probe configuration parameters |
| 43 | liveness: |
| 44 | initialDelaySeconds: 30 |
| 45 | periodSeconds: 10 |
| 46 | timeoutSeconds: 5 |
| 47 | # necessary to disable liveness probe when setting breakpoints |
| 48 | # in debugger so K8s doesn't restart unresponsive container |
| 49 | enabled: true |
| 50 | |
| 51 | readiness: |
| 52 | initialDelaySeconds: 5 |
| 53 | periodSeconds: 10 |
| 54 | |
| 55 | ## Persist data to a persitent volume |
| 56 | persistence: |
| 57 | enabled: false |
| 58 | |
| 59 | ## A manually managed Persistent Volume and Claim |
| 60 | ## Requires persistence.enabled: true |
| 61 | ## If defined, PVC must be created manually before volume will be bound |
| 62 | # existingClaim: |
| 63 | volumeReclaimPolicy: Retain |
| 64 | |
| 65 | ## database data Persistent Volume Storage Class |
| 66 | ## If defined, storageClassName: <storageClass> |
| 67 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 68 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 69 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 70 | ## GKE, AWS & OpenStack) |
Sylvain Desbureaux | 881d14c | 2019-08-29 15:55:28 +0200 | [diff] [blame] | 71 | accessMode: ReadWriteOnce |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 72 | size: 1Gi |
| 73 | mountPath: /dockerdata-nfs |
| 74 | mountSubPath: "mongo/data" |
| 75 | |
| 76 | service: |
| 77 | name: mongo |
| 78 | portName: mongo |
| 79 | internalPort: 27017 |
| 80 | # nfs provisioner ports |
| 81 | nfsPort: 2049 |
| 82 | mountdPort: 20048 |
| 83 | rpcbindPort: 111 |
| 84 | rpcbindUdpPort: 111 |
| 85 | |
Krzysztof Opasiak | 86a28cd | 2020-09-09 21:23:32 +0200 | [diff] [blame] | 86 | securityContext: |
| 87 | user_id: 999 |
| 88 | group_id: 999 |
| 89 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 90 | ingress: |
| 91 | enabled: false |
| 92 | |
| 93 | resources: {} |
| 94 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 95 | # choice for the user. This also increases chances charts run on environments with little |
| 96 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 97 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 98 | # |
| 99 | # Example: |
| 100 | # Configure resource requests and limits |
| 101 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 102 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 103 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 104 | #resources: |
| 105 | # limits: |
| 106 | # cpu: 2 |
| 107 | # memory: 4Gi |
| 108 | # requests: |
| 109 | # cpu: 2 |
| 110 | # memory: 4Gi |
| 111 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 112 | sdnctlPrefix: mongo |
| 113 | |
| 114 | geoEnabled: false |
| 115 | geoSiteId: 1 |