-
Notifications
You must be signed in to change notification settings - Fork 322
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
x509: consul-webhook-cert-manager is unable to put correct caBundle in consul-controller-mutating-webhook-configuration on consul update #808
Labels
type/bug
Something isn't working
Comments
amit106679
changed the title
consul-webhook-cert-manager is unable to put correct caBundle in consul-controller-mutating-webhook-configuration on upgrade.
x509: consul-webhook-cert-manager is unable to put correct caBundle in consul-controller-mutating-webhook-configuration on upgrade.
Oct 27, 2021
amit106679
changed the title
x509: consul-webhook-cert-manager is unable to put correct caBundle in consul-controller-mutating-webhook-configuration on upgrade.
x509: consul-webhook-cert-manager is unable to put correct caBundle in consul-controller-mutating-webhook-configuration on consul update
Oct 27, 2021
I've reproduced this and we're working on a fix now. |
2 tasks
@lkysow thanks for the fix - any timeline when this will be released on helm charts? Also we faced another issue: Please let me know if this is fixed or should I create another ticket for this? |
We should have a release in the next two weeks.
For your other issue please open up a new ticket since the certs should
still be renewed even with the current release. Please also include which
platform you're running on. I've seen something similar when
running locally on Docker when I stop and restart the Docker daemon.
…On Mon, Nov 8, 2021 at 11:39 PM amit106679 ***@***.***> wrote:
@lkysow <https://github.com/lkysow> thanks for the fix - any timeline
when this will be released on helm charts?
Also we faced another issue - x509: certificate has expired or is not yet
valid: current time 2021-11-09T05:37:48Z is after 2021-11-08T19:40:44Z -
please let me know if this is fixed or should I create another ticket for
this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#808 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH4RPJE7EUNO5ZO5FS5MITULDF4DANCNFSM5G3MEFMA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Community Note
Overview of the Issue
Upgrading any parameter in consul via helm in a kubernetes cluster starts giving error: Internal error occurred: failed calling webhook "mutate-servicerouter.consul.hashicorp.com": Post "https://consul-consul-controller-webhook.consul.svc:443/mutate-v1alpha1-servicerouter?timeout=10s": x509: certificate signed by unknown authority.
Reproduction Steps
Install consul 1.10.2 via helm.
Update any small parameter like affinity in the config yaml and update via helm.
Cause of the issue & Workaround
Updating consul resets caBundle value in consul-controller-mutating-webhook-configuration to the default value. Restarting the consul-webhook-cert-manager deployment mitigates the issue by putting correct value of caBundle again in the above mutatingwebhookconfiguration.
The expected behaviour should be that webhook-cert-manager reloads the caBundle correctly but on upgrade it is not able to till it is restarted.
The text was updated successfully, but these errors were encountered: