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

add-gcp-broker should not assume that sc install has ran #143

Closed pmorie closed 6 years ago

pmorie commented 6 years ago

It should be possible to run sc add-gcp-broker on a cluster that already has catalog installed and where sc install was not run. It looks like the following resources are assumed to exist:

As a start, lazily creating these if they don't already exist is sufficient. Longer term, the oauth controller should run under a distinct service account with a lower level of privilege than the controller-manager service account.