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
|
description: SeaweedFS
|
||||||
name: seaweedfs
|
name: seaweedfs
|
||||||
appVersion: "3.59"
|
appVersion: "3.59"
|
||||||
version: 3.59.0
|
version: 3.59.1
|
||||||
|
|
|
@ -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" . }}
|
||||||
|
|
|
@ -641,6 +641,9 @@ s3:
|
||||||
className: "nginx"
|
className: "nginx"
|
||||||
# host: false for "*" hostname
|
# host: false for "*" hostname
|
||||||
host: "seaweedfs.cluster.local"
|
host: "seaweedfs.cluster.local"
|
||||||
|
# additional ingress annotations for the s3 endpoint
|
||||||
|
annotations: []
|
||||||
|
tls: []
|
||||||
|
|
||||||
certificates:
|
certificates:
|
||||||
commonName: "SeaweedFS CA"
|
commonName: "SeaweedFS CA"
|
||||||
|
|
Loading…
Reference in a new issue