28 lines
1 KiB
YAML
28 lines
1 KiB
YAML
---
|
|
apiVersion: supabase.k8s.icb4dc0.de/v1alpha1
|
|
kind: Storage
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: supabase-operator
|
|
app.kubernetes.io/managed-by: kustomize
|
|
name: storage-sample
|
|
namespace: supabase-demo
|
|
spec:
|
|
api:
|
|
s3:
|
|
credentialsSecretRef:
|
|
secretName: "storage-api-s3-credentials"
|
|
accessKeyIdKey: accessKeyId
|
|
accessSecretKeyKey: secretAccessKey
|
|
db:
|
|
host: cluster-example-rw.supabase-demo.svc
|
|
dbName: app
|
|
dbCredentialsRef:
|
|
# 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
|
|
# format <core-resource-name>-db-creds-supabase-storage-admin
|
|
secretName: core-sample-db-creds-supabase-storage-admin
|
|
jwtAuth:
|
|
# 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
|
|
secretName: core-sample-jwt
|