-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate Contour CRDs with V1 CustomResourceDefinition. #2678
Comments
A few notes here:
Otherwise, this looks to be a pretty simple change that will add a lot of value going forward. |
Updates the Contour CustomResourceDefinition YAML files to contain v1 resources instead of v1beta1. Closes projectcontour#2678 Closes projectcontour#1723 Closes projectcontour#1978 Closes projectcontour#2903 Closes projectcontour#2527 Signed-off-by: Steve Kriss <krisss@vmware.com>
I'm fine with only outputting the CRD I think having a |
Updates the Contour CustomResourceDefinition YAML files to contain v1 resources instead of v1beta1. Closes projectcontour#2678 Closes projectcontour#1723 Closes projectcontour#1978 Closes projectcontour#2903 Closes projectcontour#2527 Signed-off-by: Steve Kriss <krisss@vmware.com>
Updates the Contour CustomResourceDefinition YAML files to contain v1 resources instead of v1beta1. Closes projectcontour#2678 Closes projectcontour#1723 Closes projectcontour#1978 Closes projectcontour#2903 Closes projectcontour#2527 Signed-off-by: Steve Kriss <krisss@vmware.com>
As an update, I was able to add logic to our wrapper CRD generation script to add |
Updates the Contour CustomResourceDefinition YAML files to contain v1 resources instead of v1beta1. Closes projectcontour#2678 Closes projectcontour#1723 Closes projectcontour#1978 Closes projectcontour#2903 Closes projectcontour#2527 Signed-off-by: Steve Kriss <krisss@vmware.com>
Updates the Contour CustomResourceDefinition YAML files to contain v1 resources instead of v1beta1. Closes projectcontour#2678 Closes projectcontour#1723 Closes projectcontour#1978 Closes projectcontour#2903 Closes projectcontour#2527 Signed-off-by: Steve Kriss <krisss@vmware.com>
Updates the Contour CustomResourceDefinition YAML files to contain v1 resources instead of v1beta1. Closes projectcontour#2678 Closes projectcontour#1723 Closes projectcontour#1978 Closes projectcontour#2903 Closes projectcontour#2527 Signed-off-by: Steve Kriss <krisss@vmware.com>
examples: generate v1 CustomResourceDefinitions Updates the Contour CustomResourceDefinition YAML files to contain v1 resources instead of v1beta1 with preserveUnknownFields set to false. Also adds a check on `contour serve` for non-upgraded CRDs, and logs a warning if found. Closes #2678 Closes #1723 Closes #1978 Closes #2903 Closes #2527 Signed-off-by: Steve Kriss <krisss@vmware.com>
Generating CRDs as v1 CustomResourceDefinition resources enables better CRD validation and defaulting, as well as the ability to use
kubectl explain
.This requires Kubernetes 1.16 or later. We can do this as the default YAML, but we can also generate different sets of YAML (as demonstrated in #2474).
This issue tracks the decision for adding this, and we can also use it to collect other issues that are blocked on the CRD support.
The text was updated successfully, but these errors were encountered: