hayorov / helm-gcs

Manage Helm 3 repositories on Google Cloud Storage 🔐 **privately**
MIT License
279 stars 61 forks source link

Getting error tar: Error opening archive: Unrecognized archive format while installing the plugin #191

Closed sidd-kulk closed 1 year ago

sidd-kulk commented 1 year ago

OS: MacOS Ventura Command: helm plugin install https://github.com/hayorov/helm-gcs.git

Error:

Installing helm-gcs 0.4.3 ...
tar: Error opening archive: Unrecognized archive format
helm-gcs 0.4.3 is correctly installed.

Init a new repository:
  helm gcs init gs://bucket/path

Add your repository to Helm:
  helm repo add repo-name gs://bucket/path

Push a chart to your repository:
  helm gcs push chart.tar.gz repo-name

Update Helm cache:
  helm repo update

Get your chart:
  helm fetch repo-name/chart

Installed plugin: gcs

Despite showing the above, when I do helm gcs --version , I get the following error:

Error: fork/exec ~/Library/helm/plugins/helm-gcs.git/bin/helm-gcs: no such file or directory

Ibrahimkhawaja commented 1 year ago

Same Issue:

OS: Ubuntu 22.04.2 Command: helm plugin install https://github.com/hayorov/helm-gcs.git

Error:

Installing helm-gcs 0.4.3 ...
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
helm-gcs 0.4.3 is correctly installed.

Init a new repository:
  helm gcs init gs://bucket/path

Add your repository to Helm:
  helm repo add repo-name gs://bucket/path

Push a chart to your repository:
  helm gcs push chart.tar.gz repo-name

Update Helm cache:
  helm repo update

Get your chart:
  helm fetch repo-name/chart

Installed plugin: gcs
PaulFederato commented 1 year ago

I got the same issue and was able to get around by manually specifying a valid version until this gets fixed.

helm plugin install https://github.com/hayorov/helm-gcs.git --version 0.4.1
TejaBeta commented 1 year ago

https://github.com/hayorov/helm-gcs/pull/192

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.