underpost 2.8.52 → 2.8.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,91 +0,0 @@
1
- apiVersion: apps/v1
2
- kind: StatefulSet
3
- metadata:
4
- name: mongodb # Specifies the name of the statefulset
5
- spec:
6
- serviceName: 'mongodb-service' # Specifies the service to use
7
- replicas: 2
8
- selector:
9
- matchLabels:
10
- app: mongodb
11
- template:
12
- metadata:
13
- labels:
14
- app: mongodb
15
- spec:
16
- containers:
17
- - name: mongodb
18
- image: docker.io/library/mongo:latest
19
- command:
20
- - mongod
21
- - '--replSet'
22
- - 'rs0'
23
- # - '--config'
24
- # - '-f'
25
- # - '/etc/mongod.conf'
26
- # - '--auth'
27
- # - '--clusterAuthMode'
28
- # - 'keyFile'
29
- # - '--keyFile'
30
- # - '/etc/mongodb-keyfile'
31
- # - '--interleave'
32
- # - 'all'
33
- # - '--wiredTigerCacheSizeGB'
34
- # - '0.25'
35
- # - '--setParameter'
36
- # - 'authenticationMechanisms=SCRAM-SHA-1'
37
- # - '--fork'
38
- - '--logpath'
39
- - '/var/log/mongodb/mongod.log'
40
- - '--bind_ip_all'
41
- ports:
42
- - containerPort: 27017
43
- volumeMounts:
44
- - name: mongodb-storage
45
- mountPath: /data/db
46
- - name: keyfile
47
- mountPath: /etc/mongodb-keyfile
48
- readOnly: true
49
- # - name: mongodb-configuration-file
50
- # mountPath: /etc/mongod.conf
51
- # subPath: mongod.conf
52
- # readOnly: true
53
- # - name: mongodb-config
54
- # mountPath: /config
55
- env:
56
- - name: MONGO_INITDB_ROOT_USERNAME
57
- valueFrom:
58
- secretKeyRef:
59
- name: mongodb-secret
60
- key: username
61
- - name: MONGO_INITDB_ROOT_PASSWORD
62
- valueFrom:
63
- secretKeyRef:
64
- name: mongodb-secret
65
- key: password
66
- resources:
67
- requests:
68
- cpu: '100m'
69
- memory: '256Mi'
70
- limits:
71
- cpu: '500m'
72
- memory: '512Mi'
73
- volumes:
74
- - name: keyfile
75
- secret:
76
- secretName: mongodb-keyfile
77
- defaultMode: 0400
78
- # - name: mongodb-configuration-file
79
- # configMap:
80
- # name: mongodb-config-file
81
- # - name: mongodb-config
82
- # configMap:
83
- # name: mongodb-config
84
- volumeClaimTemplates:
85
- - metadata:
86
- name: mongodb-storage
87
- spec:
88
- accessModes: ['ReadWriteOnce']
89
- resources:
90
- requests:
91
- storage: 5Gi