From 106dd133065be4a3946c44e1e55a6d34d1d956c6 Mon Sep 17 00:00:00 2001 From: liubaojiang <1838095916@qq.com> Date: Fri, 8 Jul 2022 16:36:45 +0800 Subject: [PATCH] fix the spelling error --- k8s/helm_charts2/templates/filer-statefulset.yaml | 2 +- k8s/helm_charts2/templates/service-account.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/k8s/helm_charts2/templates/filer-statefulset.yaml b/k8s/helm_charts2/templates/filer-statefulset.yaml index 94003819f..21a4256be 100644 --- a/k8s/helm_charts2/templates/filer-statefulset.yaml +++ b/k8s/helm_charts2/templates/filer-statefulset.yaml @@ -46,7 +46,7 @@ spec: imagePullSecrets: - name: {{ .Values.global.imagePullSecrets }} {{- end }} - serviceAccountName: seaweefds-rw-sa #hack for delete pod master after migration + serviceAccountName: seaweedfs-rw-sa #hack for delete pod master after migration terminationGracePeriodSeconds: 60 {{- if .Values.filer.priorityClassName }} priorityClassName: {{ .Values.filer.priorityClassName | quote }} diff --git a/k8s/helm_charts2/templates/service-account.yaml b/k8s/helm_charts2/templates/service-account.yaml index 978452ca4..22c29b56a 100644 --- a/k8s/helm_charts2/templates/service-account.yaml +++ b/k8s/helm_charts2/templates/service-account.yaml @@ -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