-
Notifications
You must be signed in to change notification settings - Fork 1
/
.krew.yaml
42 lines (42 loc) · 1.71 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
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: portal
spec:
version: {{ .TagName }}
homepage: https://github.com/federicotdn/kubectl-portal
shortDescription: An HTTP proxy for connecting to stuff inside your cluster.
description: |
A kubectl plugin that launches an HTTP proxy, enabling you to make requests
to Services, Pods and any other host reachable from within your cluster.
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
bin: kubectl-portal
{{addURIAndSha "https://github.com/federicotdn/kubectl-portal/releases/download/{{ .TagName }}/kubectl-portal_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
- selector:
matchLabels:
os: darwin
arch: arm64
bin: kubectl-portal
{{addURIAndSha "https://github.com/federicotdn/kubectl-portal/releases/download/{{ .TagName }}/kubectl-portal_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
- selector:
matchLabels:
os: linux
arch: amd64
bin: kubectl-portal
{{addURIAndSha "https://github.com/federicotdn/kubectl-portal/releases/download/{{ .TagName }}/kubectl-portal_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
- selector:
matchLabels:
os: linux
arch: arm64
bin: kubectl-portal
{{addURIAndSha "https://github.com/federicotdn/kubectl-portal/releases/download/{{ .TagName }}/kubectl-portal_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
- selector:
matchLabels:
os: windows
arch: amd64
bin: kubectl-portal.exe
{{addURIAndSha "https://github.com/federicotdn/kubectl-portal/releases/download/{{ .TagName }}/kubectl-portal_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}