Compare commits
23 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c2e26f53b7 | |||
| 0790ea83e3 | |||
| 564750a074 | |||
| 8a3cf4a8ab | |||
| cdb1ad23af | |||
| fadee9ad10 | |||
| dcae162d0f | |||
| b25c22a3bd | |||
| aba3cd8327 | |||
| 06eb62e16f | |||
| a149f7c1b7 | |||
| c9d3722a4b | |||
| fdbe58c157 | |||
| c8da0c6bd2 | |||
| e69544dabe | |||
| 9f1d3c092b | |||
| 5c1a116618 | |||
| d5cdd9ec2f | |||
| b7cc8a3690 | |||
| 8bcebbfa1d | |||
| 5f56ee34ab | |||
| 763492e20f | |||
| ceea38603a |
@@ -1,3 +1,3 @@
|
||||
# talos-cluster
|
||||
|
||||
ORION-managed cluster: Talos Cluster
|
||||
Managed by [ORION](https://github.com/richard-callis/orion-web). Do not edit manually — changes are proposed via PR.
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: tailscale-operator
|
||||
namespace: tailscale
|
||||
labels:
|
||||
app.kubernetes.io/name: tailscale-operator
|
||||
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/kubernetes-operator:v1.70.1
|
||||
env:
|
||||
- name: TS_AUTH_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: tailscale-auth
|
||||
key: TS_AUTH_KEY
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: tailscale
|
||||
labels:
|
||||
app.kubernetes.io/name: tailscale
|
||||
@@ -0,0 +1,36 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: tailscale-operator
|
||||
namespace: tailscale
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: tailscale-operator
|
||||
rules:
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["deployments", "statefulsets", "daemonsets"]
|
||||
verbs: ["get", "list", "watch", "update", "patch"]
|
||||
- apiGroups: [""]
|
||||
resources: ["services", "endpoints"]
|
||||
verbs: ["get", "list", "watch", "update", "patch"]
|
||||
- apiGroups: ["policy.tailscale.com"]
|
||||
resources: ["tailnets", "tailscales"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
||||
- apiGroups: ["policy.tailscale.com"]
|
||||
resources: ["tailnets/status", "tailscales/status"]
|
||||
verbs: ["get", "update", "patch"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: tailscale-operator
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: tailscale-operator
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: tailscale-operator
|
||||
namespace: tailscale
|
||||
@@ -0,0 +1,9 @@
|
||||
apiVersion: policy.tailscale.com/v1alpha1
|
||||
kind: Tailnet
|
||||
metadata:
|
||||
name: default
|
||||
namespace: tailscale
|
||||
spec:
|
||||
tagAuths:
|
||||
- tag: k8s-tailscale-operator
|
||||
approved: true
|
||||
Reference in New Issue
Block a user