Skip to content

Commit

Permalink
[bitnami/grafana-loki] Fix conditional on ruler PDB creation
Browse files Browse the repository at this point in the history
If ruler is disabled, PDB should not get created.
Similar conditional as on other components' PDB template

Signed-off-by: Ben Foster <[email protected]>
  • Loading branch information
bpfoster committed Oct 28, 2024
1 parent eb13e52 commit f4c953d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitnami/grafana-loki/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ maintainers:
name: grafana-loki
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/grafana-loki
version: 4.6.14
version: 4.6.15
2 changes: 1 addition & 1 deletion bitnami/grafana-loki/templates/ruler/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}

{{- if .Values.ruler.pdb.create }}
{{- if and .Values.ruler.enabled .Values.ruler.pdb.create }}
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
Expand Down

0 comments on commit f4c953d

Please sign in to comment.