helm/headscale/server/daemonset.yaml
Sense T ffef0a5d92 a
2022-10-01 09:09:30 +00:00

36 lines
812 B
YAML

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