You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we mount a hostPath to kind ? Why such a question: The following config works pretty well on my laptop as the command is executed within the project containing the subpath /$ENGINE/wks but that will fail using this github action as as we cannot specify the working-directory.
Is there a way to pass en env var to specify the path to use to mount a hostPath which corresponds to the project checkout + ./$ENGINE/wks ?
apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
containerdConfigPatches:
- |-
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."kind-registry:5000"]
endpoint = ["http://kind-registry:5000"]
nodes:
- role: control-plane
extraMounts:
- hostPath: $(pwd)/wks ## DO NOT WORK USING A GITHUB FLOW ACTION
containerPath: /workspace
extraPortMappings:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
The text was updated successfully, but these errors were encountered:
Question
Can we mount a hostPath to kind ? Why such a question: The following config works pretty well on my laptop as the command is executed within the project containing the subpath
/$ENGINE/wks
but that will fail using this github action as as we cannot specify theworking-directory
.Is there a way to pass en env var to specify the path to use to mount a hostPath which corresponds to the project checkout +
./$ENGINE/wks
?The text was updated successfully, but these errors were encountered: