Skip to content

Commit 329b56c

Browse files
committed
hpa + keda
1 parent f1b5784 commit 329b56c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

charts/synapse/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
name: synapse
3-
version: 0.24.0
3+
version: 0.24.1

charts/synapse/templates/synapse-hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{- range $worker, $options := .Values.synapse.autoscalingWorkers }}
22
{{- $name := $worker | replace "_" "-"}}
3-
{{- if $options.autoscaling.enabled }}
3+
{{- if and $options.autoscaling.enabled (not $options.kedaAutoscaling.enabled) }}
44
---
55
apiVersion: autoscaling/v2
66
kind: HorizontalPodAutoscaler

charts/synapse/templates/synapse-workers-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
{{- end }}
1212
{{- include "synapse-workers.selectorLabels" $name | nindent 4 }}
1313
spec:
14-
{{- if not $options.autoscaling.enabled }}
14+
{{- if and (not $options.autoscaling.enabled) (not $options.kedaAutoscaling.enabled) }}
1515
replicas: {{ $options.replicas }}
1616
{{- end }}
1717
{{- if $.Values.synapse.updateStrategy }}

0 commit comments

Comments
 (0)