Skip to content
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

one or more notifiers returned an error: rpc error: code = Internal desc = notifier(k8sbundle) #7

Open
developer-guy opened this issue Oct 24, 2022 · 1 comment

Comments

@developer-guy
Copy link

We (w/@Dentrax) tried to install this helm chart and got the following error:

level=error msg="Fatal run error" error="one or more notifiers returned an error: rpc error: code = Internal desc = notifier(k8sbundle): unable to update: unable to get list: configmaps \"spire-bundle\" is forbidden: User \"system:serviceaccount:spiffe-system:spire-server\" cannot get resource \"configmaps\" in API group \"\" in the namespace \"spire\""
time="2022-10-24T11:03:10Z" level=error msg="Server crashed" error="one or more notifiers returned an error: rpc error: code = Internal desc = notifier(k8sbundle): unable to update: unable to get list: configmaps \"spire-bundle\" is forbidden: User \"system:serviceaccount:spiffe-system:spire-server\" cannot get resource \"configmaps\" in API group \"\" in the namespace \"spire\""

The error comes from the code part1, and we have opened an issue2 to fix it. Until it gets fixed, I suggest changing the {{ .Release.Namespace }} parts with spire.

Footnotes

  1. https://github.com/spiffe/spire/blob/bfa325e021e1bb53a5c4e9b376a9422bd63a1416/pkg/server/plugin/notifier/k8sbundle/k8sbundle.go#L137

  2. https://github.com/spiffe/spire/issues/3518

@developer-guy
Copy link
Author

We have opened a PR to fix this:

spiffe/spire#3519

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant