Skip to content

Commit

Permalink
community release 0.8.3 (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-Ben authored Oct 11, 2023
1 parent 8f6b6c2 commit baf15b4
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 10 deletions.
4 changes: 2 additions & 2 deletions charts/community-operator-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: community-operator-crds
description: MongoDB Kubernetes Community Operator - CRDs
type: application
version: 0.8.2
appVersion: 0.8.2
version: 0.8.3
appVersion: 0.8.3
kubeVersion: '>=1.16-0'
keywords:
- mongodb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,58 @@ spec:
description: AgentConfiguration sets options for the MongoDB automation
agent
properties:
logFile:
type: string
logLevel:
type: string
logRotate:
description: LogRotate if enabled, will enable LogRotate 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
maxLogFileDurationHours:
type: integer
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
arbiters:
description: 'Arbiters is the number of arbiters to add to the Replica
Expand All @@ -91,6 +139,40 @@ spec:
properties:
disabled:
type: boolean
logRotate:
description: CrdLogRotate is the crd definition of LogRotate
including fields in strings while the agent supports them
as float64
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
name:
type: string
required:
Expand Down Expand Up @@ -173,6 +255,29 @@ spec:
properties:
authentication:
properties:
agentCertificateSecretRef:
description: 'AgentCertificateSecret is a reference to a Secret
containing the certificate and the key for the automation
agent The secret needs to have available: - certificate
under key: "tls.crt" - private key under key: "tls.key"
If additionally, tls.pem is present, then it needs to be
equal to the concatenation of tls.crt and tls.key'
properties:
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
type: object
x-kubernetes-map-type: atomic
agentMode:
description: AgentMode contains the authentication mode used
by the automation agent.
enum:
- SCRAM
- SCRAM-SHA-256
- SCRAM-SHA-1
- X509
type: string
ignoreUnknownUsers:
default: true
nullable: true
Expand All @@ -185,6 +290,7 @@ spec:
- SCRAM
- SCRAM-SHA-256
- SCRAM-SHA-1
- X509
type: string
type: array
required:
Expand Down Expand Up @@ -428,9 +534,7 @@ spec:
type: string
required:
- name
- passwordSecretRef
- roles
- scramCredentialsSecretName
type: object
type: array
version:
Expand Down
6 changes: 3 additions & 3 deletions charts/community-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
name: community-operator
description: MongoDB Kubernetes Community Operator
version: 0.8.2
version: 0.8.3
type: application
appVersion: 0.8.2
appVersion: 0.8.3
kubeVersion: '>=1.16-0'
keywords:
- mongodb
Expand All @@ -16,6 +16,6 @@ maintainers:
email: [email protected]
dependencies:
- name: community-operator-crds
version: 0.8.2
version: 0.8.3
repository: https://mongodb.github.io/helm-charts
condition: community-operator-crds.enabled
6 changes: 3 additions & 3 deletions charts/community-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ operator:
deploymentName: mongodb-kubernetes-operator

# Version of mongodb-kubernetes-operator
version: 0.8.2
version: 0.8.3

# Uncomment this line to watch all namespaces
# watchNamespace: "*"
Expand Down Expand Up @@ -61,10 +61,10 @@ agent:
version: 12.0.25.7724-1
versionUpgradeHook:
name: mongodb-kubernetes-operator-version-upgrade-post-start-hook
version: 1.0.7
version: 1.0.8
readinessProbe:
name: mongodb-kubernetes-readinessprobe
version: 1.0.15
version: 1.0.17
mongodb:
name: mongo
repo: docker.io
Expand Down

0 comments on commit baf15b4

Please sign in to comment.