Skip to content
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

Add yaml for Krew installation #42

Merged
merged 1 commit into from
Apr 5, 2019
Merged

Add yaml for Krew installation #42

merged 1 commit into from
Apr 5, 2019

Conversation

int128
Copy link
Owner

@int128 int128 commented Apr 5, 2019

This adds the yaml for Krew installation. See #34.

This has been tested on local but not tested with actual GitHub Releases.

% kubectl krew install --manifest dist/gh/oidc-login.yaml --archive dist/gh/kubelogin_darwin_amd64.zip
Installing plugin: oidc-login
CAVEATS:
\
 |  You need to setup the following components:
 |    * OIDC provider
 |    * Kubernetes API server
 |    * Role for your group or user
 |    * kubectl authentication
 |
 |  See https://github.com/int128/kubelogin for more.
/
Installed plugin: oidc-login

% kubectl oidc-login -h

% kubectl krew remove oidc-login

@int128 int128 merged commit 8436fe3 into master Apr 5, 2019
@int128 int128 deleted the krew branch April 5, 2019 01:28
@int128
Copy link
Owner Author

int128 commented Apr 5, 2019

🎉 Tested with GitHub Releases:

% curl -LO https://github.com/int128/kubelogin/releases/download/v1.9.0/oidc-login.yaml

% kubectl krew install --manifest oidc-login.yaml
kubectl completion zsh...
Installing plugin: oidc-login
CAVEATS:
\
 |  You need to setup the following components:
 |    * OIDC provider
 |    * Kubernetes API server
 |    * Role for your group or user
 |    * kubectl authentication
 |
 |  See https://github.com/int128/kubelogin for more.
/
Installed plugin: oidc-login

% kubectl oidc-login -h
2019/04/05 10:45:56 Usage:
  kubectl-oidc_login [OPTIONS]

Version v1.9.0

@int128 int128 added the enhancement New feature or request label Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant