19 lines
623 B
YAML
19 lines
623 B
YAML
kind: Cluster
|
|||
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
||
|
|
nodes:
|
||
|
|
- role: control-plane
|
||
|
|
# add a mount from /path/to/my/files on the host to /files on the node
|
||
|
|
extraMounts:
|
||
|
|
- hostPath: {{PATHTOREPO}}
|
||
|
|
containerPath: {{PATHTOREPO}}
|
||
|
|
# optional: if set, the mount is read-only.
|
||
|
|
# default false
|
||
|
|
readOnly: false
|
||
|
|
# optional: if set, the mount needs SELinux relabeling.
|
||
|
|
# default false
|
||
|
|
selinuxRelabel: false
|
||
|
|
# optional: set propagation mode (None, HostToContainer or Bidirectional)
|
||
|
|
# see https://kubernetes.io/docs/concepts/storage/volumes/#mount-propagation
|
||
|
|
# default None
|
||
|
|
propagation: None
|