| 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: |
| 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 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 | e34a061 | 2023-06-16 13:56:10 +0400 | [diff] [blame] | 22 | ipSubnet: {{ .Values.IPSubnet }} |
| 23 | username: {{ .Values.Username }} |
| 24 | preAuthKeySecret: headscale-preauth-key |