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

Linkerd control plane certificates are being reset #17

Closed
d3adb5 opened this issue Apr 8, 2024 · 1 comment
Closed

Linkerd control plane certificates are being reset #17

d3adb5 opened this issue Apr 8, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@d3adb5
Copy link
Owner

d3adb5 commented Apr 8, 2024

It looks like the Linkerd control plane components' TLS certificates are being reset a few hours after synchronization through Argo CD. Argo is not detecting drift, but this leads to certificates that are not signed by the trust anchor.

Looking at the MutatingWebhookConfiguration created for the proxy injector, it looks like the CA bundle that is copied over is for the certificate that was put in place after the Argo CD sync. openssl verify says the certificate isn't trusted, even when the CA file is set to the trust anchor public certificate. This could be due to the trust anchor being a self-signed certificate, but it is also possible the certificate issued for these components is not signed by it.

This is not breaking communication between meshed services, but once the certificate is reset to an invalid one, the mutating webhook is unable to inject linkerd-proxy into new Pods, so new containers cannot enter the mesh.

@d3adb5 d3adb5 added the bug Something isn't working label Apr 8, 2024
@d3adb5 d3adb5 self-assigned this Apr 8, 2024
@d3adb5
Copy link
Owner Author

d3adb5 commented Jul 13, 2024

As of #34 it looks like this problem was solved. I'm not too sure why, I'm not too sure how, but it's no longer happening.

@d3adb5 d3adb5 closed this as completed Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant