Skip to content

Commit e8b4b6b

Browse files
committed
chore: fix poddisruptionbudget-gateway.yaml run with old helm issue
issue: matrixorigin/MO-Cloud#2499
1 parent 6f6ba91 commit e8b4b6b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

charts/loki/templates/gateway/poddisruptionbudget-gateway.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{{- if and .Values.gateway.enabled }}
2-
{{- if or
3-
(and (not .Values.gateway.autoscaling.enabled) (gt (int .Values.gateway.replicas) 1))
4-
(and .Values.gateway.autoscaling.enabled (gt (int .Values.gateway.autoscaling.minReplicas) 1))
5-
}}
2+
{{- if or (and (not .Values.gateway.autoscaling.enabled) (gt (int .Values.gateway.replicas) 1)) (and .Values.gateway.autoscaling.enabled (gt (int .Values.gateway.autoscaling.minReplicas) 1)) }}
63
apiVersion: policy/v1
74
kind: PodDisruptionBudget
85
metadata:

0 commit comments

Comments
 (0)