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

Server-Side Diff and webhook CA verification error #17367

Open
llavaud opened this issue Mar 1, 2024 · 0 comments
Open

Server-Side Diff and webhook CA verification error #17367

llavaud opened this issue Mar 1, 2024 · 0 comments

Comments

@llavaud
Copy link

llavaud commented Mar 1, 2024

Describe the bug

With Server-Side Diff activated, sometimes sync operations error as it fails to verify a webhook certificate authority

To Reproduce

Create an application that deploy resources on a cluster with Validatingwebhookconfigurations, wait for the error to appears

Expected behavior

Diff without errors

Screenshots

Screenshot 2024-03-01 at 13 31 27

Version

argocd: v2.10.1+a79e0ea
  BuildDate: 2024-02-14T17:37:43Z
  GitCommit: a79e0eaca415461dc36615470cecc25d6d38cefb
  GitTreeState: clean
  GoVersion: go1.21.3
  Compiler: gc
  Platform: linux/amd64

Logs

Failed to compare desired state to live state: failed to calculate diff: error calculating server side diff: serverSideDiff error: error running server side apply in dryrun mode for resource Pooler/pooler-barcnpg-tloubiou-test-rw: Internal error occurred: failed calling webhook "vpooler.cnpg.io": failed to call webhook: Post "https://cnpg-webhook-service.cnpg-operator.svc:443/validate-postgresql-cnpg-io-v1-pooler?timeout=10s": tls: failed to verify certificate: x509: certificate signed by unknown authority
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants