Skip to content

Commit

Permalink
🐛 fix: (helm/v1alpha1): remove redundant condition in if clause
Browse files Browse the repository at this point in the history
  • Loading branch information
monteiro-renato committed Dec 10, 2024
1 parent 423d56b commit 6bb7aa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
name: selfsigned-issuer
secretName: webhook-server-cert
{{` + "`" + `{{- end }}` + "`" + `}}
{{ "{{- if and .Values.metrics.enable .Values.certmanager.enable }}" }}
{{ "{{- if .Values.metrics.enable }}" }}
---
# Certificate for the metrics
apiVersion: cert-manager.io/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
name: selfsigned-issuer
secretName: webhook-server-cert
{{- end }}
{{- if and .Values.metrics.enable .Values.certmanager.enable }}
{{- if .Values.metrics.enable }}
---
# Certificate for the metrics
apiVersion: cert-manager.io/v1
Expand Down

0 comments on commit 6bb7aa8

Please sign in to comment.