diff --git a/k8s/charts/seaweedfs/Chart.yaml b/k8s/charts/seaweedfs/Chart.yaml index 79af24810..b3616e362 100644 --- a/k8s/charts/seaweedfs/Chart.yaml +++ b/k8s/charts/seaweedfs/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 description: SeaweedFS name: seaweedfs appVersion: "3.59" -version: 3.59.0 +version: 3.59.1 diff --git a/k8s/charts/seaweedfs/templates/s3-ingress.yaml b/k8s/charts/seaweedfs/templates/s3-ingress.yaml index 121495103..7b279793b 100644 --- a/k8s/charts/seaweedfs/templates/s3-ingress.yaml +++ b/k8s/charts/seaweedfs/templates/s3-ingress.yaml @@ -10,9 +10,9 @@ kind: Ingress metadata: name: ingress-{{ template "seaweedfs.name" . }}-s3 namespace: {{ .Release.Namespace }} - {{- if .Values.s3.ingress.annotations }} + {{- with .Values.s3.ingress.annotations }} annotations: - {{ tpl .Values.s3.ingress.annotations . | nindent 4 | trim }} + {{- toYaml . | nindent 4 }} {{- end }} labels: app.kubernetes.io/name: {{ template "seaweedfs.name" . }} @@ -43,4 +43,4 @@ spec: {{- if .Values.s3.ingress.host }} host: {{ .Values.s3.ingress.host }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml index 2884621c1..3b69d8acd 100644 --- a/k8s/charts/seaweedfs/values.yaml +++ b/k8s/charts/seaweedfs/values.yaml @@ -641,6 +641,9 @@ s3: className: "nginx" # host: false for "*" hostname host: "seaweedfs.cluster.local" + # additional ingress annotations for the s3 endpoint + annotations: [] + tls: [] certificates: commonName: "SeaweedFS CA"