34 lines
844 B
YAML
34 lines
844 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: tailscale-operator
|
|
namespace: tailscale
|
|
labels:
|
|
app.kubernetes.io/name: tailscale-operator
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: tailscale-operator
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: tailscale-operator
|
|
spec:
|
|
serviceAccountName: tailscale-operator
|
|
containers:
|
|
- name: operator
|
|
image: ghcr.io/tailscale/kubernetes-operator:v1.70.1
|
|
env:
|
|
- name: TS_AUTH_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: tailscale-auth
|
|
key: TS_AUTH_KEY
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 100m
|
|
memory: 128Mi |