Skip to content

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

@cognifloyd

Description

@cognifloyd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions