forked from rajatjindal/kubectl-modify-secret
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.krew.yaml
35 lines (33 loc) · 1.16 KB
/
.krew.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: modify-secret
spec:
version: "{{ .TagName }}"
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/rajatjindal/kubectl-modify-secret/releases/download/{{ .TagName }}/kubectl-modify-secret_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
files:
- from: "*"
to: "."
bin: kubectl-modify-secret
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/rajatjindal/kubectl-modify-secret/releases/download/{{ .TagName }}/kubectl-modify-secret_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
files:
- from: "*"
to: "."
bin: kubectl-modify-secret
shortDescription: modify secret with implicit base64 translations
description: |
Usage:
kubectl modify-secret secret-name -n kube-system
This plugin fetches the given secret manifest from the cluster, decodes
the payload, opens an editor to make changes, and applies the modified
manifest when done.
homepage: https://github.com/rajatjindal/kubectl-modify-secret