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