2023-08-24 19:18:17 +00:00
|
|
|
# This file is not a complete manifest, it's a skeleton that the operator embeds
|
|
|
|
# at build time and then uses to construct Tailscale proxy pods.
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: StatefulSet
|
|
|
|
metadata: {}
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
deletionGracePeriodSeconds: 10
|
|
|
|
spec:
|
|
|
|
serviceAccountName: proxies
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 1m
|
|
|
|
memory: 1Mi
|
|
|
|
containers:
|
|
|
|
- name: tailscale
|
|
|
|
imagePullPolicy: Always
|
|
|
|
env:
|
|
|
|
- name: TS_USERSPACE
|
|
|
|
value: "true"
|
2024-04-26 07:25:06 +00:00
|
|
|
- name: POD_IP
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
fieldPath: status.podIP
|
2024-11-19 13:07:19 +00:00
|
|
|
- name: POD_NAME
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
fieldPath: metadata.name
|
|
|
|
- name: POD_UID
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
fieldPath: metadata.uid
|