Skip to content

Commit 1564d20

Browse files
authored
fix: upgrade spicedb to 1.25.0 and add grpc health probe (#106)
Signed-off-by: Kush Sharma <[email protected]>
1 parent 77f5e4f commit 1564d20

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
# Dependency directories (remove the comment below to include it)
1515
# vendor/
1616
.idea/
17+
.DS_Store

stable/frontier/values.yaml

+24-11
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ frontier-app:
33
image:
44
repository: raystack/frontier
55
pullPolicy: IfNotPresent
6-
tag: 0.7.1
6+
tag: 0.7.4
77
container:
88
command: ["frontier", "server", "start"]
99
livenessProbe:
@@ -63,28 +63,41 @@ spicedb:
6363
replicaCount: 2
6464
image:
6565
repository: quay.io/authzed/spicedb
66-
tag: v1.19.1
66+
tag: v1.25.0
6767
secretConfig:
6868
SPICEDB_GRPC_PRESHARED_KEY:
6969
SPICEDB_DATASTORE_CONN_URI:
7070
config:
7171
SPICEDB_LOG_LEVEL: info
7272
SPICEDB_DATASTORE_ENGINE:
73+
SPICEDB_GRPC_ENABLED: "true"
74+
SPICEDB_HTTP_ENABLED: "true"
7375
SPICEDB_GRPC_SHUTDOWN_GRACE_PERIOD: "5s"
7476
container:
7577
ports:
76-
- name: tcp
77-
containerPort: 50051
78-
protocol: TCP
78+
- containerPort: 50051
79+
protocol: TCP
80+
- containerPort: 8443
81+
protocol: TCP
7982
livenessProbe:
80-
httpGet:
81-
path: /
82-
port: 8080
83+
exec:
84+
command: ["grpc_health_probe", "-v", "-addr=localhost:50051"]
8385
readinessProbe:
84-
httpGet:
85-
path: /
86-
port: 8080
86+
exec:
87+
command: ["grpc_health_probe", "-v", "-addr=localhost:50051"]
8788
command: ["spicedb", "serve"]
89+
service:
90+
type: ClusterIP
91+
ports:
92+
- port: 80
93+
name: rest
94+
targetPort: 8443
95+
protocol: TCP
96+
- port: 50051
97+
name: grpc
98+
targetPort: 50051
99+
protocol: TCP
100+
annotations: {}
88101
ingress:
89102
enabled: true
90103
annotations:

0 commit comments

Comments
 (0)