sample-cli-plugin icon indicating copy to clipboard operation
sample-cli-plugin copied to clipboard

Add sample krew plugin manifest

Open ahmetb opened this issue 5 years ago • 5 comments

@soltysh has brought up this idea: why don't we have also include a Krew (https://sigs.k8s.io/krew) plugin manifest in this plugin sample?

To do this, we would need to:

  1. Provide a prebuilt archive file containing cross-platform binaries of this repo (since this program is in Go) on GitHub releases section (or somewhere else on the internet).

  2. Provide a command to built this archive file locally (make or hack/build-plugin-package.sh)

  3. Add a sample-plugin.yaml to the root, that's pinning to a particular tag of the binary release archive and its sha256 sum (since we can't update those values as part of the release easily).

Once we do these, anyone cloning this repository can try the sample manifest like:

  • Run make or hack/build-plugin-package.sh
  • kubectl krew install --archive out/archive.tar.gz --manifest sample-plugin.yaml

ahmetb avatar May 28 '19 20:05 ahmetb

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar Aug 26 '19 21:08 fejta-bot

/remove-lifecycle stale

corneliusweig avatar Aug 26 '19 21:08 corneliusweig

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar Nov 24 '19 21:11 fejta-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten

fejta-bot avatar Dec 24 '19 22:12 fejta-bot

/lifecycle frozen

ahmetb avatar Dec 24 '19 22:12 ahmetb