Peter Dodd
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
0 deletions
-
k8s/charts/seaweedfs/templates/shared/service-account.yaml
-
k8s/charts/seaweedfs/values.yaml
|
|
|
@ -3,6 +3,10 @@ kind: ServiceAccount |
|
|
|
metadata: |
|
|
|
name: {{ include "seaweedfs.serviceAccountName" . }} |
|
|
|
namespace: {{ .Release.Namespace }} |
|
|
|
{{- with .Values.global.serviceAccountAnnotations }} |
|
|
|
annotations: |
|
|
|
{{- toYaml . | nindent 4 }} |
|
|
|
{{- end }} |
|
|
|
labels: |
|
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
|
|
|
|
|
|
|
@ -20,6 +20,7 @@ global: |
|
|
|
filerRead: false |
|
|
|
# we will use this serviceAccountName for all ClusterRoles/ClusterRoleBindings |
|
|
|
serviceAccountName: "seaweedfs" |
|
|
|
serviceAccountAnnotations: {} |
|
|
|
automountServiceAccountToken: true |
|
|
|
certificates: |
|
|
|
duration: 87600h |
|
|
|
|