-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.krew.yaml
46 lines (46 loc) · 1.93 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
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: envsubst
spec:
version: {{ .TagName }}
homepage: https://github.com/hashmap-kz/kubectl-envsubst
shortDescription: A strict substitution of env-vars in Kubernetes manifests.
description: |
Expand env-vars in manifests passed to kubectl, before applying them.
Variable expansion is fully predictable and controlled (managed by cli).
Supports all flags passed by kubectl,
by just proxying them, without any modification.
Just handles specially two main options --filename and --recursive.
All other options are passed as is.
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/hashmap-kz/kubectl-envsubst/releases/download/{{ .TagName }}/kubectl-envsubst_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: kubectl-envsubst
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/hashmap-kz/kubectl-envsubst/releases/download/{{ .TagName }}/kubectl-envsubst_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
bin: kubectl-envsubst
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/hashmap-kz/kubectl-envsubst/releases/download/{{ .TagName }}/kubectl-envsubst_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: kubectl-envsubst
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/hashmap-kz/kubectl-envsubst/releases/download/{{ .TagName }}/kubectl-envsubst_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
bin: kubectl-envsubst
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/hashmap-kz/kubectl-envsubst/releases/download/{{ .TagName }}/kubectl-envsubst_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
bin: kubectl-envsubst.exe