concourse/hush-house

Tests importing `https://github.com/google/go-containerregistry/tree/master/pkg/authn/k8schain` hang on Wings

thisisnotashwin opened this issue · 0 comments

We are running into an issue where our go code seems to get stuck because an underlying k8s library looks for the file /sys/class/dmi/id/product_name on the container, and if it finds it, tries to reach out to google's credential server with an exponential backoff that never exits. This causes our job to freeze indefinitely. Is there a way we can prevent that file from being mounted on the container when the job runs? https://github.com/kubernetes/kubernetes/blob/5a4c6c2b34a011ca1801354395538df5b8e8cd66/pkg/credentialprovider/gcp/metadata.go#L134