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

Pull request for kubectl-pvcmount #4056

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
43 changes: 43 additions & 0 deletions plugins/pvcmount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: pvcmount
spec:
version: "v1.0.0"
shortDescription: Go binary for mounting persistent volumes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nobody cares if it's a go binary :)

Lets explain the functionality here please, such as:

Mount PersistentVolumes to Pods for debugging

homepage: https://github.com/Stenstromen/kubectl-pvcmount
description: |
Go binary for temporary mounting of PVCs to a pod.
This is useful for debugging purposes or for copying data from a PVC to another location.
The pvc is mounted to /mnt in a pod with a busybox container.
Examples:
`$ kubectl pvcmount pvc -p pvc-name -n namespace-containing-pvc`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend not listing usage here.

Anyone curious will run -h/-help or check your readme. This thing here will only go out of date.

platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
uri: https://github.com/Stenstromen/kubectl-pvcmount/releases/download/v1.0.0/kubectl-pvcmount_Darwin_x86_64.tar.gz
sha256: 30a280d76193c3d84e69ec83032648461d71e8ff01dd55e2775c64cf6b7ddcd9
bin: "./kubectl-pvcmount"
- selector:
matchLabels:
os: darwin
arch: arm64
uri: https://github.com/Stenstromen/kubectl-pvcmount/releases/download/v1.0.0/kubectl-pvcmount_Darwin_arm64.tar.gz
sha256: 0a321e38407cad80316eecf7736b20505970637eddf704ca70b8f90c964c0ed7
bin: "./kubectl-pvcmount"
- selector:
matchLabels:
os: linux
arch: amd64
uri: https://github.com/Stenstromen/kubectl-pvcmount/releases/download/v1.0.0/kubectl-pvcmount_Linux_x86_64.tar.gz
sha256: 906ac87e3fb8b77314b2da6b201886ebaf0619bb8008d5bc7a136f78ed0cfa6f
bin: "./kubectl-pvcmount"
- selector:
matchLabels:
os: linux
arch: arm64
uri: https://github.com/Stenstromen/kubectl-pvcmount/releases/download/v1.0.0/kubectl-pvcmount_Linux_arm64.tar.gz
sha256: 6a0431ef35dfeee699e8e1747524514fc12940de72e095f6cf3d0833df74dfdb
bin: "./kubectl-pvcmount"
Loading