blob: 1774f1e7290a2c7dc5947e2ad88686825c9c7a61 [file] [log] [blame]
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: tailscale-proxy
namespace: {{ .Release.Namespace }}
spec:
dependsOn:
- name: headscale
namespace: {{ .Global.NamespacePrefix }}app-headscale
chart:
spec:
chart: charts/tailscale-proxy
sourceRef:
kind: GitRepository
name: pcloud
namespace: {{ .Global.Id }}
interval: 1m0s
values:
hostname: {{ .Global.Id }}-{{ .Values.HostnameSuffix }}
apiServer: http://headscale-api.{{ .Global.Id }}-app-headscale.svc.cluster.local
loginServer: https://headscale.{{ .Global.Domain }} # TODO(gio): take headscale subdomain from configuration
ipSubnet: {{ .Values.IPSubnet }}
username: {{ .Values.Username }}
preAuthKeySecret: headscale-preauth-key