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

Headscale support #117

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6ec7bbe
headscale config
GrigoriyMikhalkin Aug 30, 2022
03bf0ae
images update
GrigoriyMikhalkin Sep 13, 2022
a4508a0
polishing
GrigoriyMikhalkin Sep 13, 2022
1e312e2
remove tmp files
GrigoriyMikhalkin Sep 13, 2022
9fd8309
Update inventories/group_vars/control-plane/metal.yml
GrigoriyMikhalkin Sep 14, 2022
6a0f897
clean group vars
GrigoriyMikhalkin Sep 14, 2022
b0bce3a
headscale api url update
GrigoriyMikhalkin Sep 23, 2022
c6348f7
headscale config
GrigoriyMikhalkin Aug 30, 2022
f48c54a
images update
GrigoriyMikhalkin Sep 13, 2022
343b883
polishing
GrigoriyMikhalkin Sep 13, 2022
d21f162
remove tmp files
GrigoriyMikhalkin Sep 13, 2022
403b966
clean group vars
GrigoriyMikhalkin Sep 14, 2022
3c2b6a8
headscale api url update
GrigoriyMikhalkin Sep 23, 2022
e46e2a8
Merge branch 'headscale' of github.com:metal-stack/mini-lab into head…
GrigoriyMikhalkin Oct 25, 2022
2d0a903
Update inventories/group_vars/all/images.yaml
GrigoriyMikhalkin Nov 8, 2022
c7714e5
Update inventories/group_vars/control-plane/headscale.yaml
GrigoriyMikhalkin Nov 8, 2022
7a31625
headscale config
GrigoriyMikhalkin Aug 30, 2022
b025f57
images update
GrigoriyMikhalkin Sep 13, 2022
d3e0aed
polishing
GrigoriyMikhalkin Sep 13, 2022
d622e60
remove tmp files
GrigoriyMikhalkin Sep 13, 2022
ed6009f
clean group vars
GrigoriyMikhalkin Sep 14, 2022
a906423
headscale api url update
GrigoriyMikhalkin Sep 23, 2022
51bda84
headscale config
GrigoriyMikhalkin Aug 30, 2022
16f24b4
images update
GrigoriyMikhalkin Sep 13, 2022
66114d9
polishing
GrigoriyMikhalkin Sep 13, 2022
c9f9c5d
remove tmp files
GrigoriyMikhalkin Sep 13, 2022
3bc8034
clean group vars
GrigoriyMikhalkin Sep 14, 2022
05fd715
Update inventories/group_vars/all/images.yaml
GrigoriyMikhalkin Nov 8, 2022
58af576
Update inventories/group_vars/control-plane/headscale.yaml
GrigoriyMikhalkin Nov 8, 2022
22d6197
update noise priv key
GrigoriyMikhalkin Nov 9, 2022
1224e4b
Merge branch 'headscale' of github.com:metal-stack/mini-lab into head…
GrigoriyMikhalkin Nov 9, 2022
9a11515
Merge branch 'master' of github.com:metal-stack/mini-lab into headscale
GrigoriyMikhalkin Nov 10, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion deploy_control_plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
tags: metal-db
- name: metal-roles/control-plane/roles/ipam-db
tags: ipam-db
- name: metal-roles/control-plane/roles/headscale
tags: headscale
- name: metal-roles/control-plane/roles/masterdata-db
tags: masterdata-db
- name: metal-roles/control-plane/roles/metal
tags: metal
tags: metal
1 change: 1 addition & 0 deletions inventories/group_vars/all/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metal_stack_release_version: develop
# metal_hammer_image_url: https://images.metal-stack.io/metal-hammer/pull-requests/<pr-number-and-title>/metal-hammer-initrd.img.lz4
# metal_api_image_name:
# metal_api_image_tag:
# metal_api_image_name:
GrigoriyMikhalkin marked this conversation as resolved.
Show resolved Hide resolved
# metal_metalctl_image_name:
# metal_metalctl_image_tag:
# metal_masterdata_api_image_name:
Expand Down
16 changes: 16 additions & 0 deletions inventories/group_vars/control-plane/headscale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
headscale_image_name: headscale/headscale
headscale_image_tag: 0.16.4-alpine
GrigoriyMikhalkin marked this conversation as resolved.
Show resolved Hide resolved

headscale_tls: no

headscale_db_image_name: timescale/timescaledb
headscale_db_image_tag: 2.6.1-pg12
GrigoriyMikhalkin marked this conversation as resolved.
Show resolved Hide resolved
headscale_db_storage_size: 200Mi

headscale_db_backup_restore_sidecar_image_name: ghcr.io/metal-stack/backup-restore-sidecar
headscale_db_backup_restore_sidecar_image_tag: v0.6.3
GrigoriyMikhalkin marked this conversation as resolved.
Show resolved Hide resolved
headscale_db_backup_restore_sidecar_provider: local
GrigoriyMikhalkin marked this conversation as resolved.
Show resolved Hide resolved

headscale_private_key: c8e07b737d04715f1f5c1318334e888f65e6a704ea85d0cddaa31b2c5589ef7f
GrigoriyMikhalkin marked this conversation as resolved.
Show resolved Hide resolved
headscale_db_resources: {}
5 changes: 4 additions & 1 deletion inventories/group_vars/control-plane/metal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metal_api_images:
- id: firewall-ubuntu-2.0.20220531
name: Firewall 2 Ubuntu 20220531
description: Firewall 2 Ubuntu 20220531
url: http://images.metal-stack.io/metal-os/firewall/2.0-ubuntu/20220531/img.tar.lz4
url: https://storage.googleapis.com/images.metal-pod.io/metal-os/pull_requests/141-headscale/firewall/2.0-ubuntu/img.tar.lz4
GrigoriyMikhalkin marked this conversation as resolved.
Show resolved Hide resolved
features:
- firewall
- id: ubuntu-20.04.20220531
Expand Down Expand Up @@ -122,3 +122,6 @@ metal_api_grpc_certs_server_cert: "{{ lookup('file', 'certs/grpc/server.pem') }
metal_api_grpc_certs_client_key: "{{ lookup('file', 'certs/grpc/client-key.pem') }}"
metal_api_grpc_certs_client_cert: "{{ lookup('file', 'certs/grpc/client.pem') }}"
metal_api_grpc_certs_ca_cert: "{{ lookup('file', 'certs/ca.pem') }}"

metal_api_headscale_enabled: true
metal_api_headscale_tls: no