Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

added support for backup #6

wants to merge 2 commits into from

Conversation

asysdev
Copy link

@asysdev asysdev commented Sep 13, 2023

No description provided.

autoTerminateOnDeletion: false
encryption:
kmip:
client:
Copy link
Collaborator

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.

Copy link
Author

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.

kmip:
client:
clientCertificatePrefix: ""
snapshotSchedule:
Copy link
Collaborator

Choose a reason for hiding this comment

The 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.

Copy link
Author

Choose a reason for hiding this comment

The 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.

…validation for clientCertificatePrefix value to be not empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants