Bump version of Mongo and Mariadb for NBI
[oom.git] / kubernetes / common / mongo / values.yaml
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: {}
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28
29 dockerHubRepository: registry.hub.docker.com
30 image: library/mongo:4.0.8
31 pullPolicy: Always
32
33 # application configuration
34 config:
35   dbName: mongo
36 # default number of instances
37 replicaCount: 1
38
39 nodeSelector: {}
40
41 affinity: {}
42
43 disableNfsProvisioner: true
44
45 # probe configuration parameters
46 liveness:
47   initialDelaySeconds: 30
48   periodSeconds: 10
49   timeoutSeconds: 5
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: 5
56   periodSeconds: 10
57
58 ## Persist data to a persitent volume
59 persistence:
60   enabled: false
61
62   ## A manually managed Persistent Volume and Claim
63   ## Requires persistence.enabled: true
64   ## If defined, PVC must be created manually before volume will be bound
65   # existingClaim:
66   volumeReclaimPolicy: Retain
67
68   ## database data Persistent Volume Storage Class
69   ## If defined, storageClassName: <storageClass>
70   ## If set to "-", storageClassName: "", which disables dynamic provisioning
71   ## If undefined (the default) or set to null, no storageClassName spec is
72   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
73   ##   GKE, AWS & OpenStack)
74   accessMode: ReadWriteMany
75   size: 1Gi
76   mountPath: /dockerdata-nfs
77   mountSubPath: "mongo/data"
78
79 service:
80   name: mongo
81   portName: mongo
82   internalPort: 27017
83   # nfs provisioner ports
84   nfsPort: 2049
85   mountdPort: 20048
86   rpcbindPort: 111
87   rpcbindUdpPort: 111
88
89 ingress:
90   enabled: false
91
92 resources: {}
93   # We usually recommend not to specify default resources and to leave this as a conscious
94   # choice for the user. This also increases chances charts run on environments with little
95   # resources, such as Minikube. If you do want to specify resources, uncomment the following
96   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
97   #
98   # Example:
99   # Configure resource requests and limits
100   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
101   # Minimum memory for development is 2 CPU cores and 4GB memory
102   # Minimum memory for production is 4 CPU cores and 8GB memory
103 #resources:
104 #  limits:
105 #    cpu: 2
106 #    memory: 4Gi
107 #  requests:
108 #    cpu: 2
109 #    memory: 4Gi
110
111
112 nfsprovisionerRepository: quay.io
113 nfsprovisionerImage: kubernetes_incubator/nfs-provisioner:v1.0.8
114 nfsprovisionerPrefix: mongo
115
116 sdnctlPrefix: mongo
117
118 geoEnabled: false
119 geoSiteId: 1