ryane / kfilt

kfilt can filter Kubernetes resources.
Apache License 2.0
100 stars 8 forks source link

kubectl plugin #14

Open ryane opened 2 years ago

ryane commented 2 years ago

Figure out what it will take to run kfilt as a kubectl plugin

This can be split into multiple issues if necessary.

djmcgreal-cc commented 1 year ago

If you could add zipped or tar+gziped release assets, something like the following:

apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
  name: kfilt
spec:
  version: v0.0.8
  homepage: https://github.com/ryane/kfilt
  shortDescription: &description kfilt can filter Kubernetes resources
  description: *description
  platforms:
  - selector:
      matchExpressions:
      - key: "os"
        operator: "In"
        values:
        - darwin
    uri: https://github.com/ryane/kfilt/releases/download/v0.0.8/kfilt_0.0.8_darwin_all.zip
    sha256: #...
    bin: kfilt_0.0.8_darwin_all
  - selector: {} #...

https://krew.sigs.k8s.io/docs/developer-guide/plugin-manifest