Skip to content

feature: upgrade CRDs by Job #2334

@fkajerry

Description

@fkajerry

Chart name and version, where you feel a lack of requested feature
chart: victoria-metrics-operator
version: v0.51.4

Is your feature request related to a problem? Please describe.
Since helm does not support upgrading CRDs, it's an manual task for our end-users.

However the kube-prometheus-stack chart https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/charts/crds/templates/upgrade/job.yaml implement a upgrade job using helm hooks that works for at least half year.

Describe the solution you'd like
Referring to the implementation below, add a Job named UpgradeJob to update CRDs using helm hooks, and disabled by default.

If necessary, I can contribute this feature. 😊

Describe alternatives you've considered
Keep the status quo, manual upgrade CRDs

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions