Merge pull request #50 from xmindlab-heicode/fix/rbac-naming-swarm-system-44

fix(k8s/#44): RBAC 清单对齐 swarm-system + swarm-orchestrator (Bug2)
This commit is contained in:
Fasthei
2026-06-12 18:37:41 +08:00
committed by GitHub
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: orchestrator-role
namespace: default
namespace: swarm-system
labels:
app: heicode-swarm
component: orchestrator
+3 -3
View File
@@ -2,14 +2,14 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: orchestrator-rolebinding
namespace: default
namespace: swarm-system
labels:
app: heicode-swarm
component: orchestrator
subjects:
- kind: ServiceAccount
name: orchestrator-sa
namespace: default
name: swarm-orchestrator
namespace: swarm-system
roleRef:
kind: Role
name: orchestrator-role
+2 -2
View File
@@ -1,8 +1,8 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: orchestrator-sa
namespace: default
name: swarm-orchestrator
namespace: swarm-system
labels:
app: heicode-swarm
component: orchestrator