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
Lifecycle's analysis and google-cointainer, when executed in a kubernetes cluster where the dockercfgjson file is mounted from a secret, raises an error during analyse step:
Error checking read/write access: POST https://quay.io/v2/ch007m/workloads/a/b/blobs/uploads/: UNAUTHORIZED: access to the requested resource is not authorized; map[]
ERROR: failed to initialize analyzer: validating registry write access: ensure registry read/write access to [quay.io/ch007m/workloads/a/b](http://quay.io/ch007m/workloads/a/b)
This error occurs when the dockercfgjson file includes auths with FQ Image name.
Summary
Lifecycle's analysis and google-cointainer, when executed in a kubernetes cluster where the dockercfgjson file is mounted from a secret, raises an error during analyse step:
This error occurs when the dockercfgjson file includes
auths
with FQ Image name.Lifecycle will not fail using
or
but will fail here
Reproduction
To reproduce, create a json auths file containing fully qualified image names
Next, create a kubernetes secret and deploy it on the cluster
You can install Tekton, Dashboard on a k8s cluster using the following bash script and pass as arg the json file containing the auths
The text was updated successfully, but these errors were encountered: