composable-operator/composable

Admission controller prevents to run Composable in debuger

Closed this issue · 0 comments

If we want to debug Composable out of cluster, we get the following error:

2019-10-10T22:44:45.760+0300    ERROR   controller-runtime.manager      manager/manager.go:212  Failed to get API Group-Resources       {"error": "Unauthorized"}
github.com/go-logr/zapr.(*zapLogger).Error
       /Users/Alexey/Work/goWork/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
sigs.k8s.io/controller-runtime/pkg/manager.New
       /Users/Alexey/Work/goWork/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/manager/manager.go:212
main.main
       /Users/Alexey/Work/goWork/src/github.com/ibm/composable/main.go:57
runtime.main
       /usr/local/Cellar/go/1.11.4/libexec/src/runtime/proc.go:201
2019-10-10T22:44:45.761+0300    ERROR   setup   composable/main.go:63   unable to start manager {"error": "Unauthorized"}
github.com/go-logr/zapr.(*zapLogger).Error
       /Users/Alexey/Work/goWork/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
main.main
       /Users/Alexey/Work/goWork/src/github.com/ibm/composable/main.go:63
runtime.main
       /usr/local/Cellar/go/1.11.4/libexec/src/runtime/proc.go:201
Exiting.

Debugger finished with exit code 0