feat(base-cluster/backup): make k8up a bit more configurable#1763
feat(base-cluster/backup): make k8up a bit more configurable#1763marvinWolff wants to merge 1 commit intomainfrom
Conversation
WalkthroughReplaced a hard-coded k8up backup provider flag with a Helm-templated value and added the corresponding boolean entry to the chart's values schema so the flag can be set via Helm values (defaults to false when not provided). Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
charts/base-cluster/templates/backup/k8up/k8up.yaml(1 hunks)charts/base-cluster/values.schema.json(1 hunks)
4552eaf to
3868c13
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
charts/base-cluster/templates/backup/k8up/k8up.yaml(1 hunks)charts/base-cluster/values.schema.json(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- charts/base-cluster/templates/backup/k8up/k8up.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: check licenses
- GitHub Check: Update release-please config file for a possibly new chart
- GitHub Check: lint helm chart (base-cluster)
3868c13 to
84a83c0
Compare
| "k8up": { | ||
| "type": "object", | ||
| "properties": { | ||
| "skipWithoutAnnotation": { |
There was a problem hiding this comment.
| "skipWithoutAnnotation": { | |
| "includeWithoutAnnotation": { |
| k8up: | ||
| globalResources: {{- include "common.resources" .Values.backup.runners | nindent 8 }} | ||
| skipWithoutAnnotation: true | ||
| skipWithoutAnnotation: {{ .Values.backup.provider.k8up.skipWithoutAnnotation | default false }} |
There was a problem hiding this comment.
| skipWithoutAnnotation: {{ .Values.backup.provider.k8up.skipWithoutAnnotation | default false }} | |
| skipWithoutAnnotation: {{ .Values.backup.provider.k8up.includeWithoutAnnotation | default false | not }} |
Summary by CodeRabbit