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:
parent
77e18f0463
commit
2033b671ef
1 changed files with 1 additions and 1 deletions
|
@ -10,5 +10,5 @@ spec:
|
|||
groups:
|
||||
- name: {{ template "dragonfly.name" . }}
|
||||
rules:
|
||||
{{- toYaml .Values.prometheusRule.spec | nindent 4 }}
|
||||
{{- toYaml .Values.prometheusRule.spec | nindent 6 }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue