We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6ba91 commit e8b4b6bCopy full SHA for e8b4b6b
charts/loki/templates/gateway/poddisruptionbudget-gateway.yaml
@@ -1,8 +1,5 @@
1
{{- 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
-}}
+{{- 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)) }}
6
apiVersion: policy/v1
7
kind: PodDisruptionBudget
8
metadata:
0 commit comments