diff --git a/charts/actions-runner-controller/Chart.yaml b/charts/actions-runner-controller/Chart.yaml index ba236a2d..0f26fb74 100644 --- a/charts/actions-runner-controller/Chart.yaml +++ b/charts/actions-runner-controller/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.12.2 +version: 0.12.3 # Used as the default manager tag value when no tag property is provided in the values.yaml appVersion: 0.19.0 diff --git a/charts/actions-runner-controller/README.md b/charts/actions-runner-controller/README.md index 81dd2e2a..0e879a0e 100644 --- a/charts/actions-runner-controller/README.md +++ b/charts/actions-runner-controller/README.md @@ -14,6 +14,7 @@ _Default values are the defaults set in the charts values.yaml, some properties | `replicaCount` | Set the number of controller pods | 1 | | `syncPeriod` | Set the period in which the controler reconciles the desired runners count | 10m | | `githubAPICacheDuration` | Set the cache period for API calls | | +| `githubEnterpriseServerURL` | Set the URL for a self-hosted GitHub Enterprise Server | | | `logLevel` | Set the log level of the controller container | | | `authSecret.create` | Deploy the controller auth secret | true | | `authSecret.name` | Set the name of the auth secret | controller-manager | diff --git a/charts/actions-runner-controller/templates/deployment.yaml b/charts/actions-runner-controller/templates/deployment.yaml index 9abe6bd2..fdd32b7d 100644 --- a/charts/actions-runner-controller/templates/deployment.yaml +++ b/charts/actions-runner-controller/templates/deployment.yaml @@ -52,6 +52,10 @@ spec: command: - "/manager" env: + {{- if .Values.githubEnterpriseServerURL }} + - name: GITHUB_ENTERPRISE_URL + value: {{ .Values.githubEnterpriseServerURL }} + {{- end }} - name: GITHUB_TOKEN valueFrom: secretKeyRef: diff --git a/charts/actions-runner-controller/values.yaml b/charts/actions-runner-controller/values.yaml index 8a43742f..318c291e 100644 --- a/charts/actions-runner-controller/values.yaml +++ b/charts/actions-runner-controller/values.yaml @@ -13,6 +13,9 @@ syncPeriod: 10m # Defaults to syncPeriod - 10s. #githubAPICacheDuration: 30s +# The URL of your GitHub Enterprise server, if you're using one. +#githubEnterpriseServerURL: https://github.example.com + # Only 1 authentication method can be deployed at a time # Uncomment the configuration you are applying and fill in the details authSecret: