From 099e32c9b51ffdf636cc3568eab8d2404ec2c302 Mon Sep 17 00:00:00 2001 From: Julien Benhaim Date: Tue, 10 Oct 2023 12:55:27 +0200 Subject: [PATCH] release 0.8.3 --- config/manager/manager.yaml | 6 +++--- deploy/openshift/operator_openshift.yaml | 6 +++--- docs/RELEASE_NOTES.md | 16 +++++++++++++++- release.json | 2 +- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index c1296043c..e488e07ad 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -47,14 +47,14 @@ spec: - name: AGENT_IMAGE value: quay.io/mongodb/mongodb-agent:12.0.25.7724-1 - name: VERSION_UPGRADE_HOOK_IMAGE - value: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.7 + value: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.8 - name: READINESS_PROBE_IMAGE - value: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.15 + value: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.17 - name: MONGODB_IMAGE value: mongodb-community-server - name: MONGODB_REPO_URL value: quay.io/mongodb - image: quay.io/mongodb/mongodb-kubernetes-operator:0.8.2 + image: quay.io/mongodb/mongodb-kubernetes-operator:0.8.3 imagePullPolicy: Always name: mongodb-kubernetes-operator resources: diff --git a/deploy/openshift/operator_openshift.yaml b/deploy/openshift/operator_openshift.yaml index 461d00414..ea5e0a6ac 100644 --- a/deploy/openshift/operator_openshift.yaml +++ b/deploy/openshift/operator_openshift.yaml @@ -49,14 +49,14 @@ spec: - name: AGENT_IMAGE value: quay.io/mongodb/mongodb-agent:12.0.25.7724-1 - name: READINESS_PROBE_IMAGE - value: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.15 + value: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.17 - name: VERSION_UPGRADE_HOOK_IMAGE - value: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.7 + value: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.8 - name: MONGODB_IMAGE value: mongo - name: MONGODB_REPO_URL value: quay.io - image: quay.io/mongodb/mongodb-kubernetes-operator:0.8.2 + image: quay.io/mongodb/mongodb-kubernetes-operator:0.8.3 imagePullPolicy: Always name: mongodb-kubernetes-operator resources: diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index eea7beb12..928c2f035 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -3,4 +3,18 @@ ## MongoDBCommunity Resource - Changes - - MongoDB 7.0.0 and onwards is not supported. Supporting it requires a newer Automation Agent version. Until a new version is available, the Operator will fail all deployments with this version. To ignore this error and force the Operator to reconcile these resources, use `IGNORE_MDB_7_ERROR` environment variable and set it to `true`. \ No newline at end of file + - Introduced support for X.509 authentication for client and agent + - `spec.security.authentication.modes` now supports value `X509` + - The agent authentication mode will default to the value in `spec.security.authentication.modes` if there is only one specified. + - Otherwise, agent authentication will need to be specified through `spec.security.authentication.agentMode`. + - When agent authentication is set to `X509`, the field `spec.security.authentication.agentCertificateSecretRef` can be set (default is `agent-certs`). + - The secret that `agentCertificateSecretRef` points to should contain a signed X.509 certificate (under the `tls.crt` key) and a private key (under `tls.key`) for the agent. + - X.509 users can be added the same way as before under `spec.users`. The `db` field must be set to `$external` for X.509 authentication. + - For these users, `scramCredentialsSecretName` and `passwordSecretRef` should **not** be set. + - Sample resource [yaml](config/samples/mongodb.com_v1_mongodbcommunity_x509.yaml) + - Sample agent certificate [yaml](config/samples/external_access/agent-certificate.yaml) + - Add support for configuring [logRotate](https://www.mongodb.com/docs/ops-manager/current/reference/cluster-configuration/#mongodb-instances) on the automation-agent. The settings can be found under `processes[n].logRotate.`. + - Additionally, [systemLog](https://www.mongodb.com/docs/manual/reference/configuration-options/#systemlog-options) can now be configured. In particular the settings: `path`, `destination` and `logAppend`. + - MongoDB 7.0.0 and onwards is not supported. Supporting it requires a newer Automation Agent version. Until a new version is available, the Operator will fail all deployments with this version. To ignore this error and force the Operator to reconcile these resources, use `IGNORE_MDB_7_ERROR` environment variable and set it to `true`. + - Introduced support for ARM64 architecture + - A manifest supporting both AMD64 and ARCH64 architectures is released for each version. \ No newline at end of file diff --git a/release.json b/release.json index f667dbeca..d4d8e1103 100644 --- a/release.json +++ b/release.json @@ -1,6 +1,6 @@ { "golang-builder-image": "golang:1.21", - "mongodb-kubernetes-operator": "0.8.2", + "mongodb-kubernetes-operator": "0.8.3", "version-upgrade-hook": "1.0.8", "readiness-probe": "1.0.17", "mongodb-agent": {