Merge pull request #8152 from dokku/k3s-keda-replicas

This commit is contained in:
Jose Diaz-Gonzalez
2025-11-22 21:28:28 -05:00
committed by GitHub

View File

@@ -30,7 +30,9 @@ metadata:
name: {{ $.Values.global.app_name }}-{{ $processName }} name: {{ $.Values.global.app_name }}-{{ $processName }}
namespace: {{ $.Values.global.namespace }} namespace: {{ $.Values.global.namespace }}
spec: spec:
{{- if not (and $config.autoscaling (and $config.autoscaling.enabled (eq $config.autoscaling.type "keda"))) }}
replicas: {{ $config.replicas }} replicas: {{ $config.replicas }}
{{- end }}
revisionHistoryLimit: 5 revisionHistoryLimit: 5
selector: selector:
matchLabels: matchLabels: