Skip to content
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

Issue #821 was closed without solving the issue #836

Closed
donbowman opened this issue Mar 1, 2019 · 2 comments
Closed

Issue #821 was closed without solving the issue #836

donbowman opened this issue Mar 1, 2019 · 2 comments

Comments

@donbowman
Copy link
Contributor

donbowman commented Mar 1, 2019

kustomize re-orders config causing fail when crd or admission webhook used #821 #821

this included a test case that was simple. The PR that was created to close this problem #822 did not fix the issue, nor did it include the test case.

The ValidatingWebhookConfiguration is emitted after its use, causing a failure to apply, and then later no ability to delete, and a lockup, leaving me with a Namespace that is permanently stuck in 'deleting'.

I retested with 16d1b20 (which includes d5c8734)

testcase attached. If you run kustomize build from the overlays/global/cert-manager dir, | kubectl apply -f, you will see the error
cm.tar.gz

deployment.apps/cert-manager created
cronjob.batch/cert-manager-webhook-ca-sync created
validatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
apiservice.apiregistration.k8s.io/v1beta1.admission.certmanager.k8s.io created
job.batch/cert-manager-webhook-ca-sync created
certificate.certmanager.k8s.io/cert-manager-webhook-ca created
certificate.certmanager.k8s.io/cert-manager-webhook-webhook-tls created
issuer.certmanager.k8s.io/cert-manager-webhook-ca created
issuer.certmanager.k8s.io/cert-manager-webhook-selfsign created
Error from server (InternalError): error when creating "/tmp/l": Internal error occurred: failed calling webhook "clusterissuers.admission.certma

nager.k8s.io": the server could not find the requested resource
Error from server (InternalError): error when creating "/tmp/l": Internal error occurred: failed calling webhook "clusterissuers.admission.certmanager.k8s.io": the server could not find the requested resource
Error from server (InternalError): error when creating "/tmp/l": Internal error occurred: failed calling webhook "clusterissuers.admission.certmanager.k8s.io": the server could not find the requested resource

as-built.zip

If we look at the file it build (attached), you can see why.

@pwittrock
Copy link
Contributor

@donbowman Would this solve your problem?

kubernetes/enhancements#865

@monopole
Copy link
Contributor

monopole commented Mar 5, 2019

Please just continue on the same issue. We can reopen it trivially, and retain context in one place. I apologize for the abrupt closure.

If you wish, copy the comments above over to #821

@monopole monopole closed this as completed Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants