|
| 1 | +# github-actions-runner |
| 2 | + |
| 3 | +   |
| 4 | + |
| 5 | +A Helm chart for Kubernetes |
| 6 | + |
| 7 | +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/fullstack-devops/helm-charts/issues/new/choose)** |
| 8 | + |
| 9 | +## Source Code |
| 10 | + |
| 11 | +* <https://github.com/fullstack-devops/github-actions-runner> |
| 12 | +* <https://github.com/fullstack-devops/github-actions-runner/pkgs/container/github-actions-runner> |
| 13 | +* <https://quay.io/repository/fullstack-devops/github-actions-runner> |
| 14 | + |
| 15 | +## Requirements |
| 16 | + |
| 17 | +- Kubernetes: `>=1.19.0` |
| 18 | +- Helm 3.2.0+ |
| 19 | +- PV provisioner support in the underlying infrastructure |
| 20 | + |
| 21 | +## Dependencies |
| 22 | + |
| 23 | +| Repository | Name | Version | |
| 24 | +|------------|------|---------| |
| 25 | + |
| 26 | +## TL;DR |
| 27 | + |
| 28 | +```console |
| 29 | +helm repo add fs-devops https://fullstack-devops.github.io/helm-charts/ |
| 30 | +helm repo update |
| 31 | +helm install github-actions-runner fs-devops/github-actions-runner |
| 32 | +``` |
| 33 | + |
| 34 | +## Installing the Chart |
| 35 | + |
| 36 | +To install the chart with the release name `github-actions-runner` |
| 37 | + |
| 38 | +```console |
| 39 | +helm install github-actions-runner fs-devops/github-actions-runner |
| 40 | +``` |
| 41 | + |
| 42 | +## Uninstalling the Chart |
| 43 | + |
| 44 | +To uninstall the `github-actions-runner` deployment |
| 45 | + |
| 46 | +```console |
| 47 | +helm uninstall github-actions-runner |
| 48 | +``` |
| 49 | + |
| 50 | +The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release. |
| 51 | + |
| 52 | +## Configuration |
| 53 | + |
| 54 | +Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values. |
| 55 | + |
| 56 | +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. |
| 57 | + |
| 58 | +```console |
| 59 | +helm install github-actions-runner \ |
| 60 | + --set env.TZ="America/New York" \ |
| 61 | + fs-devops/github-actions-runner |
| 62 | +``` |
| 63 | + |
| 64 | +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. |
| 65 | + |
| 66 | +```console |
| 67 | +helm install github-actions-runner fs-devops/github-actions-runner -f values.yaml |
| 68 | +``` |
| 69 | + |
| 70 | +## Values |
| 71 | + |
| 72 | +| Key | Type | Default | Description | |
| 73 | +|-----|------|---------|-------------| |
| 74 | +| affinity | object | `{}` | | |
| 75 | +| autoscaling.enabled | bool | `false` | | |
| 76 | +| autoscaling.maxReplicas | int | `20` | | |
| 77 | +| autoscaling.minReplicas | int | `1` | | |
| 78 | +| autoscaling.targetCPUUtilizationPercentage | int | `80` | | |
| 79 | +| fullnameOverride | string | `""` | | |
| 80 | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | |
| 81 | +| image.repository | string | `"ghcr.io/fullstack-devops/github-actions-runner"` | image repository | |
| 82 | +| image.tag | string | `""` | image tag (default is the chart appVersion) | |
| 83 | +| imagePullSecrets | list | `[]` | | |
| 84 | +| nameOverride | string | `""` | | |
| 85 | +| nodeSelector | object | `{}` | | |
| 86 | +| podAnnotations | object | `{}` | | |
| 87 | +| podSecurityContext | object | `{}` | | |
| 88 | +| replicaCount | int | `1` | | |
| 89 | +| resources | object | `{}` | | |
| 90 | +| runner.additionalFiles.maven.settingsXml | tpl/dict | | example settings.xml, will be placed in global .m2 folder | |
| 91 | +| runner.customCerts.configMapRef | string | `""` | | |
| 92 | +| runner.env | list | `[]` | inject the runner custom env variables | |
| 93 | +| runner.flavor.name | string | `"fullstacked"` | | |
| 94 | +| runner.flavor.override | bool | `false` | if override: true -> the runner.flavor will be ignored and image.repository and image.tag will be leading | |
| 95 | +| runner.github.accessToken | string | `""` | | |
| 96 | +| runner.github.enterpriseApiUrl | string | `""` | | |
| 97 | +| runner.github.enterpriseUrl | string | `""` | | |
| 98 | +| runner.github.organisation | string | `"fullstack-devpos"` | | |
| 99 | +| runner.github.repository | string | `""` | | |
| 100 | +| runner.kaniko.enabled | bool | `false` | | |
| 101 | +| runner.kaniko.image.repository | string | `""` | | |
| 102 | +| runner.kaniko.mountedSecret | string | `""` | | |
| 103 | +| runner.labels | string | `""` | | |
| 104 | +| securityContext.readOnlyRootFilesystem | bool | `false` | | |
| 105 | +| securityContext.runAsNonRoot | bool | `true` | | |
| 106 | +| securityContext.runAsUser | int | `1000` | | |
| 107 | +| serviceAccount.annotations | object | `{}` | | |
| 108 | +| serviceAccount.create | bool | `false` | | |
| 109 | +| serviceAccount.name | string | `""` | | |
| 110 | +| tolerations | list | `[]` | | |
| 111 | + |
| 112 | +---------------------------------------------- |
| 113 | +Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) |
0 commit comments