fix: correctly reference existing tailscale-auth secret
Validate Manifests / validate (pull_request) Has been cancelled
Validate Manifests / validate (pull_request) Has been cancelled
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user