act-runner
by gringolito
Helm chartv0.2.0App 0.2.11Verified publisher
Act Runners for Gitea Actions.
About this chart
Helm chart for Gitea Act Runner
Act Runners for Gitea Actions.
Installing the Chart
To install the chart with the release name act-runner
$ helm repo add gringolito https://gringolito.github.io/helm-charts
$ helm install act-runner gringolito/act-runner
Source Code
Maintainers
| Name | Url | |
|---|---|---|
| Filipe Utzig | [email protected] | https://github.com/gringolito |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity and anti-affinity rules for runner pod scheduling. Affinity. |
| autoscaling.enabled | bool | false | Enable horizontal pod autoscaling. |
| autoscaling.maxReplicas | int | 100 | Maximum number of replicas. |
| autoscaling.minReplicas | int | 1 | Minimum number of replicas. |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | Target CPU utilization percentage for scaling. |
| autoscaling.targetMemoryUtilizationPercentage | int | 80 | Target memory utilization percentage for scaling. |
| env | list | See values.yaml for default configuration | Define environment variables for the runner container. |
| envFrom | list | [] | Define environment variables from existing ConfigMap or Secret data. |
| extraContainers | list | [] | Additional sidecar containers to run alongside the runner container. |
| extraVolumeMounts | list | [] | Additional volume mounts for the runner container. |
| extraVolumes | list | [] | Additional volumes to attach to the runner pods. |
| global.commonLabels | object | {} | Apply labels to all resources. |
| global.fullnameOverride | string | "" | Override the fully qualified app name. |
| global.nameOverride | string | "" | Override the name of the app. |
| image.name | string | "gitea/act_runner" | Specify the image name to use (relative to image.repository). |
| image.pullPolicy | string | "IfNotPresent" | Specify the image pull policy. Valid values are Always, Never, IfNotPresent. imagePullPolicy. |
| image.pullSecrets | list | [] | Specify the image pull secrets if pulling from private registry imagePullSecrets. |
| image.repository | string | "docker.io" | Specify the image repository to use. |
| image.tag | string | "0.2.11" | Overrides the image tag whose default is the chart appVersion. |
| initContainers | list | [] | Init containers to run before the main runner container. |
| lifecycle | object | {} | Lifecycle hooks for the runner container. Lifecycle. |
| livenessProbe | object | {} | Liveness probe configuration for the runner container. LivenessProbe. |
| nodeSelector | object | {} | Node selector for scheduling runner pods on specific nodes. nodeSelector. |
| persistence.accessModes | string | "ReadWriteOnce" | Access modes for the PersistentVolumeClaim. |
| persistence.enabled | bool | true | Enable persistent storage for runner data. |
| persistence.mountPath | string | "/data" | Path inside the container where the volume will be mounted. |
| persistence.selector | object | {} | Label selectors for the PersistentVolumeClaim. |
| persistence.size | string | "1Gi" | Size of the PersistentVolumeClaim. |
| persistence.storageClassName | string | "" | Storage class name for the PersistentVolumeClaim. |
| podAnnotations | object | {} | Annotations to add to the runner pods. |
| podLabels | object | {} | Labels to add to the runner pods. |
| podPriorityClassName | string | "" | Priority class name for the runner pods. priorityClassName. |
| podSecurityContext | object | {"fsGroup":1000} | Pod security context configuration. Only applied when using rootless container. PodSecurityContext. |
| readinessProbe | object | {} | Readiness probe configuration for the runner container. ReadinessProbe. |
| replicas | int | 1 | Number of runner replicas. |
| resources | object | {} | Resource requests and limits for the runner container. Resources. |
| runner.config.data | string | See values.yaml for default configuration | Specify runner's custom configuration in YAML format. |
| runner.config.enabled | bool | false | Enable custom configuration for the runner deployment. |
| runner.dockerDind.enabled | bool | false | Enable Docker in Docker with root user. |
| runner.dockerDind.image | string | "docker:23.0.6-dind" | Docker DinD image repository and tag. |
| runner.instanceURL | string | "https://gitea.example.com" | Gitea instance URL where the runner will register. |
| runner.token.fromSecret.key | string | "" | Specify the key in the secret that contains the Runner registration token. |
| runner.token.fromSecret.name | string | "" | Specify the secret name containing the Runner registration token. |
| runner.token.value | string | "" | Set the Runner registration token value. If existing secret is specified this value is not used. |
| runner.updateStrategy.type | string | "RollingUpdate" | Specify the update strategy used to replace old Pods by new ones valid options are RollingUpdate, OnDelete. strategy |
| securityContext | object | {} | Security context configuration for the runner container. SecurityContext. |
| serviceAccount.annotations | object | {} | Annotations to add to the service account. |
| serviceAccount.create | bool | true | Specifies whether a service account should be created. |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. |
| terminationGracePeriodSeconds | int | 10 | Termination grace period in seconds for the runner pods. |
| tolerations | list | [] | Tolerations for scheduling runner pods on nodes with taints. Tolerations. |
| topologySpreadConstraints | list | [] | Topology spread constraints for distributing runner pods across zones/nodes. TopologySpreadConstraints. |
Deploy act-runner with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has act-runner on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartact-runner is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply