{{- if index .Values "metrics" "enabled" }} {{ template "kubezero-app.app" dict "root" . "name" "metrics" "type" "helm" }} syncPolicy: automated: prune: true {{- end }}