go-grpc-k8s-auth

module
v0.0.0-...-373d8b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2023 License: Apache-2.0

README

go-grpc-k8s-auth

gRPC middleware that provides authentication and authorization support for Kubernetes applications.

Try the example

To build and run the example, you need the following:

  1. A Kubernetes cluster - you can deploy one locally with kind.
  2. ko to build the application.

Next, run make deploy to deploy the server on your cluster.

To connect to the server, first run kubectl port-forward in a separate terminal:

$ kubectl port-forward -n go-grpc-k8s-auth-example service/greeter-grpc-service 50051:grpc

Then run the client with the -name flag to change the response of the greeing:

$ go run example/client/main.go -name Alice

Directories

Path Synopsis
example

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL