Skip to content

Commit 554708a

Browse files
authored
operator mongodb-atlas-kubernetes (2.7.0)
1 parent d24624f commit 554708a

21 files changed

+6370
-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"
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: 235 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,235 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.16.1
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: AtlasBackupCompliancePolicy defines the desired state of a compliance
33+
policy in Atlas.
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+
properties:
54+
authorizedEmail:
55+
description: Email address of the user who authorized to update the
56+
Backup Compliance Policy settings.
57+
type: string
58+
authorizedUserFirstName:
59+
description: First name of the user who authorized to updated the
60+
Backup Compliance Policy settings.
61+
type: string
62+
authorizedUserLastName:
63+
description: Last name of the user who authorized to updated the Backup
64+
Compliance Policy settings.
65+
type: string
66+
copyProtectionEnabled:
67+
description: Flag that indicates whether to prevent cluster users
68+
from deleting backups copied to other regions, even if those additional
69+
snapshot regions are removed.
70+
type: boolean
71+
encryptionAtRestEnabled:
72+
description: Flag that indicates whether Encryption at Rest using
73+
Customer Key Management is required for all clusters with a Backup
74+
Compliance Policy.
75+
type: boolean
76+
onDemandPolicy:
77+
description: Specifications for on-demand policy.
78+
properties:
79+
retentionUnit:
80+
description: 'Scope of the backup policy item: days, weeks, or
81+
months'
82+
enum:
83+
- days
84+
- weeks
85+
- months
86+
type: string
87+
retentionValue:
88+
description: Value to associate with RetentionUnit
89+
type: integer
90+
required:
91+
- retentionUnit
92+
- retentionValue
93+
type: object
94+
overwriteBackupPolicies:
95+
description: Flag that indicates whether to overwrite non complying
96+
backup policies with the new data protection settings or not.
97+
type: boolean
98+
pointInTimeEnabled:
99+
description: Flag that indicates whether the cluster uses Continuous
100+
Cloud Backups with a Backup Compliance Policy.
101+
type: boolean
102+
restoreWindowDays:
103+
description: Number of previous days that you can restore back to
104+
with Continuous Cloud Backup with a Backup Compliance Policy. This
105+
parameter applies only to Continuous Cloud Backups with a Backup
106+
Compliance Policy.
107+
type: integer
108+
scheduledPolicyItems:
109+
description: List that contains the specifications for one scheduled
110+
policy.
111+
items:
112+
properties:
113+
frequencyInterval:
114+
description: |-
115+
Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType.
116+
The only accepted value you can set for frequency interval with NVMe clusters is 12.
117+
enum:
118+
- 1
119+
- 2
120+
- 3
121+
- 4
122+
- 5
123+
- 6
124+
- 7
125+
- 8
126+
- 9
127+
- 10
128+
- 11
129+
- 12
130+
- 13
131+
- 14
132+
- 15
133+
- 16
134+
- 17
135+
- 18
136+
- 19
137+
- 20
138+
- 21
139+
- 22
140+
- 23
141+
- 24
142+
- 25
143+
- 26
144+
- 27
145+
- 28
146+
- 40
147+
type: integer
148+
frequencyType:
149+
description: 'Frequency associated with the backup policy item.
150+
One of the following values: hourly, daily, weekly or monthly.
151+
You cannot specify multiple hourly and daily backup policy
152+
items.'
153+
enum:
154+
- hourly
155+
- daily
156+
- weekly
157+
- monthly
158+
- yearly
159+
type: string
160+
retentionUnit:
161+
description: 'Scope of the backup policy item: days, weeks,
162+
or months'
163+
enum:
164+
- days
165+
- weeks
166+
- months
167+
- years
168+
type: string
169+
retentionValue:
170+
description: Value to associate with RetentionUnit
171+
type: integer
172+
required:
173+
- frequencyInterval
174+
- frequencyType
175+
- retentionUnit
176+
- retentionValue
177+
type: object
178+
type: array
179+
required:
180+
- authorizedEmail
181+
- authorizedUserFirstName
182+
- authorizedUserLastName
183+
type: object
184+
status:
185+
properties:
186+
conditions:
187+
description: Conditions is the list of statuses showing the current
188+
state of the Atlas Custom Resource
189+
items:
190+
description: Condition describes the state of an Atlas Custom Resource
191+
at a certain point.
192+
properties:
193+
lastTransitionTime:
194+
description: Last time the condition transitioned from one status
195+
to another.
196+
format: date-time
197+
type: string
198+
message:
199+
description: A human readable message indicating details about
200+
the transition.
201+
type: string
202+
reason:
203+
description: The reason for the condition's last transition.
204+
type: string
205+
status:
206+
description: Status of the condition, one of True, False, Unknown.
207+
type: string
208+
type:
209+
description: Type of Atlas Custom Resource condition.
210+
type: string
211+
required:
212+
- status
213+
- type
214+
type: object
215+
type: array
216+
observedGeneration:
217+
description: |-
218+
ObservedGeneration indicates the generation of the resource specification that the Atlas Operator is aware of.
219+
The Atlas Operator updates this field to the 'metadata.generation' as soon as it starts reconciliation of the resource.
220+
format: int64
221+
type: integer
222+
required:
223+
- conditions
224+
type: object
225+
type: object
226+
served: true
227+
storage: true
228+
subresources:
229+
status: {}
230+
status:
231+
acceptedNames:
232+
kind: ""
233+
plural: ""
234+
conditions: null
235+
storedVersions: null

0 commit comments

Comments
 (0)