forked fromtinkerbell/hegel
- Notifications
You must be signed in to change notification settings - Fork0
The gRPC/http metadata service for Tinkerbell
License
NotificationsYou must be signed in to change notification settings
parauliya/hegel
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository isExperimental meaning that it's based on untested ideas or techniques and not yet established or finalized or involves a radically new and innovative style! This means that support is best effort (at best!) and we strongly encourage you to NOT use this in production.
The gRPC and HTTP metadata service for Tinkerbell.Subscribe to changes in metadata, get notified when data is added/removed, etc.
Full documentation can be found attinkerbell.org
protoc -I ./protos/hegel ./protos/hegel/hegel.proto --go_out=plugins=grpc:./protos/hegel
To use Hegel with TLS certificates:
mkdir ./certsopenssl genrsa -des3 -passout pass:x -out ./certs/server.pass.key 2048openssl rsa -passin pass:x -in ./certs/server.pass.key -out ./certs/server.keyopenssl req -new -key ./certs/server.key -out ./certs/server.csropenssl x509 -req -sha256 -days 365 -in ./certs/server.csr -signkey ./certs/server.key -out ./certs/server.crtexport HEGEL_TLS_CERT=./certs/server.crtexport HEGEL_TLS_KEY=./certs/server.keygo run main.go