mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-08-17 14:56:38 +00:00
feat(release): include plugin completion in release artifact
This commit is contained in:
parent
26fcbbc13c
commit
b246c5a2f2
@ -74,7 +74,7 @@ archives:
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
files: ["LICENSE"]
|
||||
files: ["LICENSE", "completion/plugins/kubectl_complete-ctx"]
|
||||
- id: kubens-archive
|
||||
name_template: |-
|
||||
kubens_{{ .Tag }}_{{ .Os }}_
|
||||
@ -94,7 +94,7 @@ archives:
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
files: ["LICENSE"]
|
||||
files: ["LICENSE", "completion/plugins/kubectl_complete-ns"]
|
||||
checksum:
|
||||
name_template: "checksums.txt"
|
||||
algorithm: sha256
|
||||
|
@ -5,7 +5,7 @@ manually install kubectx and kubens from manifest file
|
||||
this add autocomplete plugin capabilities
|
||||
|
||||
```shell
|
||||
$ kubectl krew install --manifest=ns.yaml
|
||||
$ kubectl krew install --manifest=ctx.yaml
|
||||
$ kubectl krew install --manifest=krew/ctx.yaml
|
||||
$ kubectl krew install --manifest=krew/ns.yaml
|
||||
```
|
||||
|
||||
|
@ -16,20 +16,58 @@ spec:
|
||||
See https://github.com/RouxAntoine/kubectx for customization and details.
|
||||
platforms:
|
||||
- selector:
|
||||
matchExpressions:
|
||||
- key: os
|
||||
operator: In
|
||||
values:
|
||||
- darwin
|
||||
- linux
|
||||
uri: https://github.com/ahmetb/RouxAntoine/archive/v0.9.5-1.tar.gz
|
||||
sha256: c94392fba8dfc5c8075161246749ef71c18f45da82759084664eb96027970004
|
||||
matchLabels:
|
||||
os: linux
|
||||
arch: amd64
|
||||
uri: https://github.com/RouxAntoine/kubectx/releases/download/v0.9.5-1/kubectx_v0.9.5-1_linux_x86_64.tar.gz
|
||||
sha256:
|
||||
bin: kubectx
|
||||
files:
|
||||
- from: kubectx-*/kubectx
|
||||
to: .
|
||||
- from: kubectx-*/LICENSE
|
||||
to: .
|
||||
- from: kubectx-*/completion/plugins/kubectl_complete-ctx
|
||||
to: completion
|
||||
|
||||
- from: kubectx
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
- from: completion/plugins/kubectl_complete-ctx
|
||||
to: completion
|
||||
- selector:
|
||||
matchLabels:
|
||||
os: linux
|
||||
arch: arm64
|
||||
uri: https://github.com/RouxAntoine/kubectx/releases/download/v0.9.5-1/kubectx_v0.9.5-1_linux_arm64.tar.gz
|
||||
sha256:
|
||||
bin: kubectx
|
||||
files:
|
||||
- from: kubectx
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
- from: completion/plugins/kubectl_complete-ctx
|
||||
to: completion
|
||||
- selector:
|
||||
matchLabels:
|
||||
os: darwin
|
||||
arch: amd64
|
||||
uri: https://github.com/RouxAntoine/kubectx/releases/download/v0.9.5-1/kubectx_v0.9.5-1_darwin_x86_64.tar.gz
|
||||
sha256:
|
||||
bin: kubectx
|
||||
files:
|
||||
- from: kubectx
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
- from: completion/plugins/kubectl_complete-ctx
|
||||
to: completion
|
||||
- selector:
|
||||
matchLabels:
|
||||
os: darwin
|
||||
arch: arm64
|
||||
uri: https://github.com/RouxAntoine/kubectx/releases/download/v0.9.5-1/kubectx_v0.9.5-1_darwin_arm64.tar.gz
|
||||
sha256:
|
||||
bin: kubectx
|
||||
files:
|
||||
- from: kubectx
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
- from: completion/plugins/kubectl_complete-ctx
|
||||
to: completion
|
||||
|
70
krew/ns.yaml
70
krew/ns.yaml
@ -15,20 +15,58 @@ spec:
|
||||
as you type.
|
||||
platforms:
|
||||
- selector:
|
||||
matchExpressions:
|
||||
- key: os
|
||||
operator: In
|
||||
values:
|
||||
- darwin
|
||||
- linux
|
||||
uri: https://github.com/RouxAntoine/kubectx/archive/v0.9.5-1.tar.gz
|
||||
sha256: c94392fba8dfc5c8075161246749ef71c18f45da82759084664eb96027970004
|
||||
bin: kubens
|
||||
matchLabels:
|
||||
os: linux
|
||||
arch: amd64
|
||||
uri: https://github.com/RouxAntoine/kubectx/releases/download/v0.9.5-1/kubectx_v0.9.5-1_linux_x86_64.tar.gz
|
||||
sha256:
|
||||
bin: kubectx
|
||||
files:
|
||||
- from: kubectx-*/kubens
|
||||
to: .
|
||||
- from: kubectx-*/LICENSE
|
||||
to: .
|
||||
- from: kubectx-*/completion/plugins/kubectl_complete-ns
|
||||
to: completion
|
||||
|
||||
- from: kubens
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
- from: completion/plugins/kubectl_complete-ns
|
||||
to: completion
|
||||
- selector:
|
||||
matchLabels:
|
||||
os: linux
|
||||
arch: arm64
|
||||
uri: https://github.com/RouxAntoine/kubectx/releases/download/v0.9.5-1/kubectx_v0.9.5-1_linux_arm64.tar.gz
|
||||
sha256:
|
||||
bin: kubectx
|
||||
files:
|
||||
- from: kubens
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
- from: completion/plugins/kubectl_complete-ns
|
||||
to: completion
|
||||
- selector:
|
||||
matchLabels:
|
||||
os: darwin
|
||||
arch: amd64
|
||||
uri: https://github.com/RouxAntoine/kubectx/releases/download/v0.9.5-1/kubectx_v0.9.5-1_darwin_x86_64.tar.gz
|
||||
sha256:
|
||||
bin: kubectx
|
||||
files:
|
||||
- from: kubens
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
- from: completion/plugins/kubectl_complete-ns
|
||||
to: completion
|
||||
- selector:
|
||||
matchLabels:
|
||||
os: darwin
|
||||
arch: arm64
|
||||
uri: https://github.com/RouxAntoine/kubectx/releases/download/v0.9.5-1/kubectx_v0.9.5-1_darwin_arm64.tar.gz
|
||||
sha256:
|
||||
bin: kubectx
|
||||
files:
|
||||
- from: kubens
|
||||
to: .
|
||||
- from: LICENSE
|
||||
to: .
|
||||
- from: completion/plugins/kubectl_complete-ns
|
||||
to: completion
|
||||
|
Loading…
Reference in New Issue
Block a user