From 1d7e360ea45c2cebe93c8e591ff23dd05d5a182c Mon Sep 17 00:00:00 2001 From: Aaron Aichlmayr Date: Mon, 23 Jan 2023 16:36:01 -0600 Subject: [PATCH] Cleaning up a check Co-authored-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> Signed-off-by: Aaron Aichlmayr --- deploy/charts/cert-manager/templates/webhook-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/charts/cert-manager/templates/webhook-deployment.yaml b/deploy/charts/cert-manager/templates/webhook-deployment.yaml index fa722a044..d4b6ad604 100644 --- a/deploy/charts/cert-manager/templates/webhook-deployment.yaml +++ b/deploy/charts/cert-manager/templates/webhook-deployment.yaml @@ -146,7 +146,7 @@ spec: resources: {{- toYaml . | nindent 12 }} {{- end }} - {{- if or .Values.webhook.config (gt (len .Values.webhook.volumeMounts) 0) }} + {{- if or .Values.webhook.config .Values.webhook.volumeMounts }} volumeMounts: {{- if .Values.webhook.config }} - name: config