Skip to content

Commit

Permalink
refactor(headscale): removal of headscale (#635)
Browse files Browse the repository at this point in the history
* refactor(headscale): removal of headscale

Currently headscale is not used beeing deployed & used with Greenhouse.
To avoid unnecessary refactorings and time spend to validate Dependabot PRs
we decided to not touch the code for now.
This PR removes all usage of Headscale, so that we can revert when we have
a concrete usage for this in the future.

* Automatic generation of CRD API Docs

---------

Co-authored-by: CRD API Docs Bot <[email protected]>
  • Loading branch information
IvoGoman and CRD API Docs Bot authored Oct 11, 2024
1 parent 1b6bd80 commit 2a28dc7
Show file tree
Hide file tree
Showing 79 changed files with 505 additions and 5,852 deletions.
7 changes: 0 additions & 7 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ documentation:
- README.md
- docs/**

headscale:
- changed-files:
- any-glob-to-any-file:
- charts/headscale/**
- pkg/headscale/**
- pkg/headscalectl/**

idproxy:
- changed-files:
- any-glob-to-any-file:
Expand Down
2 changes: 0 additions & 2 deletions .github/licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ header:
- 'Makefile'
- 'pkg/idproxy/web/**'
- 'pkg/apis/scheme_builder.go' # Belongs to the Kubernetes authors
- 'cmd/tcp-proxy/main.go' # MIT License
- 'pkg/tcp-proxy/proxy/*.go' # MIT License
- '**/zz_generated.deepcopy.go' # Generated by Kubebuilder
- 'charts/**/templates/*.yaml' # license headers on helm templates are causing issues

Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ jobs:
Imagename: greenhouse
- Dockerfiles: Dockerfile.dev-env
Imagename: greenhouse-dev-env
- Dockerfiles: Dockerfile.headscalectl
Imagename: greenhouse-headscalectl
- Dockerfiles: Dockerfile.tailscale
Imagename: greenhouse-tailscale
- Dockerfiles: Dockerfile.tcp-proxy
Imagename: greenhouse-tcp-proxy
# - Dockerfiles: Dockerfile.dev-ui
# Imagename: greenhouse-dev-ui

Expand Down Expand Up @@ -151,12 +145,6 @@ jobs:
Imagename: greenhouse
- Dockerfiles: Dockerfile.dev-env
Imagename: greenhouse-dev-env
- Dockerfiles: Dockerfile.headscalectl
Imagename: greenhouse-headscalectl
- Dockerfiles: Dockerfile.tailscale
Imagename: greenhouse-tailscale
- Dockerfiles: Dockerfile.tcp-proxy
Imagename: greenhouse-tcp-proxy
# - Dockerfiles: Dockerfile.dev-ui
# Imagename: greenhouse-dev-ui

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/pr-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ jobs:
Imagename: greenhouse
- Dockerfiles: Dockerfile.dev-env
Imagename: greenhouse-dev-env
- Dockerfiles: Dockerfile.headscalectl
Imagename: greenhouse-headscalectl
- Dockerfiles: Dockerfile.tailscale
Imagename: greenhouse-tailscale
- Dockerfiles: Dockerfile.tcp-proxy
Imagename: greenhouse-tcp-proxy

permissions:
contents: read
Expand Down
26 changes: 0 additions & 26 deletions Dockerfile.headscalectl

This file was deleted.

30 changes: 0 additions & 30 deletions Dockerfile.tailscale

This file was deleted.

27 changes: 0 additions & 27 deletions Dockerfile.tcp-proxy

This file was deleted.

10 changes: 2 additions & 8 deletions charts/greenhouse/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ dependencies:
- name: cors-proxy
repository: file://../cors-proxy
version: 0.2.0
- name: headscale
repository: file://../headscale
version: 0.1.3
- name: tailscale-proxy
repository: file://../tailscale-proxy
version: 0.1.0
- name: manager
repository: file://../manager
version: 0.1.6
Expand All @@ -20,5 +14,5 @@ dependencies:
- name: demo
repository: file://../demo
version: 0.1.1
digest: sha256:a9f3691f99496f2a587ab98e599c7b0cc00c0c5a6e712b75c2fc070aedd1615b
generated: "2024-09-06T14:19:08.271429486+02:00"
digest: sha256:fd38eac090116758caa914c00b9fb1065f08ccda7685f858007a3939ff6efbb4
generated: "2024-10-09T11:57:04.231793+02:00"
10 changes: 1 addition & 9 deletions charts/greenhouse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apiVersion: v2
name: greenhouse
description: A Helm chart for deploying greenhouse
type: application
version: 0.2.8
version: 0.3.0
appVersion: "0.1.0"

dependencies:
Expand All @@ -17,14 +17,6 @@ dependencies:
name: cors-proxy
repository: "file://../cors-proxy"
version: 0.2.0
- condition: headscale.enabled
name: headscale
version: 0.1.3
repository: "file://../headscale"
- condition: tailscale-proxy.enabled
name: tailscale-proxy
version: 0.1.0
repository: "file://../tailscale-proxy"
- name: manager
version: 0.1.6
repository: "file://../manager"
Expand Down
6 changes: 0 additions & 6 deletions charts/greenhouse/ci/test-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ alerts:
host: topSecret!
endpoint: topSecret!

headscale:
ingress:
host: "foo.bar"
postgres:
password: topSecret!

tailscale-proxy:
preauthkeyProvosioner:
userName: topSecret!
Expand Down
23 changes: 0 additions & 23 deletions charts/headscale/.helmignore

This file was deleted.

9 changes: 0 additions & 9 deletions charts/headscale/Chart.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions charts/headscale/ci/test-values.yaml

This file was deleted.

84 changes: 0 additions & 84 deletions charts/headscale/templates/_helpers.tpl

This file was deleted.

Loading

0 comments on commit 2a28dc7

Please sign in to comment.