From f42b2e39186d1f68023e9d2da8dbcf6758d4402a Mon Sep 17 00:00:00 2001 From: pierremahot Date: Fri, 7 Nov 2025 16:51:43 +0100 Subject: [PATCH 1/2] Add priorityClassName to deployment template --- charts/cert-manager-webhook-ovh/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/cert-manager-webhook-ovh/templates/deployment.yaml b/charts/cert-manager-webhook-ovh/templates/deployment.yaml index a50079a..ecebf2d 100644 --- a/charts/cert-manager-webhook-ovh/templates/deployment.yaml +++ b/charts/cert-manager-webhook-ovh/templates/deployment.yaml @@ -38,6 +38,9 @@ spec: {{- if .Values.hostNetwork }} hostNetwork: true {{- end }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . | quote }} + {{- end }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}" From 5b6132955d22145215b49290cdd3fbf40b76d015 Mon Sep 17 00:00:00 2001 From: pierremahot Date: Fri, 7 Nov 2025 16:54:36 +0100 Subject: [PATCH 2/2] Add priorityClassName to values.yaml Add optional priority class for cert-manager-webhook-ovh pod. --- charts/cert-manager-webhook-ovh/values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/cert-manager-webhook-ovh/values.yaml b/charts/cert-manager-webhook-ovh/values.yaml index b8e447f..5f640c9 100644 --- a/charts/cert-manager-webhook-ovh/values.yaml +++ b/charts/cert-manager-webhook-ovh/values.yaml @@ -313,6 +313,9 @@ hostNetwork: false # It may be useful to change it if the hostNetwork mode is activated to use an available port. port: 8443 +# The optional priority class to be used for the cert-manager-webhook-ovh pod. +priorityClassName: "" + resources: {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little