Skip to content

Commit

Permalink
Release 1.0.0 (#535)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton <[email protected]>
Co-authored-by: Svetlana <[email protected]>
Co-authored-by: Igor Karpukhin <[email protected]>
  • Loading branch information
4 people committed Jun 1, 2022
1 parent 0a0713b commit d5c4b32
Show file tree
Hide file tree
Showing 19 changed files with 6,542 additions and 1,493 deletions.
2 changes: 1 addition & 1 deletion bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=mongodb-atlas-kubernetes
LABEL operators.operatorframework.io.bundle.channels.v1=beta
LABEL operators.operatorframework.io.bundle.channel.default.v1=beta
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.16.0
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.15.0+git
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v2

Expand Down
54 changes: 49 additions & 5 deletions bundle/manifests/atlas.mongodb.com_atlasbackuppolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,57 @@ spec:
spec:
description: AtlasBackupPolicySpec defines the desired state of AtlasBackupPolicy
properties:
foo:
description: Foo is an example field of AtlasBackupPolicy. Edit atlasbackuppolicy_types.go
to remove/update
type: string
items:
description: A list of BackupPolicy items
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
- 4
- 6
- 8
- 12
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
type: string
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:
- frequencyInterval
- frequencyType
- retentionUnit
- retentionValue
type: object
type: array
required:
- items
type: object
status:
description: AtlasBackupPolicyStatus defines the observed state of AtlasBackupPolicy
type: object
type: object
served: true
Expand Down
33 changes: 15 additions & 18 deletions bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,30 +54,27 @@ spec:
cloud backup snapshot to.
type: string
frequencyType:
default: MONTHLY
enum:
- MONTHLY
type: string
required:
- exportBucketId
- frequencyType
type: object
policies:
description: Array containing a references (name & namespace) for
each backup policy item in the desired updated backup policy.
items:
description: ResourceRefNamespaced is a reference to a Kubernetes
Resource that allows to configure the namespace
properties:
name:
description: Name is the name of the Kubernetes Resource
type: string
namespace:
description: Namespace is the namespace of the Kubernetes Resource
type: string
required:
- name
type: object
type: array
policy:
description: A reference (name & namespace) for backup policy in the
desired updated backup policy.
properties:
name:
description: Name is the name of the Kubernetes Resource
type: string
namespace:
description: Namespace is the namespace of the Kubernetes Resource
type: string
required:
- name
type: object
referenceHourOfDay:
description: UTC Hour of day between 0 and 23, inclusive, representing
which hour of the day that Atlas takes snapshots for backup policy
Expand Down Expand Up @@ -111,7 +108,7 @@ spec:
the snapshots
type: boolean
required:
- policies
- policy
type: object
status:
type: object
Expand Down
Loading

0 comments on commit d5c4b32

Please sign in to comment.