You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: release jenkins failed: namespaces "default" is forbidden: User "system:serviceaccount:kube-system:default" cannot get resource "namespaces" in API group "" in the namespace "default"
The text was updated successfully, but these errors were encountered:
Helm when installing a chart and when no namespace is specified, it will install into the cluster default namespace (which is usually "default"). It looks like you don't have access to this namespace.
You can get a list of your namespaces in the cluster as follows: kubectl get namespaces . You can pass the following arg to install to use a particular namespace: --namespace <namespace>.
Create the service account (if already exists nothing happens) kubectl -n kube-system create serviceaccount tiller
Bind that serviceaccount to the role cluster-admin kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
Init Tiller with "--upgrade" because it was already deployed helm init --upgrade --service-account tiller
Output of
helm version
:Output of
kubectl version
:Cloud Provider/Platform (AKS, GKE, Minikube etc.):
GKE
Problem:
output:
The text was updated successfully, but these errors were encountered: