Skip to content

Commit a3484b8

Browse files
authored
operator mongodb-atlas-kubernetes (2.11.1)
1 parent 7c32985 commit a3484b8

25 files changed

+8020
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
FROM scratch
2+
3+
LABEL com.redhat.openshift.versions="v4.8-v4.18"
4+
LABEL com.redhat.delivery.backport=true
5+
LABEL com.redhat.delivery.operator.bundle=true
6+
7+
# Core bundle labels.
8+
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
9+
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
10+
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
11+
LABEL operators.operatorframework.io.bundle.package.v1=mongodb-atlas-kubernetes
12+
LABEL operators.operatorframework.io.bundle.channels.v1=stable
13+
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
14+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.34.1
15+
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
16+
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4
17+
18+
# Labels for testing.
19+
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
20+
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
21+
22+
# Copy files to locations specified by labels.
23+
COPY manifests /manifests/
24+
COPY metadata /metadata/
25+
COPY tests/scorecard /tests/scorecard/
Lines changed: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,237 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.17.2
6+
creationTimestamp: null
7+
labels:
8+
app.kubernetes.io/component: controller
9+
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
10+
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
11+
name: atlasbackupcompliancepolicies.atlas.mongodb.com
12+
spec:
13+
group: atlas.mongodb.com
14+
names:
15+
categories:
16+
- atlas
17+
kind: AtlasBackupCompliancePolicy
18+
listKind: AtlasBackupCompliancePolicyList
19+
plural: atlasbackupcompliancepolicies
20+
shortNames:
21+
- abcp
22+
singular: atlasbackupcompliancepolicy
23+
scope: Namespaced
24+
versions:
25+
- additionalPrinterColumns:
26+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
27+
name: Ready
28+
type: string
29+
name: v1
30+
schema:
31+
openAPIV3Schema:
32+
description: The AtlasBackupCompliancePolicy is a configuration that enforces
33+
specific backup and retention requirements
34+
properties:
35+
apiVersion:
36+
description: |-
37+
APIVersion defines the versioned schema of this representation of an object.
38+
Servers should convert recognized schemas to the latest internal value, and
39+
may reject unrecognized values.
40+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
41+
type: string
42+
kind:
43+
description: |-
44+
Kind is a string value representing the REST resource this object represents.
45+
Servers may infer this from the endpoint the client submits requests to.
46+
Cannot be updated.
47+
In CamelCase.
48+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
49+
type: string
50+
metadata:
51+
type: object
52+
spec:
53+
description: AtlasBackupCompliancePolicySpec is the specification of the
54+
desired configuration of backup compliance policy
55+
properties:
56+
authorizedEmail:
57+
description: Email address of the user who authorized to update the
58+
Backup Compliance Policy settings.
59+
type: string
60+
authorizedUserFirstName:
61+
description: First name of the user who authorized to updated the
62+
Backup Compliance Policy settings.
63+
type: string
64+
authorizedUserLastName:
65+
description: Last name of the user who authorized to updated the Backup
66+
Compliance Policy settings.
67+
type: string
68+
copyProtectionEnabled:
69+
description: Flag that indicates whether to prevent cluster users
70+
from deleting backups copied to other regions, even if those additional
71+
snapshot regions are removed.
72+
type: boolean
73+
encryptionAtRestEnabled:
74+
description: Flag that indicates whether Encryption at Rest using
75+
Customer Key Management is required for all clusters with a Backup
76+
Compliance Policy.
77+
type: boolean
78+
onDemandPolicy:
79+
description: Specifications for on-demand policy.
80+
properties:
81+
retentionUnit:
82+
description: 'Scope of the backup policy item: days, weeks, or
83+
months'
84+
enum:
85+
- days
86+
- weeks
87+
- months
88+
type: string
89+
retentionValue:
90+
description: Value to associate with RetentionUnit
91+
type: integer
92+
required:
93+
- retentionUnit
94+
- retentionValue
95+
type: object
96+
overwriteBackupPolicies:
97+
description: Flag that indicates whether to overwrite non complying
98+
backup policies with the new data protection settings or not.
99+
type: boolean
100+
pointInTimeEnabled:
101+
description: Flag that indicates whether the cluster uses Continuous
102+
Cloud Backups with a Backup Compliance Policy.
103+
type: boolean
104+
restoreWindowDays:
105+
description: Number of previous days that you can restore back to
106+
with Continuous Cloud Backup with a Backup Compliance Policy. This
107+
parameter applies only to Continuous Cloud Backups with a Backup
108+
Compliance Policy.
109+
type: integer
110+
scheduledPolicyItems:
111+
description: List that contains the specifications for one scheduled
112+
policy.
113+
items:
114+
properties:
115+
frequencyInterval:
116+
description: |-
117+
Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType.
118+
The only accepted value you can set for frequency interval with NVMe clusters is 12.
119+
enum:
120+
- 1
121+
- 2
122+
- 3
123+
- 4
124+
- 5
125+
- 6
126+
- 7
127+
- 8
128+
- 9
129+
- 10
130+
- 11
131+
- 12
132+
- 13
133+
- 14
134+
- 15
135+
- 16
136+
- 17
137+
- 18
138+
- 19
139+
- 20
140+
- 21
141+
- 22
142+
- 23
143+
- 24
144+
- 25
145+
- 26
146+
- 27
147+
- 28
148+
- 40
149+
type: integer
150+
frequencyType:
151+
description: 'Frequency associated with the backup policy item.
152+
One of the following values: hourly, daily, weekly or monthly.
153+
You cannot specify multiple hourly and daily backup policy
154+
items.'
155+
enum:
156+
- hourly
157+
- daily
158+
- weekly
159+
- monthly
160+
- yearly
161+
type: string
162+
retentionUnit:
163+
description: 'Scope of the backup policy item: days, weeks,
164+
or months'
165+
enum:
166+
- days
167+
- weeks
168+
- months
169+
- years
170+
type: string
171+
retentionValue:
172+
description: Value to associate with RetentionUnit
173+
type: integer
174+
required:
175+
- frequencyInterval
176+
- frequencyType
177+
- retentionUnit
178+
- retentionValue
179+
type: object
180+
type: array
181+
required:
182+
- authorizedEmail
183+
- authorizedUserFirstName
184+
- authorizedUserLastName
185+
type: object
186+
status:
187+
properties:
188+
conditions:
189+
description: Conditions is the list of statuses showing the current
190+
state of the Atlas Custom Resource
191+
items:
192+
description: Condition describes the state of an Atlas Custom Resource
193+
at a certain point.
194+
properties:
195+
lastTransitionTime:
196+
description: Last time the condition transitioned from one status
197+
to another.
198+
format: date-time
199+
type: string
200+
message:
201+
description: A human readable message indicating details about
202+
the transition.
203+
type: string
204+
reason:
205+
description: The reason for the condition's last transition.
206+
type: string
207+
status:
208+
description: Status of the condition, one of True, False, Unknown.
209+
type: string
210+
type:
211+
description: Type of Atlas Custom Resource condition.
212+
type: string
213+
required:
214+
- status
215+
- type
216+
type: object
217+
type: array
218+
observedGeneration:
219+
description: |-
220+
ObservedGeneration indicates the generation of the resource specification that the Atlas Operator is aware of.
221+
The Atlas Operator updates this field to the 'metadata.generation' as soon as it starts reconciliation of the resource.
222+
format: int64
223+
type: integer
224+
required:
225+
- conditions
226+
type: object
227+
type: object
228+
served: true
229+
storage: true
230+
subresources:
231+
status: {}
232+
status:
233+
acceptedNames:
234+
kind: ""
235+
plural: ""
236+
conditions: null
237+
storedVersions: null

0 commit comments

Comments
 (0)