From c003da7f68ee6570fb3a8bca1d4bd26bae6e70d6 Mon Sep 17 00:00:00 2001 From: gitea-admin Date: Sat, 9 May 2026 19:07:38 +0000 Subject: [PATCH] feat: deploy Tailscale Operator --- tailscale/operator-deployment.yaml | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tailscale/operator-deployment.yaml diff --git a/tailscale/operator-deployment.yaml b/tailscale/operator-deployment.yaml new file mode 100644 index 0000000..b12e4bc --- /dev/null +++ b/tailscale/operator-deployment.yaml @@ -0,0 +1,34 @@ +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/k8s-operator:v1.78.3 + env: + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: TAILSCALE_API_CLIENT_ID + value: "" + - name: TAILSCALE_API_CLIENT_SECRET + value: ""