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