| Giorgi Lekveishvili | 524485f | 2023-06-13 13:29:04 +0400 | [diff] [blame] | 1 | apiVersion: helm.toolkit.fluxcd.io/v2beta1 |
| 2 | kind: HelmRelease |
| 3 | metadata: |
| 4 | name: namespaces-tailscale-proxy |
| 5 | namespace: {{ .Global.Id }} |
| 6 | spec: |
| 7 | chart: |
| 8 | spec: |
| 9 | chart: charts/namespaces |
| 10 | sourceRef: |
| 11 | kind: GitRepository |
| 12 | name: pcloud |
| 13 | namespace: {{ .Global.Id }} |
| 14 | interval: 1m0s |
| 15 | values: |
| 16 | pcloudInstanceId: {{ .Global.Id }} |
| 17 | namespacePrefix: {{ .Global.NamespacePrefix }} |
| 18 | namespaces: |
| 19 | - tailscale-proxy |
| 20 | --- |
| 21 | apiVersion: helm.toolkit.fluxcd.io/v2beta1 |
| 22 | kind: HelmRelease |
| 23 | metadata: |
| 24 | name: tailscale-proxy |
| 25 | namespace: {{ .Global.Id }} |
| 26 | spec: |
| 27 | targetNamespace: {{ .Global.NamespacePrefix }}tailscale-proxy |
| 28 | dependsOn: |
| 29 | - name: namespaces-tailscale-proxy |
| 30 | namespace: {{ .Global.Id }} |
| 31 | chart: |
| 32 | spec: |
| 33 | chart: charts/tailscale |
| 34 | sourceRef: |
| 35 | kind: GitRepository |
| 36 | name: pcloud |
| 37 | namespace: {{ .Global.Id }} |
| 38 | interval: 1m0s |
| 39 | values: |
| 40 | hostname: {{ .Global.PCloudEnvName }}-{{ .Global.Id }}-internal-proxy |
| 41 | loginServer: https://headscale.{{ .Global.Domain }} # TODO(gio): take headscale subdomain from configuration |
| Giorgi Lekveishvili | e34a061 | 2023-06-16 13:56:10 +0400 | [diff] [blame^] | 42 | ipSubnet: {{ .Values.IPSubnet }} |
| 43 | username: {{ .Values.Username }} |
| 44 | preAuthKeySecret: headscale-preauth-key |