Skip to content

Commit 8ae9735

Browse files
authored
Ready for initial release for 1.16.0 (#1)
1 parent 9b287fa commit 8ae9735

File tree

15 files changed

+40
-29
lines changed

15 files changed

+40
-29
lines changed

LICENSE

100644100755
File mode changed.

README.md

100644100755
Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# k8s_mdb
22

33
## Table of Contents
4-
54
- [k8s_mdb](#k8s_mdb)
65
- [Table of Contents](#table-of-contents)
6+
- [Compatability](#compatability)
77
- [Description](#description)
88
- [Steps to Deploy](#steps-to-deploy)
99
- [Prerequisites](#prerequisites)
@@ -19,6 +19,7 @@
1919
- [Set Up](#set-up)
2020
- [replicaSetName](#replicasetname)
2121
- [mongoDBVersion](#mongodbversion)
22+
- [mongoDBFCV](#mongodbfcv)
2223
- [logLevel](#loglevel)
2324
- [auth.scram.enabled](#authscramenabled)
2425
- [auth.ldap.enabled](#authldapenabled)
@@ -63,6 +64,11 @@
6364
- [Predeployment Checklist](#predeployment-checklist)
6465
- [Run](#run)
6566

67+
## Compatability
68+
69+
This version of the Helm charts has been tested with MongoDB Kubernetes Operator version(s):
70+
* 1.16.0
71+
6672
## Description
6773

6874
The series of Helm Charts to deploy MongoDB Enterprise Advanced replica sets within Kubernetes with the MongoDB Kubernetes Operator and Ops Manager.
@@ -150,9 +156,9 @@ The certificates must include the name of FQDN external to Kubernetes as a Subje
150156

151157
The secrets must be named as follows:
152158

153-
**\<replicaSetName\>-\<cert\>**
159+
**\mdb-<replicaSetName\>-\<cert\>**
154160

155-
**\<replicaSetName\>-\<clusterfile\>**
161+
**\mdb-<replicaSetName\>-\<clusterfile\>**
156162

157163
The two secrets can be created as follows:
158164

@@ -252,7 +258,8 @@ The following table describes the values required in the relevant `values.yaml`:
252258
|Key|Purpose|
253259
|--------------------------|------------------------------------|
254260
|replicaSetName|Name of the cluster, used for naming the pods and replica set name|
255-
|mongoDBVersion|The version of MongoDB to installed, such as `4.4.8-ent` for MognoDB Enterprise 4.4.8|
261+
|mongoDBVersion|The version of MongoDB to installed, such as `5.0.8-ent` for MongoDB Enterprise 5.0.8 Enterprise Advanced|
262+
|mongoDBFCV|A string describing the Feature Compatibility Version of the deployment, default is "5.0"|
256263
|replicas|Number of members in the replica set (integer)|
257264
|logLevel|Level of logging for MongoDB and agents, INFO or DEBUG|
258265
|auth.scram.enabled|Boolean to determine if SCRAM authentication is selected. Can be selected with `auth.ldap.enabled` or by itself. At least one method must be selected|
@@ -306,6 +313,15 @@ The version of MongoDB to deploy. The form is **\<major\>.\<release-series\>.\<p
306313

307314
As of MongoDB 5.0 the versioning has changed to **\<major\>.\<rapid\>.\<patch\>-ent**, where the rapid is a quarterly release of new features and not a develop/stable differentiator anymore.
308315

316+
317+
### mongoDBFCV
318+
319+
The Feature Compatibility Version of the deployment. Can only ever at or one major version below the currently installed MongoDB version.
320+
321+
Is a string value.
322+
323+
Default is "5.0"
324+
309325
### logLevel
310326

311327
Log level for the MongoDB instance and automation agent. Can be `DEBUG` or `INFO`. In the case of `DEBUG` this is equivalent to `2` for `systemLog.verbosity` in the MongoDB config file.

charts/Chart.yaml

100644100755
File mode changed.

charts/templates/_helpers.tpl

100644100755
File mode changed.

charts/templates/additional_user.yaml

100644100755
File mode changed.

charts/templates/admin_user.yaml

100644100755
File mode changed.

charts/templates/mongodb-replica-set.yaml

100644100755
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
spec:
77
members: {{ .Values.replicas }}
88
version: {{ .Values.mongoDBVersion | quote }}
9-
featureCompatibilityVersion: {{ .Values.mongoDBFCV | default "4.4" | quote }}
9+
featureCompatibilityVersion: {{ .Values.mongoDBFCV | default "5.0" | quote }}
1010
opsManager:
1111
configMapRef:
1212
name: project-{{ .Values.opsManager.projectName | lower }}
@@ -16,6 +16,8 @@ spec:
1616
podSpec:
1717
podTemplate:
1818
spec:
19+
imagePullSecrets:
20+
- name: regcred
1921
initContainers:
2022
- name: mongodb-enterprise-init-database
2123
containers:
@@ -48,11 +50,6 @@ spec:
4850
agent:
4951
startupOptions:
5052
logLevel: {{ .Values.logLevel }}
51-
enableLocalConfigurationServer: "true"
52-
{{- if .Values.opsManager.tlsEnabled }}
53-
httpsCAFile: /mongodb-automation/ca.pem
54-
tlsMMSServerClientCertificate: /mongodb-automation/server.pem
55-
{{- end }}
5653
security:
5754
authentication:
5855
enabled: true
@@ -83,12 +80,9 @@ spec:
8380
internalCluster: "X509"
8481
agents:
8582
mode: SCRAM
83+
certsSecretPrefix: "mdb"
8684
tls:
87-
enabled: true
8885
ca: {{ .Values.tls.caConfigMap }}
89-
secretRef:
90-
secretRef:
91-
name: {{ .Values.opsManager.projectName | lower }}
9286
{{- end }}
9387
{{ if and .Values.extAccess.enabled .Values.tls.enabled -}}
9488
connectivity:

charts/templates/mongodb-svc.yaml

100644100755
File mode changed.

charts/templates/project-configmap.yaml

100644100755
File mode changed.

charts/values/blockstore/values.yaml

100644100755
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
replicaSetName: blockstore0
44

5-
mongoDBVersion: 4.4.10-ent
5+
mongoDBVersion: 5.0.8-ent
6+
mongoDBFCV: "5.0"
67

7-
replicas: 3
8+
replicas: 1
89

910
logLevel: DEBUG
1011

@@ -16,10 +17,10 @@ auth:
1617

1718
opsManager:
1819
tlsEnabled: true
19-
baseUrl: https://mongod0.mongodb.local:8443
20-
orgId: 5e439737e976cc5e50a7b13d
21-
projectName: oplogStore
22-
omSecret: organization-secret
20+
baseUrl: https://ops-manager-svc.mongodb.svc.cluster.local:8443
21+
orgId: 626deb01f7d72e132e83d321
22+
projectName: blockStore
23+
omSecret: k8s-om
2324
caConfigmap: om-ca-cert
2425

2526
resources:

0 commit comments

Comments
 (0)