Skip to content

Operator crashes for very long certificate lifetimes #362

Open
@soenkeliebau

Description

@soenkeliebau

A user recently noticed that commons op kept crashing on startup in their environment.

The root cause turned out to be certificates with very long lifetimes (expiry in 2069). When the commons operator sees these, it tries to schedule a restart for those pods in 2069, which panics, because it is "too far" in the future.

An upstream issue in kube-rs has been opened: kube-rs/kube#1772

We need to decide, whether it is realistic to get this into 25.7 via a released kube-rs version, or if we should implement a simple workaround for now that limits scheduling tasks to 6 months or something similar.
We can then remove this, once kube-rs releases a version with a fix.

Metadata

Metadata

Assignees

Type

Projects

Status

Development: Waiting for Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions