1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

fix(helm): Allow prometheus rules fields to be empty (#1100)

This commit fixes a rendering error where when the rules are
empty, the helm chart fails to render. By using the correct
indentation, the chart will render correctly.
This commit is contained in:
Tarun Pothulapati 2023-04-18 20:08:51 +05:30 committed by GitHub
parent 77e18f0463
commit 2033b671ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,5 +10,5 @@ spec:
groups:
- name: {{ template "dragonfly.name" . }}
rules:
{{- toYaml .Values.prometheusRule.spec | nindent 4 }}
{{- toYaml .Values.prometheusRule.spec | nindent 6 }}
{{- end }}