controlplaneio / simulator

Kubernetes Security Training Platform - focusing on security mitigation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Pods with Multiple Containers as Starting Point Pods

s-irvine opened this issue · comments

Feature statement
Currently a simple kubectl exec is used to get users to the starting points inside pods. Without the -c option we cannot start users in a multi container pod as the command will fail.

Proposed approach
We should be able to define an optional field in the tasks.yaml that will cause the starting point shortcut to send a user to a specific container in a pod. Absence of this field will produce the current behaviour.