Browse Source

helm chart: make s3 ingress annotations consistent (#5463)

Make s3 ingress annotations consistent
pull/5466/head
mergwyn 9 months ago
committed by GitHub
parent
commit
881c922972
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      k8s/charts/seaweedfs/templates/s3-ingress.yaml
  2. 2
      k8s/charts/seaweedfs/values.yaml

4
k8s/charts/seaweedfs/templates/s3-ingress.yaml

@ -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 }}
{{- with .Values.s3.ingress.annotations }}
{{- if .Values.s3.ingress.annotations }}
annotations: annotations:
{{- toYaml . | nindent 4 }}
{{- tpl .Values.s3.ingress.annotations . | nindent 4 }}
{{- end }} {{- end }}
labels: labels:
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} app.kubernetes.io/name: {{ template "seaweedfs.name" . }}

2
k8s/charts/seaweedfs/values.yaml

@ -746,7 +746,7 @@ s3:
# host: false for "*" hostname # host: false for "*" hostname
host: "seaweedfs.cluster.local" host: "seaweedfs.cluster.local"
# additional ingress annotations for the s3 endpoint # additional ingress annotations for the s3 endpoint
annotations: []
annotations: ""
tls: [] tls: []
certificates: certificates:

Loading…
Cancel
Save