blob: fb38f8b4ad10c541d221a8474222827b8e1bcfce [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: {
25 "headscale-user": {
26 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}