feat: add headscale helmfile

This commit is contained in:
2025-06-22 16:22:23 +02:00
parent 7d81828f4a
commit 3d5c6da6d0
6 changed files with 90 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
bases:
- ../envs/environments.yaml.gotmpl
repositories:
- name: headscale
url: https://charts.gabe565.com
commonLabels:
tier: system
releases:
- name: manifests
namespace: headscale-system
chart: manifests
condition: nginx.enabled
missingFileHandler: Info
values:
- ../values/env.yaml
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
- ../values/headscale/env.yaml.gotmpl
- ../values/headscale/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
hooks:
- events: [ prepare, cleanup ]
showlogs: true
command: ../bin/helmify
args:
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
- '{{`{{ .Release.Chart }}`}}'
- '{{`{{ .Environment.Name }}`}}'
- ../values/headscale/manifests
- manifests