mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix annotations templating for s3.ingress.annotations and document it and s3.ingress.tls in values.yaml
This commit is contained in:
parent
06e723f629
commit
06434f5227
|
@ -2,4 +2,4 @@ apiVersion: v1
|
|||
description: SeaweedFS
|
||||
name: seaweedfs
|
||||
appVersion: "3.59"
|
||||
version: 3.59.0
|
||||
version: 3.59.1
|
||||
|
|
|
@ -10,9 +10,9 @@ kind: Ingress
|
|||
metadata:
|
||||
name: ingress-{{ template "seaweedfs.name" . }}-s3
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- if .Values.s3.ingress.annotations }}
|
||||
{{- with .Values.s3.ingress.annotations }}
|
||||
annotations:
|
||||
{{ tpl .Values.s3.ingress.annotations . | nindent 4 | trim }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ template "seaweedfs.name" . }}
|
||||
|
@ -43,4 +43,4 @@ spec:
|
|||
{{- if .Values.s3.ingress.host }}
|
||||
host: {{ .Values.s3.ingress.host }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -641,6 +641,9 @@ s3:
|
|||
className: "nginx"
|
||||
# host: false for "*" hostname
|
||||
host: "seaweedfs.cluster.local"
|
||||
# additional ingress annotations for the s3 endpoint
|
||||
annotations: []
|
||||
tls: []
|
||||
|
||||
certificates:
|
||||
commonName: "SeaweedFS CA"
|
||||
|
|
Loading…
Reference in a new issue