Skip to content

Robust Zero-Downtime CA cert rotation #2998

@c-pius

Description

@c-pius

Description

Improve our zero-downtime rotation of the CA certificate for the Watch Mechanism. The overall concept is documented here #2986.

This epic serves to orchestrate all tasks needed to get the concept fully realized.

Acceptance Criteria

  • no-downtime for the watch mechanism when CA cert is rotated
  • CA cert rotation can be triggered as often as we want without breaking flows
  • stable e2e testing

Reasons

Current zero-downtime solution works in general, we observed some issues however:

  • rotation is missing idempotency
    • if rotation is triggered too frequently, the setup breaks because certain actions (i.e., server cert switch) has not been performed yet
  • rotation leads to errors in client certificates (issuing secret not found) propagating to Kyma error status
  • existing e2e test is quite flaky

Attachments

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions