Skip to content

Commit be1968c

Browse files
committed
update kubernetes example and lint workflow
1 parent e89c2fb commit be1968c

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/lint.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ jobs:
1111
name: "Lint"
1212
runs-on: "ubuntu-latest"
1313
steps:
14-
- uses: "actions/checkout@v3"
14+
- uses: "actions/checkout@v4"
1515
- uses: "authzed/actions/yaml-lint@main"
16-
- uses: "instrumenta/kubeval-action@5915e4adba5adccac07cb156b82e54c3fed74921"
17-
with:
18-
files: "kubernetes"
16+
- name: "Set up Kubeconform"
17+
uses: "bmuschko/setup-kubeconform@v1"
18+
- name: "Validate manifests"
19+
run: "kubeconform -summary -verbose ./kubernetes"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Developers create a schema that models their permissions requirements and use a
1717
Examples in this repository include:
1818

1919
- How to set up SpiceDB with tracing: see [tracing](./tracing)
20+
- How to run SpiceDB in a Kubernetes cluster: see [kubernetes](./kubernetes)
2021
- CI/CD Workflows
2122

2223
Have questions? Join our [Discord].

kubernetes/example.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ spec:
143143
- name: "prometheus"
144144
containerPort: 9090
145145
protocol: "TCP"
146-
readinessProbe:
147-
exec:
148-
command: ["grpc_health_probe", "-v", "-addr=localhost:50051"]
146+
livenessProbe:
147+
grpc:
148+
port: 50051
149149
failureThreshold: 5
150150
periodSeconds: 10
151151
successThreshold: 1

0 commit comments

Comments
 (0)