|
@ -17,8 +17,7 @@ spec: |
|
|
tls: |
|
|
tls: |
|
|
{{ .Values.filer.ingress.tls | default list | toYaml | nindent 6}} |
|
|
{{ .Values.filer.ingress.tls | default list | toYaml | nindent 6}} |
|
|
rules: |
|
|
rules: |
|
|
- host: {{ .Values.filer.ingress.host }} |
|
|
|
|
|
http: |
|
|
|
|
|
|
|
|
- http: |
|
|
paths: |
|
|
paths: |
|
|
- path: /sw-filer/?(.*) |
|
|
- path: /sw-filer/?(.*) |
|
|
pathType: ImplementationSpecific |
|
|
pathType: ImplementationSpecific |
|
@ -33,6 +32,9 @@ spec: |
|
|
serviceName: {{ template "seaweedfs.name" . }}-filer |
|
|
serviceName: {{ template "seaweedfs.name" . }}-filer |
|
|
servicePort: {{ .Values.filer.port }} |
|
|
servicePort: {{ .Values.filer.port }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
|
|
|
{{- if .Values.filer.ingress.host }} |
|
|
|
|
|
host: {{ .Values.filer.ingress.host }} |
|
|
|
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
--- |
|
|
--- |
|
|
{{- if .Values.master.ingress.enabled }} |
|
|
{{- if .Values.master.ingress.enabled }} |
|
@ -52,8 +54,7 @@ metadata: |
|
|
spec: |
|
|
spec: |
|
|
ingressClassName: {{ .Values.master.ingress.className | quote }} |
|
|
ingressClassName: {{ .Values.master.ingress.className | quote }} |
|
|
rules: |
|
|
rules: |
|
|
- host: {{ .Values.master.ingress.host }} |
|
|
|
|
|
http: |
|
|
|
|
|
|
|
|
- http: |
|
|
paths: |
|
|
paths: |
|
|
- path: /sw-master/?(.*) |
|
|
- path: /sw-master/?(.*) |
|
|
pathType: ImplementationSpecific |
|
|
pathType: ImplementationSpecific |
|
@ -68,4 +69,7 @@ spec: |
|
|
serviceName: {{ template "seaweedfs.name" . }}-master |
|
|
serviceName: {{ template "seaweedfs.name" . }}-master |
|
|
servicePort: {{ .Values.master.port }} |
|
|
servicePort: {{ .Values.master.port }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
|
|
|
{{- if .Values.filer.ingress.host }} |
|
|
|
|
|
host: {{ .Values.master.ingress.host }} |
|
|
|
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- end }} |