This commit is contained in:
Sense T
2022-10-01 09:09:30 +00:00
parent 938db68be9
commit ffef0a5d92
19 changed files with 429 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: headscale
spec:
template:
metadata:
labels:
app: headscale
spec:
hostNetwork: true
volumes:
- name: data
persistentVolumeClaim:
claimName: headscale
- name: certs
secret:
secretName: wetofu-me-certs
- name: config
configMap:
name: headscale
containers:
- name: headscale
image: ghcr.io/juanfont/headscale
args:
- serve
volumeMounts:
- name: data
mountPath: /var/lib/headscale
- name: certs
mountPath: /certs
- name: config
mountPath: /etc/headscale
selector:
matchLabels:
app: headscale