diff options
Diffstat (limited to 'k8s/charts')
| -rw-r--r-- | k8s/charts/seaweedfs/templates/s3-ingress.yaml | 4 | ||||
| -rw-r--r-- | k8s/charts/seaweedfs/values.yaml | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/k8s/charts/seaweedfs/templates/s3-ingress.yaml b/k8s/charts/seaweedfs/templates/s3-ingress.yaml index 7b279793b..08d58f662 100644 --- a/k8s/charts/seaweedfs/templates/s3-ingress.yaml +++ b/k8s/charts/seaweedfs/templates/s3-ingress.yaml @@ -10,9 +10,9 @@ kind: Ingress metadata: name: ingress-{{ template "seaweedfs.name" . }}-s3 namespace: {{ .Release.Namespace }} - {{- with .Values.s3.ingress.annotations }} + {{- if .Values.s3.ingress.annotations }} annotations: - {{- toYaml . | nindent 4 }} + {{- tpl .Values.s3.ingress.annotations . | nindent 4 }} {{- end }} labels: app.kubernetes.io/name: {{ template "seaweedfs.name" . }} diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml index 9381f9046..676d0ca6f 100644 --- a/k8s/charts/seaweedfs/values.yaml +++ b/k8s/charts/seaweedfs/values.yaml @@ -293,9 +293,9 @@ volume: # same applies to "logs" - idx: "" + idx: {} - logs: "" + logs: {} # limit background compaction or copying speed in mega bytes per second compactionMBps: "50" @@ -746,7 +746,7 @@ s3: # host: false for "*" hostname host: "seaweedfs.cluster.local" # additional ingress annotations for the s3 endpoint - annotations: [] + annotations: "" tls: [] certificates: |
