-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kaniko executor container image v1.9.0: "Error: error resolving source context: storage: bucket name is empty" #2200
Comments
+1 |
4 tasks
+1 As mentioned in the original report. With v1.8.1 works. |
imjasonh
pushed a commit
that referenced
this issue
Sep 8, 2022
On version 1.9.0 context fetch from S3 is broken since `url.Parse` requires full path: https://github.com/GoogleContainerTools/kaniko/blob/90e426ba3fde4b72efbcec5f10e4f73963313228/pkg/util/bucket/bucket_util.go#L77 Currently on a --context=s3://my-bucket/my-path/context.tar.gz we would pass only my-bucket/my-path/context.tar.gz which breaks context fetch Closes #2200
guys, this is still happening to me with |
See #2221 (comment) There is a commit-tagged image you can use which has the fix. |
oh right, no worries. thanks for the clarification, i'll use that commit instead @imjasonh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actual behavior
We specify build jobs with the following arguments;
With v.1.9.0 (the current latest build), this now causes the container to error:
Expected behavior
With previous images (e.g. v.1.8.1) this manifest works appropriately and the image is built. With
latest
orv.1.9.0
the executor command fails.To Reproduce
Steps to reproduce the behavior:
Additional Information
Simply changing back to
gcr.io/kaniko-project/executor:v1.8.1
resolves the issue for now, but we are now locked in this version. Our workflow does use Workload Identity to access GKE clusters and GCS storage buckets, which continues to funciton prior tov1.9.0
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: