-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding spicedb setup with docker and with kind
- Loading branch information
Showing
28 changed files
with
5,824 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[allowlist] | ||
description = "Global Allowlist" | ||
|
||
# Ignore based on any subset of the file path | ||
paths = [ | ||
# Ignore all example certs | ||
'''\/example.*\.pem$''', | ||
|
||
# Ignore anything with the word funkymonkey anywhere in the path | ||
'''foobar''','''yPsw5e6ab4bvAGe5H''', | ||
|
||
# Ignore some long path | ||
'''examples\/some\/long\/path\/server.key$''', | ||
] | ||
|
||
# Ignore based on any subset of the line | ||
regexes = [ | ||
# Ignore lines containing pickles | ||
'''yPsw5e6ab4bvAGe5H''', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Setup Spicedb-operator with Postgres in local kind kubernetes with monitoring stack | ||
|
||
# Run the setup | ||
`./setup.sh` | ||
|
||
## Testing grpc end-point | ||
`grpcurl -plaintext spicedb-grpc.127.0.0.1.nip.io:80 list` | ||
```# authzed.api.v1.ExperimentalService | ||
# authzed.api.v1.PermissionsService | ||
# authzed.api.v1.SchemaService | ||
# authzed.api.v1.WatchService | ||
# grpc.health.v1.Health | ||
# grpc.reflection.v1alpha.ServerReflection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Install Spicedb-operator | ||
|
||
# Create Spicedb namespace | ||
```kubectl create namespace spicedb-operator``` | ||
|
||
# Deploy the Spicedb operator | ||
``` | ||
kubectl apply --server-side -f https://github.com/authzed/spicedb-operator/releases/latest/download/bundle.yaml -n spicedb | ||
``` | ||
|
||
# Create namespace spicedb | ||
|
||
```kubectl create namespace spicedb``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Create a Kubernetes cluster | ||
`kind create cluster --config kind-ingress.config` | ||
|
||
# Configure Conture | ||
kubectl apply -f contour.yaml |
Oops, something went wrong.