Skip to content
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

Routers: implement POST notification for bootscript requests #36

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

LRitzdorf
Copy link
Collaborator

This PR:

  • Adds a generic HTTP(S) notifier function, which can be invoked to POST form data to an arbitrary endpoint
  • Implements the ability to, whenever a node that requests its bootscript, POST that node's IP address to a configurable endpoint (i.e. indicating that the given node will soon require configuration)
    • The endpoint POSTed to is configurable via a CLI parameter (and associated environment variable)

This is to be used with the new TPM-manager OCHAMI component, specifically to inform the TPM manager when a new node is booting and will soon be ready to receive its TPM secret.

Implemented with help from @davidallendj

This is to be used with the new TPM-manager OCHAMI component,
specifically to inform the TPM manager when a new node is booting and
will soon be ready to receive its TPM secret.
@LRitzdorf
Copy link
Collaborator Author

Also, if we could get a tagged release once this is merged, that'd be great! Mostly to facilitate Docker pulls.

@travisbcotton travisbcotton merged commit a0e1caa into main Jun 28, 2024
2 checks passed
@LRitzdorf LRitzdorf deleted the lritzdorf/bootscript-notify branch June 28, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants