diff --git a/chart/templates/kiali/grafana-auth-secret.yaml b/chart/templates/kiali/grafana-auth-secret.yaml
index 036b7d415bcde39e225cd4a5972b78c7af7dd551..6e4133bbc8acebbb35244fec7fc62067fdba453d 100644
--- a/chart/templates/kiali/grafana-auth-secret.yaml
+++ b/chart/templates/kiali/grafana-auth-secret.yaml
@@ -1,3 +1,4 @@
+{{- if .Values.kiali.enabled }}
 apiVersion: v1
 kind: Secret
 metadata:
@@ -17,3 +18,4 @@ stringData:
 {{- else }}
   password: {{ dig "grafana" "adminPassword" "prom-operator" .Values.monitoring.values }}
 {{- end }}
+{{- end }}