about summary refs log tree commit diff
path: root/bundles/golink/files/kube.yaml
blob: 8ab2789dab342c32c078c2fa1083b27cc1c3fe93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
apiVersion: v1
kind: Pod
metadata:
  name: golink
  labels:
    traefik.enable: false
spec:
  restartPolicy: Never
  dnsPolicy: Default
  securityContext:
    # NOTE: required unless mounted directory is owned by 65532
    runAsUser: 0
  containers:
    - name: golink
      image: ghcr.io/tailscale/golink:main
      volumeMounts:
      - name: golink-data
        mountPath: /home/nonroot
      resources:
        limits:
          cpu: 20m
          memory: 100Mi
        requests:
          cpu: 10m
          memory: 50Mi
  volumes:
  - name: golink-data
    hostPath:
      path: /var/lib/golink
      type: DirectoryOrCreate