Browse Source

Merge pull request #1603 from LazyDBA247-Anyvision/master

Chart Fix
pull/1610/head
Chris Lu 4 years ago
committed by GitHub
parent
commit
be2bf1f102
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      k8s/seaweedfs/templates/filer-statefulset.yaml
  2. 2
      k8s/seaweedfs/templates/s3-deployment.yaml
  3. 4
      k8s/seaweedfs/templates/s3-service.yaml
  4. 2
      k8s/seaweedfs/templates/s3-servicemonitor.yaml
  5. 2
      k8s/seaweedfs/templates/volume-service.yaml
  6. 2
      k8s/seaweedfs/templates/volume-servicemonitor.yaml
  7. 2
      k8s/seaweedfs/templates/volume-statefulset.yaml

2
k8s/seaweedfs/templates/filer-statefulset.yaml

@ -101,7 +101,7 @@ spec:
-port={{ .Values.filer.port }} \
{{- if .Values.filer.metricsPort }}
-metricsPort {{ .Values.filer.metricsPort }} \
{{- end }}}
{{- end }}
{{- if .Values.filer.redirectOnRead }}
-redirectOnRead \
{{- end }}

2
k8s/seaweedfs/templates/s3-deployment.yaml

@ -73,7 +73,7 @@ spec:
-port={{ .Values.s3.port }} \
{{- if .Values.s3.metricsPort }}
-metricsPort {{ .Values.s3.metricsPort }} \
{{- end }}}
{{- end }}
{{- if .Values.global.enableSecurity }}
-cert.file=/usr/local/share/ca-certificates/client/tls.crt \
-key.file=/usr/local/share/ca-certificates/client/tls.key \

4
k8s/seaweedfs/templates/s3-service.yaml

@ -14,10 +14,10 @@ spec:
protocol: TCP
{{- if .Values.s3.metricsPort }}
- name: "swfs-s3-metrics"
port: {{ .Values.filer.s3 }}
port: {{ .Values.s3.metricsPort }}
targetPort: {{ .Values.s3.metricsPort }}
protocol: TCP
{{- end }}}
{{- end }}
selector:
app: {{ template "seaweedfs.name" . }}
component: s3

2
k8s/seaweedfs/templates/s3-servicemonitor.yaml

@ -15,4 +15,4 @@ spec:
selector:
app: {{ template "seaweedfs.name" . }}
component: s3
{{- end }}}
{{- end }}

2
k8s/seaweedfs/templates/volume-service.yaml

@ -22,7 +22,7 @@ spec:
port: {{ .Values.volume.metricsPort }}
targetPort: {{ .Values.volume.metricsPort }}
protocol: TCP
{{- end }}}
{{- end }}
selector:
app: {{ template "seaweedfs.name" . }}
component: volume

2
k8s/seaweedfs/templates/volume-servicemonitor.yaml

@ -15,4 +15,4 @@ spec:
selector:
app: {{ template "seaweedfs.name" . }}
component: volume
{{- end }}}
{{- end }}

2
k8s/seaweedfs/templates/volume-statefulset.yaml

@ -78,7 +78,7 @@ spec:
-port={{ .Values.volume.port }} \
{{- if .Values.volume.metricsPort }}
-metricsPort {{ .Values.volume.metricsPort }} \
{{- end }}}
{{- end }}
-dir={{ .Values.volume.dir }} \
-max={{ .Values.volume.maxVolumes }} \
{{- if .Values.volume.rack }}

Loading…
Cancel
Save