From 3df6bc8be57b862a3fe9151f2c21957de10fa8ec Mon Sep 17 00:00:00 2001 From: mms-build-account Date: Mon, 26 Aug 2024 03:41:55 -0400 Subject: [PATCH] Kubernetes Enterprise Operator Release 1.27.0 (#343) --- charts/enterprise-operator/Chart.yaml | 2 +- .../crds/mongodb.com_mongodb.yaml | 727 ++++++++++++++++++ .../crds/mongodb.com_mongodbmulticluster.yaml | 178 +++++ .../crds/mongodb.com_opsmanagers.yaml | 181 ++++- .../values-multi-cluster.yaml | 108 --- .../enterprise-operator/values-openshift.yaml | 151 +--- charts/enterprise-operator/values.yaml | 11 +- 7 files changed, 1119 insertions(+), 239 deletions(-) diff --git a/charts/enterprise-operator/Chart.yaml b/charts/enterprise-operator/Chart.yaml index 23a142c7..4a7c9655 100644 --- a/charts/enterprise-operator/Chart.yaml +++ b/charts/enterprise-operator/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: enterprise-operator description: MongoDB Kubernetes Enterprise Operator -version: 1.26.0 +version: 1.27.0 kubeVersion: '>=1.16-0' type: application keywords: diff --git a/charts/enterprise-operator/crds/mongodb.com_mongodb.yaml b/charts/enterprise-operator/crds/mongodb.com_mongodb.yaml index 65270986..8faaf370 100644 --- a/charts/enterprise-operator/crds/mongodb.com_mongodb.yaml +++ b/charts/enterprise-operator/crds/mongodb.com_mongodb.yaml @@ -67,13 +67,191 @@ spec: x-kubernetes-preserve-unknown-fields: true agent: properties: + backupAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the BackupAgent + processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object logLevel: type: string + logRotate: + description: DEPRECATED please use mongod.logRotate + 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 maxLogFileDurationHours: type: integer + mongod: + description: AgentLoggingMongodConfig contain settings for the + mongodb processes configured by the agent + properties: + auditlogRotate: + description: LogRotate configures audit log rotation for the + mongodb 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 + logRotate: + description: LogRotate configures log rotation for the mongodb + 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 + systemLog: + description: SystemLog configures system log of mongod + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path + type: object + type: object + monitoringAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the BackupAgent + processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object + readinessProbe: + properties: + environmentVariables: + additionalProperties: + type: string + type: object + type: object startupOptions: additionalProperties: type: string + description: |- + StartupParameters can be used to configure the startup parameters with which the agent starts. That also contains + log rotation settings as defined here: + type: object + systemLog: + description: DEPRECATED please use mongod.systemLog + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path type: object type: object backup: @@ -226,14 +404,197 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true agent: + description: |- + Configuring logRotation is not allowed under this section. + Please use the most top level resource fields for this; spec.Agent properties: + backupAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the + BackupAgent processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object logLevel: type: string + logRotate: + description: DEPRECATED please use mongod.logRotate + 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 maxLogFileDurationHours: type: integer + mongod: + description: AgentLoggingMongodConfig contain settings for + the mongodb processes configured by the agent + properties: + auditlogRotate: + description: LogRotate configures audit log rotation for + the mongodb 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 + logRotate: + description: LogRotate configures log rotation for the + mongodb 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 + systemLog: + description: SystemLog configures system log of mongod + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path + type: object + type: object + monitoringAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the + BackupAgent processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object + readinessProbe: + properties: + environmentVariables: + additionalProperties: + type: string + type: object + type: object startupOptions: additionalProperties: type: string + description: |- + StartupParameters can be used to configure the startup parameters with which the agent starts. That also contains + log rotation settings as defined here: + type: object + systemLog: + description: DEPRECATED please use mongod.systemLog + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path type: object type: object type: object @@ -379,14 +740,197 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true agent: + description: |- + Configuring logRotation is not allowed under this section. + Please use the most top level resource fields for this; spec.Agent properties: + backupAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the + BackupAgent processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object logLevel: type: string + logRotate: + description: DEPRECATED please use mongod.logRotate + 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 maxLogFileDurationHours: type: integer + mongod: + description: AgentLoggingMongodConfig contain settings for + the mongodb processes configured by the agent + properties: + auditlogRotate: + description: LogRotate configures audit log rotation for + the mongodb 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 + logRotate: + description: LogRotate configures log rotation for the + mongodb 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 + systemLog: + description: SystemLog configures system log of mongod + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path + type: object + type: object + monitoringAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the + BackupAgent processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object + readinessProbe: + properties: + environmentVariables: + additionalProperties: + type: string + type: object + type: object startupOptions: additionalProperties: type: string + description: |- + StartupParameters can be used to configure the startup parameters with which the agent starts. That also contains + log rotation settings as defined here: + type: object + systemLog: + description: DEPRECATED please use mongod.systemLog + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path type: object type: object type: object @@ -770,14 +1314,197 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true agent: + description: |- + Configuring logRotation is not allowed under this section. + Please use the most top level resource fields for this; spec.Agent properties: + backupAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the + BackupAgent processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object logLevel: type: string + logRotate: + description: DEPRECATED please use mongod.logRotate + 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 maxLogFileDurationHours: type: integer + mongod: + description: AgentLoggingMongodConfig contain settings for + the mongodb processes configured by the agent + properties: + auditlogRotate: + description: LogRotate configures audit log rotation for + the mongodb 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 + logRotate: + description: LogRotate configures log rotation for the + mongodb 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 + systemLog: + description: SystemLog configures system log of mongod + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path + type: object + type: object + monitoringAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the + BackupAgent processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object + readinessProbe: + properties: + environmentVariables: + additionalProperties: + type: string + type: object + type: object startupOptions: additionalProperties: type: string + description: |- + StartupParameters can be used to configure the startup parameters with which the agent starts. That also contains + log rotation settings as defined here: + type: object + systemLog: + description: DEPRECATED please use mongod.systemLog + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path type: object type: object type: object diff --git a/charts/enterprise-operator/crds/mongodb.com_mongodbmulticluster.yaml b/charts/enterprise-operator/crds/mongodb.com_mongodbmulticluster.yaml index 9c706cd1..b1e22680 100644 --- a/charts/enterprise-operator/crds/mongodb.com_mongodbmulticluster.yaml +++ b/charts/enterprise-operator/crds/mongodb.com_mongodbmulticluster.yaml @@ -58,13 +58,191 @@ spec: x-kubernetes-preserve-unknown-fields: true agent: properties: + backupAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the BackupAgent + processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object logLevel: type: string + logRotate: + description: DEPRECATED please use mongod.logRotate + 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 maxLogFileDurationHours: type: integer + mongod: + description: AgentLoggingMongodConfig contain settings for the + mongodb processes configured by the agent + properties: + auditlogRotate: + description: LogRotate configures audit log rotation for the + mongodb 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 + logRotate: + description: LogRotate configures log rotation for the mongodb + 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 + systemLog: + description: SystemLog configures system log of mongod + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path + type: object + type: object + monitoringAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the BackupAgent + processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object + readinessProbe: + properties: + environmentVariables: + additionalProperties: + type: string + type: object + type: object startupOptions: additionalProperties: type: string + description: |- + StartupParameters can be used to configure the startup parameters with which the agent starts. That also contains + log rotation settings as defined here: + type: object + systemLog: + description: DEPRECATED please use mongod.systemLog + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path type: object type: object backup: diff --git a/charts/enterprise-operator/crds/mongodb.com_opsmanagers.yaml b/charts/enterprise-operator/crds/mongodb.com_opsmanagers.yaml index 1020a902..6d41da8f 100644 --- a/charts/enterprise-operator/crds/mongodb.com_opsmanagers.yaml +++ b/charts/enterprise-operator/crds/mongodb.com_opsmanagers.yaml @@ -89,11 +89,27 @@ spec: description: specify configuration like startup flags and automation config settings for the AutomationAgent and MonitoringAgent properties: + backupAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the + BackupAgent processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object logLevel: type: string logRotate: - description: LogRotate if enabled, will enable LogRotate for - all processes. + description: DEPRECATED please use mongod.logRotate properties: includeAuditLogsWithMongoDBLogs: description: |- @@ -127,12 +143,128 @@ spec: type: object maxLogFileDurationHours: type: integer + mongod: + description: AgentLoggingMongodConfig contain settings for + the mongodb processes configured by the agent + properties: + auditlogRotate: + description: LogRotate configures audit log rotation for + the mongodb 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 + logRotate: + description: LogRotate configures log rotation for the + mongodb 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 + systemLog: + description: SystemLog configures system log of mongod + properties: + destination: + type: string + logAppend: + type: boolean + path: + type: string + required: + - destination + - logAppend + - path + type: object + type: object + monitoringAgent: + properties: + logRotate: + description: LogRotate configures log rotation for the + BackupAgent processes + properties: + sizeThresholdMB: + description: |- + Maximum size for an individual log file before rotation. + OM only supports ints + type: integer + timeThresholdHrs: + description: Number of hours after which this MongoDB + Agent rotates the log file. + type: integer + type: object + type: object + readinessProbe: + properties: + environmentVariables: + additionalProperties: + type: string + type: object + type: object startupOptions: additionalProperties: type: string + description: |- + StartupParameters can be used to configure the startup parameters with which the agent starts. That also contains + log rotation settings as defined here: type: object systemLog: - description: SystemLog configures system log of mongod + description: DEPRECATED please use mongod.systemLog properties: destination: type: string @@ -375,14 +507,15 @@ spec: These take precedence over the flags set in AutomationAgent properties: - logLevel: - type: string - maxLogFileDurationHours: - type: integer startupOptions: additionalProperties: type: string + description: |- + StartupParameters can be used to configure the startup parameters with which the agent starts. That also contains + log rotation settings as defined here: type: object + required: + - startupOptions type: object opsManager: properties: @@ -836,6 +969,23 @@ spec: items: type: string type: array + logging: + properties: + LogBackAccessRef: + description: LogBackAccessRef points at a ConfigMap/key with + the logback access configuration file to mount on the Pod + properties: + name: + type: string + type: object + LogBackRef: + description: LogBackRef points at a ConfigMap/key with the + logback configuration file to mount on the Pod + properties: + name: + type: string + type: object + type: object members: description: Members indicate the number of backup daemon pods to create. @@ -1357,6 +1507,23 @@ spec: items: type: string type: array + logging: + properties: + LogBackAccessRef: + description: LogBackAccessRef points at a ConfigMap/key with the + logback access configuration file to mount on the Pod + properties: + name: + type: string + type: object + LogBackRef: + description: LogBackRef points at a ConfigMap/key with the logback + configuration file to mount on the Pod + properties: + name: + type: string + type: object + type: object opsManagerURL: description: |- OpsManagerURL specified the URL with which the operator and AppDB monitoring agent should access Ops Manager instance (or instances). diff --git a/charts/enterprise-operator/values-multi-cluster.yaml b/charts/enterprise-operator/values-multi-cluster.yaml index d5e13671..c7798ddc 100644 --- a/charts/enterprise-operator/values-multi-cluster.yaml +++ b/charts/enterprise-operator/values-multi-cluster.yaml @@ -1,112 +1,7 @@ -## Operator - -# Set this to true if your cluster is managing SecurityContext for you. -# If running OpenShift (Cloud, Minishift, etc.), set this to true. -managedSecurityContext: false - operator: - # Execution environment for the operator, dev or prod. Use dev for more verbose logging - env: prod - - # Default architecture for the operator. - # Values are "static" and "non-static: - mdbDefaultArchitecture: non-static - # Name that will be assigned to most internal Kubernetes objects like Deployment, ServiceAccount, Role etc. name: mongodb-enterprise-operator-multi-cluster - # Name of the operator image - operator_image_name: mongodb-enterprise-operator-ubi - - # Name of the deployment of the operator pod - deployment_name: mongodb-enterprise-operator - - # Version of mongodb-enterprise-operator - version: 1.25.0 - - # The Custom Resources that will be watched by the Operator. Needs to be changed if only some of the CRDs are installed - watchedResources: - - mongodb - - opsmanagers - - mongodbusers - - nodeSelector: {} - - tolerations: [] - - affinity: {} - - # operator cpu requests and limits - resources: - requests: - cpu: 500m - memory: 200Mi - limits: - cpu: 1100m - memory: 1Gi - - # Create operator service account and roles - # if false, then templates/operator-roles.yaml is excluded - createOperatorServiceAccount: true - - vaultSecretBackend: - # set to true if you want the operator to store secrets in Vault - enabled: false - tlsSecretRef: "" - - replicas: 1 - -## Database -database: - name: mongodb-enterprise-database-ubi - version: 1.25.0 - -initDatabase: - name: mongodb-enterprise-init-database-ubi - version: 1.25.0 - -## Ops Manager -opsManager: - name: mongodb-enterprise-ops-manager-ubi - -initOpsManager: - name: mongodb-enterprise-init-ops-manager-ubi - version: 1.25.0 - -## Application Database -initAppDb: - name: mongodb-enterprise-init-appdb-ubi - version: 1.25.0 - -agent: - name: mongodb-agent-ubi - version: 12.0.29.7785-1 - -mongodbLegacyAppDb: - name: mongodb-enterprise-appdb-database-ubi - repo: quay.io/mongodb - -mongodb: - name: mongodb-enterprise-server - repo: quay.io/mongodb - appdbAssumeOldFormat: false - imageType: ubi8 - -## Registry -registry: - imagePullSecrets: - pullPolicy: Always - # Specify if images are pulled from private registry - operator: quay.io/mongodb - database: quay.io/mongodb - initDatabase: quay.io/mongodb - initOpsManager: quay.io/mongodb - opsManager: quay.io/mongodb - initAppDb: quay.io/mongodb - appDb: quay.io/mongodb - agent: quay.io/mongodb - agentRepository: quay.io/mongodb/mongodb-agent-ubi - multiCluster: # Specify if we want to deploy the operator in multi-cluster mode clusters: @@ -118,6 +13,3 @@ multiCluster: kubeConfigSecretName: mongodb-enterprise-operator-multi-cluster-kubeconfig performFailOver: true clusterClientTimeout: 10 -# Set this to false to disable subresource utilization -# It might be required on some versions of Openshift -subresourceEnabled: true diff --git a/charts/enterprise-operator/values-openshift.yaml b/charts/enterprise-operator/values-openshift.yaml index fc8f8a6b..3d652abe 100644 --- a/charts/enterprise-operator/values-openshift.yaml +++ b/charts/enterprise-operator/values-openshift.yaml @@ -6,55 +6,6 @@ namespace: mongodb managedSecurityContext: true operator: - # Execution environment for the operator, dev or prod. Use dev for more verbose logging - env: prod - - # Default architecture for the operator. - # Values are "static" and "non-static: - mdbDefaultArchitecture: non-static - - # Name that will be assigned to most internal Kubernetes objects like Deployment, ServiceAccount, Role etc. - name: mongodb-enterprise-operator - - # Name of the operator image - operator_image_name: mongodb-enterprise-operator-ubi - - # Name of the deployment of the operator pod - deployment_name: mongodb-enterprise-operator - - # Version of mongodb-enterprise-operator - version: 1.26.0 - - # The Custom Resources that will be watched by the Operator. Needs to be changed if only some of the CRDs are installed - watchedResources: - - mongodb - - opsmanagers - - mongodbusers - - nodeSelector: {} - - tolerations: [] - - affinity: {} - - # operator cpu requests and limits - resources: - requests: - cpu: 500m - memory: 200Mi - limits: - cpu: 1100m - memory: 1Gi - - # Create operator service account and roles - # if false, then templates/operator-roles.yaml is excluded - createOperatorServiceAccount: true - - vaultSecretBackend: - # set to true if you want the operator to store secrets in Vault - enabled: false - tlsSecretRef: '' - webhook: # registerConfiguration setting (default: true) controls if the operator should automatically register ValidatingWebhookConfiguration and if required for it cluster-wide roles should be installed. # @@ -72,70 +23,6 @@ operator: # - ValidatingWebhookConfigurations will be managed by the operator (requires cluster permissions) registerConfiguration: true - replicas: 1 - -## Database -database: - name: mongodb-enterprise-database-ubi - version: 1.26.0 - -initDatabase: - name: mongodb-enterprise-init-database-ubi - version: 1.26.0 - -## Ops Manager -opsManager: - name: mongodb-enterprise-ops-manager-ubi - -initOpsManager: - name: mongodb-enterprise-init-ops-manager-ubi - version: 1.26.0 - -## Application Database -initAppDb: - name: mongodb-enterprise-init-appdb-ubi - version: 1.26.0 - -agent: - name: mongodb-agent-ubi - version: 107.0.0.8502-1 - -mongodbLegacyAppDb: - name: mongodb-enterprise-appdb-database-ubi - repo: quay.io/mongodb - -mongodb: - name: mongodb-enterprise-server - repo: quay.io/mongodb - appdbAssumeOldFormat: false - imageType: ubi8 - - -## Registry -registry: - imagePullSecrets: - pullPolicy: Always - # Specify if images are pulled from private registry - operator: quay.io/mongodb - database: quay.io/mongodb - initDatabase: quay.io/mongodb - initOpsManager: quay.io/mongodb - opsManager: quay.io/mongodb - initAppDb: quay.io/mongodb - appDb: quay.io/mongodb - agent: quay.io/mongodb - -multiCluster: - # Specify if we want to deploy the operator in multi-cluster mode - clusters: [] - kubeConfigSecretName: mongodb-enterprise-operator-multi-cluster-kubeconfig - performFailOver: true - clusterClientTimeout: 10 - -# Set this to false to disable subresource utilization -# It might be required on some versions of Openshift -subresourceEnabled: true - # Versions listed here are used to populate RELATED_IMAGE_ env variables in the operator deployment. # Environment variables prefixed with RELATED_IMAGE_ are used by operator-sdk to generate relatedImages section # with sha256 digests pinning for the certified operator bundle with disconnected environment feature enabled. @@ -166,6 +53,8 @@ relatedImages: - 6.0.21 - 6.0.22 - 6.0.23 + - 6.0.24 + - 6.0.25 - 7.0.0 - 7.0.1 - 7.0.2 @@ -173,6 +62,8 @@ relatedImages: - 7.0.4 - 7.0.6 - 7.0.7 + - 7.0.8 + - 7.0.9 mongodb: - 4.4.0-ubi8 - 4.4.1-ubi8 @@ -227,37 +118,61 @@ relatedImages: - 107.0.1.8507-1 - 107.0.1.8507-1_1.25.0 - 107.0.1.8507-1_1.26.0 + - 107.0.1.8507-1_1.27.0 - 107.0.2.8531-1 - 107.0.2.8531-1_1.25.0 - 107.0.2.8531-1_1.26.0 + - 107.0.2.8531-1_1.27.0 - 107.0.3.8550-1 - 107.0.3.8550-1_1.25.0 - 107.0.3.8550-1_1.26.0 + - 107.0.3.8550-1_1.27.0 - 107.0.4.8567-1 - 107.0.4.8567-1_1.25.0 - 107.0.4.8567-1_1.26.0 + - 107.0.4.8567-1_1.27.0 - 107.0.6.8587-1 - 107.0.6.8587-1_1.25.0 - 107.0.6.8587-1_1.26.0 + - 107.0.6.8587-1_1.27.0 - 107.0.7.8596-1 - 107.0.7.8596-1_1.25.0 - 107.0.7.8596-1_1.26.0 - - 12.0.24.7719-1 - - 12.0.25.7724-1 + - 107.0.7.8596-1_1.27.0 + - 107.0.8.8615-1 + - 107.0.8.8615-1_1.25.0 + - 107.0.8.8615-1_1.26.0 + - 107.0.8.8615-1_1.27.0 + - 107.0.9.8621-1 + - 107.0.9.8621-1_1.25.0 + - 107.0.9.8621-1_1.26.0 + - 107.0.9.8621-1_1.27.0 - 12.0.28.7763-1 - 12.0.29.7785-1 - 12.0.29.7785-1_1.25.0 - 12.0.29.7785-1_1.26.0 + - 12.0.29.7785-1_1.27.0 - 12.0.30.7791-1 - 12.0.30.7791-1_1.25.0 - 12.0.30.7791-1_1.26.0 + - 12.0.30.7791-1_1.27.0 - 12.0.31.7825-1 - 12.0.31.7825-1_1.25.0 - 12.0.31.7825-1_1.26.0 + - 12.0.31.7825-1_1.27.0 + - 12.0.32.7857-1 + - 12.0.32.7857-1_1.25.0 + - 12.0.32.7857-1_1.26.0 + - 12.0.32.7857-1_1.27.0 + - 12.0.33.7866-1 + - 12.0.33.7866-1_1.25.0 + - 12.0.33.7866-1_1.26.0 + - 12.0.33.7866-1_1.27.0 - 13.10.0.8620-1 - - 13.17.0.8870-1 - - 13.17.0.8870-1_1.25.0 - - 13.17.0.8870-1_1.26.0 + - 13.21.0.9059-1 + - 13.21.0.9059-1_1.25.0 + - 13.21.0.9059-1_1.26.0 + - 13.21.0.9059-1_1.27.0 mongodbLegacyAppDb: - 4.2.11-ent - 4.2.2-ent diff --git a/charts/enterprise-operator/values.yaml b/charts/enterprise-operator/values.yaml index 9dc3723d..d5b891b5 100644 --- a/charts/enterprise-operator/values.yaml +++ b/charts/enterprise-operator/values.yaml @@ -20,7 +20,7 @@ operator: deployment_name: mongodb-enterprise-operator # Version of mongodb-enterprise-operator - version: 1.26.0 + version: 1.27.0 # The Custom Resources that will be watched by the Operator. Needs to be changed if only some of the CRDs are installed watchedResources: @@ -98,11 +98,11 @@ operator: ## Database database: name: mongodb-enterprise-database-ubi - version: 1.26.0 + version: 1.27.0 initDatabase: name: mongodb-enterprise-init-database-ubi - version: 1.26.0 + version: 1.27.0 ## Ops Manager opsManager: @@ -110,12 +110,12 @@ opsManager: initOpsManager: name: mongodb-enterprise-init-ops-manager-ubi - version: 1.26.0 + version: 1.27.0 ## Application Database initAppDb: name: mongodb-enterprise-init-appdb-ubi - version: 1.26.0 + version: 1.27.0 agent: name: mongodb-agent-ubi @@ -125,6 +125,7 @@ mongodbLegacyAppDb: name: mongodb-enterprise-appdb-database-ubi repo: quay.io/mongodb +# This is used by AppDB and by static containers to determine the image that the operator uses for databases. mongodb: name: mongodb-enterprise-server repo: quay.io/mongodb