Skip to content

Dex never reloads its TLS serving certificate #8312

Todo

Description

@krancour

Dex keeps serving the cert it started with until its Pod restarts, even after cert-manager renews kargo-dex-server-cert. This is the same problem as #8238, but for Dex, which #8239 doesn't reach. A Dex Pod that runs past its cert's expiry serves an expired cert.

Dex v2.46.0 reloads its serving cert only on SIGHUP or on a Create event for the cert or key file's own path (newTLSReloader). When the kubelet updates a Secret volume, it swaps the ..data symlink instead, so that event never fires.

Reproduced on a cluster: after cert-manager reissued kargo-dex-server-cert, Dex kept presenting the old cert until a rollout restart.

Activity

  1. added
    kind/bug
    area/chart
    on Dec 4, 2026
  2. added
    needs/priority
    on Dec 4, 2026
  3. kargo-governance-bot commented on Dec 4, 2026

    @kargo-governance-bot

    Before Starting Work

    Thank you for opening this issue.

    Please do not start work on this issue, and please do not ask to be assigned to it, until a maintainer has triaged it and cleared it for contribution. This applies to bug reports too. A maintainer needs to confirm a bug, and usually reproduce it, before a fix is worth writing.

    An issue is cleared for contribution when none of the blocking labels remain on it. Pull requests that reference an issue that has not been cleared are automatically converted to drafts, which maintainers do not routinely review.

    Maintainers triage issues on a best-effort basis. See the Contributor Guide for details.

  4. added
    priority/normal
    area/security
    and removed
    needs/priority
    on Dec 4, 2026
  5. added this to the v2.0.0 milestone on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/chartarea/securitykind/bugpriority/normal

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions