Skip to content

argocd-server services randomly new / old / expired cerificate from secret argocd-server-tls #10707

@vx-github

Description

@vx-github

Checklist:

Describe the bug

Since version 2.4.3 I noticed argocd-server is sometimes serving older / expired certs that should not be served any more. We first noticed this after the upgrade from 2.2.5 to 2.4.11. The problem exists in 2.4.12 too.

To Reproduce
Use this https://github.com/vx-github/vx-argocd-cert-bug to easily reproduce the issue locally in a kind cluster.

Expected behavior

Expected behavior would be that argcd-server only serves / uses the cert in argocd-server-tls secret if it exists and doesn't serves / uses certs it was not supposed to (old / expired ones).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions