appscode / service-broker

Open Service Broker for AppsCode Cloud Services
https://appscode.com/products/service-broker/
Apache License 2.0
25 stars 7 forks source link

Failed to make webhook authenticator request: the server could not find the requested resource #64

Open mpromonet opened 5 years ago

mpromonet commented 5 years ago

Hi,

This projet seems really nice but I fails to install it.

I am trying to setup the service-broker with the folowing commands:

curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash -

kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller

helm repo add svc-cat https://svc-catalog-charts.storage.googleapis.com
helm repo add appscode https://charts.appscode.com/stable/
helm repo update

helm install svc-cat/catalog --name catalog --namespace catalog --set controllerManager.healthcheck.enabled=false --wait

helm install appscode/kubedb --name kubedb-operator --namespace kube-system

helm install appscode/kubedb-catalog --name kubedb-catalog --namespace kube-system

helm install appscode/service-broker --name appscode-service-broker --namespace kube-system --wait

The service broker pod is looping on errors :

I0721 18:16:26.785416 1 run.go:24] Starting broker version 0.3.1+b7e44f9a8c25c3d242141fd569fe4883999b808a ... I0721 18:16:27.337915 1 secure_serving.go:116] Serving securely on [::]:8443 E0721 18:17:02.487915 1 webhook.go:106] Failed to make webhook authenticator request: the server could not find the requested resource E0721 18:17:02.490032 1 authentication.go:65] Unable to authenticate the request due to an error: [invalid bearer token, the server could not find the requested resource] E0721 18:17:02.896921 1 webhook.go:106] Failed to make webhook authenticator request: the server could not find the requested resource E0721 18:17:02.897083 1 authentication.go:65] Unable to authenticate the request due to an error: [invalid bearer token, the server could not find the requested resource]

svcat is indicating :

           NAME             NAMESPACE                         URL                                STATUS
+-------------------------+-----------+-------------------------------------------------+----------------------+
  appscode-service-broker               https://appscode-service-broker.kube-system.svc   ErrorFetchingCatalog

What is missing to allow the access that fails ?

Best Regards,

Michel.

xuhaowang commented 5 years ago

I get the same errors when I am trying to install it on a k3s cluster running on an arm64 device.