add opportunity write dnsPolicy for controller by helm values (#2708)
This commit is contained in:
parent
fddc5bf1c8
commit
63a6b5a7f0
|
|
@ -35,6 +35,7 @@ All additional docs are kept in the `docs/` folder, this README is solely for do
|
||||||
| `authSecret.github_basicauth_password` | Password for GitHub basic auth to use instead of PAT or GitHub APP in case it's running behind a proxy API | |
|
| `authSecret.github_basicauth_password` | Password for GitHub basic auth to use instead of PAT or GitHub APP in case it's running behind a proxy API | |
|
||||||
| `dockerRegistryMirror` | The default Docker Registry Mirror used by runners. | |
|
| `dockerRegistryMirror` | The default Docker Registry Mirror used by runners. | |
|
||||||
| `hostNetwork` | The "hostNetwork" of the controller container | false |
|
| `hostNetwork` | The "hostNetwork" of the controller container | false |
|
||||||
|
| `dnsPolicy` | The "dnsPolicy" of the controller container | ClusterFirst |
|
||||||
| `image.repository` | The "repository/image" of the controller container | summerwind/actions-runner-controller |
|
| `image.repository` | The "repository/image" of the controller container | summerwind/actions-runner-controller |
|
||||||
| `image.tag` | The tag of the controller container | |
|
| `image.tag` | The tag of the controller container | |
|
||||||
| `image.actionsRunnerRepositoryAndTag` | The "repository/image" of the actions runner container | summerwind/actions-runner:latest |
|
| `image.actionsRunnerRepositoryAndTag` | The "repository/image" of the actions runner container | summerwind/actions-runner:latest |
|
||||||
|
|
|
||||||
|
|
@ -214,3 +214,6 @@ spec:
|
||||||
{{- if .Values.hostNetwork }}
|
{{- if .Values.hostNetwork }}
|
||||||
hostNetwork: {{ .Values.hostNetwork }}
|
hostNetwork: {{ .Values.hostNetwork }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.dnsPolicy }}
|
||||||
|
dnsPolicy: {{ .Values.dnsPolicy }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -189,6 +189,10 @@ admissionWebHooks:
|
||||||
# https://github.com/actions/actions-runner-controller/issues/1005#issuecomment-993097155
|
# https://github.com/actions/actions-runner-controller/issues/1005#issuecomment-993097155
|
||||||
#hostNetwork: true
|
#hostNetwork: true
|
||||||
|
|
||||||
|
# If you use `hostNetwork: true`, then you need dnsPolicy: ClusterFirstWithHostNet
|
||||||
|
# https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
|
||||||
|
#dnsPolicy: ClusterFirst
|
||||||
|
|
||||||
## specify log format for actions runner controller. Valid options are "text" and "json"
|
## specify log format for actions runner controller. Valid options are "text" and "json"
|
||||||
logFormat: text
|
logFormat: text
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue