KK7NZY
11/05/2024, 7:00 PMnamespaces "kube-system" is forbidden: User "system:serviceaccount:<namespace>:prefect-worker" cannot get resource "namespaces" in API group "" in the namespace "kube-system"
To resolve this, I added the service account name to the worker pool through the UI. I also updated the prefect-worker/values.yaml
file to include the service account name and redeployed. After redeployment, the flows now run successfully, but I still receive a similar error message immediately before each task runs:
namespaces "kube-system" is forbidden: User "system:serviceaccount:<namespace>:<role>" cannot get resource "namespaces" in API group "" in the namespace "kube-system"
Did I misconfigure by adding the service account name directly to the values.yaml
file in my Helm deployment?Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by