From ab6adebfb59f3cd5cf6be08312ede1d926d832e7 Mon Sep 17 00:00:00 2001 From: gitea-admin Date: Fri, 15 May 2026 01:44:38 +0000 Subject: [PATCH] fix: correctly reference existing tailscale-auth secret --- deployments/tailscale-operator/namespace.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 deployments/tailscale-operator/namespace.yaml diff --git a/deployments/tailscale-operator/namespace.yaml b/deployments/tailscale-operator/namespace.yaml new file mode 100644 index 0000000..232a11b --- /dev/null +++ b/deployments/tailscale-operator/namespace.yaml @@ -0,0 +1,49 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: tailscale + labels: + app.kubernetes.io/name: tailscale-operator + app.kubernetes.io/part-of: infrastructure + management: gitops + managed-by: orion +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: tailscale-operator + namespace: tailscale + labels: + app.kubernetes.io/name: tailscale-operator + app.kubernetes.io/part-of: infrastructure + management: gitops + managed-by: orion +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/k8s-operator:1.78.1 + env: + - name: TS_AUTH_KEY + valueFrom: + secretKeyRef: + name: tailscale-auth + key: TS_AUTH_KEY + - name: TS_USERSPACE + value: "true" + resources: + requests: + cpu: 50m + memory: 64Mi + limits: + cpu: 100m + memory: 128Mi \ No newline at end of file -- 2.52.0