admissionWebHooks: fix checking for caBundle (#1968)

This commit is contained in:
Cristian Calin
2022-11-03 15:48:39 +02:00
committed by GitHub
parent 0b0219b88f
commit 828d51baf2
2 changed files with 1 additions and 2 deletions

View File

@@ -237,7 +237,7 @@ webhooks:
resources:
- runnerreplicasets
sideEffects: None
{{ if not (or .Values.admissionWebHooks.caBundle .Values.certManagerEnabled) }}
{{ if not (or (hasKey .Values.admissionWebHooks "caBundle") .Values.certManagerEnabled) }}
---
apiVersion: v1
kind: Secret