File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 2424 name: a
2525 memoryRequest: 100Mi
2626 name: events
27+ externalPolicies:
28+ node:
29+ - arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
30+ master:
31+ - arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
32+ bastion:
33+ - arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
2734 iam:
2835 allowContainerRegistry: true
2936 legacy: false
@@ -104,6 +111,13 @@ spec:
104111 role: Master
105112 subnets:
106113 - {{.awsRegion }}a
114+ additionalUserData:
115+ - name: ssm-install.sh
116+ type: text/x-shellscript
117+ content: |
118+ #!/bin/sh
119+ sudo snap install amazon-ssm-agent --classic
120+ sudo snap start amazon-ssm-agent
107121
108122---
109123
@@ -129,3 +143,10 @@ spec:
129143 - {{.awsRegion }}a
130144 - {{.awsRegion }}b
131145 - {{.awsRegion }}c
146+ additionalUserData:
147+ - name: ssm-install.sh
148+ type: text/x-shellscript
149+ content: |
150+ #!/bin/sh
151+ sudo snap install amazon-ssm-agent --classic
152+ sudo snap start amazon-ssm-agent
You can’t perform that action at this time.
0 commit comments