Skip to content

Commit

Permalink
Release 2.4.0 (#1692)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Jul 16, 2024
1 parent 433ae3e commit c272c84
Show file tree
Hide file tree
Showing 33 changed files with 2,273 additions and 108 deletions.
235 changes: 235 additions & 0 deletions bundle/manifests/atlas.mongodb.com_atlasbackupcompliancepolicies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
name: atlasbackupcompliancepolicies.atlas.mongodb.com
spec:
group: atlas.mongodb.com
names:
categories:
- atlas
kind: AtlasBackupCompliancePolicy
listKind: AtlasBackupCompliancePolicyList
plural: atlasbackupcompliancepolicies
shortNames:
- abcp
singular: atlasbackupcompliancepolicy
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
name: v1
schema:
openAPIV3Schema:
description: AtlasBackupCompliancePolicy defines the desired state of a compliance
policy in Atlas.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
properties:
authorizedEmail:
description: Email address of the user who authorized to update the
Backup Compliance Policy settings.
type: string
authorizedUserFirstName:
description: First name of the user who authorized to updated the
Backup Compliance Policy settings.
type: string
authorizedUserLastName:
description: Last name of the user who authorized to updated the Backup
Compliance Policy settings.
type: string
copyProtectionEnabled:
description: Flag that indicates whether to prevent cluster users
from deleting backups copied to other regions, even if those additional
snapshot regions are removed.
type: boolean
encryptionAtRestEnabled:
description: Flag that indicates whether Encryption at Rest using
Customer Key Management is required for all clusters with a Backup
Compliance Policy.
type: boolean
onDemandPolicy:
description: Specifications for on-demand policy.
properties:
retentionUnit:
description: 'Scope of the backup policy item: days, weeks, or
months'
enum:
- days
- weeks
- months
type: string
retentionValue:
description: Value to associate with RetentionUnit
type: integer
required:
- retentionUnit
- retentionValue
type: object
overwriteBackupPolicies:
description: Flag that indicates whether to overwrite non complying
backup policies with the new data protection settings or not.
type: boolean
pointInTimeEnabled:
description: Flag that indicates whether the cluster uses Continuous
Cloud Backups with a Backup Compliance Policy.
type: boolean
restoreWindowDays:
description: Number of previous days that you can restore back to
with Continuous Cloud Backup with a Backup Compliance Policy. This
parameter applies only to Continuous Cloud Backups with a Backup
Compliance Policy.
type: integer
scheduledPolicyItems:
description: List that contains the specifications for one scheduled
policy.
items:
properties:
frequencyInterval:
description: |-
Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType.
The only accepted value you can set for frequency interval with NVMe clusters is 12.
enum:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 40
type: integer
frequencyType:
description: 'Frequency associated with the backup policy item.
One of the following values: hourly, daily, weekly or monthly.
You cannot specify multiple hourly and daily backup policy
items.'
enum:
- hourly
- daily
- weekly
- monthly
- yearly
type: string
retentionUnit:
description: 'Scope of the backup policy item: days, weeks,
or months'
enum:
- days
- weeks
- months
- years
type: string
retentionValue:
description: Value to associate with RetentionUnit
type: integer
required:
- frequencyInterval
- frequencyType
- retentionUnit
- retentionValue
type: object
type: array
required:
- authorizedEmail
- authorizedUserFirstName
- authorizedUserLastName
type: object
status:
properties:
conditions:
description: Conditions is the list of statuses showing the current
state of the Atlas Custom Resource
items:
description: Condition describes the state of an Atlas Custom Resource
at a certain point.
properties:
lastTransitionTime:
description: Last time the condition transitioned from one status
to another.
format: date-time
type: string
message:
description: A human readable message indicating details about
the transition.
type: string
reason:
description: The reason for the condition's last transition.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type of Atlas Custom Resource condition.
type: string
required:
- status
- type
type: object
type: array
observedGeneration:
description: |-
ObservedGeneration indicates the generation of the resource specification that the Atlas Operator is aware of.
The Atlas Operator updates this field to the 'metadata.generation' as soon as it starts reconciliation of the resource.
format: int64
type: integer
required:
- conditions
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
10 changes: 9 additions & 1 deletion bundle/manifests/atlas.mongodb.com_atlasbackuppolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,21 @@ metadata:
spec:
group: atlas.mongodb.com
names:
categories:
- atlas
kind: AtlasBackupPolicy
listKind: AtlasBackupPolicyList
plural: atlasbackuppolicies
shortNames:
- abp
singular: atlasbackuppolicy
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
name: v1
schema:
openAPIV3Schema:
description: AtlasBackupPolicy is the Schema for the atlasbackuppolicies API
Expand Down
10 changes: 9 additions & 1 deletion bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,21 @@ metadata:
spec:
group: atlas.mongodb.com
names:
categories:
- atlas
kind: AtlasBackupSchedule
listKind: AtlasBackupScheduleList
plural: atlasbackupschedules
shortNames:
- abs
singular: atlasbackupschedule
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
name: v1
schema:
openAPIV3Schema:
description: AtlasBackupSchedule is the Schema for the atlasbackupschedules
Expand Down
10 changes: 10 additions & 0 deletions bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,26 @@ metadata:
spec:
group: atlas.mongodb.com
names:
categories:
- atlas
kind: AtlasDatabaseUser
listKind: AtlasDatabaseUserList
plural: atlasdatabaseusers
shortNames:
- adu
singular: atlasdatabaseuser
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.name
name: Name
type: string
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- jsonPath: .spec.username
name: Username
type: string
name: v1
schema:
openAPIV3Schema:
Expand Down
7 changes: 7 additions & 0 deletions bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ metadata:
spec:
group: atlas.mongodb.com
names:
categories:
- atlas
kind: AtlasDataFederation
listKind: AtlasDataFederationList
plural: atlasdatafederations
shortNames:
- adf
singular: atlasdatafederation
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.name
name: Name
type: string
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
name: v1
schema:
openAPIV3Schema:
Expand Down
16 changes: 15 additions & 1 deletion bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,27 @@ metadata:
spec:
group: atlas.mongodb.com
names:
categories:
- atlas
kind: AtlasDeployment
listKind: AtlasDeploymentList
plural: atlasdeployments
shortNames:
- ad
singular: atlasdeployment
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- jsonPath: .status.stateName
name: Atlas State
type: string
- jsonPath: .status.mongoDBVersion
name: MongoDB Version
type: string
name: v1
schema:
openAPIV3Schema:
description: AtlasDeployment is the Schema for the atlasdeployments API
Expand Down
10 changes: 9 additions & 1 deletion bundle/manifests/atlas.mongodb.com_atlasfederatedauths.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,21 @@ metadata:
spec:
group: atlas.mongodb.com
names:
categories:
- atlas
kind: AtlasFederatedAuth
listKind: AtlasFederatedAuthList
plural: atlasfederatedauths
shortNames:
- afa
singular: atlasfederatedauth
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
name: v1
schema:
openAPIV3Schema:
description: AtlasFederatedAuth is the Schema for the Atlasfederatedauth API
Expand Down
Loading

0 comments on commit c272c84

Please sign in to comment.