| Giorgi Lekveishvili | 524485f | 2023-06-13 13:29:04 +0400 | [diff] [blame] | 1 | apiVersion: helm.toolkit.fluxcd.io/v2beta1 |
| 2 | kind: HelmRelease |
| 3 | metadata: |
| Giorgi Lekveishvili | 524485f | 2023-06-13 13:29:04 +0400 | [diff] [blame] | 4 | name: tailscale-proxy |
| Giorgi Lekveishvili | 7fb28bf | 2023-06-24 19:51:16 +0400 | [diff] [blame] | 5 | namespace: {{ .Release.Namespace }} |
| Giorgi Lekveishvili | 524485f | 2023-06-13 13:29:04 +0400 | [diff] [blame] | 6 | spec: |
| Giorgi Lekveishvili | 524485f | 2023-06-13 13:29:04 +0400 | [diff] [blame] | 7 | dependsOn: |
| Giorgi Lekveishvili | 0ccd148 | 2023-06-21 15:02:24 +0400 | [diff] [blame] | 8 | - name: headscale |
| Giorgi Lekveishvili | 7fb28bf | 2023-06-24 19:51:16 +0400 | [diff] [blame] | 9 | namespace: {{ .Global.NamespacePrefix }}app-headscale |
| Giorgi Lekveishvili | 524485f | 2023-06-13 13:29:04 +0400 | [diff] [blame] | 10 | chart: |
| 11 | spec: |
| Giorgi Lekveishvili | 6ae65d1 | 2023-12-04 15:37:53 +0400 | [diff] [blame] | 12 | chart: charts/tailscale-proxy |
| Giorgi Lekveishvili | 524485f | 2023-06-13 13:29:04 +0400 | [diff] [blame] | 13 | sourceRef: |
| 14 | kind: GitRepository |
| 15 | name: pcloud |
| 16 | namespace: {{ .Global.Id }} |
| 17 | interval: 1m0s |
| 18 | values: |
| Giorgi Lekveishvili | 2dbce6c | 2023-12-05 15:16:27 +0400 | [diff] [blame] | 19 | hostname: {{ .Values.PrivateNetwork.Hostname}} |
| Giorgi Lekveishvili | 0ccd148 | 2023-06-21 15:02:24 +0400 | [diff] [blame] | 20 | apiServer: http://headscale-api.{{ .Global.Id }}-app-headscale.svc.cluster.local |
| Giorgi Lekveishvili | 524485f | 2023-06-13 13:29:04 +0400 | [diff] [blame] | 21 | loginServer: https://headscale.{{ .Global.Domain }} # TODO(gio): take headscale subdomain from configuration |
| Giorgi Lekveishvili | 2dbce6c | 2023-12-05 15:16:27 +0400 | [diff] [blame] | 22 | ipSubnet: {{ .Values.PrivateNetwork.IPSubnet }} |
| 23 | username: {{ .Values.PrivateNetwork.Username }} # TODO(gio): maybe install headscale-user chart separately? |
| Giorgi Lekveishvili | e34a061 | 2023-06-16 13:56:10 +0400 | [diff] [blame] | 24 | preAuthKeySecret: headscale-preauth-key |