aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Leonhardt <manuel@manuelleonhardt.de>2025-03-13 17:19:22 +0100
committerGitHub <noreply@github.com>2025-03-13 09:19:22 -0700
commit7766e9729f275aa2745181bee0d0e0ed52f5dbd2 (patch)
treec118d3b1e3b8bd83c88d6d10099a4d9a28fcffd3
parentc45b8bd6acdee91c8c1696dc7738cfc9a07784c8 (diff)
downloadseaweedfs-7766e9729f275aa2745181bee0d0e0ed52f5dbd2.tar.xz
seaweedfs-7766e9729f275aa2745181bee0d0e0ed52f5dbd2.zip
Fix typos and YAML syntax issues (#6628)
* chore: remove trailing colon Fixes a typo that might confuse users who simply uncomment or copy the example, leading them to encounter invalid YAML. * fix: using seaweedfs-s3-secret as default secret for COSI deployment The default secret name containing the seaweedfs_s3_config secret key is called "seaweedfs-s3-secret" throughout the configuration. This fix ensures the COSI driver deployment uses the same consistent name. * chore!: fix typo BREAKING CHANGE: Changes name of key in helm-values.
-rw-r--r--k8s/charts/seaweedfs/templates/cosi-deployment.yaml2
-rw-r--r--k8s/charts/seaweedfs/templates/filer-statefulset.yaml2
-rw-r--r--k8s/charts/seaweedfs/templates/master-statefulset.yaml2
-rw-r--r--k8s/charts/seaweedfs/values.yaml6
4 files changed, 6 insertions, 6 deletions
diff --git a/k8s/charts/seaweedfs/templates/cosi-deployment.yaml b/k8s/charts/seaweedfs/templates/cosi-deployment.yaml
index 15e5fa6d4..84b537eba 100644
--- a/k8s/charts/seaweedfs/templates/cosi-deployment.yaml
+++ b/k8s/charts/seaweedfs/templates/cosi-deployment.yaml
@@ -173,7 +173,7 @@ spec:
{{- if .Values.cosi.existingConfigSecret }}
secretName: {{ .Values.cosi.existingConfigSecret }}
{{- else }}
- secretName: seaweedfs-client-cert
+ secretName: seaweedfs-s3-secret
{{- end }}
{{- end }}
{{- if .Values.global.enableSecurity }}
diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
index 304d746d8..1e1f684aa 100644
--- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
+++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
@@ -173,7 +173,7 @@ spec:
{{- end }}
-dirListLimit={{ .Values.filer.dirListLimit }} \
{{- if .Values.global.enableReplication }}
- -defaultReplicaPlacement={{ .Values.global.replicationPlacment }} \
+ -defaultReplicaPlacement={{ .Values.global.replicationPlacement }} \
{{- else }}
-defaultReplicaPlacement={{ .Values.filer.defaultReplicaPlacement }} \
{{- end }}
diff --git a/k8s/charts/seaweedfs/templates/master-statefulset.yaml b/k8s/charts/seaweedfs/templates/master-statefulset.yaml
index c46d37166..cf8430adb 100644
--- a/k8s/charts/seaweedfs/templates/master-statefulset.yaml
+++ b/k8s/charts/seaweedfs/templates/master-statefulset.yaml
@@ -139,7 +139,7 @@ spec:
-mdir=/data \
-ip.bind={{ .Values.master.ipBind }} \
{{- if .Values.global.enableReplication }}
- -defaultReplication={{ .Values.global.replicationPlacment }} \
+ -defaultReplication={{ .Values.global.replicationPlacement }} \
{{- else }}
-defaultReplication={{ .Values.master.defaultReplication }} \
{{- end }}
diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml
index 2150ed724..2269900ee 100644
--- a/k8s/charts/seaweedfs/values.yaml
+++ b/k8s/charts/seaweedfs/values.yaml
@@ -27,13 +27,13 @@ global:
gatewayHost: null
gatewayPort: null
additionalLabels: {}
- # if enabled will use global.replicationPlacment and override master & filer defaultReplicaPlacement config
+ # if enabled will use global.replicationPlacement and override master & filer defaultReplicaPlacement config
enableReplication: false
# replication type is XYZ:
# X number of replica in other data centers
# Y number of replica in other racks in the same data center
# Z number of replica in other servers in the same rack
- replicationPlacment: "001"
+ replicationPlacement: "001"
extraEnvironmentVars:
WEED_CLUSTER_DEFAULT: "sw"
WEED_CLUSTER_SW_MASTER: "seaweedfs-master.seaweedfs:9333"
@@ -291,7 +291,7 @@ volume:
# For each data disk you may use ANY storage-class, example with local-path-provisioner
# Annotations are optional.
# dataDirs:
- # - name: data:
+ # - name: data
# type: "persistentVolumeClaim"
# size: "24Ti"
# storageClass: "local-path-provisioner"