chore: use single string docker labels
This commit is contained in:
parent
0808299369
commit
b1da29b2fb
6 changed files with 85 additions and 61 deletions
|
|
@ -46,11 +46,6 @@ const headscaleConfig = type({
|
|||
dns_records_path: 'string?',
|
||||
}).onDeepUndeclaredKey('reject');
|
||||
|
||||
const containerLabel = type({
|
||||
name: 'string',
|
||||
value: 'string',
|
||||
}).optional();
|
||||
|
||||
const agentConfig = type({
|
||||
enabled: stringToBool.default(false),
|
||||
host_name: 'string = "headplane-agent"',
|
||||
|
|
@ -64,8 +59,8 @@ const agentConfig = type({
|
|||
const dockerConfig = type({
|
||||
enabled: stringToBool,
|
||||
container_name: 'string = ""',
|
||||
container_label: 'string = "me.tale.headplane.target=headscale"',
|
||||
socket: 'string = "unix:///var/run/docker.sock"',
|
||||
container_label: containerLabel,
|
||||
});
|
||||
|
||||
const kubernetesConfig = type({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue