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
Duplicate CRDs between serving-crds.yaml and serving-core.yaml #9945
Comments
What kubectl version are you running?
Are you following installation directions from anywhere they suggest to use ie. |
I'm running |
The intent of producing a separate crd.yaml & suggesting to install things in two steps is because users saw issues where the API server would report a CRD/resource type was not found after it was just applied. We saw this with our ImageCache resource. If you're using kustomize, which I believe is smart about applying CRDs first, then you should only need the |
We also apply labels to our CRDs |
Looks like this is resolved, please let us know if there are any further issues. |
EDIT: False alarm, I was using an incorrect copy locally. This is fine. |
/area API
What version of Knative?
0.18.1
Expected Behavior
I expected to be able to use the manifests as a kustomize base.
Actual Behavior
The CRD
configurations.serving.knative.dev
appears in bothserving-crds.yaml
andserving-core.yaml
. Kustomize does not allow you to apply both at once since their definitions clash:Steps to Reproduce the Problem
Download
serving-core.yaml
andserving-crds.yaml
to the same directory, add a kustomization using both of them as resources, and attempt tokubectl apply -k .
.Related issues
knative-extensions/net-contour#333
Discussion
It seems to me that
serving-core.yaml
should not need the CRDs, when there is a CRD-specific file.The text was updated successfully, but these errors were encountered: