Skip to content

Windows plugin creates flattened tarballs #22

Closed
@dareste

Description

@dareste

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions