diff options
Diffstat (limited to 'bundles/golink/files/kube.yaml')
| -rw-r--r-- | bundles/golink/files/kube.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/bundles/golink/files/kube.yaml b/bundles/golink/files/kube.yaml new file mode 100644 index 0000000..8ab2789 --- /dev/null +++ b/bundles/golink/files/kube.yaml @@ -0,0 +1,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 |