From e0a8e406930a80a7d4a238a401b4600610a24c32 Mon Sep 17 00:00:00 2001 From: Adam Scerra Date: Wed, 13 Nov 2024 16:20:03 -0500 Subject: [PATCH] patch to staging cluster-provisioner pod read Signed-off-by: Adam Scerra --- .../staging/cluster-provisioner-read-pod-logs.yaml | 8 ++++++++ .../cluster-as-a-service/staging/kustomization.yaml | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 components/cluster-as-a-service/staging/cluster-provisioner-read-pod-logs.yaml diff --git a/components/cluster-as-a-service/staging/cluster-provisioner-read-pod-logs.yaml b/components/cluster-as-a-service/staging/cluster-provisioner-read-pod-logs.yaml new file mode 100644 index 00000000000..78b8e17d6ac --- /dev/null +++ b/components/cluster-as-a-service/staging/cluster-provisioner-read-pod-logs.yaml @@ -0,0 +1,8 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: cluster-provisioner +rules: + - apiGroups: [""] + resources: ["pods/log"] + verbs: ["get"] \ No newline at end of file diff --git a/components/cluster-as-a-service/staging/kustomization.yaml b/components/cluster-as-a-service/staging/kustomization.yaml index c82b467d4f1..8f5347b56a7 100644 --- a/components/cluster-as-a-service/staging/kustomization.yaml +++ b/components/cluster-as-a-service/staging/kustomization.yaml @@ -11,3 +11,8 @@ patches: group: argoproj.io kind: ApplicationSet name: hypershift-aws-cluster + - path: cluster-provisioner-read-pod-logs.yaml + target: + group: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-provisioner