3 ms·
If it can pull from git, why not have the YAML in a git repo, too?
by zeckalpha 5y ago
If it can pull from git, why not have the YAML in a git repo, too?
- stavros 5y agoThat is, in fact, the recommended way to deploy it! If you look at the systemd service/timer files, that's what it does, except Harbormaster itself isn't aware of the repo. I kind of punted on the decision of how to run the top layer (ie have Harbormaster be a daemon that auto-pulls its config), but it's very simple to add a cronjob to `git pull; harbormaster` (and is more composable) so I didn't do any more work in that direction.