stackstorm-k8s icon indicating copy to clipboard operation
stackstorm-k8s copied to clipboard

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

Open cognifloyd opened this issue 3 years ago • 0 comments

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.

cognifloyd avatar Jul 12 '22 00:07 cognifloyd