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