31 lines
780 B
YAML
31 lines
780 B
YAML
|
---
|
||
|
apiVersion: supabase.k8s.icb4dc0.de/v1alpha1
|
||
|
kind: APIGateway
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: supabase-operator
|
||
|
app.kubernetes.io/managed-by: kustomize
|
||
|
name: gateway-sample
|
||
|
spec:
|
||
|
apiEndpoint:
|
||
|
jwks:
|
||
|
# will be created by Core resource operator if not present
|
||
|
# just make sure the secret name is either based on the name of the core resource or explicitly set
|
||
|
name: core-sample-jwt
|
||
|
key: jwks.json
|
||
|
dashboardEndpoint:
|
||
|
auth:
|
||
|
basic:
|
||
|
usersInline:
|
||
|
# admin:admin
|
||
|
- admin:{SHA}0DPiKuNIrrVmD8IUCuw1hQxNqZc=
|
||
|
plaintextUsersSecretRef: studio-sample-basic-auth
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: studio-sample-basic-auth
|
||
|
namespace: supabase-demo
|
||
|
stringData:
|
||
|
ted: not_admin
|