Jenkins is running as a pod in a private GKE cluster. Currently when executing deployments using helm, the following error is encountered.
User "system:serviceaccount:jenkins:jenkins" cannot list resource "pods" in API group "" in the namespace "kube-system"
The command used for deployment is
helm install --values=/values_env.yaml --name / --set image.repository= --set image.tag= --namespace
User "system:serviceaccount:jenkins:jenkins" cannot list resource "pods" in API group "" in the namespace "kube-system"