Skip to content

Commit

Permalink
import of plugins from danisla (kubernetes-sigs#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
danisla authored and ahmetb committed Aug 7, 2018
1 parent 40b52b9 commit 133f889
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 0 deletions.
20 changes: 20 additions & 0 deletions plugins/gke-credentials.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha1
kind: Plugin
metadata:
name: gke-credentials
spec:
platforms:
- head: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
sha256: c548f94d8efd1fb8aa35a54b7e5cdb64ae012447122d9704f3cee4163bbbe9c3
uri: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
files:
- from: "/*/gke-credentials/*"
to: "."
selector:
matchExpressions:
- {key: os, operator: In, values: [darwin, linux]}
version: "v1.0.1"
shortDescription: Fetch credentials for GKE clusters
caveats: |
This plugin needs the following programs:
* gcloud
17 changes: 17 additions & 0 deletions plugins/kube-node-admin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha1
kind: Plugin
metadata:
name: kube-node-admin
spec:
platforms:
- head: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
sha256: c548f94d8efd1fb8aa35a54b7e5cdb64ae012447122d9704f3cee4163bbbe9c3
uri: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
files:
- from: "/*/kube-node-admin/*"
to: "."
selector:
matchExpressions:
- {key: os, operator: In, values: [darwin, linux]}
version: "v1.0.1"
shortDescription: List nodes and run privileged pod with chroot
17 changes: 17 additions & 0 deletions plugins/kube-shell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha1
kind: Plugin
metadata:
name: kube-shell
spec:
platforms:
- head: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
sha256: c548f94d8efd1fb8aa35a54b7e5cdb64ae012447122d9704f3cee4163bbbe9c3
uri: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
files:
- from: "/*/kube-shell/*"
to: "."
selector:
matchExpressions:
- {key: os, operator: In, values: [darwin, linux]}
version: "v1.0.1"
shortDescription: Create pod with interactive shell
17 changes: 17 additions & 0 deletions plugins/pod-logs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha1
kind: Plugin
metadata:
name: pod-logs
spec:
platforms:
- head: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
sha256: c548f94d8efd1fb8aa35a54b7e5cdb64ae012447122d9704f3cee4163bbbe9c3
uri: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
files:
- from: "/*/pod-logs/*"
to: "."
selector:
matchExpressions:
- {key: os, operator: In, values: [darwin, linux]}
version: "v1.0.1"
shortDescription: Display a list of pods to get logs from
18 changes: 18 additions & 0 deletions plugins/pod-shell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha1
kind: Plugin
metadata:
name: pod-shell
spec:
platforms:
- head: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
sha256: c548f94d8efd1fb8aa35a54b7e5cdb64ae012447122d9704f3cee4163bbbe9c3
uri: https://github.com/danisla/kubefunc/archive/v1.0.1.zip
files:
- from: "/*/pod-shell/*"
to: "."
selector:
matchExpressions:
- {key: os, operator: In, values: [darwin, linux]}
version: "v1.0.1"
shortDescription: Display a list of pods to execute a shell in

0 comments on commit 133f889

Please sign in to comment.