From d6cb92fef49dd3c8eb8a94f70d492cb9a48b6001 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 11 Jun 2026 17:18:10 -0400 Subject: [PATCH] Add runtimeClassName Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- haproxy-ingress/templates/_podtemplate.yaml | 3 +++ haproxy-ingress/values.yaml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/haproxy-ingress/templates/_podtemplate.yaml b/haproxy-ingress/templates/_podtemplate.yaml index 2355505..3ece360 100644 --- a/haproxy-ingress/templates/_podtemplate.yaml +++ b/haproxy-ingress/templates/_podtemplate.yaml @@ -317,6 +317,9 @@ spec: {{- if .Values.controller.priorityClassName }} priorityClassName: {{ .Values.controller.priorityClassName | quote }} {{- end }} +{{- if .Values.controller.runtimeClassName }} + runtimeClassName: {{ .Values.controller.runtimeClassName | quote }} +{{- end }} {{- if .Values.controller.podSecurityContext }} securityContext: {{- toYaml .Values.controller.podSecurityContext | nindent 4 }} diff --git a/haproxy-ingress/values.yaml b/haproxy-ingress/values.yaml index 2841fd9..94ed708 100644 --- a/haproxy-ingress/values.yaml +++ b/haproxy-ingress/values.yaml @@ -154,6 +154,11 @@ controller: ## securityContextInitContainer: {} + ## Runtime Class to be used + ## Ref: https://kubernetes.io/docs/concepts/containers/runtime-class/ + ## + runtimeClassName: "" + # Defines if controller.securityContext should be applied in the # controller's pod (if legacy: true) or the container (if legacy: false) legacySecurityContext: true