feat: add filtering by container label for Docker integration (#194)

This commit is contained in:
George Ntoutsos
2025-04-25 02:03:33 +03:00
committed by GitHub
parent 6b63fe209f
commit faa61b0f1d
5 changed files with 114 additions and 10 deletions
+6
View File
@@ -41,10 +41,16 @@ const headscaleConfig = type({
config_strict: stringToBool,
}).onDeepUndeclaredKey('reject');
const containerLabel = type({
name: 'string',
value: 'string',
}).optional();
const dockerConfig = type({
enabled: stringToBool,
container_name: 'string',
socket: 'string = "unix:///var/run/docker.sock"',
container_label: containerLabel,
});
const kubernetesConfig = type({