Skip to content

Commit

Permalink
Update pkg/pod/entrypoint_lookup_impl.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Moore <mattmoor@vmware.com>
  • Loading branch information
bahetiamit and mattmoor committed Oct 8, 2020
1 parent 5ec8000 commit 8a94134
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/pod/entrypoint_lookup_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ func (e *entrypointCache) Get(ref name.Reference, namespace, serviceAccountName
return nil, fmt.Errorf("error creating k8schain: %v", err)
}
mkc := authn.NewMultiKeychain(kc)
//By default go-containerregistry pulls amd64 images.
//Setting correct image pull architecture based on the underlying platform
// By default go-containerregistry pulls amd64 images.
// Setting correct image pull architecture based on the underlying platform
// _of the node that Tekton's controller is running on_. If the cluster
// is comprised of nodes of heterogeneous architectures, this might cause issues.
var pf = v1.Platform{
Architecture: runtime.GOARCH,
OS: runtime.GOOS,
Expand Down

0 comments on commit 8a94134

Please sign in to comment.