From 004529227710f83a928cb4fc376bac067317d570 Mon Sep 17 00:00:00 2001 From: gitea-admin Date: Sun, 10 May 2026 12:24:57 +0000 Subject: [PATCH] Deploy Tailscale Operator with correct secret --- .../tailscale/operator/deployment.yaml | 47 +++++++------------ 1 file changed, 16 insertions(+), 31 deletions(-) diff --git a/deployments/tailscale/operator/deployment.yaml b/deployments/tailscale/operator/deployment.yaml index 38be142..e3fc711 100644 --- a/deployments/tailscale/operator/deployment.yaml +++ b/deployments/tailscale/operator/deployment.yaml @@ -17,34 +17,19 @@ spec: spec: serviceAccountName: tailscale-operator containers: - - name: operator - image: ghcr.io/tailscale/k8s-operator:v1.78.3 - env: - - name: TS_AUTH_KEY - valueFrom: - secretKeyRef: - name: tailscale-auth - key: TS_AUTH_KEY - ports: - - containerPort: 8080 - name: metrics - protocol: TCP - resources: - requests: - cpu: 50m - memory: 64Mi - limits: - cpu: 200m - memory: 256Mi - readinessProbe: - httpGet: - path: /metrics - port: 8080 - initialDelaySeconds: 10 - periodSeconds: 10 - livenessProbe: - httpGet: - path: /metrics - port: 8080 - initialDelaySeconds: 15 - periodSeconds: 20 + - 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: TS_AUTH_KEY + valueFrom: + secretKeyRef: + name: tailscale-auth + key: TS_AUTH_KEY \ No newline at end of file