does anyone know how to solve this issue with work...
# ask-community
h
does anyone know how to solve this issue with workpool auth? I am trying to configure a workpool but I keep getting this error: HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"jobs.batch is forbidden: User \"system:anonymous\" cannot create resource \"jobs\" in API group \"batch\" in the namespace \"prefect2\"","reason":"Forbidden","details":{"group":"batch","kind":"jobs"},"code":403}
n
are you using the helm chart? this is usually a mismatch in the service account used in your helm chart setup and the corresponding value on your work pool i.e. they should both be
prefect
h
Thank you Nate. We were able to fix the issue by creating a different service account in kubernetes and providing a clusteruid to a worker instead of testing out different roles. https://github.com/PrefectHQ/prefect-helm/tree/main/charts/prefect-worker#setting-valuesworkerclusteruid