blob: 5ceae750f4622950040c33bc0cda854233004cdc [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:
12 chart: charts/tailscale
13 sourceRef:
14 kind: GitRepository
15 name: pcloud
16 namespace: {{ .Global.Id }}
17 interval: 1m0s
18 values:
19 hostname: {{ .Global.PCloudEnvName }}-{{ .Global.Id }}-internal-proxy
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