Skip to content

Commit

Permalink
(Incorrect behavior when using certificate.servingCertificate with di…
Browse files Browse the repository at this point in the history
…sabled certificate generation and without use CertManager bank-vaults#389) fix incorrect behavior
  • Loading branch information
obsessionsys committed Apr 11, 2024
1 parent 21abefa commit 070fa32
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.certificate.useCertManager }}
{{- if and (.Values.certificate.useCertManager) (not .Values.certificate.servingCertificate) }}
---
# Create a selfsigned Issuer, in order to create a root CA certificate for
# signing webhook serving certificates
Expand Down Expand Up @@ -54,8 +54,6 @@ spec:
ca:
secretName: {{ include "vault-secrets-webhook.rootCACertificate" . }}

{{- end }}
{{- if or .Values.certificate.useCertManager .Values.certificate.servingCertificate }}
---

# Finally, generate a serving certificate for the webhook to use
Expand Down

0 comments on commit 070fa32

Please sign in to comment.