Skip to content

Windows plugin creates flattened tarballs #22

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

Closed
dareste opened this issue Jul 12, 2024 · 0 comments · Fixed by #25
Closed

Windows plugin creates flattened tarballs #22

dareste opened this issue Jul 12, 2024 · 0 comments · Fixed by #25
Assignees
Labels
bug Something isn't working

Comments

@dareste
Copy link
Collaborator

dareste commented Jul 12, 2024

Describe the bug

The Windows plugin creates a tarball whose folder structure is not preserved when uncompressed in Linux:

ll
total 287264
drwxr-xr-x@ 2 user  staff    64B 10 jul 16:46 crds
drwxr-xr-x@ 2 user  staff    64B 10 jul 16:46 crds\ingress-nginx-plus
-rw-r--r--@ 1 user  staff   172B 10 jul 16:46 crds\ingress-nginx-plus\apdoslogconfs.json
-rw-r--r--@ 1 user  staff   173B 10 jul 16:46 crds\ingress-nginx-plus\apdospolicies.json
-rw-r--r--@ 1 user  staff   166B 10 jul 16:46 crds\ingress-nginx-plus\aplogconfs.json
-rw-r--r--@ 1 user  staff   165B 10 jul 16:46 crds\ingress-nginx-plus\appolicies.json
-rw-r--r--@ 1 user  staff   166B 10 jul 16:46 crds\ingress-nginx-plus\apusersigs.json
-rw-r--r--@ 1 user  staff   180B 10 jul 16:46 crds\ingress-nginx-plus\dosprotectedresources.json
-rw-r--r--@ 1 user  staff   167B 10 jul 16:46 crds\ingress-nginx-plus\globalconfigurations.json
-rw-r--r--@ 1 user  staff   154B 10 jul 16:46 crds\ingress-nginx-plus\policies.json
-rw-r--r--@ 1 user  staff   163B 10 jul 16:46 crds\ingress-nginx-plus\transportservers.json
-rw-r--r--@ 1 user  staff   161B 10 jul 16:46 crds\ingress-nginx-plus\virtualservers.json
-rw-r--r--@ 1 user  staff   166B 10 jul 16:46 crds\ingress-nginx-plus\virtualserverroutes.json
drwxr-xr-x@ 2 user  staff    64B 10 jul 16:46 exec
drwxr-xr-x@ 2 user  staff    64B 10 jul 16:46 exec\ingress-nginx-plus
-rw-r--r--@ 1 user  staff    30K 10 jul 16:46 exec\ingress-nginx-plus\nginx-plus-nginx-ingress-controller-6978c6d7d5-6pv52__nginx-t.txt
-rw-r--r--@ 1 user  staff    30K 10 jul 16:46 exec\ingress-nginx-plus\nginx-plus-nginx-ingress-controller-6978c6d7d5-f2vzc__nginx-t.txt
-rw-r--r--@ 1 user  staff    30K 10 jul 16:46 exec\ingress-nginx-plus\nginx-plus-nginx-ingress-controller-6978c6d7d5-gcpgs__nginx-t.txt
-rw-r--r--@ 1 user  staff    30K 10 jul 16:46 exec\ingress-nginx-plus\nginx-plus-nginx-ingress-controller-6978c6d7d5-xhdwv__nginx-t.txt
-rw-r--r--@ 1 user  staff    30K 10 jul 16:46 exec\ingress-nginx-plus\nginx-plus-nginx-ingress-controller-6978c6d7d5-zvhln__nginx-t.txt
drwxr-xr-x@ 2 user  staff    64B 10 jul 16:46 helm
drwxr-xr-x@ 2 user  staff    64B 10 jul 16:46 helm\ingress-nginx-plus
-rw-r--r--@ 1 user  staff   9,1K 10 jul 16:46 helm\ingress-nginx-plus\nginx-plus-nginx-ingress_manifest.txt
-rw-r--r--@ 1 user  staff   418K 10 jul 16:46 helm\ingress-nginx-plus\nginx-plus-nginx-ingress_release.json

To Reproduce
Steps to reproduce the behavior:

  1. Install the plugin for Windows
  2. Collect a supportpkg for nic
  3. Untar the file in a Linux

Expected behavior
Tarball should be created using the forward slash / for folder separation.

@dareste dareste added the bug Something isn't working label Jul 12, 2024
@dareste dareste self-assigned this Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant