# Install schema-registry
helm repo add incubator http://storage.googleapis.com/kubernetes-charts-incubator
helm install --name kafka -f "$1/scripts/kafka/helm-values/registry-values.yaml" --namespace kafka incubator/schema-registry

echo "Waiting for kafka to be ready..."
sleep 60

# Install schema-ui
kubectl create -f "$1/scripts/kafka/kube-configs/schema-ui-deployment.yaml" -n kafka

echo "Setting up avro schema ui..."
sleep 30
