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

failed to call image swap after k8s CA expired #115

Open
qingbo-lu opened this issue Mar 6, 2024 · 0 comments
Open

failed to call image swap after k8s CA expired #115

qingbo-lu opened this issue Mar 6, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed needs-triage

Comments

@qingbo-lu
Copy link

What happened: Warning FailedCreate 12s replicaset-controller Error creating: Internal error occurred: failed calling webhook "imageswap.webhook.k8s.twr.io": failed to call webhook: Post "https://imageswap.registry-mirrors.svc:443/?timeout=10s": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2024-03-06T06:13:22Z is after 2024-03-05T21:19:29Z

mutatingwebhookconfigurations's CA_BUNDLE is copied from kubernetes configmap, GKE cluster auto retated the CA but image-swap didn't do that; certs of image-swap is valid but the CA is expired...
need to find a way to auto rotate the CA.

@qingbo-lu qingbo-lu added the bug Something isn't working label Mar 6, 2024
@phenixblue phenixblue added help wanted Extra attention is needed needs-triage labels Apr 11, 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 help wanted Extra attention is needed needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants