Skip to content

Conversation

@bvis
Copy link

@bvis bvis commented Oct 22, 2020

The chart has hardcoded the namespace to use (monitoring) in the ServiceAccountBinding, making the image to fail when it tries to create the CRD.

error running app: error creating crd servicelevels.monitoring.spotahome.com: customresourcedefinitions.apiextensions.k8s.io is forbidden: User "system:serviceaccount:#REAL-NAMESPACE#:service-level-operator" cannot create resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope

Once fixed the image can create the CRD without any problem.

bvis added 3 commits October 22, 2020 15:04
Signed-off-by: Basilio Vera <basilio.vera@softonic.com>
Signed-off-by: Basilio Vera <basilio.vera@softonic.com>
Signed-off-by: Basilio Vera <basilio.vera@softonic.com>
@bvis
Copy link
Author

bvis commented Nov 13, 2020

After 22 days without any answer I'll proceed to publish my package version with the fix.
Thanks for the original chart!

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

Successfully merging this pull request may close these issues.

1 participant