forked from kubernetes-sigs/krew-index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexec-as.yaml
21 lines (21 loc) · 926 Bytes
/
exec-as.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: exec-as
spec:
platforms:
- head: https://github.com/jordanwilson230/kubectl-plugins/archive/krew.zip
uri: https://github.com/jordanwilson230/kubectl-plugins/archive/v1.0.1-krew.zip
sha256: f6dc82bc8c00d31e4a08a82513d83ff1cb0f21323f8ab1011b2031863603183f
bin: kubectl-exec-as
files:
- from: "**/kubectl-exec-as"
to: "."
selector:
matchExpressions:
- {key: os, operator: In, values: [darwin, linux]}
version: "v1.0.1-krew"
caveats: The node which the pod is running on cannot have more than one taint.
homepage: https://github.com/jordanwilson230/kubectl-plugins/tree/krew#kubectl-exec-as
shortDescription: Like kubectl exec, but offers a `user` flag to exec as root or any other user.
description: Run `kubectl exec-as` for usage. Example, `kubectl exec-as -u root -p zookeeper-0`.