Operator Configuration
# spicedb
d
Hello, I'm experimenting with the SpiceDB Operator. Is there a way to tell it to apply a toleration to the deployments it creates? It looks from the test below like there might be a way, but having a
tolerations
key in the SpiceDBCluster.yaml, either in the base or
spec
, is not valid. https://github.com/authzed/spicedb-operator/blob/365e60f45e0c2c9025764b6a3d2c3057348289f1/pkg/config/patch_test.go#L286
... Does it just go in the config field? nope
e
You'd do this with an inline patch, like this:
Copy code
kind: SpiceDBCluster
spec:
  config:
     your: values
  patches:
  - kind: Deployment
    patch: 
      spec:
        template:
          spec:
            tolerations:
            - key: example-key
              operator: Exists
              effect: NoSchedule
d
ah, ty. also came across this GH Issue , but as you point out, patches can solve this problem https://github.com/authzed/spicedb-operator/issues/245
even knowing what the patches field is called, I can't find it in the docs though.
4 Views