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