blob: 8a681296cef073db4415bb76af35233921378312 [file] [log] [blame]
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +02001# 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#################################################################
18global:
19 nodePortPrefix: 302
20 persistence: {}
21 readinessRepository: oomk8s
22 readinessImage: readiness-check:2.0.0
23
24
25#################################################################
26# Application configuration defaults.
27#################################################################
28
29dockerHubRepository: registry.hub.docker.com
Sylvain Desbureaux2c2599f2019-04-04 09:11:27 +020030image: library/mongo:4.0.8
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020031pullPolicy: Always
32
33# application configuration
34config:
35 dbName: mongo
36# default number of instances
37replicaCount: 1
38
39nodeSelector: {}
40
41affinity: {}
42
43disableNfsProvisioner: true
44
45# probe configuration parameters
46liveness:
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
54readiness:
55 initialDelaySeconds: 5
56 periodSeconds: 10
57
58## Persist data to a persitent volume
59persistence:
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)
Sylvain Desbureaux881d14c2019-08-29 15:55:28 +020074 accessMode: ReadWriteOnce
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020075 size: 1Gi
76 mountPath: /dockerdata-nfs
77 mountSubPath: "mongo/data"
78
79service:
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
89ingress:
90 enabled: false
91
92resources: {}
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
112nfsprovisionerRepository: quay.io
113nfsprovisionerImage: kubernetes_incubator/nfs-provisioner:v1.0.8
114nfsprovisionerPrefix: mongo
115
116sdnctlPrefix: mongo
117
118geoEnabled: false
119geoSiteId: 1