doc: Add caveat on volumeMounts (#632)
Update README.md to add caveat on volumeMounts Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
parent
dc5f90025c
commit
f2e2060ff8
10
README.md
10
README.md
|
|
@ -822,9 +822,19 @@ spec:
|
|||
hostPath:
|
||||
path: /mnt/docker-extra
|
||||
type: DirectoryOrCreate
|
||||
- name: repo
|
||||
hostPath:
|
||||
path: /mnt/repo
|
||||
type: DirectoryOrCreate
|
||||
dockerVolumeMounts:
|
||||
- mountPath: /var/lib/docker
|
||||
name: docker-extra
|
||||
# You can mount some of the shared volumes to the runner container using volumeMounts.
|
||||
# NOTE: Do not try to mount the volume onto the runner workdir itself as it will not work. You could mount it however on a sub directory in the runner workdir
|
||||
# Please see https://github.com/actions-runner-controller/actions-runner-controller/issues/630#issuecomment-862087323 for more information.
|
||||
volumeMounts:
|
||||
- mountPath: /home/runner/work/repo
|
||||
name: repo
|
||||
# Optional name of the container runtime configuration that should be used for pods.
|
||||
# This must match the name of a RuntimeClass resource available on the cluster.
|
||||
# More info: https://kubernetes.io/docs/concepts/containers/runtime-class
|
||||
|
|
|
|||
Loading…
Reference in New Issue