| Giorgi Lekveishvili | 23ef7f8 | 2023-05-26 11:57:48 +0400 | [diff] [blame] | 1 | apiVersion: helm.toolkit.fluxcd.io/v2beta1 |
| 2 | kind: HelmRelease |
| 3 | metadata: |
| Giorgi Lekveishvili | acc4a63 | 2023-06-09 12:50:21 +0400 | [diff] [blame^] | 4 | name: namespaces-headscale |
| 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 | - app-headscale |
| 20 | --- |
| 21 | apiVersion: helm.toolkit.fluxcd.io/v2beta1 |
| 22 | kind: HelmRelease |
| 23 | metadata: |
| Giorgi Lekveishvili | 23ef7f8 | 2023-05-26 11:57:48 +0400 | [diff] [blame] | 24 | name: headscale |
| Giorgi Lekveishvili | ce3c64d | 2023-05-30 13:28:08 +0400 | [diff] [blame] | 25 | namespace: {{ .Global.NamespacePrefix }}app-headscale |
| Giorgi Lekveishvili | 4d2784d | 2023-06-01 14:27:32 +0400 | [diff] [blame] | 26 | annotations: |
| 27 | version: 2-with-oidc-hydra-admin |
| Giorgi Lekveishvili | 23ef7f8 | 2023-05-26 11:57:48 +0400 | [diff] [blame] | 28 | spec: |
| Giorgi Lekveishvili | acc4a63 | 2023-06-09 12:50:21 +0400 | [diff] [blame^] | 29 | dependsOn: |
| 30 | - name: namespaces-headscale |
| 31 | namespace: {{ .Global.Id }} |
| Giorgi Lekveishvili | 23ef7f8 | 2023-05-26 11:57:48 +0400 | [diff] [blame] | 32 | chart: |
| 33 | spec: |
| 34 | chart: charts/headscale |
| 35 | sourceRef: |
| 36 | kind: GitRepository |
| 37 | name: pcloud |
| Giorgi Lekveishvili | ce3c64d | 2023-05-30 13:28:08 +0400 | [diff] [blame] | 38 | namespace: {{ .Global.Id }} |
| Giorgi Lekveishvili | 23ef7f8 | 2023-05-26 11:57:48 +0400 | [diff] [blame] | 39 | interval: 1m0s |
| 40 | values: |
| 41 | image: |
| 42 | repository: headscale/headscale |
| 43 | tag: 0.22.3 |
| 44 | pullPolicy: IfNotPresent |
| 45 | storage: |
| 46 | size: 5Gi |
| 47 | ingressClassName: pcloud-ingress-public |
| Giorgi Lekveishvili | ce3c64d | 2023-05-30 13:28:08 +0400 | [diff] [blame] | 48 | certificateIssuer: {{ .Global.Id }}-public |
| Giorgi Lekveishvili | 3a90705 | 2023-05-30 13:33:32 +0400 | [diff] [blame] | 49 | domain: {{ .Values.Subdomain }}.{{ .Global.Domain }} |
| Giorgi Lekveishvili | 4d2784d | 2023-06-01 14:27:32 +0400 | [diff] [blame] | 50 | internalBaseDomain: {{ .Global.PrivateDomain }} |
| 51 | oauth2: |
| 52 | hydraAdmin: http://hydra-admin.{{ .Global.NamespacePrefix }}core-auth.svc.cluster.local |
| 53 | hydraPublic: https://hydra.{{ .Global.Domain }} |
| 54 | clientId: headscale |
| 55 | secretName: oauth2-client-headscale |
| 56 | |