atlassian / smith

Smith is a Kubernetes workflow engine / resource manager
Apache License 2.0
285 stars 24 forks source link

Run Service Catalog integration tests in CI #410

Closed ash2k closed 5 years ago

ash2k commented 5 years ago

In CI install Service Catalog into the Kind cluster and run integration tests against it.

ash2k commented 5 years ago

Some rough instructions:

https://storage.googleapis.com/kubernetes-helm/helm-v2.12.3-linux-amd64.tar.gz
tar -zxvf helm-v2.0.0-linux-amd64.tgz
mv linux-amd64/helm /usr/local/bin/helm

helm init
helm repo add svc-cat https://svc-catalog-charts.storage.googleapis.com
kubectl create clusterrolebinding tiller-cluster-admin \
    --clusterrole=cluster-admin \
    --serviceaccount=kube-system:default
helm install svc-cat/catalog --name catalog --namespace catalog
helm install svc-cat/ups-broker --name ups-broker --namespace ups-broker

Use https://github.com/kubernetes-incubator/service-catalog/blob/master/contrib/examples/walkthrough/ups-clusterservicebroker.yaml to register UPS broker.