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

@ -5,6 +5,7 @@
## @param enabled Create an act runner StatefulSet.
## @param init.image.repository The image used for the init containers
## @param init.image.tag The image tag used for the init containers
## @param statefulset.replicas the amount of (replica) runner pods deployed
## @param statefulset.annotations Act runner annotations
## @param statefulset.labels Act runner labels
## @param statefulset.resources Act runner resources
@ -39,6 +40,7 @@
## @param giteaRootURL URL the act_runner registers and connect with
enabled: false
statefulset:
replicas: 1
annotations: {}
labels: {}
resources: {}