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

Allow Truenas server to request datasets to be unlocked #13

Open
ThorpeJosh opened this issue Nov 7, 2023 · 0 comments
Open

Allow Truenas server to request datasets to be unlocked #13

ThorpeJosh opened this issue Nov 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ThorpeJosh
Copy link
Owner

Toying with idea of allowing Truenas to request datasets to be unlocked . This could be when it boots for example instead of constantly checking on a cron schedule.

First thoughts of how this might work:

  • Expose an API endpoint in the container that listens for authenticated requests
  • Add a curl command to the Truenas cron schedule (can select boot) to make a request to the endpoint with datasets to unlock
  • The endpoint then authenticates the Truenas request and runs the unlock script for the requested datasets.

The benefits could be that if this image is run in a swarm for high availability, then there will be less network chatter compared to the cron solution.

@ThorpeJosh ThorpeJosh added the enhancement New feature or request label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant