blob: 5265613f0126e890d650b679c4fbbdc9ea412bfb [file] [log] [blame]
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04001input: {
2 username: string
3 preAuthKey: {
4 enabled: bool | *false
5 }
6}
7
Giorgi Lekveishvili08af67a2024-01-18 08:53:05 +04008namespace: "app-headscale"
9
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040010images: {}
11
12charts: {
13 headscaleUser: {
14 chart: "charts/headscale-user"
15 sourceRef: {
16 kind: "GitRepository"
17 name: "pcloud"
18 namespace: global.id
19 }
20 }
21}
22
23helm: {
24 "headscale-user": {
25 chart: charts.headscaleUser
26 values: {
27 username: input.username
28 headscaleApiAddress: "http://headscale-api.\(global.namespacePrefix)app-headscale.svc.cluster.local"
29 preAuthKey: {
30 enabled: input.preAuthKey.enabled
31 secretName: "\(input.username)-headscale-preauthkey"
32 }
33 }
34 }
35}