Skip to content

MongoDB Kubernetes Enterprise Operator 1.19.1

Compare
Choose a tag to compare
@mms-build-account mms-build-account released this 30 Mar 11:43
· 46 commits to master since this release
f0795bb

Warning

  • Avoid using the 1.19.0 version of the operator as it is tied to a broken release on the Openshift Marketplace.

MongoDB Resource

  • Added support for setting replica set member votes by introducing the spec.memberOptions.[*].votes field.
  • Added support for setting replica set member priority by introducing the spec.memberOptions.[*].priority field.
  • Added support for setting replica set member tags by introducing the spec.memberOptions.[*].tags field.

MongoDBMulti Resouce

  • Added support for setting replica set member votes by introducing the spec.clusterSpecList.[*].memberOptions.[*].votes field.
  • Added support for setting replica set member priority by introducing the spec.clusterSpecList.[*].memberOptions.[*].priority field.
  • Added support for setting replica set member tags by introducing the spec.clusterSpecList.[*].memberOptions.[*].tags field.

Improvements

  • New guidance for multi-Kubernetes-cluster deployments without a Service Mesh. It covers use of a Load Balancer Service
    to expose ReplicaSet members on an externally reachable domain (spec.externalAccess.externalDomain).
    This leverages setting the process.hostname field in the Automation Config.
    This tutorial provides full guidance.
  • spec.security.authentication.ldap.transportSecurity: "none" is now a valid configuration to use no transportSecurity.
  • Allows you to configure podSpec per shard in a MongoDB Sharded cluster by specifying an array of podSpecs under spec.shardSpecificPodSpec for each shard.

Deprecations

  • Making the field orgID in the project configmap a requirement. Note: If explicitly an empty orgID = "" has been chosen then OM will try to create an ORG with the project name.
  • Ubuntu-based images were deprecated in favor of UBI-based images in operator version 1.17.0. In the 1.19.0 release we are removing the support for Ubuntu-based images. The ubuntu based images won't be rebuilt daily with updates. Please upgrade to the UBI-based images by following these instructions: https://www.mongodb.com/docs/kubernetes-operator/master/tutorial/migrate-k8s-images/#migrate-k8s-images
  • The spec.exposedExternally option becomes deprecated in favor of spec.externalAccess. The deprecated option will be removed in MongoDB Enterprise Operator 1.22.0.

Bug fixes

  • Fixed handling of WATCH_NAMESPACE='*' environment variable for multi-cluster deployments with cluster-wide operator. In some specific circumstances, API clients for member clusters were configured incorrectly resulting in deployment errors.
    • Example error in this case:
      • The secret object 'mdb-multi-rs-cert' does not contain all the valid certificates needed: secrets "mdb-multi-rs-cert-pem" already exists
    • These specific circumstances were:
      • WATCH_NAMESPACE='*' environment variable passed to the operator deployment
      • specific namespace set in kubeconfig for member clusters
      • not using multi-cluster cli tool for configuring
    • Possible workarounds:
      • set WATCH_NAMESPACE environment variable to specific namespaces instead of '*'
      • make sure that kubeconfigs for member clusters doesn't specify a namespace

Breaking changes

  • Renaming of the multicluster CRD MongoDBMulti to MongoDBMultiCluster

  • The spec.members field is required to be set in case of MongoDB deployment of type ReplicaSet.

Bug fixes

  • Fixed a panic when CertificatesSecretsPrefix was set but no further spec.security.tls setting was set i.e. tls.additionalCertificateDomains or tls.ca.