|
@ -10,9 +10,9 @@ kind: Ingress |
|
|
metadata: |
|
|
metadata: |
|
|
name: ingress-{{ template "seaweedfs.name" . }}-s3 |
|
|
name: ingress-{{ template "seaweedfs.name" . }}-s3 |
|
|
namespace: {{ .Release.Namespace }} |
|
|
namespace: {{ .Release.Namespace }} |
|
|
{{- if .Values.s3.ingress.annotations }} |
|
|
|
|
|
|
|
|
{{- with .Values.s3.ingress.annotations }} |
|
|
annotations: |
|
|
annotations: |
|
|
{{ tpl .Values.s3.ingress.annotations . | nindent 4 | trim }} |
|
|
|
|
|
|
|
|
{{- toYaml . | nindent 4 }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
labels: |
|
|
labels: |
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
@ -43,4 +43,4 @@ spec: |
|
|
{{- if .Values.s3.ingress.host }} |
|
|
{{- if .Values.s3.ingress.host }} |
|
|
host: {{ .Values.s3.ingress.host }} |
|
|
host: {{ .Values.s3.ingress.host }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
|
|
|
|
|
|
{{- end }} |