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 }}" 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