-
Notifications
You must be signed in to change notification settings - Fork 11
update kubernetes example and lint workflow #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
readinessProbe: | ||
exec: | ||
command: ["grpc_health_probe", "-v", "-addr=localhost:50051"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoids

See https://github.com/grpc-ecosystem/grpc-health-probe?tab=readme-ov-file#grpc_health_probe1
⚠️ Kubernetes has now built-in gRPC health checking capability as generally available. As a result, you might no longer need to use this tool and can use the native Kubernetes feature instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The probes do not support any authentication parameters (like -tls).
That's the reason we've kept using the shipped health probe binary rather than using the native K8s one. I'm ambivalent on using it here; on one hand using the health probe binary is in line with how we run it ourselves, but on the other hand for the purposes of this example, using the built-in is probably fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reverted this change. The problem is in the SpiceDB docker image - it's not being built for my architecture arm64
5c32cd9
to
be1968c
Compare
- uses: "actions/checkout@v3" | ||
- uses: "actions/checkout@v4" | ||
- uses: "authzed/actions/yaml-lint@main" | ||
- uses: "instrumenta/kubeval-action@5915e4adba5adccac07cb156b82e54c3fed74921" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/instrumenta/kubeval?tab=readme-ov-file#kubeval
NOTE: This project is no longer maintained, a good replacement is kubeconform
be1968c
to
0dc858f
Compare
9814c90
to
63c7037
Compare
63c7037
to
0de9145
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.