googlearchive / k8s-service-catalog

[DEPRECATED] Commandline tool to manage Service Catalog lifecycle and GCP Service Broker atop Kubernetes Cluster
Apache License 2.0
69 stars 31 forks source link

Secret 'google-oauth/gcp-svc-account-secret' is not compatible with the Service Catalog authentication extension contract #213

Open drnic opened 5 years ago

drnic commented 5 years ago

I installed the broker sc add-gcp-broker into my helm service-catalog and I see the follow error appear in the google_oauth pod:

I1019 03:39:55.376147       1 main.go:68] Secret google-oauth/gcp-svc-account-secret: checking for Service Catalog authentication extension contract...
I1019 03:39:55.376170       1 google_oauth.go:103] Secret 'google-oauth/gcp-svc-account-secret' is not compatible with the Service Catalog authentication extension contract (missing 'key' field); skipping...

To reproduce on a clean K8s:

helm install svc-cat/catalog \
    --name catalog --namespace catalog
sc add-gcp-broker
kubectl logs -n google-oauth google-oauth-....