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
It looks like the working-dir-initializer step that Tekton injects to (you guessed it!) initialize the workingDir (here), doesn't include an image for Windows -- this is the --shell-image flag passed to the controller here.
I think we'd probably want to replace this (Unix-specific) shell invocation with a simple Go binary that does the same thing, which we can cross-compile for Windows.
Looking into other places where the distroless/base shell image is used inside Tekton, it looks like you'll also have trouble using PVC-backed artifacts (a v1alpha1 feature), which cps and mkdirs using that image to set up PVCs. I don't think it'll be an issue but just in case you wanted to do that I figured I'd give a heads up.
If you need that, we could support it much in the same way I'm proposing we fix it for working-dir-init, just by having a Go binary that cps and is used instead of the full shell image.
Expected Behavior
When specifying a
workingDir
for a Windows container the working dir initializer should succeed.Actual Behavior
The working dir initializer container fails because of a missing image
gcr.io/distroless/base
for Windows.Steps to Reproduce the Problem
Additional Info
Output of
kubectl version
:cc @imjasonh @aiden-deloryn who worked on Windows support :)
The text was updated successfully, but these errors were encountered: