Releases: mongodb/mongodb-kubernetes-operator
MongoDB Kubernetes Operator
MongoDB Kubernetes Operator 0.7.8
Kubernetes Operator
- Changes
- Fix a StatefulSet controller race condition with the mongodb-agent
- Fix merging label selectors when source is nil
- Improve logging verbosity
Updated Image Tags
- mongodb-kubernetes-operator:0.7.8
- mongodb-agent:12.0.15.7646-1
- mongodb-kubernetes-readinessprobe:1.0.12
- mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.6
All the images can be found in:
MongoDB Kubernetes Operator
MongoDB Kubernetes Operator 0.7.7
WARNING
The default values file in the helm chart for this release of the MongoDB Kubernetes Community Operator points to an older operator image: 0.7.6. Please use a newer version of the chart.
Kubernetes Operator
- Changes
- Fix TLS configuration to allow enabling both server encryption and secure Prometheus connections (#1127)
- Fix TLS validation to correctly indicate an incomplete configuration
Updated Image Tags
- mongodb-kubernetes-operator:0.7.7
- mongodb-agent:12.0.15.7646-1
- mongodb-kubernetes-readinessprobe:1.0.12
- mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.6
All the images can be found in:
MongoDB Kubernetes Operator
MongoDB Kubernetes Operator 0.7.6
Kubernetes Operator
- Changes
mongodb-kubernetes-operatorimage is now rebuilt daily, incorporating updates to system packages and security fixes. The operator binary is built only once during the release process and used without changes in daily rebuild.- Improved security by introducing
readOnlyRootFilesystemproperty to all deployed containers. This change also introduces a few additional volumes and volume mounts. - Improved security by introducing
allowPrivilegeEscalationset tofalsefor all containers.
Updated Image Tags
- mongodb-kubernetes-operator:0.7.6
- mongodb-agent:12.0.10.7591-1
- mongodb-kubernetes-readinessprobe:1.0.11
- mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.5
All the images can be found in:
MongoDB Kubernetes Operator
MongoDB Kubernetes Operator 0.7.5
Upgrade breaking change notice
Versions 0.7.3, 0.7.4 have an issue that breaks deployment of MongoDB replica set when:
- TLS is enabled
- Replica set was deployed using the operator with version <=0.7.2
If above conditions are met, it is strongly advised to upgrade the MongoDB Kubernetes Operator to version 0.7.5 or higher.
Kubernetes Operator
-
Bug fixes
- Fixed ignoring changes to existing volumes in the StatefulSet, i.e. changes of the volumes' underlying secret. This could cause that TLS enabled MongoDB deployment was not able to locate TLS certificates when upgrading the operator to versions 0.7.3 or 0.7.4.
-
Security fixes
- The operator, readiness and versionhook binaries are now built with 1.18.5 which addresses security issues.
MongoDB Kubernetes Operator
MongoDB Kubernetes Operator 0.7.4
Upgrade breaking change notice
Versions 0.7.3, 0.7.4 have an issue that breaks deployment of MongoDB replica set when:
- TLS is enabled
- Replica set was deployed using the operator with version <=0.7.2
If above conditions are met, it is strongly advised to upgrade the MongoDB Kubernetes Operator to version 0.7.5 or higher.
Kubernetes Operator
- Bug fixes
- The names of connection string secrets generated for configured users are RFC1123 validated.
- Changes
- Support for changing port number in running cluster.
MongoDBCommunity Resource
-
Changes
- Adds an optional field
users[i].connectionStringSecretNamefor deterministically setting the name of the connection string secret created by the operator for every configured user.
- Adds an optional field
-
Bug fixes
- Allows for arbiters to be set using
spec.arbitersattribute. Fixes a condition where arbiters could not be added to the Replica Set.
- Allows for arbiters to be set using
Updated Image Tags
- mongodb-kubernetes-operator:0.7.4
- mongodb-agent:11.12.0.7388-1
- mongodb-kubernetes-readinessprobe:1.0.9
- mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.4
All the images can be found in:
MongoDB Kubernetes Operator
MongoDB Kubernetes Operator 0.7.3
Upgrade breaking change notice
Versions 0.7.3, 0.7.4 have an issue that breaks deployment of MongoDB replica set when:
- TLS is enabled
- Replica set was deployed using the operator with version <=0.7.2
If above conditions are met, it is strongly advised to upgrade the MongoDB Kubernetes Operator to version 0.7.5 or higher.
Kubernetes Operator
- Changes
- The Operator can correctly scale arbiters up and down. When arbiters are
enabled (this is, whenspec.arbiters > 0), a new StatefulSet will be
created to hold the Pods that will act as arbiters. The new StatefulSet will
be named<mongodb-resource>-arb. - Add support for exposing Prometheus metrics from the ReplicaSet
- The Operator can correctly scale arbiters up and down. When arbiters are
- Bug fixes
- The operator will watch for changes in the referenced CA certificates as well as server certificates
MongoDBCommunity Resource
- Changes
- Exposing Prometheus metrics is now possible by configuring
spec.prometheus.
- Exposing Prometheus metrics is now possible by configuring
Updated Image Tags
- mongodb-kubernetes-operator:0.7.3
- mongodb-agent:11.12.0.7388-1
- mongodb-kubernetes-readinessprobe:1.0.8
- mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.4
All the images can be found in:
MongoDB Kubernetes Operator
MongoDB Kubernetes Operator 0.7.2
Kubernetes Operator
- Bug fixes
- Adds missing roles for Database Pods.
- Fixes OpenShift install.
MongoDBCommunity Resource
- No changes
Updated Image Tags
- mongodb-kubernetes-operator:0.7.2
All the images can be found in:
MongoDB Kubernetes Operator
MongoDB Kubernetes Operator 0.7.1
Kubernetes Operator
- Changes
- MongoDB database of the statefulSet is managed using distinct Role, ServiceAccount and RoleBinding.
- TLS Secret can also contain a single "tls.pem" entry, containing the concatenation of the certificate and key
- If a TLS secret contains all of "tls.key", "tls.crt" and "tls.pem" entries, the operator will raise an error if the "tls.pem" one is not equal to the concatenation of "tls.crt" with "tls.key"
- Readinessprobe reports MongoDB running as Arbitrer as Running & Healthy.
- The
CLUSTER_DOMAINenvironment variable can be set on the Operator Pod to configure the Kubernetes cluster's Domain, in case this one differs from the defaultcluster.local.
MongoDBCommunity Resource
- Changes
- Specifying
spec.additionalMongodConfig.storage.dbPathwill now be respected correctly.
Updated Image Tags
- mongodb-kubernetes-operator:0.7.1
- mongodb-kubernetes-readinessprobe:1.0.6
- mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.3
All the images can be found in:
MongoDB Kubernetes Operator v0.7.0
MongoDB Kubernetes Operator 0.7.0
Kubernetes Operator
- Changes
- Members of a Replica Set can be configured as arbiters.
- Reduce the number of permissions for operator role.
- Support SHA-1 as an authentication method.
- Upgraded
mongodbcommunity.mongodbcommunity.mongodb.comCRD tov1fromv1beta1- Users upgrading their CRD from v1beta1 to v1 need to set:
spec.preserveUnknownFieldstofalsein the CRD fileconfig/crd/bases/mongodbcommunity.mongodb.com_mongodbcommunity.yamlbefore applying the CRD to the cluster.
- Users upgrading their CRD from v1beta1 to v1 need to set:
- Made service name configurable in mongdb custom resource with statefulSet.spec.serviceName
Updated Image Tags
- mongodb-kubernetes-operator:0.7.0
All the images can be found in:
MongoDB Kubernetes Operator
MongoDB Kubernetes Operator 0.6.2
Kubernetes Operator
- Changes
- stability improvements when changing version of MongoDB.
- increased number of concurrent resources the operator can act on.
- mongodb will now send its log to stdout by default.
- changed the default values for
MONGODB_REPO_URLandMONGODB_IMAGEin the operator deployment
Updated Image Tags
- mongodb-kubernetes-operator:0.6.2
All the images can be found in: