commit | 180ff19acc19834f902b57d2d08cd81e68046987 | [log] [tgz] |
---|---|---|
author | Samuel Shuert <coded@clicks.codes> | Sat Dec 09 15:16:55 2023 -0500 |
committer | Skyler Grey <minion@clicks.codes> | Sat Dec 09 20:32:48 2023 +0000 |
tree | 695b41e080ec566476a0a8938ec8efeab1f1b7b0 | |
parent | 915067dd9b75f5bcad45c8169fc06e5a8e8977a5 [diff] |
Update Grafana links to keycloak and client secret additional: Change main domain to grafana.clicks.codes Change-Id: Id40d69668e26ee4f48de6c882fe5cc21b70e6dc2 Reviewed-on: https://git.clicks.codes/c/Clicks/NixFiles/+/181 Tested-by: Skyler Grey <minion@clicks.codes> Reviewed-by: Skyler Grey <minion@clicks.codes>
To deploy these files to our server we use deploy-rs. If you've got a flakes-enabled nix installed on your system you can run
nix run github:serokell/deploy-rs
You can also install deploy-rs to your profile, at which point you'll be able to run
deploy
Secrets are stored in SOPS and deployed using scalpel.
If you have a service which needs to store secrets in its config file, please set systemd reloadTriggers and restartTriggers to automatically reload/restart the service whenever the configuration changes.
It's notable that changing the secrets will not trigger a reload/restart of the service. If you want to update the secrets without updating the rest of the configuration you currently need to manually restart the service. It's possible that this could be solved by using systemd paths to watch the files (see https://superuser.com/questions/1171751/restart-systemd-service-automatically-whenever-a-directory-changes-any-file-ins) but this is not a priority