You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My apologies I do not seem to have the permissions to re open the discussion in #4855
We can answer this here or on the old thread my comment/question is the same.
Two things:
am i reading this correctly I need to uncomment out the following
+kubebuilder:scaffold:crdkustomizecainjectionns
it says in the code: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD.
All of the code that you highlighted exists in my project. I physically made a new kubebuilder project with the newer version and moved my crd, types and controller code into the new project Note using Kubebuilder Version v4.6.0. I set up my webhooks using the new commands and followed the https://book-v3.book.kubebuilder.io/multiversion-tutorial/deployment guide. Specifically I uncommented all of the labeled portions in config/default/kustomization.yaml that you outline in the response, the documentation, and made sure any code following this was uncommented: # Uncomment the following block if you have a ConversionWebhook (--conversion)
These TSL errors still persist in the same form. Are there any alternative ideas?
Examples: [https://x-operator-webhook-service.x-operator-system.svc:443/convert](https://x-operator-webhook-service.x-operator-system.svc/convert)? timeout=30s": no endpoints available for service "x-operator-webhook-service"
cert-manager-webhook logs: "http:TLS handshake error from 10.150.0.0:35564: EOF"
I have yet to uncomment out the skaffold line listed above its the only thing i have not tried.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
My apologies I do not seem to have the permissions to re open the discussion in #4855
We can answer this here or on the old thread my comment/question is the same.
Two things:
+kubebuilder:scaffold:crdkustomizecainjectionns
it says in the code: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD.
Note using Kubebuilder Version v4.6.0
. I set up my webhooks using the new commands and followed the https://book-v3.book.kubebuilder.io/multiversion-tutorial/deployment guide. Specifically I uncommented all of the labeled portions inconfig/default/kustomization.yaml
that you outline in the response, the documentation, and made sure any code following this was uncommented:# Uncomment the following block if you have a ConversionWebhook (--conversion)
These TSL errors still persist in the same form. Are there any alternative ideas?
Examples:
[https://x-operator-webhook-service.x-operator-system.svc:443/convert](https://x-operator-webhook-service.x-operator-system.svc/convert)? timeout=30s": no endpoints available for service "x-operator-webhook-service"
cert-manager-webhook logs:
"http:TLS handshake error from 10.150.0.0:35564: EOF"
I have yet to uncomment out the skaffold line listed above its the only thing i have not tried.
Beta Was this translation helpful? Give feedback.
All reactions