We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da0bf9a commit ad35a1eCopy full SHA for ad35a1e
modules/kubeconfig/kubeconfig.variant
@@ -13,6 +13,35 @@ job "aws eks kubeconfig" {
13
description = "Region"
14
}
15
16
+ step "aws eks kubeconfig write" {
17
+ run "aws eks kubeconfig write" {
18
+ stack = opt.stack
19
+ region = opt.region
20
+ }
21
22
+ step "aws eks kubeconfig chmod" {
23
+ run "shell" {
24
+ command = "chmod"
25
+ args = ["600", "${opt.kubeconfig-path}/${opt.stack}-kubecfg"]
26
27
28
+}
29
+
30
+job "aws eks kubeconfig write" {
31
+ description = "Download the kubeconfig from the cluster and save it in 'kubeconfig-path'"
32
+ private = true
33
34
+ option "stack" {
35
+ type = string
36
+ description = "Stack"
37
+ short = "s"
38
39
40
+ option "region" {
41
42
+ description = "Region"
43
44
45
variable "cmd-name" {
46
value = "aws"
47
type = string
0 commit comments