-
Notifications
You must be signed in to change notification settings - Fork 635
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
failed to extract layer contents from artifact: tar file entry bin/arch contained unsupported file type Lrwxrwxrwx #4209
Comments
Without more information on the image that you're referring to it's going to be a little tough to track down the root cause here. |
From what I can tell you can reproduce this with any docker image. So use something like https://hub.docker.com/_/nginx and set the path to a directory and you should see the error. |
Using a Docker image with a base OS will not work with Flux. Use |
Docker images are OCI compliant images. Please re-open. |
A little clarification here: Flux Kustomizations can only consume OCI images that have a certain structure and media type and these images are created using |
This is a duplicate of fluxcd/pkg#538 let's discuss there. |
That is very shorted sited FWIW |
Happy to discuss over there too. |
Regardless I believe a more appropriate error should be supplied to a user. |
I would like to understand your goal here. From what I understand you would like to use a Kustomization with any arbitrary OCI image but what would you expect it to do with the contents? Are you putting Kubernetes manifests in the same image as other content such as binaries? If that's the case then you might want to take a look at layer selectors but that still won't work with any arbitrary OCI image of course. |
Describe the bug
Using the following definition with redaction:
The following error is produced:
Steps to reproduce
See above
Expected behavior
It should succeed and/or error should be more relevant.
Screenshots and recordings
No response
OS / Distro
N/A
Flux version
latest
Flux check
N/A - not use flux CLI
Git provider
N/A
Container Registry provider
GitHub Packages
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: