https://authzed.com logo
#spicedb
Title
# spicedb
r

romil

04/12/2022, 6:30 AM
Copy code
containers:
        - name: "spicedb"
          image: "quay.io/authzed/spicedb:v1.6.0"
          imagePullPolicy: "IfNotPresent"
          command: ["spicedb", "serve"]
          args:
            - grpc-no-tls
            - --http-enabled
            - --dispatch-upstream-addr=kubernetes:///spicedb.authz:50053
          env:
            - name: "SPICEDB_GRPC_SHUTDOWN_GRACE_PERIOD"
              value: "1s"
            - name: "SPICEDB_LOG_LEVEL"
              value: "debug"
            - name: "SPICEDB_GRPC_PRESHARED_KEY"
              valueFrom:
                secretKeyRef:
                  name: "spicedb"
                  key: "SPICEDB_GRPC_PRESHARED_KEY"
          ports:
            - name: "grpc"
              containerPort: 50051
              protocol: "TCP"
            - name: "internal"
              containerPort: 50053
              protocol: "TCP"
          readinessProbe:
            exec:
              command: ["grpc_health_probe", "-v", "-addr=localhost:50051"]
            failureThreshold: 5
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 5