diff --git a/charts/cryostat/templates/reports_service.yaml b/charts/cryostat/templates/reports_service.yaml index aad32e5..5ebb9be 100644 --- a/charts/cryostat/templates/reports_service.yaml +++ b/charts/cryostat/templates/reports_service.yaml @@ -1,6 +1,5 @@ -{{- $fullName := include "cryostat.fullname" . -}} ---- {{- if gt (int (.Values.reports).replicas) 0 -}} +{{- $fullName := include "cryostat.fullname" . -}} apiVersion: v1 kind: Service metadata: