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

Create a pre-install,pre-upgrade,pre-rollback hook that validates st2.packs.volumes #321

Closed
cognifloyd opened this issue Jul 12, 2022 · 0 comments · Fixed by #323
Closed
Labels
enhancement New feature or request Helm
Milestone

Comments

@cognifloyd
Copy link
Member

cognifloyd commented Jul 12, 2022

The new st2.packs.volumes feature (introduced in #199) is extremely useful, but getting the volume config right can be confusing since Kubernetes has so many options. So, the chart should help users ensure their volume config is correct before adding/updating any other resource to kubernetes.

I think a Pod with a pre-* chart hook would allow the chart to validate this. Hopefully we can control the error message when the hook fails. If we can control the message, then we can explain what kinds of volumes are supported and any information we can detect about their current setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Helm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant