Skip to content

Commit

Permalink
Update curl command in local kind setup to match current signatures (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wscalf authored Feb 24, 2025
1 parent b8f0106 commit 11e2073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spicedb-kind-setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ kubectl get ingresses.networking.k8s.io -n spicedb

echo "Relations - Write(POST) - Sample CURL request"
echo ""
JSON_DATA='{ "tuples": [{"resource": {"type": {"type": "group"},"id": "bob_club2"},"relation": "member","subject": {"subject": {"type": {"type": "user"},"id": "bob2"}}}]}'
JSON_DATA='{"tuples":[{"resource":{"id":"bob_club","type":{"name":"group","namespace":"rbac"}},"relation":"member","subject":{"subject":{"id":"bob","type":{"name":"principal","namespace":"rbac"}}}}]}'
echo "curl -v http://relationships.127.0.0.1.nip.io:8000/api/authz/v1beta1/tuples -H 'Content-Type: application/json' -d '$JSON_DATA'"

0 comments on commit 11e2073

Please sign in to comment.