diff options
| author | jessebot <jessebot@linux.com> | 2023-11-21 12:48:26 +0100 |
|---|---|---|
| committer | Chris Lu <chrislusf@users.noreply.github.com> | 2023-11-21 08:20:45 -0800 |
| commit | c219a0c553121681bf4d71017bf8246f9931bd9e (patch) | |
| tree | 562523862975dc13a9524be8733e84718c319ef2 | |
| parent | 4297601f4b1f40e8ed4a7f7771f64a693f76781e (diff) | |
| download | seaweedfs-c219a0c553121681bf4d71017bf8246f9931bd9e.tar.xz seaweedfs-c219a0c553121681bf4d71017bf8246f9931bd9e.zip | |
specify the filer.s3.existingConfigSecret for the filer statefulset
clean up volumeMounts so name is first in the object list item
| -rw-r--r-- | k8s/charts/seaweedfs/templates/filer-statefulset.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml index c4d5ef9df..5e4b41b18 100644 --- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml +++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml @@ -196,8 +196,8 @@ spec: mountPath: "/logs/" {{- end }} {{- if .Values.filer.s3.enableAuth }} - - mountPath: /etc/sw - name: config-users + - name: config-users + mountPath: /etc/sw readOnly: true {{- end }} {{- if (or .Values.filer.enablePVC (or (eq .Values.filer.data.type "hostPath") (eq .Values.filer.data.type "persistentVolumeClaim"))) }} @@ -292,7 +292,7 @@ spec: secret: defaultMode: 420 {{- if .Values.filer.s3.existingConfigSecret }} - secretName: {{ .Values.s3.existingConfigSecret }} + secretName: {{ .Values.filer.s3.existingConfigSecret }} {{- else }} secretName: seaweedfs-s3-secret {{- end }} |
