Skip to content

MINOR: kubernetes-ingress: add TLS ticket keys support - #400

Open
PixiBixi wants to merge 2 commits into
haproxytech:mainfrom
PixiBixi:feat/tls-ticket-keys
Open

PixiBixi wants to merge 2 commits into
haproxytech:mainfrom
PixiBixi:feat/tls-ticket-keys

Conversation

@PixiBixi

@PixiBixi PixiBixi commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Adds controller.tlsTicketKeys to mount an existing Secret holding TLS ticket keys and point the controller at it, so that all replicas share the keys and resume each other's TLS sessions.

controller:
  tlsTicketKeys:
    enabled: true
    existingSecret: haproxy-tls-ticket-keys   # 3 base64 keys, one per line
    secretKey: tls-ticket-keys
    mountPath: /etc/haproxy/tls-ticket-keys
  • Mounts the Secret read-only as a directory, not a subPath, so a rotated Secret reaches running pods. Shared by the Deployment and the DaemonSet through _podspec.tpl.
  • Adds tls-ticket-keys: <mountPath>/<secretKey> to the controller ConfigMap. A value set in controller.config wins.
  • Fails rendering when enabled without existingSecret. Default values render unchanged.
  • Bumps the chart to 1.55.0.

Requires the controller change haproxytech/kubernetes-ingress#874. Tested on kind with 2 replicas: sessions resume across replicas, and a rotated Secret is applied without a reload.

Add controller.tlsTicketKeys to mount a user-managed Secret and set the tls-ticket-keys controller config key so replicas share TLS session ticket keys.

Signed-off-by: Jérémy Delgado <PixiBixi@users.noreply.github.com>
Changes in kubernetes-ingress:
- add TLS ticket keys support (controller.tlsTicketKeys)

Signed-off-by: Jérémy Delgado <PixiBixi@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant