|
|
@ -3,7 +3,7 @@ |
|
|
|
kind: ClusterRole |
|
|
|
apiVersion: rbac.authorization.k8s.io/v1 |
|
|
|
metadata: |
|
|
|
name: seaweefds-rw-cr |
|
|
|
name: seaweedfs-rw-cr |
|
|
|
rules: |
|
|
|
- apiGroups: [""] |
|
|
|
resources: ["pods"] |
|
|
@ -12,18 +12,18 @@ rules: |
|
|
|
apiVersion: v1 |
|
|
|
kind: ServiceAccount |
|
|
|
metadata: |
|
|
|
name: seaweefds-rw-sa |
|
|
|
name: seaweedfs-rw-sa |
|
|
|
namespace: {{ .Release.Namespace }} |
|
|
|
--- |
|
|
|
kind: ClusterRoleBinding |
|
|
|
apiVersion: rbac.authorization.k8s.io/v1 |
|
|
|
metadata: |
|
|
|
name: system:serviceaccount:seaweefds-rw-sa:default |
|
|
|
name: system:serviceaccount:seaweedfs-rw-sa:default |
|
|
|
subjects: |
|
|
|
- kind: ServiceAccount |
|
|
|
name: seaweefds-rw-sa |
|
|
|
name: seaweedfs-rw-sa |
|
|
|
namespace: {{ .Release.Namespace }} |
|
|
|
roleRef: |
|
|
|
apiGroup: rbac.authorization.k8s.io |
|
|
|
kind: ClusterRole |
|
|
|
name: seaweefds-rw-cr |
|
|
|
name: seaweedfs-rw-cr |