feat(argo-workflows): add optional HPA to Server (#1974)
This commit is contained in:
parent
429b474a4f
commit
aef554340f
5 changed files with 81 additions and 2 deletions
|
|
@ -12,7 +12,9 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if not .Values.server.autoscaling.enabled }}
|
||||
replicas: {{ .Values.server.replicas }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "argo-workflows.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 6 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue