blob: fc2e4418f1d151cf8c18f4f6fb710a5c30f072b4 [file] [log] [blame]
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04001input: {
2 subdomain: string
3}
4
Giorgi Lekveishvili08af67a2024-01-18 08:53:05 +04005namespace: "app-headscale"
6
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04007images: {
8 headscale: {
9 repository: "headscale"
10 name: "headscale"
11 tag: "0.22.3"
12 pullPolicy: "IfNotPresent"
13 }
14 api: {
15 repository: "giolekva"
16 name: "headscale-api"
17 tag: "latest"
18 pullPolicy: "Always"
19 }
20}
21
22charts: {
23 headscale: {
24 chart: "charts/headscale"
25 sourceRef: {
26 kind: "GitRepository"
27 name: "pcloud"
28 namespace: global.id
29 }
30 }
31}
32
33helm: {
34 headscale: {
35 chart: charts.headscale
36 dependsOnExternal: [{
37 name: "auth"
38 namespace: "\(global.namespacePrefix)core-auth"
39 }]
40 values: {
41 image: {
42 repository: images.headscale.fullName
43 tag: images.headscale.tag
44 pullPolicy: images.headscale.pullPolicy
45 }
46 storage: size: "5Gi"
47 ingressClassName: _ingressPublic
48 certificateIssuer: _issuerPublic
49 domain: "\(input.subdomain).\(global.domain)"
50 publicBaseDomain: global.domain
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 }
57 ipAddressPool: "\(global.id)-headscale"
58 api: {
59 port: 8585
60 rootDomain: global.domain
61 image: {
62 repository: images.api.fullName
63 tag: images.api.tag
64 pullPolicy: images.api.pullPolicy
65 }
66 }
67 ui: enabled: false
68 }
69 }
70}