kubernetes-sigs / krew

📦 Find and install kubectl plugins
https://krew.sigs.k8s.io
Apache License 2.0
6.42k stars 369 forks source link

I have been struggling to install the OIDC-LOGIN plugin. I get Access is denied #831

Closed ShantiSoft closed 8 months ago

ShantiSoft commented 1 year ago

I have been struggling to install the OIDC-LOGIN using the following command: kubectl krew install oidc-login

I get the following response:

PS C:\Users\xxxxxx> kubectl krew install oidc-login
Updated the local copy of plugin index.
Installing plugin: oidc-login
W0808 09:01:27.484292   35644 install.go:164] failed to install plugin "oidc-login": install failed: failed while moving files to the installation directory: could not rename/copy directory "C:\\Users\\xxxxxxx\\AppData\\Local\\Temp\\krew-temp-move1337463469" to "C:\\Users\\xxxxxxx0\\.krew\\store\\oidc-login\\v1.28.0": rename C:\Users\xxxxxxx\AppData\Local\Temp\krew-temp-move1337463469 C:\Users\xxxxxxx\.krew\store\oidc-login\v1.28.0: Access is denied.
failed to install some plugins: [oidc-login]: install failed: failed while moving files to the installation directory: could not rename/copy directory "C:\\Users\\xxxxxxx\\AppData\\Local\\Temp\\krew-temp-move1337463469" to "C:\\Users\\xxxxxxx\\.krew\\store\\oidc-login\\v1.28.0": rename C:\Users\xxxxxxx\AppData\Local\Temp\krew-temp-move1337463469 C:\Users\xxxxxxx\.krew\store\oidc-login\v1.28.0: Access is denied.
Error: exit status 1

I can happily install other krew plugins without a problem but i need to install this in order to authenticate to a remote K8s namespace.

Many thanks Tom

ahmetb commented 1 year ago

This is a bit hard to reproduce on my end. Do you mind trying some other plugins and seeing which ones work and which ones don't?

Access is denied. error from Windows can mean a lot of things. This could be actually a file/directory permissions issue, or maybe you actually need to run the shell as Administrator to get it to work.

/kind support /area platform/windows

k8s-triage-robot commented 10 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 9 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot commented 8 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-ci-robot commented 8 months ago

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to [this](https://github.com/kubernetes-sigs/krew/issues/831#issuecomment-2019886267): >The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. > >This bot triages issues according to the following rules: >- After 90d of inactivity, `lifecycle/stale` is applied >- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied >- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed > >You can: >- Reopen this issue with `/reopen` >- Mark this issue as fresh with `/remove-lifecycle rotten` >- Offer to help out with [Issue Triage][1] > >Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community). > >/close not-planned > >[1]: https://www.kubernetes.dev/docs/guide/issue-triage/ Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.