-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathvalues-mongodb.yml
More file actions
78 lines (71 loc) · 2.25 KB
/
values-mongodb.yml
File metadata and controls
78 lines (71 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Values for bitnami/mongodb Helm Chart
#
# Chart values file:
# ref: https://github.com/bitnami/charts/blob/master/bitnami/mongodb/values.yaml
#
image:
## Bitnami MongoDB image name
##
repository: bitnami/mongodb
## Bitnami MongoDB image tag
## ref: https://hub.docker.com/r/bitnami/mongodb/tags/
##
tag: 4.4.13
## Specify a imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
pullPolicy: IfNotPresent
## MongoDB architecture. Allowed values: standalone or replicaset
##
architecture: standalone
## Use StatefulSet instead of Deployment when deploying standalone
##
useStatefulSet: false
## MongoDB Authentication parameters
##
auth:
## Enable authentication
## ref: https://docs.mongodb.com/manual/tutorial/enable-authentication/
##
enabled: true
## MongoDB root password
## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#setting-the-root-password-on-first-run
##
rootPassword: "<root-password>"
## initdb scripts
## Specify dictionary of scripts to be run at first boot
##
## !!! Only required when using API Umbrella !!!
## This creates the required database and user for API Umbrella.
## Make sure to set the DB user configuration and database
## for the API Umbrella deployment.
##
## If you omit the creation of database and user during deployment, make sure
## to create this database and user afterwards manually before proceeding with the
## API Umbrella deployment.
##
initdbScripts:
init_db.js: |
// Setup DB for API Umbrella
db = db.getSiblingDB('api_umbrella');
db.createUser(
{
user: "api_umbrella",
pwd: "api-umbrella-password",
roles: [
{
role: "readWrite",
db: "api_umbrella"
}
]
});
## MongoDB pods' Security Context. (might be necessary on OpenShift)
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
##
#podSecurityContext:
# enabled: false
## MongoDB containers' Security Context (main and metrics container). (might be necessary on OpenShift)
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
##
#containerSecurityContext:
# enabled: false