dotconfig/pods: add

This commit is contained in:
Luc Bijl 2025-08-17 15:02:06 +02:00
parent 679647542d
commit 2e05501c92
14 changed files with 755 additions and 0 deletions

View file

@ -0,0 +1,38 @@
apiversion: v1
kind: Pod
metadata:
name: tailscale-pod
annotations:
io.podman.annotations.infra.name: tailscale-pod-infra
spec:
containers:
- name: headscale
image: docker.io/headscale/headscale:0.26
command:
- headscale
- serve
ports:
- containerport: 8080
hostport:
protocol: TCP
volumemounts:
- name: headscale-config
mountpath: /etc/headscale
- name: headscale-lib
mountpath: /var/lib/headscale
- name: localtime
mountpath: /etc/localtime
readonly: true
volumes:
- name: headscale-config
hostpath:
path: $HOME/.config/pods/tailscale/headscale-config
type: Directory
- name: headscale-lib
persistentvolumeclaim:
claimname: tailscale-pod-headscale-lib
- name: localtime
hostpath:
path: /etc/localtime
type: File