This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 765d452fa6bf1f6458f9c70a77e73524974c4007 Author: Antonin Stefanutti <[email protected]> AuthorDate: Mon Mar 22 13:40:18 2021 +0100 fix(e2e): Aggregate nodes permission to the default admin role --- .github/workflows/openshift.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/openshift.yml b/.github/workflows/openshift.yml index 0db6046..fdf73ac 100644 --- a/.github/workflows/openshift.yml +++ b/.github/workflows/openshift.yml @@ -178,6 +178,21 @@ jobs: verbs: ["create"] EOF + # Aggregate nodes permission to the default admin role + cat <<EOF | oc apply -f - + kind: ClusterRole + apiVersion: rbac.authorization.k8s.io/v1 + metadata: + name: camel-k:node + labels: + app: "camel-k" + rbac.authorization.k8s.io/aggregate-to-admin: "true" + rules: + - apiGroups: [""] + resources: ["nodes"] + verbs: ["get","list"] + EOF + # Login as normal user oc login -u developer
