diff --git a/charts/datadog-monitors/templates/datadog-monitors.yaml b/charts/datadog-monitors/templates/datadog-monitors.yaml index 43bc61f..adb117a 100644 --- a/charts/datadog-monitors/templates/datadog-monitors.yaml +++ b/charts/datadog-monitors/templates/datadog-monitors.yaml @@ -1,4 +1,4 @@ -{{- if .Capabilities.APIVersions.Has "datadoghq.com/v1alpha1" -}} +{{/*- if .Capabilities.APIVersions.Has "datadoghq.com/v1alpha1" -*/}} {{- range $name, $monitor := .Values.monitors }} {{- if not $monitor.disabled }} --- @@ -22,4 +22,4 @@ spec: {{- with $monitor.options }}{{ toYaml . | nindent 4 }}{{- end }} {{- end }} {{- end }} -{{- end }} +{{/*- end */}}