From 9235cbcfb55f315c501b6749c1155eea41b84354 Mon Sep 17 00:00:00 2001 From: Andrew LeFevre Date: Fri, 26 Apr 2024 20:07:32 -0400 Subject: [PATCH] allow attaching to pods in kube integration tests --- fixtures/ci-teleport-rbac/ci-teleport.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fixtures/ci-teleport-rbac/ci-teleport.yaml b/fixtures/ci-teleport-rbac/ci-teleport.yaml index 19555b6d234ac..8d941dc361812 100644 --- a/fixtures/ci-teleport-rbac/ci-teleport.yaml +++ b/fixtures/ci-teleport-rbac/ci-teleport.yaml @@ -56,6 +56,10 @@ rules: resources: ["pods/log"] verbs: ["get"] resourceNames: ["test-pod"] +- apiGroups: [""] + resources: ["pods/attach"] + verbs: ["create"] + resourceNames: ["test-pod"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding