-
Notifications
You must be signed in to change notification settings - Fork 1
/
.krew.yaml
97 lines (97 loc) · 3.04 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: node-ssm
spec:
version: {{ .TagName }}
homepage: https://github.com/VioletCranberry/kubectl-node-ssm
shortDescription: start aws ssm session to SSM managed EKS node
description: |
Start an SSM session with AWS SSM managed EKS node using
local AWS CLI and ssm-plugin. EKS node name (private-dns-name)
will be resolved to instance ID using AWS API and AWS profile
with region parsed from current kubeconfig.
caveats: |
AWS SSM manager requires setup before you can connect to managed nodes.
This plugin requires:
* AWS CLI
* session-manager-plugin
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/VioletCranberry/kubectl-node-ssm/releases/download/{{ .TagName }}/kubectl-node_ssm-{{ .TagName }}-darwin-amd64.tar.gz" .TagName }}
bin: node-ssm
files:
- from: LICENSE
to: .
- from: README.md
to: .
- from: ./kubectl-node_ssm
to: node-ssm
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/VioletCranberry/kubectl-node-ssm/releases/download/{{ .TagName }}/kubectl-node_ssm-{{ .TagName }}-darwin-arm64.tar.gz" .TagName }}
bin: node-ssm
files:
- from: LICENSE
to: .
- from: README.md
to: .
- from: ./kubectl-node_ssm
to: node-ssm
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/VioletCranberry/kubectl-node-ssm/releases/download/{{ .TagName }}/kubectl-node_ssm-{{ .TagName }}-linux-amd64.tar.gz" .TagName }}
bin: node-ssm
files:
- from: LICENSE
to: .
- from: README.md
to: .
- from: ./kubectl-node_ssm
to: node-ssm
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/VioletCranberry/kubectl-node-ssm/releases/download/{{ .TagName }}/kubectl-node_ssm-{{ .TagName }}-linux-arm64.tar.gz" .TagName }}
bin: node-ssm
files:
- from: LICENSE
to: .
- from: README.md
to: .
- from: ./kubectl-node_ssm
to: node-ssm
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/VioletCranberry/kubectl-node-ssm/releases/download/{{ .TagName }}/kubectl-node_ssm-{{ .TagName }}-windows-amd64.zip" .TagName }}
bin: node-ssm.exe
files:
- from: LICENSE
to: .
- from: README.md
to: .
- from: ./kubectl-node_ssm.exe
to: node-ssm.exe
- selector:
matchLabels:
os: windows
arch: arm64
{{addURIAndSha "https://github.com/VioletCranberry/kubectl-node-ssm/releases/download/{{ .TagName }}/kubectl-node_ssm-{{ .TagName }}-windows-arm64.zip" .TagName }}
bin: node-ssm.exe
files:
- from: LICENSE
to: .
- from: README.md
to: .
- from: ./kubectl-node_ssm.exe
to: node-ssm.exe