From 667d1631f7f95b749a8dddd2921004cd882917d3 Mon Sep 17 00:00:00 2001 From: Mark McLaughlin Date: Tue, 18 Jun 2024 11:39:38 +0100 Subject: [PATCH] Replace referenes of rebac with relations-api in kind config. --- .../{rebac => relations-api}/deployment.yaml | 0 spicedb-kind-setup/{rebac => relations-api}/secret.yaml | 0 spicedb-kind-setup/{rebac => relations-api}/svc.yaml | 0 spicedb-kind-setup/setup.sh | 8 ++++---- 4 files changed, 4 insertions(+), 4 deletions(-) rename spicedb-kind-setup/{rebac => relations-api}/deployment.yaml (100%) rename spicedb-kind-setup/{rebac => relations-api}/secret.yaml (100%) rename spicedb-kind-setup/{rebac => relations-api}/svc.yaml (100%) 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"