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

New plugin: gke-exec-credential #118

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions plugins/tmp/gke-exec-credential.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: gke-exec-credential
spec:
version: v1.0.0
platforms:
- selector:
matchExpressions:
- key: os
operator: In
values:
- linux
- darwin
uri: https://github.com/jglick/gke-exec-credential/archive/v1.0.0.zip
sha256: 6f01ddae4476c915b33c54f0642d8c9d0ff7b6b4cca0a19562bbb015b5b6a7ee
files:
- from: /*/run.sh
to: .
bin: run.sh
shortDescription: Allows the ExecCredential system to be used to authenticate to Google Kubernetes Engine.
homepage: https://github.com/jglick/gke-exec-credential
caveats: |-
This plugin needs the following programs:
* gcloud
* jq
See: https://github.com/jglick/gke-exec-credential
description: |-
Can authenticate to GKE in your ~/.kube/config:
users:
- name: gke
user:
exec:
apiVersion: client.authentication.k8s.io/v1beta1
command: kubectl
args:
- gke-exec-credential