Skip to content

Commit d5c4b32

Browse files
github-actions[bot]fabritsiusleo-riigor-karpukhin
committed
Release 1.0.0 (#535)
Co-authored-by: Anton <anton_fabritsius@epam.com> Co-authored-by: Svetlana <5437289+leo-ri@users.noreply.github.com> Co-authored-by: Igor Karpukhin <karpukhinigor@gmail.com>
1 parent 0a0713b commit d5c4b32

19 files changed

+6542
-1493
lines changed

bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
1111
LABEL operators.operatorframework.io.bundle.package.v1=mongodb-atlas-kubernetes
1212
LABEL operators.operatorframework.io.bundle.channels.v1=beta
1313
LABEL operators.operatorframework.io.bundle.channel.default.v1=beta
14-
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.16.0
14+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.15.0+git
1515
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1616
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v2
1717

bundle/manifests/atlas.mongodb.com_atlasbackuppolicies.yaml

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,57 @@ spec:
3838
spec:
3939
description: AtlasBackupPolicySpec defines the desired state of AtlasBackupPolicy
4040
properties:
41-
foo:
42-
description: Foo is an example field of AtlasBackupPolicy. Edit atlasbackuppolicy_types.go
43-
to remove/update
44-
type: string
41+
items:
42+
description: A list of BackupPolicy items
43+
items:
44+
properties:
45+
frequencyInterval:
46+
description: Desired frequency of the new backup policy item
47+
specified by FrequencyType. A value of 1 specifies the first
48+
instance of the corresponding FrequencyType. The only accepted
49+
value you can set for frequency interval with NVMe clusters
50+
is 12.
51+
enum:
52+
- 1
53+
- 2
54+
- 4
55+
- 6
56+
- 8
57+
- 12
58+
type: integer
59+
frequencyType:
60+
description: 'Frequency associated with the backup policy item.
61+
One of the following values: hourly, daily, weekly or monthly.
62+
You cannot specify multiple hourly and daily backup policy
63+
items.'
64+
enum:
65+
- hourly
66+
- daily
67+
- weekly
68+
- monthly
69+
type: string
70+
retentionUnit:
71+
description: 'Scope of the backup policy item: days, weeks,
72+
or months'
73+
enum:
74+
- days
75+
- weeks
76+
- months
77+
type: string
78+
retentionValue:
79+
description: Value to associate with RetentionUnit
80+
type: integer
81+
required:
82+
- frequencyInterval
83+
- frequencyType
84+
- retentionUnit
85+
- retentionValue
86+
type: object
87+
type: array
88+
required:
89+
- items
4590
type: object
4691
status:
47-
description: AtlasBackupPolicyStatus defines the observed state of AtlasBackupPolicy
4892
type: object
4993
type: object
5094
served: true

bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -54,30 +54,27 @@ spec:
5454
cloud backup snapshot to.
5555
type: string
5656
frequencyType:
57+
default: MONTHLY
5758
enum:
5859
- MONTHLY
5960
type: string
6061
required:
6162
- exportBucketId
6263
- frequencyType
6364
type: object
64-
policies:
65-
description: Array containing a references (name & namespace) for
66-
each backup policy item in the desired updated backup policy.
67-
items:
68-
description: ResourceRefNamespaced is a reference to a Kubernetes
69-
Resource that allows to configure the namespace
70-
properties:
71-
name:
72-
description: Name is the name of the Kubernetes Resource
73-
type: string
74-
namespace:
75-
description: Namespace is the namespace of the Kubernetes Resource
76-
type: string
77-
required:
78-
- name
79-
type: object
80-
type: array
65+
policy:
66+
description: A reference (name & namespace) for backup policy in the
67+
desired updated backup policy.
68+
properties:
69+
name:
70+
description: Name is the name of the Kubernetes Resource
71+
type: string
72+
namespace:
73+
description: Namespace is the namespace of the Kubernetes Resource
74+
type: string
75+
required:
76+
- name
77+
type: object
8178
referenceHourOfDay:
8279
description: UTC Hour of day between 0 and 23, inclusive, representing
8380
which hour of the day that Atlas takes snapshots for backup policy
@@ -111,7 +108,7 @@ spec:
111108
the snapshots
112109
type: boolean
113110
required:
114-
- policies
111+
- policy
115112
type: object
116113
status:
117114
type: object

0 commit comments

Comments
 (0)