Is it possible to configure the
# spicedb
n
Is it possible to configure the Kubernetes
Service.type
for clusters deployed with the Kubernetes operator? It defaults to
ClusterIP
, I wonder if it's possible to set it to
LoadBalancer
. We have some services outside of Kubernetes that will also need to access SpiceDB until we move them to Kubernetes.
v
I think so. You should be able to patch it using
patches
in your `SpiceDBCluster.spec`:
Copy code
spec:
  config:
    // all your config
  patches:
    - kind: Service
      patch:
        spec:
          type: "LoadBalancer"
I haven't looked into the actual code nor tried it, but I think it should work
n
Thanks, will give it a go
3 Views