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 retention time value for helm chart #66

Merged
merged 7 commits into from
Oct 28, 2024

Conversation

marhode
Copy link
Contributor

@marhode marhode commented Oct 24, 2024

Description

Added the option to set a retention time for duply backups in the helm chart.

Links to Tickets or other PRs

Notes

Approval for review

  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

@marhode marhode requested review from JannikBadenhop, maxi418 and a team October 24, 2024 11:23
@marhode marhode self-assigned this Oct 24, 2024
@@ -122,6 +122,8 @@ dbpMoodle:
# -- Backup configuration. Set enabled=true to enable the backup-cronjob. Also set s3 location credentials
backup:
enabled: false
retention_time: ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
retention_time: ""
# -- Defines the maximum age of a backup before it is deleted
retention_time: ""

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the comments. Can we also set a default value to demonstrate what values are expected? Like "1D".
This simply improves usability and has no impact on default chart creation, since backup is disabled by default

Copy link
Contributor Author

@marhode marhode Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comment and default Values. (The default values can also be found in the helpers.tpl)

charts/dbp-moodle/values.yaml Outdated Show resolved Hide resolved
@marhode marhode merged commit 4132c9e into main Oct 28, 2024
@marhode marhode deleted the OPS-7140-enable-backups-on-dev branch October 28, 2024 09:32
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.

3 participants