hail icon indicating copy to clipboard operation
hail copied to clipboard

[ci] Fix missing api groups in pr namespace admin role

Open jigold opened this issue 1 year ago • 2 comments

Error message was this:

+ kubectl -n pr-12053-default-chqnmsebv8fq scale deployment batch-driver --replicas=0
Error from server (Forbidden): deployments.apps "batch-driver" is forbidden: User "system:serviceaccount:pr-12053-default-chqnmsebv8fq:admin" cannot get resource "deployments" in API group "apps" in the namespace "pr-12053-default-chqnmsebv8fq"

jigold avatar Jul 27 '22 15:07 jigold

unfortunately, we won't know if this works until it merges because the CI adding the new permissions hasn't been deployed yet. I don't think this change will do any harm though if it's not right.

jigold avatar Jul 27 '22 17:07 jigold

bump

jigold avatar Aug 02 '22 20:08 jigold