blob: 904f8507ae2088159132c83059a0e28a99637360 [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 Lekveishvili39913692023-12-05 08:58:08 +040019 hostname: {{ .Values.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 Lekveishvilie34a0612023-06-16 13:56:10 +040022 ipSubnet: {{ .Values.IPSubnet }}
23 username: {{ .Values.Username }}
24 preAuthKeySecret: headscale-preauth-key