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

import of plugins from danisla #11

Merged
merged 4 commits into from
Aug 7, 2018
Merged
Show file tree
Hide file tree
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
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