|
@ -3,7 +3,7 @@ |
|
|
kind: ClusterRole |
|
|
kind: ClusterRole |
|
|
apiVersion: rbac.authorization.k8s.io/v1 |
|
|
apiVersion: rbac.authorization.k8s.io/v1 |
|
|
metadata: |
|
|
metadata: |
|
|
name: {{ template "seaweedfs.name" . }}-objectstorage-provisioner |
|
|
|
|
|
|
|
|
name: {{ .Values.global.serviceAccountName }}-objectstorage-provisioner |
|
|
labels: |
|
|
labels: |
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
|
@ -52,7 +52,7 @@ rules: |
|
|
kind: ClusterRoleBinding |
|
|
kind: ClusterRoleBinding |
|
|
apiVersion: rbac.authorization.k8s.io/v1 |
|
|
apiVersion: rbac.authorization.k8s.io/v1 |
|
|
metadata: |
|
|
metadata: |
|
|
name: {{ template "seaweedfs.name" . }}-objectstorage-provisioner |
|
|
|
|
|
|
|
|
name: {{ .Values.global.serviceAccountName }}-objectstorage-provisioner |
|
|
labels: |
|
|
labels: |
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
|
@ -60,10 +60,10 @@ metadata: |
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
subjects: |
|
|
subjects: |
|
|
- kind: ServiceAccount |
|
|
- kind: ServiceAccount |
|
|
name: {{ template "seaweedfs.name" . }}-objectstorage-provisioner |
|
|
|
|
|
|
|
|
name: {{ .Values.global.serviceAccountName }}-objectstorage-provisioner |
|
|
namespace: {{ .Release.Namespace }} |
|
|
namespace: {{ .Release.Namespace }} |
|
|
roleRef: |
|
|
roleRef: |
|
|
kind: ClusterRole |
|
|
kind: ClusterRole |
|
|
name: {{ template "seaweedfs.name" . }}-objectstorage-provisioner |
|
|
|
|
|
|
|
|
name: {{ .Values.global.serviceAccountName }}-objectstorage-provisioner |
|
|
apiGroup: rbac.authorization.k8s.io |
|
|
apiGroup: rbac.authorization.k8s.io |
|
|
{{- end }} |
|
|
{{- end }} |