Open isubasinghe opened 1 month ago
This is in theory already in the API version at the top of the CR:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
Currently it's set at v1alpha1, which is often treated as "anything goes", as this project is treating it.
https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/ explains how this is supposed to be implemented.
A version bump would be required for incompatible changes with the mutating webhook knowing how to convert versions.
I'd suggest the Validating Webhook (#13503) is a more important thing to get in at the moment and we need to be more careful with API (CRD) changes in future.
Summary
A new Version field would need to be added into the Workflow specification.
Use Cases