yannis
01/09/2025, 10:53 PMapiVersion: authzed.com/v1alpha1
kind: SpiceDBCluster
metadata:
name: nonprod
namespace: spicedb
spec:
config:
replicas: 2
datastoreEngine: "postgres"
datastoreConnUri: "postgres://spicedb_nonprod:my_random_password@my_rds_cluster.eu-west-1.rds.amazonaws.com:5432/spicedb_main?sslmode=disable"
grpcPresharedKey: "myrandomkey"
logLevel: debug
However I get the following error and no pods are been created:
$ kubectl -n spicedb describe spicedbclusters
.authzed.com nonprod
Name: nonprod
Namespace: spicedb
Labels: <none>
Annotations: <none>
API Version: authzed.com/v1alpha1
Kind: SpiceDBCluster
Metadata:
Creation Timestamp: 2025-01-09T22:35:04Z
Generation: 1
Resource Version: 114554442
UID: 1f2a03ba-8020-4f1b-ad83-0ca6abca023e
Spec:
Config:
Datastore Conn Uri: postgres://spicedb_nonprod:my_random_password@my_rds_cluster.eu-west-1.rds.amazonaws.com:5432/spicedb_main?sslmode=disable
Datastore Engine: postgres
Grpc Preshared Key: myrandomkey
Log Level: debug
Replicas: 2
Status:
Conditions:
Last Transition Time: 2025-01-09T22:35:04Z
Message: Error validating config with secret hash "": secret must be provided
Reason: InvalidConfig
Status: True
Type: ValidatingFailed
Observed Generation: 1
Events: <none>
I googled a bit and checked for any relevant github issues but couldn't find anything. As I have a fairly simple config am I missing something obvious ?