feat(chart): add replicas parameter for multiple act-runner pods (#24)

This PR adds a parameter to add multiple pods of act-runner from a single values.yaml file (to the statefulSet).

Suggested by: https://gitea.com/gitea/helm-actions/pulls/23

Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/24
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com>
Co-authored-by: Daan Selen <dselen@nerthus.nl>
Co-committed-by: Daan Selen <dselen@nerthus.nl>
This commit is contained in:
Daan Selen
2025-08-12 20:37:11 +00:00
committed by ChristopherHX
parent 75bf520697
commit 7ad8e12e45
3 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ metadata:
name: {{ include "gitea.actions.fullname" . }}-act-runner
namespace: {{ .Values.namespace | default .Release.Namespace }}
spec:
replicas: {{ .Values.statefulset.replicas | default 1 }}
selector:
matchLabels:
{{- include "gitea.actions.selectorLabels.actRunner" . | nindent 6 }}