Browse Source

helm chart: add s3 and s3-tls ports where missing (#6016)

pull/6021/head
Erwan de Lépinau 3 months ago
committed by GitHub
parent
commit
4f2bdebe49
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      k8s/charts/seaweedfs/templates/filer-statefulset.yaml
  2. 6
      k8s/charts/seaweedfs/templates/s3-deployment.yaml

8
k8s/charts/seaweedfs/templates/filer-statefulset.yaml

@ -249,6 +249,14 @@ spec:
name: metrics name: metrics
- containerPort: {{ .Values.filer.grpcPort }} - containerPort: {{ .Values.filer.grpcPort }}
#name: swfs-filer-grpc #name: swfs-filer-grpc
{{- if .Values.filer.s3.enabled }}
- containerPort: {{ .Values.filer.s3.port }}
name: swfs-s3
{{- if .Values.filer.s3.httpsPort }}
- containerPort: {{ .Values.filer.s3.httpsPort }}
name: swfs-s3-tls
{{- end }}
{{- end }}
{{- if .Values.filer.readinessProbe.enabled }} {{- if .Values.filer.readinessProbe.enabled }}
readinessProbe: readinessProbe:
httpGet: httpGet:

6
k8s/charts/seaweedfs/templates/s3-deployment.yaml

@ -176,9 +176,13 @@ spec:
ports: ports:
- containerPort: {{ .Values.s3.port }} - containerPort: {{ .Values.s3.port }}
name: swfs-s3 name: swfs-s3
{{- if .Values.s3.httpsPort }}
- containerPort: {{ .Values.s3.httpsPort }}
name: swfs-s3-tls
{{- end }}
{{- if .Values.s3.metricsPort }} {{- if .Values.s3.metricsPort }}
- containerPort: {{ .Values.s3.metricsPort }} - containerPort: {{ .Values.s3.metricsPort }}
name: "metrics"
name: metrics
{{- end }} {{- end }}
{{- if .Values.s3.readinessProbe.enabled }} {{- if .Values.s3.readinessProbe.enabled }}
readinessProbe: readinessProbe:

Loading…
Cancel
Save