Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Tiller install error: configmaps is forbidden #2

Closed
snpdev opened this issue Nov 7, 2019 · 5 comments
Closed

Tiller install error: configmaps is forbidden #2

snpdev opened this issue Nov 7, 2019 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@snpdev
Copy link
Contributor

snpdev commented Nov 7, 2019

On running .\Add-Tiller.ps1 from my local Powershell, I have the following error:

------------------------------------------------------------
Installing Helm
------------------------------------------------------------
Error: configmaps is forbidden: User "system:serviceaccount:kube-system:default" cannot list resource "configmaps" in API group "" in the namespace "kube-system"

Error occurs on the command helm list -q

I'm investigating this now, but if anyone wants to chime in with a solution, please do.

@snpdev
Copy link
Contributor Author

snpdev commented Nov 7, 2019

I found the solution here helm/helm#5100 (comment).

@dsanchezcr dsanchezcr added the bug Something isn't working label Nov 7, 2019
@cdemiguel
Copy link
Contributor

Hello,
i am glad to help you,
In a new installation this error should not occur, it seems that you do not have permissions to deploy tiller with your serviceaccount,
regards,

@OriolBonjoch
Copy link
Contributor

Hi @snpdev

If that error happens on the helm ls line, is a validation before installing tiller. It allows to know if tiller has to be installed as client-only or not.
Besides the stderror message there was a problem with the execution or it worked fine?
If not looks like we might to move the service account to be tiller as your solution suggested.

Thanks for the report and the solution!

Regards,

@snpdev
Copy link
Contributor Author

snpdev commented Nov 18, 2019

@OriolBonjoch, .\Add-Tiller.ps1 execution failed at the error noted in #2 (comment).

Hat tip to m-abramovich for the solution, but note my comment about running the command in PowerShell - helm/helm#5100 (comment)

@olgamarti
Copy link
Contributor

The issue is fixed in PR #11 .

olgamarti pushed a commit that referenced this issue Nov 25, 2019
* Done some minor changes.

* Fixed Notes for web and game manager
eiximenis pushed a commit that referenced this issue Dec 16, 2019
JennJin pushed a commit that referenced this issue Jan 27, 2023
* test basic cql pipeline

* test single sln

* test autobuild with languages declaration

* test language matrix

* test language matrix

* replace java autobuild

* test java compile

* remove java to test others

* test java build through mvnw

* test java build through mvnw 2

* fix step names and pl triggers
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants