From 48e4c044a59a3bb63bc9b1aa27d773bedc9ea97c Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Sun, 28 May 2023 11:25:03 +0800 Subject: [PATCH] fix(headscale): failed to bind unix socket --- kube/3-deploy/2-apps/headscale/app/hr.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kube/3-deploy/2-apps/headscale/app/hr.yaml b/kube/3-deploy/2-apps/headscale/app/hr.yaml index 1f59ec77..a5c9d119 100644 --- a/kube/3-deploy/2-apps/headscale/app/hr.yaml +++ b/kube/3-deploy/2-apps/headscale/app/hr.yaml @@ -110,6 +110,11 @@ spec: subPath: tls.key mountPath: /tls/privkey.pem readOnly: true + socket: + enabled: true + type: emptyDir + medium: Memory + mountPath: /var/run/headscale configMaps: config: enabled: true