dotconfig/pods: add
This commit is contained in:
parent
679647542d
commit
2e05501c92
14 changed files with 755 additions and 0 deletions
38
dotconfig/pods/tailscale/tailscale-pod.yml
Normal file
38
dotconfig/pods/tailscale/tailscale-pod.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue