diff --git a/charts/actions-runner-controller/README.md b/charts/actions-runner-controller/README.md index 1a3808dc19d..01c1619b84c 100644 --- a/charts/actions-runner-controller/README.md +++ b/charts/actions-runner-controller/README.md @@ -28,9 +28,9 @@ All additional docs are kept in the `docs/` folder, this README is solely for do | `image.repository` | The "repository/image" of the controller container | summerwind/actions-runner-controller | | `image.tag` | The tag of the controller container | | | `image.actionsRunnerRepositoryAndTag` | The "repository/image" of the actions runner container | summerwind/actions-runner:latest | -| `image.actionsRunnerImagePullSecret` | The image pull secret to be included in the runner pod's ImagePullSecrets | +| `image.actionsRunnerImagePullSecretName` | The image pull secret to be included in the runner pod's ImagePullSecrets | | `image.dindSidecarRepositoryAndTag` | The "repository/image" of the dind sidecar container | docker:dind | -| `image.pullPolicy` | The pull policy of the controller image | IfNotPresent | | +| `image.pullPolicy` | The pull policy of the controller image | IfNotPresent | | `metrics.serviceMonitor` | Deploy serviceMonitor kind for for use with prometheus-operator CRDs | false | | `metrics.port` | Set port of metrics service | 8443 | | `metrics.proxy.enabled` | Deploy kube-rbac-proxy container in controller pod | true | diff --git a/charts/actions-runner-controller/templates/deployment.yaml b/charts/actions-runner-controller/templates/deployment.yaml index fd8a5d1cb84..251002faa79 100644 --- a/charts/actions-runner-controller/templates/deployment.yaml +++ b/charts/actions-runner-controller/templates/deployment.yaml @@ -46,8 +46,8 @@ spec: - "--sync-period={{ .Values.syncPeriod }}" - "--docker-image={{ .Values.image.dindSidecarRepositoryAndTag }}" - "--runner-image={{ .Values.image.actionsRunnerRepositoryAndTag }}" - {{- if .Values.image.actionsRunnerPullImageSecretName }} - - "--runner-image-pull-secret-name={{ .Values.image.actionsRunnerPullImageSecretName }}" + {{- if .Values.image.actionsRunnerImagePullSecretName }} + - "--runner-image-pull-secret-name={{ .Values.image.actionsRunnerImagePullSecretName }}" {{- end }} {{- if .Values.dockerRegistryMirror }} - "--docker-registry-mirror={{ .Values.dockerRegistryMirror }}" diff --git a/charts/actions-runner-controller/values.yaml b/charts/actions-runner-controller/values.yaml index 050a4e46390..eeaa7f7db7f 100644 --- a/charts/actions-runner-controller/values.yaml +++ b/charts/actions-runner-controller/values.yaml @@ -36,7 +36,7 @@ authSecret: # Optionally create additional secrets required for your deployments extraSecrets: [] # When using private docker registries to host your runner images you could use the following and -# include the secret in image.actionsRunnerImagePullSecret +# include the secret in image.actionsRunnerImagePullSecretName # extraSecrets: # - name: "github-actions-runner-image-pull-secret" # type: "kubernetes.io/dockerconfigjson" @@ -59,7 +59,7 @@ image: pullPolicy: IfNotPresent # The default image-pull secret name for self-hosted runner container. # It's added to spec.ImagePullSecrets of self-hosted runner pods. - # actionsRunnerImagePullSecret: github-actions-runner-image-pull-secret + # actionsRunnerImagePullSecretName: github-actions-runner-image-pull-secret imagePullSecrets: [] nameOverride: ""