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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user