charts: headscale share api socket with http api container
diff --git a/charts/headscale/templates/headscale.yaml b/charts/headscale/templates/headscale.yaml
index 4dd851b..6b38345 100644
--- a/charts/headscale/templates/headscale.yaml
+++ b/charts/headscale/templates/headscale.yaml
@@ -91,6 +91,8 @@
- name: config
configMap:
name: config
+ - name: api-socket
+ emptyDir: {}
containers:
- name: headscale
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
@@ -113,6 +115,8 @@
- name: config
mountPath: /headscale/config
readOnly: true
+ - mountPath: /headscale-api
+ name: api-socket
- name: headscale-api
image: {{ .Values.api.image.repository }}:{{ .Values.api.image.tag }}
imagePullPolicy: {{ .Values.api.image.pullPolicy }}
@@ -131,3 +135,5 @@
- name: config
mountPath: /headscale/config
readOnly: true
+ - mountPath: /headscale-api
+ name: api-socket