Skip to content

Commit

Permalink
Merge pull request #29 from tombokombo/fix/hpa
Browse files Browse the repository at this point in the history
fix replicas when hpa enabled
  • Loading branch information
richardartoul authored Feb 5, 2024
2 parents 92bc3ee + 4a1fa18 commit 178aeda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/warpstream-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ metadata:
labels:
{{- include "warpstream-agent.labels" . | nindent 4 }}
spec:
{{- if and (not .Values.autoscaling.enabled) (.Values.replicas) }}
replicas: {{ .Values.replicas }}
{{- end }}
selector:
matchLabels:
{{- include "warpstream-agent.selectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit 178aeda

Please sign in to comment.