-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added support for backup #6
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,3 +83,22 @@ additionalUsers: | |
role: "readWriteAnyDatabase" | ||
- db: admin | ||
role: "userAdminAnyDatabase" | ||
|
||
backup: | ||
mode: enabled | ||
autoTerminateOnDeletion: false | ||
encryption: | ||
kmip: | ||
client: | ||
clientCertificatePrefix: "" | ||
snapshotSchedule: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just for the record, the same thing happens here. Providing empty values is not the same as not providing this at all. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also added validation to verify if value of clientCertificatePrefix is empty string, then to not include encryption block at all. |
||
snapshotIntervalHours: 6 | ||
snapshotRetentionDays: 3 | ||
dailySnapshotRetentionDays: 7 | ||
weeklySnapshotRetentionWeeks: 4 | ||
monthlySnapshotRetentionMonths: 0 | ||
pointInTimeWindowHours: 24 | ||
referenceHourOfDay: 0 | ||
referenceMinuteOfHour: 0 | ||
fullIncrementalDayOfWeek: "SUNDAY" | ||
clusterCheckpointIntervalMin: 15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be a bad idea as MEKO turns KMIP on and off based on the existence of the
.spec.encryption.kmip
. Putting an empty element here might lead to errors.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added validation to verify whether encryption is enabled or not in the charts/templates/mongodb-deployment.yaml file.