-
Notifications
You must be signed in to change notification settings - Fork 521
/
Copy path0002-bottlerocket-remove-unsupported-capabilities.patch
59 lines (46 loc) · 2.44 KB
/
0002-bottlerocket-remove-unsupported-capabilities.patch
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
From ce165a2ddb2c9c177c5d363a93e3b02fc23884ee Mon Sep 17 00:00:00 2001
From: Samuel Karp <skarp@amazon.com>
Date: Wed, 19 Aug 2020 00:44:07 -0700
Subject: [PATCH 2/5] bottlerocket: remove unsupported capabilities
---
agent/app/agent_capability.go | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/agent/app/agent_capability.go b/agent/app/agent_capability.go
index e05430c6d..227fc9462 100644
--- a/agent/app/agent_capability.go
+++ b/agent/app/agent_capability.go
@@ -235,33 +235,33 @@ func (agent *ecsAgent) capabilities() ([]*ecs.Attribute, error) {
capabilities = agent.appendPIDAndIPCNamespaceSharingCapabilities(capabilities)
// ecs agent version 1.26.0 supports aws-appmesh cni plugin
- capabilities = agent.appendAppMeshCapabilities(capabilities)
+ // capabilities = agent.appendAppMeshCapabilities(capabilities)
// support elastic inference in agent
- capabilities = agent.appendTaskEIACapabilities(capabilities)
+ // capabilities = agent.appendTaskEIACapabilities(capabilities)
// support aws router capabilities for fluentd
- capabilities = agent.appendFirelensFluentdCapabilities(capabilities)
+ // capabilities = agent.appendFirelensFluentdCapabilities(capabilities)
// support aws router capabilities for fluentbit
- capabilities = agent.appendFirelensFluentbitCapabilities(capabilities)
+ // capabilities = agent.appendFirelensFluentbitCapabilities(capabilities)
// support aws router capabilities for log driver router
- capabilities = agent.appendFirelensLoggingDriverCapabilities(capabilities)
+ // capabilities = agent.appendFirelensLoggingDriverCapabilities(capabilities)
// support efs on ecs capabilities
capabilities = agent.appendEFSCapabilities(capabilities)
// support external firelens config
- capabilities = agent.appendFirelensConfigCapabilities(capabilities)
+ // capabilities = agent.appendFirelensConfigCapabilities(capabilities)
// support GMSA capabilities
capabilities = agent.appendGMSACapabilities(capabilities)
// support efs auth on ecs capabilities
- for _, cap := range agent.cfg.VolumePluginCapabilities {
- capabilities = agent.appendEFSVolumePluginCapabilities(capabilities, cap)
- }
+ // for _, cap := range agent.cfg.VolumePluginCapabilities {
+ // capabilities = agent.appendEFSVolumePluginCapabilities(capabilities, cap)
+ // }
// support fsxWindowsFileServer on ecs capabilities
capabilities = agent.appendFSxWindowsFileServerCapabilities(capabilities)
--
2.32.0