Browse Source

Allow override internalTrafficPolicy (#4877)

pull/4880/head
aronneagu 1 year ago
committed by GitHub
parent
commit
abe599ee4a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      k8s/charts/seaweedfs/templates/s3-service.yaml
  2. 1
      k8s/charts/seaweedfs/templates/volume-service.yaml

1
k8s/charts/seaweedfs/templates/s3-service.yaml

@ -9,6 +9,7 @@ metadata:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
internalTrafficPolicy: {{ .Values.s3.internalTrafficPolicy | default "Cluster" }}
ports:
- name: "swfs-s3"
port: {{ if .Values.s3.enabled }}{{ .Values.s3.port }}{{ else }}{{ .Values.filer.s3.port }}{{ end }}

1
k8s/charts/seaweedfs/templates/volume-service.yaml

@ -10,6 +10,7 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
clusterIP: None
internalTrafficPolicy: {{ .Values.volume.internalTrafficPolicy | default "Cluster" }}
ports:
- name: "swfs-volume"
port: {{ .Values.volume.port }}

Loading…
Cancel
Save