You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/v1/atlasbackuppolicy_types.go
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ type AtlasBackupPolicySpec struct {
28
28
}
29
29
30
30
typeAtlasBackupPolicyItemstruct {
31
-
// 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.
31
+
// Frequency associated with the backup policy item. You cannot specify multiple hourly and daily backup policy items.
// Duration in days, weeks, months, or years that MongoDB Cloud retains the snapshot.
45
+
// For less frequent policy items, MongoDB Cloud requires that you specify a value greater than or equal to the value specified for more frequent policy items.
// AtlasBackupScheduleSpec defines the desired state of AtlasBackupSchedule
29
+
// AtlasBackupScheduleSpec defines the desired state of AtlasBackupSchedule.
30
30
typeAtlasBackupScheduleSpecstruct {
31
31
// Specify true to enable automatic export of cloud backup snapshots to the AWS bucket. You must also define the export policy using export. If omitted, defaults to false.
32
32
// +optional
@@ -100,7 +100,7 @@ var _ api.AtlasCustomResource = &AtlasBackupSchedule{}
Copy file name to clipboardExpand all lines: api/v1/atlascustomrole_types.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,11 +66,11 @@ type AtlasCustomRoleList struct {
66
66
Items []AtlasCustomRole`json:"items"`
67
67
}
68
68
69
-
// AtlasCustomRoleSpec defines the desired state of CustomRole in Atlas
69
+
// AtlasCustomRoleSpec defines the desired state of CustomRole in Atlas.
70
70
// +kubebuilder:validation:XValidation:rule="(has(self.externalProjectRef) && !has(self.projectRef)) || (!has(self.externalProjectRef) && has(self.projectRef))",message="must define only one project reference through externalProjectRef or projectRef"
71
71
// +kubebuilder:validation:XValidation:rule="(has(self.externalProjectRef) && has(self.connectionSecret)) || !has(self.externalProjectRef)",message="must define a local connection secret when referencing an external project"
72
72
typeAtlasCustomRoleSpecstruct {
73
-
// ProjectReference is the dual external or kubernetes reference with access credentials
73
+
// ProjectReference is the dual external or kubernetes reference with access credentials.
0 commit comments