31 lines
697 B
YAML
31 lines
697 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: tailscale-operator
|
|
namespace: tailscale
|
|
labels:
|
|
app: tailscale-operator
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: tailscale-operator
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: tailscale-operator
|
|
spec:
|
|
serviceAccountName: tailscale-operator
|
|
containers:
|
|
- name: operator
|
|
image: ghcr.io/tailscale/operator:v1.70.0
|
|
env:
|
|
- name: DEPLOY_TYPE
|
|
value: k8s
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
volumes:
|
|
- name: config
|
|
secret:
|
|
secretName: tailscale-operator-config |