Hello together 🙂
# spicedb
t
Hello together 🙂 Is there a possibility to pass a custom imagePullSecret to the SpiceDBCluster? Didn't had any success so far... Our Cluster is limited to specific registries therefore i end up in errors if i can't pass any secret tried with patches so far but didn't had any success yet
v
It should be possible to patch the
SpiceDBCluster
. Maybe share what you've tried so far?
t
sure, i tried so far this:
Copy code
apiVersion: authzed.com/v1alpha1
kind: SpiceDBCluster
metadata:
  name: example
  namespace: spicedb
spec:
  config:
    logLevel: debug
    datastoreEngine: cockroachdb
    replicas: 2
    tlsSecretName: example-spicedb-tls
    dispatchUpstreamCASecretName: internal-ca
  secretName: example-spicedb-config
  imagePullSecrets:
    - name: secret-name
which ofc doesn't work
Copy code
apiVersion: authzed.com/v1alpha1
kind: SpiceDBCluster
metadata:
  name: example
  namespace: spicedb
spec:
  config:
    logLevel: debug
    datastoreEngine: postgres
    replicas: 1
  secretName: example-spicedb-config
  patches:
    - kind: Deployment
      patch:
        spec:
          template:
            spec:
              imagePullSecrets:
                - name: secretName
and that one was my last try. the latest one adds it into the manifest but it doesnt have any effect
i also tried to climb through the manifest my checking
Copy code
kubectl explain SpiceDBCluster.spec
but wasn't able to find anything
v
that's odd. I just did it exactly this and it worked well?
Copy code
and that one was my last try. the latest one adds it into the manifest but it doesnt have any effect
Is
imagePullSecrets
ending in your Deployment spec? If so, this seems to be working as intended
that's what I see here locally when I tested it
t
for me it didn't work :/ But i found a solution. I added to the SA the secret. I will update the solution on Monday when i boot my work laptop again 🙂