blob: c591d1208778ea0f6f3d13bb16639590118802d8 [file] [log] [blame]
input: {
username: string
preAuthKey: {
enabled: bool | *false
}
}
images: {}
charts: {
headscaleUser: {
chart: "charts/headscale-user"
sourceRef: {
kind: "GitRepository"
name: "pcloud"
namespace: global.id
}
}
}
helm: {
"headscale-user": {
chart: charts.headscaleUser
values: {
username: input.username
headscaleApiAddress: "http://headscale-api.\(global.namespacePrefix)app-headscale.svc.cluster.local"
preAuthKey: {
enabled: input.preAuthKey.enabled
secretName: "\(input.username)-headscale-preauthkey"
}
}
}
}