forked from omrikiei/ktunnel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.krew.yaml
50 lines (49 loc) · 1.92 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
47
48
49
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: tunnel
spec:
version: {{ .TagName }}
homepage: https://github.com/omrikiei/ktunnel
shortDescription: Reverse tunneling between cluster and your machine
description: |
This plugin establishes a reverse tunnel between the Kubernetes cluster
and your local machine. It lets you expose your machine as a service in
the cluster or expose it to a specific deployment as a local host.
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/omrikiei/ktunnel/releases/download/{{ .TagName }}/ktunnel_{{ slice .TagName 1 }}_Darwin_x86_64.tar.gz" .TagName }}
bin: ktunnel
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/omrikiei/ktunnel/releases/download/{{ .TagName }}/ktunnel_{{ slice .TagName 1 }}_Darwin_arm64.tar.gz" .TagName }}
bin: ktunnel
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/omrikiei/ktunnel/releases/download/{{ .TagName }}/ktunnel_{{ slice .TagName 1 }}_Linux_x86_64.tar.gz" .TagName }}
bin: ktunnel
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/omrikiei/ktunnel/releases/download/{{ .TagName }}/ktunnel_{{ slice .TagName 1 }}_Linux_arm64.tar.gz" .TagName }}
bin: ktunnel
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/omrikiei/ktunnel/releases/download/{{ .TagName }}/ktunnel_{{ slice .TagName 1 }}_Windows_x86_64.tar.gz" .TagName }}
bin: ktunnel.exe
- selector:
matchLabels:
os: windows
arch: arm64
{{addURIAndSha "https://github.com/omrikiei/ktunnel/releases/download/{{ .TagName }}/ktunnel_{{ slice .TagName 1 }}_Windows_arm64.tar.gz" .TagName }}
bin: ktunnel.exe