You've already forked helm-actions
feat: allow parameterization of Act Runners persistence (#3)
See [original implementation](https://gitea.com/gitea/helm-gitea/pulls/812). Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: ChristopherHX <christopherhx@noreply.gitea.com> Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/3 Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Jack Jackson <scubbojj@gmail.com> Co-committed-by: Jack Jackson <scubbojj@gmail.com>
This commit is contained in:
@ -32,6 +32,7 @@ If `.Values.image.rootless: true`, then the following will occur. In case you us
|
|||||||
| `statefulset.dind.pullPolicy` | The Docker-in-Docker pullPolicy | `IfNotPresent` |
|
| `statefulset.dind.pullPolicy` | The Docker-in-Docker pullPolicy | `IfNotPresent` |
|
||||||
| `statefulset.dind.extraVolumeMounts` | Allows mounting extra volumes in the Docker-in-Docker container | `[]` |
|
| `statefulset.dind.extraVolumeMounts` | Allows mounting extra volumes in the Docker-in-Docker container | `[]` |
|
||||||
| `statefulset.dind.extraEnvs` | Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY` | `[]` |
|
| `statefulset.dind.extraEnvs` | Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY` | `[]` |
|
||||||
|
| `statefulset.persistence.size` | Size for persistence to store act runner data | `1Gi` |
|
||||||
| `provisioning.enabled` | Create a job that will create and save the token in a Kubernetes Secret | `false` |
|
| `provisioning.enabled` | Create a job that will create and save the token in a Kubernetes Secret | `false` |
|
||||||
| `provisioning.annotations` | Job's annotations | `{}` |
|
| `provisioning.annotations` | Job's annotations | `{}` |
|
||||||
| `provisioning.labels` | Job's labels | `{}` |
|
| `provisioning.labels` | Job's labels | `{}` |
|
||||||
|
@ -125,5 +125,5 @@ spec:
|
|||||||
{{- include "gitea.persistence.storageClass" . | nindent 8 }}
|
{{- include "gitea.persistence.storageClass" . | nindent 8 }}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Mi
|
storage: {{ .Values.statefulset.persistence.size }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
## @param statefulset.dind.pullPolicy The Docker-in-Docker pullPolicy
|
## @param statefulset.dind.pullPolicy The Docker-in-Docker pullPolicy
|
||||||
## @param statefulset.dind.extraVolumeMounts Allows mounting extra volumes in the Docker-in-Docker container
|
## @param statefulset.dind.extraVolumeMounts Allows mounting extra volumes in the Docker-in-Docker container
|
||||||
## @param statefulset.dind.extraEnvs Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY`
|
## @param statefulset.dind.extraEnvs Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY`
|
||||||
|
## @param statefulset.persistence.size Size for persistence to store act runner data
|
||||||
## @param provisioning.enabled Create a job that will create and save the token in a Kubernetes Secret
|
## @param provisioning.enabled Create a job that will create and save the token in a Kubernetes Secret
|
||||||
## @param provisioning.annotations Job's annotations
|
## @param provisioning.annotations Job's annotations
|
||||||
## @param provisioning.labels Job's labels
|
## @param provisioning.labels Job's labels
|
||||||
@ -72,6 +73,9 @@ statefulset:
|
|||||||
# - name: "DOCKER_IPTABLES_LEGACY"
|
# - name: "DOCKER_IPTABLES_LEGACY"
|
||||||
# value: "1"
|
# value: "1"
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
size: 1Gi
|
||||||
|
|
||||||
init:
|
init:
|
||||||
image:
|
image:
|
||||||
repository: busybox
|
repository: busybox
|
||||||
|
Reference in New Issue
Block a user