blob: 047c196b6fe02f0958b6817fdb172f5ce8ea219a [file] [log] [blame]
Giorgi Lekveishvili524485f2023-06-13 13:29:04 +04001apiVersion: helm.toolkit.fluxcd.io/v2beta1
2kind: HelmRelease
3metadata:
Giorgi Lekveishvili524485f2023-06-13 13:29:04 +04004 name: tailscale-proxy
Giorgi Lekveishvili7fb28bf2023-06-24 19:51:16 +04005 namespace: {{ .Release.Namespace }}
Giorgi Lekveishvili524485f2023-06-13 13:29:04 +04006spec:
Giorgi Lekveishvili524485f2023-06-13 13:29:04 +04007 dependsOn:
Giorgi Lekveishvili0ccd1482023-06-21 15:02:24 +04008 - name: headscale
Giorgi Lekveishvili7fb28bf2023-06-24 19:51:16 +04009 namespace: {{ .Global.NamespacePrefix }}app-headscale
Giorgi Lekveishvili524485f2023-06-13 13:29:04 +040010 chart:
11 spec:
Giorgi Lekveishvili6ae65d12023-12-04 15:37:53 +040012 chart: charts/tailscale-proxy
Giorgi Lekveishvili524485f2023-06-13 13:29:04 +040013 sourceRef:
14 kind: GitRepository
15 name: pcloud
16 namespace: {{ .Global.Id }}
17 interval: 1m0s
18 values:
Giorgi Lekveishvili2dbce6c2023-12-05 15:16:27 +040019 hostname: {{ .Values.PrivateNetwork.Hostname}}
Giorgi Lekveishvili0ccd1482023-06-21 15:02:24 +040020 apiServer: http://headscale-api.{{ .Global.Id }}-app-headscale.svc.cluster.local
Giorgi Lekveishvili524485f2023-06-13 13:29:04 +040021 loginServer: https://headscale.{{ .Global.Domain }} # TODO(gio): take headscale subdomain from configuration
Giorgi Lekveishvili2dbce6c2023-12-05 15:16:27 +040022 ipSubnet: {{ .Values.PrivateNetwork.IPSubnet }}
23 username: {{ .Values.PrivateNetwork.Username }} # TODO(gio): maybe install headscale-user chart separately?
Giorgi Lekveishvilie34a0612023-06-16 13:56:10 +040024 preAuthKeySecret: headscale-preauth-key