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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
3 additions and
3 deletions
-
k8s/charts/seaweedfs/templates/s3-ingress.yaml
-
k8s/charts/seaweedfs/values.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" . }} |
|
|
|
@ -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: |
|
|