Test Service Broker is an example Open Service Broker for manually testing & demonstrating the Kubernetes Service Catalog.
For more information, visit the Service Catalog project on github.
To install the chart with the release name test-broker
:
$ helm install charts/test-broker --name test-broker --namespace test-broker
To use the broker, register it with any of the following commands.
Using svcat
:
$ svcat register test-broker --url http://test-broker-test-broker.test-broker.svc.cluster.local
Using kubectl:
$ kubectl apply -f contrib/examples/walkthrough/test-broker/test-clusterservicebroker.yaml
To register the broker into your namespace instead, use:
$ kubectl apply -f contrib/examples/walkthrough/test-broker/test-servicebroker.yaml
To uninstall/delete the test-broker
deployment:
$ helm delete test-broker
The command removes all the Kubernetes components associated with the chart and deletes the release.
The following tables lists the configurable parameters of the Test Service Broker
Parameter | Description | Default |
---|---|---|
image |
Image to use | quay.io/kubernetes-service-catalog/test-broker:v0.3.1 |
imagePullSecrets |
The pre-existing secrets to use to pull images from a private registry | [] |
imagePullPolicy |
imagePullPolicy for the test-broker |
Always |
Specify each parameter using the --set key=value[,key=value]
argument to
helm install
.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm install charts/test-broker --name test-broker --namespace test-broker \
--values values.yaml