From 638d552ce7785eb53c78d0dc74be86a3e59e60bd Mon Sep 17 00:00:00 2001 From: Olivier Tardieu Date: Tue, 15 Oct 2024 13:43:45 -0400 Subject: [PATCH] Add pods/exec create rbac (#84) --- setup.RHOAI-v2.10/mlbatch-edit-role.yaml | 6 ++++++ setup.RHOAI-v2.11/mlbatch-edit-role.yaml | 6 ++++++ setup.RHOAI-v2.12/mlbatch-edit-role.yaml | 6 ++++++ setup.RHOAI-v2.13/mlbatch-edit-role.yaml | 6 ++++++ setup.k8s-v1.25/mlbatch-edit-role.yaml | 6 ++++++ setup.k8s-v1.30/mlbatch-edit-role.yaml | 6 ++++++ 6 files changed, 36 insertions(+) diff --git a/setup.RHOAI-v2.10/mlbatch-edit-role.yaml b/setup.RHOAI-v2.10/mlbatch-edit-role.yaml index 877f22a..74f547d 100644 --- a/setup.RHOAI-v2.10/mlbatch-edit-role.yaml +++ b/setup.RHOAI-v2.10/mlbatch-edit-role.yaml @@ -133,3 +133,9 @@ rules: - projects verbs: - get +- apiGroups: + - "" + resources: + - pods/exec + verbs: + - create diff --git a/setup.RHOAI-v2.11/mlbatch-edit-role.yaml b/setup.RHOAI-v2.11/mlbatch-edit-role.yaml index 877f22a..74f547d 100644 --- a/setup.RHOAI-v2.11/mlbatch-edit-role.yaml +++ b/setup.RHOAI-v2.11/mlbatch-edit-role.yaml @@ -133,3 +133,9 @@ rules: - projects verbs: - get +- apiGroups: + - "" + resources: + - pods/exec + verbs: + - create diff --git a/setup.RHOAI-v2.12/mlbatch-edit-role.yaml b/setup.RHOAI-v2.12/mlbatch-edit-role.yaml index 877f22a..74f547d 100644 --- a/setup.RHOAI-v2.12/mlbatch-edit-role.yaml +++ b/setup.RHOAI-v2.12/mlbatch-edit-role.yaml @@ -133,3 +133,9 @@ rules: - projects verbs: - get +- apiGroups: + - "" + resources: + - pods/exec + verbs: + - create diff --git a/setup.RHOAI-v2.13/mlbatch-edit-role.yaml b/setup.RHOAI-v2.13/mlbatch-edit-role.yaml index 877f22a..74f547d 100644 --- a/setup.RHOAI-v2.13/mlbatch-edit-role.yaml +++ b/setup.RHOAI-v2.13/mlbatch-edit-role.yaml @@ -133,3 +133,9 @@ rules: - projects verbs: - get +- apiGroups: + - "" + resources: + - pods/exec + verbs: + - create diff --git a/setup.k8s-v1.25/mlbatch-edit-role.yaml b/setup.k8s-v1.25/mlbatch-edit-role.yaml index e82c846..1c3af6f 100644 --- a/setup.k8s-v1.25/mlbatch-edit-role.yaml +++ b/setup.k8s-v1.25/mlbatch-edit-role.yaml @@ -126,3 +126,9 @@ rules: - pods/logs verbs: - get +- apiGroups: + - "" + resources: + - pods/exec + verbs: + - create diff --git a/setup.k8s-v1.30/mlbatch-edit-role.yaml b/setup.k8s-v1.30/mlbatch-edit-role.yaml index e82c846..1c3af6f 100644 --- a/setup.k8s-v1.30/mlbatch-edit-role.yaml +++ b/setup.k8s-v1.30/mlbatch-edit-role.yaml @@ -126,3 +126,9 @@ rules: - pods/logs verbs: - get +- apiGroups: + - "" + resources: + - pods/exec + verbs: + - create