diff --git a/deployments/tailscale-operator/rbac.yaml b/deployments/tailscale-operator/rbac.yaml deleted file mode 100644 index ac2a657..0000000 --- a/deployments/tailscale-operator/rbac.yaml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: tailscale-operator - namespace: tailscale ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: tailscale-operator -rules: - - apiGroups: [""] - resources: ["secrets", "services", "endpoints", "namespaces", "nodes"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: ["apps"] - resources: ["deployments", "statefulsets", "daemonsets"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["tailscale.com"] - resources: ["*"] - verbs: ["*"] ---- -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