0xb4lamx [EU]
01/21/2025, 3:58 PMDeployment
settings with spicedb-operator, snippet:
...
patches:
- kind: Deployment
patch:
spec:
minReadySeconds: 30 # this one!!
template:
spec:
containers:
...
no luck applying this minReadySeconds
, and the Deployment
didnt get any updates, like it was ignored. any thoughts? 🤔
//same with deployment.spec.template.spec.nodeSelector
//some others specs works fine (like resources limit..)ecordell
01/21/2025, 4:44 PMecordell
01/21/2025, 4:44 PM0xb4lamx [EU]
01/21/2025, 4:52 PM7onn
01/21/2025, 5:26 PMstatus:
conditions:
- lastTransitionTime: '2024-12-19T10:44:01Z'
message: no TLS configured, consider setting "tlsSecretName"
reason: WarningsPresent
status: 'True'
type: ConfigurationWarning
- lastTransitionTime: '2025-01-06T13:08:09Z'
message: >-
Error validating config with secret hash
"n5d4h76h58bh55fhfbh58bh8bh574q": secret must contain a datastore_uri
field
reason: InvalidConfig
status: 'True'
type: ValidatingFailed
- lastTransitionTime: '2025-01-21T12:25:51Z'
message: Validating config with secret hash "n5d4h76h58bh55fhfbh58bh8bh574q"
reason: ConfigChanged
status: 'True'
type: Validating
currentMigrationHash: n89hb4h58fhbbh5fch5b5h56dh79q
image: ghcr.io/authzed/spicedb:v1.38.0
migration: add-metadata-to-transaction-table
observedGeneration: 14
secretHash: n5d4h76h58bh55fhfbh58bh8bh574q
targetMigrationHash: n89hb4h58fhbbh5fch5b5h56dh79q
version:
attributes:
- migration
channel: stable
name: v1.38.0
I don't know what hash field validation is the one mentioned in the error, but we are just loading the SPICEDB_DATASTORE_CONN_URI env from the secret that contains the datastore_uri
ecordell
01/21/2025, 10:04 PM.spec.secretName
in the SpiceDBCluster object? the secret there definitely has a datastore_uri
field?7onn
01/22/2025, 9:33 AMpreshared_key
. They are separate bc we have two different Vault mounts, one to store database secrets. The other is for any custom key value.7onn
01/22/2025, 9:47 AMpreshared_key
value via env var? like we do with the spicedb conn URI.
https://cdn.discordapp.com/attachments/1331291754938368000/1331560922543558687/image.png?ex=6792103f&is=6790bebf&hm=7a0f8617a52b7c644cff8831892d44795b46aa0480e708de7cc15a99d383c7f1&ecordell
01/22/2025, 2:46 PM