diff --git a/spicedb-kind-setup/rebac/deployment.yaml b/spicedb-kind-setup/relations-api/deployment.yaml similarity index 100% rename from spicedb-kind-setup/rebac/deployment.yaml rename to spicedb-kind-setup/relations-api/deployment.yaml diff --git a/spicedb-kind-setup/rebac/secret.yaml b/spicedb-kind-setup/relations-api/secret.yaml similarity index 100% rename from spicedb-kind-setup/rebac/secret.yaml rename to spicedb-kind-setup/relations-api/secret.yaml diff --git a/spicedb-kind-setup/rebac/svc.yaml b/spicedb-kind-setup/relations-api/svc.yaml similarity index 100% rename from spicedb-kind-setup/rebac/svc.yaml rename to spicedb-kind-setup/relations-api/svc.yaml diff --git a/spicedb-kind-setup/setup.sh b/spicedb-kind-setup/setup.sh index af89d95..ab8b020 100755 --- a/spicedb-kind-setup/setup.sh +++ b/spicedb-kind-setup/setup.sh @@ -53,10 +53,10 @@ done echo "spicedb is ready" kubectl get ingresses.networking.k8s.io -n spicedb -echo "Deploying rebac service" -kubectl apply -f ./spicedb-kind-setup/rebac/secret.yaml -n spicedb -kubectl apply -f ./spicedb-kind-setup/rebac/deployment.yaml -n spicedb -kubectl apply -f ./spicedb-kind-setup/rebac/svc.yaml -n spicedb +echo "Deploying relations-api service" +kubectl apply -f ./spicedb-kind-setup/relations-api/secret.yaml -n spicedb +kubectl apply -f ./spicedb-kind-setup/relations-api/deployment.yaml -n spicedb +kubectl apply -f ./spicedb-kind-setup/relations-api/svc.yaml -n spicedb while [[ -z $(kubectl get deployments.apps -n spicedb relationships -o jsonpath="{.status.readyReplicas}" 2>/dev/null) ]]; do echo "still waiting for relationships"