Introduce apiVersion for Remediation file #1919
Comments
I like the idea, though why does it need to be a Kubernetes-like version? It's not a custom resource, nor is stored in Kubernetes. IMHO we should re-use spec_version: spec.keptn.sh/0.1.3 Accessing https://spec.keptn.sh/0.1.3 should then redirect the user to github.com/keptn/spec/tree/0.1.3 edit: depending on the desired result, maybe we should also add spec_version: spec.keptn.sh/0.1.3/remediation This would also be something we should consider for cloud-events (our cloud-events only point to a cloud-event spec, not the Keptn spec). |
I would propose to combine both ideas into: Reasoning: Regardless of K8s-native or not, the term |
Currently, we define the "version" info of the remdiation.yaml with "0.2.0".
I propose to use "apiVersion" and "remediation.keptn.sh/v1alpha2" as value because this would be more k8s-native.
For an example, look here
Definition of Done:
The text was updated successfully, but these errors were encountered: