-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kube monkey permission issue #113
Comments
my pr number 109 should have fixed this, just raising for tracking |
Does this only happen when using the helm chart for deployment? |
@asobti that's right. i saw it only when used with helm charts, hence I added rbac.yaml to fix the issue... |
closed |
@asobti I'm getting this issue when running my k8s cluster on AWS EC2. My app is running in namespace 'dev' and Kube monkey is running in namespace 'kube-system'. The configmap is in kube-system too. Here's the full error :
|
@richabhatia20 did you use helm to install it? |
@prageethw No I just used the docker image |
@richabhatia20 |
@prageethw I did create the service account as suggested on fnproject/fn-helm#21 but it didnt help. |
unfortunately, you are not running monkey with RBAC using service account? ################## Install Tiller################## kubectl create helm init --service-account tiller kubectl -n kube-system rollout status deploy tiller-deploy ################## Run monkey################## cd kube-monkey helm install --name my-release helm/kubemonkey refer to this readme, still pending merge to master but will give a better handle https://github.com/prageethw/kube-monkey/blob/master/helm/kubemonkey/ReadMe.MD |
Failed to fetch eligible deployments for namespace due to error: deployments.apps is forbidden: User "system:serviceaccount:kube-system:default" cannot list deployments.apps at the cluster scope
The text was updated successfully, but these errors were encountered: