-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(serverless-agent) Add support for ignored containers to the TF d…
…ata source This commit contains: - TF premodifications should update the name parameter to CF style - Add the optional `ignore_containers` field to the Sysdig TF data source - Update docs to reflect the changes
- Loading branch information
1 parent
5173630
commit eabb138
Showing
16 changed files
with
312 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ | |
"awslogs-stream-prefix": "ecs" | ||
} | ||
}, | ||
"name": "busybox" | ||
"Name": "busybox" | ||
}, | ||
{ | ||
"EntryPoint": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[ | ||
{ | ||
"name": "test", | ||
"Name": "test", | ||
"Image": "test_image:latest", | ||
"EntryPoint": [ | ||
"/opt/draios/bin/instrument" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[ | ||
{ | ||
"name": "test", | ||
"Name": "test", | ||
"Image": "test_image:latest", | ||
"EntryPoint": [ | ||
"/opt/draios/bin/instrument" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[ | ||
{ | ||
"name": "test", | ||
"Name": "test", | ||
"Image": "test_image:latest", | ||
"EntryPoint": [ | ||
"/opt/draios/bin/instrument" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[ | ||
{ | ||
"name": "test", | ||
"Name": "test", | ||
"Image": "test_image:latest", | ||
"EntryPoint": [ | ||
"/opt/draios/bin/instrument" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"name": "test", | ||
"image": "test_image:latest", | ||
"entryPoint": [ | ||
"/bin/test" | ||
] | ||
}, | ||
{ | ||
"Name": "other", | ||
"Image": "other_image:latest", | ||
"entryPoint": [ | ||
"/bin/other" | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
[ | ||
{ | ||
"Name": "test", | ||
"Image": "test_image:latest", | ||
"EntryPoint": [ | ||
"/opt/draios/bin/instrument" | ||
], | ||
"Command": [ | ||
"/bin/test" | ||
], | ||
"Environment": [ | ||
{ | ||
"Name": "SYSDIG_ORCHESTRATOR_PORT", | ||
"Value": "orchestrator_port" | ||
}, | ||
{ | ||
"Name": "SYSDIG_COLLECTOR", | ||
"Value": "collector_host" | ||
}, | ||
{ | ||
"Name": "SYSDIG_COLLECTOR_PORT", | ||
"Value": "collector_port" | ||
}, | ||
{ | ||
"Name": "SYSDIG_ACCESS_KEY", | ||
"Value": "sysdig_access_key" | ||
}, | ||
{ | ||
"Name": "SYSDIG_LOGGING", | ||
"Value": "sysdig_logging" | ||
}, | ||
{ | ||
"Name": "SYSDIG_ORCHESTRATOR", | ||
"Value": "orchestrator_host" | ||
} | ||
], | ||
"LinuxParameters": { | ||
"Capabilities": { | ||
"Add": [ | ||
"SYS_PTRACE" | ||
] | ||
} | ||
}, | ||
"VolumesFrom": [ | ||
{ | ||
"ReadOnly": true, | ||
"SourceContainer": "SysdigInstrumentation" | ||
} | ||
] | ||
}, | ||
{ | ||
"Name": "other", | ||
"Image": "other_image:latest", | ||
"EntryPoint": [ | ||
"/opt/draios/bin/instrument" | ||
], | ||
"Command": [ | ||
"/bin/other" | ||
], | ||
"Environment": [ | ||
{ | ||
"Name": "SYSDIG_ORCHESTRATOR_PORT", | ||
"Value": "orchestrator_port" | ||
}, | ||
{ | ||
"Name": "SYSDIG_COLLECTOR", | ||
"Value": "collector_host" | ||
}, | ||
{ | ||
"Name": "SYSDIG_COLLECTOR_PORT", | ||
"Value": "collector_port" | ||
}, | ||
{ | ||
"Name": "SYSDIG_ACCESS_KEY", | ||
"Value": "sysdig_access_key" | ||
}, | ||
{ | ||
"Name": "SYSDIG_LOGGING", | ||
"Value": "sysdig_logging" | ||
}, | ||
{ | ||
"Name": "SYSDIG_ORCHESTRATOR", | ||
"Value": "orchestrator_host" | ||
} | ||
], | ||
"LinuxParameters": { | ||
"Capabilities": { | ||
"Add": [ | ||
"SYS_PTRACE" | ||
] | ||
} | ||
}, | ||
"VolumesFrom": [ | ||
{ | ||
"ReadOnly": true, | ||
"SourceContainer": "SysdigInstrumentation" | ||
} | ||
] | ||
}, | ||
{ | ||
"EntryPoint": [ | ||
"/opt/draios/bin/logwriter" | ||
], | ||
"Image": "workload_agent_image", | ||
"Name": "SysdigInstrumentation", | ||
"RepositoryCredentials": { | ||
"CredentialsParameter": "image_auth_secret" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"name": "test", | ||
"image": "test_image:latest", | ||
"entryPoint": [ | ||
"/bin/test" | ||
] | ||
}, | ||
{ | ||
"name": "other", | ||
"image": "other_image:latest", | ||
"entryPoint": [ | ||
"/bin/other" | ||
] | ||
}, | ||
{ | ||
"name": "another", | ||
"image": "another_image:latest", | ||
"entryPoint": [ | ||
"/bin/another" | ||
] | ||
} | ||
] |
Oops, something went wrong.