mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
更新K3S,docker-compose两种部署方式
This commit is contained in:
20
deploy/manifest-server/rbac.yaml
Normal file
20
deploy/manifest-server/rbac.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: pandax
|
||||
labels:
|
||||
app.kubernetes.io/name: pandax
|
||||
---
|
||||
kind: ClusterRoleBinding
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
name: pandax-rolebinding
|
||||
labels:
|
||||
app.kubernetes.io/name: pandax
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: pandax
|
||||
Reference in New Issue
Block a user