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
k8s:helm
generated chart tar archive contains reference to tar archive
#2622
Comments
@rohanKanojia, Yeah, I realized that after a few minutes of posting that comment, that's why I deleted it. |
Adding a |
But the question is how is the tarball added to the list of paths/files to be included in the archive. |
List of files to be packed in tarball is prepared via doing |
So the problem is that at that point the What's Does it make sense that the tar file is in this |
In #2036 we had changed the location where tar file would be generated from |
So if we change again the output location for the tarball we'll incur in a new breaking change then. We can do the suggested change but being more explicit:
|
Describe the bug
Originally posted by @adriannowak in Gitter thread
when packing resource into Helm chart using
k8s:helm
goal, it generates atar.gz
file in target folder:when extracting this archive file it contains reference to another empty tar archive:
Eclipse JKube version
SNAPSHOT
Component
Kubernetes Maven Plugin
Apache Maven version
None
Gradle version
None
Steps to reproduce
mvn k8s:resource k8s:helm
target/jkube/helm/$projectName/kubernetes/$projectName-$version.tar.gz
Expected behavior
generated helm chart archive should not contain reference to another tar.gz file
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
1.25.3
Environment
Linux
Eclipse JKube Logs
No response
Sample Reproducer Project
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: