From f03b5c02f19a40370961652e8fb95060a443f320 Mon Sep 17 00:00:00 2001 From: Matei Grigore <43472562+MateiGrigore@users.noreply.github.com> Date: Thu, 8 Aug 2024 17:10:32 +0100 Subject: [PATCH] Update community-operator charts for 0.11.0 release (#340) * Update community-operator charts for 0.11.0 release * Bump agent version in helm charts --- charts/community-operator-crds/Chart.yaml | 4 +-- ...ommunity.mongodb.com_mongodbcommunity.yaml | 34 +++++++++++++++++++ charts/community-operator/Chart.yaml | 6 ++-- charts/community-operator/values.yaml | 6 ++-- 4 files changed, 42 insertions(+), 8 deletions(-) diff --git a/charts/community-operator-crds/Chart.yaml b/charts/community-operator-crds/Chart.yaml index 630427c8..e9df3446 100644 --- a/charts/community-operator-crds/Chart.yaml +++ b/charts/community-operator-crds/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: community-operator-crds description: MongoDB Kubernetes Community Operator - CRDs type: application -version: 0.10.0 -appVersion: 0.10.0 +version: 0.11.0 +appVersion: 0.11.0 kubeVersion: '>=1.16-0' keywords: - mongodb diff --git a/charts/community-operator-crds/templates/mongodbcommunity.mongodb.com_mongodbcommunity.yaml b/charts/community-operator-crds/templates/mongodbcommunity.mongodb.com_mongodbcommunity.yaml index 1b118997..e7c3faa6 100644 --- a/charts/community-operator-crds/templates/mongodbcommunity.mongodb.com_mongodbcommunity.yaml +++ b/charts/community-operator-crds/templates/mongodbcommunity.mongodb.com_mongodbcommunity.yaml @@ -74,6 +74,40 @@ spec: description: AgentConfiguration sets options for the MongoDB automation agent properties: + auditLogRotate: + description: AuditLogRotate if enabled, will enable AuditLogRotate + for all processes. + properties: + includeAuditLogsWithMongoDBLogs: + description: |- + set to 'true' to have the Automation Agent rotate the audit files along + with mongodb log files + type: boolean + numTotal: + description: maximum number of log files to have total + type: integer + numUncompressed: + description: maximum number of log files to leave uncompressed + type: integer + percentOfDiskspace: + description: |- + Maximum percentage of the total disk space these log files should take up. + The string needs to be able to be converted to float64 + type: string + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + The string needs to be able to be converted to float64. + Fractional values of MB are supported. + type: string + timeThresholdHrs: + description: maximum hours for an individual log file before + rotation + type: integer + required: + - sizeThresholdMB + - timeThresholdHrs + type: object logFile: type: string logLevel: diff --git a/charts/community-operator/Chart.yaml b/charts/community-operator/Chart.yaml index 638bf5aa..d5b5fe97 100644 --- a/charts/community-operator/Chart.yaml +++ b/charts/community-operator/Chart.yaml @@ -1,9 +1,9 @@ apiVersion: v2 name: community-operator description: MongoDB Kubernetes Community Operator -version: 0.10.0 +version: 0.11.0 type: application -appVersion: 0.10.0 +appVersion: 0.11.0 kubeVersion: '>=1.16-0' keywords: - mongodb @@ -16,6 +16,6 @@ maintainers: email: support@mongodb.com dependencies: - name: community-operator-crds - version: 0.10.0 + version: 0.11.0 repository: https://mongodb.github.io/helm-charts condition: community-operator-crds.enabled diff --git a/charts/community-operator/values.yaml b/charts/community-operator/values.yaml index 49f19dbe..036f39cc 100644 --- a/charts/community-operator/values.yaml +++ b/charts/community-operator/values.yaml @@ -15,7 +15,7 @@ operator: deploymentName: mongodb-kubernetes-operator # Version of mongodb-kubernetes-operator - version: 0.10.0 + version: 0.11.0 # Uncomment this line to watch all namespaces # watchNamespace: "*" @@ -65,10 +65,10 @@ agent: version: 107.0.7.8596-1 versionUpgradeHook: name: mongodb-kubernetes-operator-version-upgrade-post-start-hook - version: 1.0.8 + version: 1.0.9 readinessProbe: name: mongodb-kubernetes-readinessprobe - version: 1.0.19 + version: 1.0.20 mongodb: name: mongodb-community-server repo: docker.io/mongodb