Commit Graph

40 Commits

Author SHA1 Message Date
Aarnav Tale
090dec1ca6
chore: update docs 2025-04-02 17:03:58 -04:00
Aarnav Tale
8429b19c4a
docs: use git tags for bare metal 2025-03-29 14:10:46 -04:00
Aarnav Tale
03acebb23e fix: env variables did not resolve in prod 2025-03-24 16:15:38 -04:00
Aarnav Tale
5675ecdeac
chore: add 'community' things 2025-03-18 01:32:05 -04:00
Igor Ramazanov
03a7e51384
feat: add a nix flake (#132)
* feat: wip `nix`

Add initial code to be used when working with `nix` and `NixOS`.

* a Nix flake
* building a package
* a NixOS module

* feat: build `hp_agent` with `nix`

* feat: add `hp_agent` as a flake output

* feat: nix: start `headplane` after `headscale`

* feat: do not rely on `git` for versioning

It causes lots of pain when building with `nix` for a local `flake.nix`.

Not sure if it's a good general solution:
* now it requires a manual step of updating `./version` on each release.
* we're losing commit hash abbreviation, like `0.5.3-5-gbe5a291`

I guess, this can be fixed by installing git-pre-commit-hook, but even
then it'd be wrong, because the output of `git describe --tags --always`
won't be the same before and after commit.

* feat: include `hp_agent` to the NixOS module

* fix: version error message

* fix: use relative path imports in `nix`

* fix: NixOS module: generate `/etc/headplane/config.yaml` from `services.headplane.settings`

* fix: NixOS module: allow passing `bool` in `services.headplane.settings.*`

* fix: NixOS module: fix `/etc/headplane/config.yaml` generation

* docs: add Nix/NixOS docs

* feat: nix: read version from `package.json`

* fix: nix: fix `agent` env vars configuration

* feat: nix: add `services.headplane.agent.debug` option

* fix: delete unnecessary `version` file

* fix: nix: remove unnecessary `sed` substitutions

A left over from previous versions.
See: https://github.com/tale/headplane/issues/95#issue-2807487849

* feat: nix: do not hardcode `headplane-agent` configuration environment variables

To make the module more flexible and to reduce the dependency on the
config API.

* docs: improve `Nix` documentation

* Reflect recent changes.
* Link `Nix` in README

* feat: nix: setup Nix CI

* feat: nix: CI without depending on flakehub.com

* chore: begin bundling all deps into the server

* fix: loosen headscale config validation

* fix: navigate back to machines page on node deletion

* fix: slice off trailing slash if present on headscale url

* feat: switch to a central singleton handler

This also adds support for Headscale TLS installations

* fix: shamefully-hoist dependencies

* fix: handle localized number fields

* fix: revert dependency bundling for now

* chore: cleanup and remove from readme for now

---------

Co-authored-by: Aarnav Tale <aarnavtale@icloud.com>
2025-03-18 00:31:37 -04:00
Aarnav Tale
134b38ceda
chore: update agent var scheme 2025-03-11 22:39:05 -04:00
Steve Wills
983356611e
docs: fix mistake in env docs (#119) 2025-03-03 14:32:05 -05:00
nerdlich
762bc6a793
fix: cosmetic docs/config fixes (#112)
* fix config path

* fix typo
2025-03-01 10:30:15 -05:00
Aarnav Tale
5b716ab5ce
chore: update docs to reflect 0.5.1 2025-02-28 12:22:20 -05:00
Aarnav Tale
30a1153fa5
docs: cleanup integrated docker formatting 2025-02-27 15:33:06 -05:00
Aarnav Tale
870680b6c5
docs: redo docs 2025-02-27 15:31:16 -05:00
Leo Wilkin
06049169a2
chore(docs): Fix broken link to Linux setup on Headscale docs! (#107)
* Update Headscale install link

* Update Native.md
2025-02-19 13:06:08 -05:00
Aarnav Tale
5569ba4660
feat: rework oidc to be more resilient
This includes setting a custom redirect URI, handling errors, and using a better library.
As an API decision I've also disabled per session API keys as it clutters up too much.
2025-01-10 13:55:24 +05:30
Aarnav Tale
240d8d6197
chore: v0.3.9 2024-12-06 19:30:12 -05:00
Aarnav Tale
69cc6985b4
chore: v0.3.8 2024-12-06 19:07:36 -05:00
Aarnav Tale
e713dae91b
fix: validate and respect oidc validation settings 2024-12-06 19:05:07 -05:00
Aarnav Tale
33762e53b5
chore: document the /admin endpoint 2024-12-05 02:07:28 -05:00
Aarnav Tale
8867cca494
chore: use 0.3.7 in examples 2024-11-30 15:42:33 -05:00
Aarnav Tale
712fc28683
feat: allow a public headscale URL separate from the main one 2024-11-30 15:33:58 -05:00
Aarnav Tale
da0ee1382b
feat: allow setting OIDC_CLIENT_SECRET_METHOD 2024-11-30 15:00:51 -05:00
Aarnav Tale
9d9cbd8e0e
chore: v0.3.5 2024-11-08 12:05:33 -05:00
Aarnav Tale
1d6472765a
docs: better explain the native integration 2024-11-06 15:18:21 -05:00
Aarnav Tale
447a31f91e
chore: v0.3.2 2024-10-11 03:09:56 -04:00
Aarnav Tale
98d1cb1333
docs: mention 0.3.1 as the latest 2024-10-03 15:36:20 -04:00
Aarnav Tale
65cc278a59
docs(TALE-33): document debug 2024-10-03 15:30:24 -04:00
Aarnav Tale
4095ed2a68
docs: version the docker images 2024-09-25 16:26:19 -04:00
Aarnav Tale
a72a3d6e5f
chore(TALE-29): remove references to ACL_FILE 2024-08-24 10:19:06 -04:00
Akira Yamazaki
c4c1fd8aab
feat: make secure flag of cookie configurable (#26) 2024-08-24 10:18:38 -04:00
Aarnav Tale
0e6b5ea6d0
chore: update docs for minimum beta requirement 2024-08-23 15:18:32 -04:00
Aarnav Tale
3cc726320a
fix(TALE-5): remove deployment check and only use pod spec 2024-07-08 14:40:38 -04:00
Aarnav Tale
bda151f4e8
chore: simplify documentation 2024-07-08 14:31:53 -04:00
Aarnav Tale
6fa0e265fe
feat: update images 2024-06-03 23:33:38 -04:00
Aarnav Tale
98ea2cb06f
feat: add a way to escape hatch from strict config checking 2024-05-30 10:41:40 -04:00
Aarnav Tale
a72cc1bb1c
chore: document the new integration providers 2024-05-26 19:40:46 -04:00
Aarnav Tale
c7e59b137c
docs: solidify DOCKER_SOCK and ROOT_API_KEY usage 2024-05-22 12:43:42 -04:00
Aarnav Tale
a63f4e4d52
fix: API_KEY is no longer required for login to work 2024-05-01 02:47:36 -04:00
Aarnav Tale
cbecf85979
chore: update readme images 2024-04-23 01:15:31 -04:00
Aarnav Tale
c2fe69ec17
chore: add acl file instructions 2024-04-15 04:06:18 -04:00
Aarnav Tale
029f395673
fix: use absolute markdown paths 2024-03-29 19:43:57 -04:00
Aarnav Tale
9244d63826
feat: redo documentation 2024-03-29 19:41:56 -04:00