Browse Source

helm: Fix annotations parameters to be standard maps (#5543)

pull/4448/merge helm-3.65.1
JesseBot 8 months ago
committed by GitHub
parent
commit
70551019d6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      k8s/charts/seaweedfs/Chart.yaml
  2. 4
      k8s/charts/seaweedfs/templates/filer-ingress.yaml
  3. 4
      k8s/charts/seaweedfs/templates/master-ingress.yaml
  4. 4
      k8s/charts/seaweedfs/templates/s3-ingress.yaml
  5. 6
      k8s/charts/seaweedfs/values.yaml

2
k8s/charts/seaweedfs/Chart.yaml

@ -2,4 +2,4 @@ apiVersion: v1
description: SeaweedFS description: SeaweedFS
name: seaweedfs name: seaweedfs
appVersion: "3.65" appVersion: "3.65"
version: 3.65.0
version: 3.65.1

4
k8s/charts/seaweedfs/templates/filler-ingress.yaml → k8s/charts/seaweedfs/templates/filer-ingress.yaml

@ -11,9 +11,9 @@ kind: Ingress
metadata: metadata:
name: ingress-{{ template "seaweedfs.name" . }}-filer name: ingress-{{ template "seaweedfs.name" . }}-filer
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
{{- if .Values.filer.ingress.annotations }}
{{- with .Values.filer.ingress.annotations }}
annotations: annotations:
{{ tpl .Values.filer.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" . }}

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

@ -11,9 +11,9 @@ kind: Ingress
metadata: metadata:
name: ingress-{{ template "seaweedfs.name" . }}-master name: ingress-{{ template "seaweedfs.name" . }}-master
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
{{- if .Values.master.ingress.annotations }}
{{- with .Values.master.ingress.annotations }}
annotations: annotations:
{{ tpl .Values.master.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" . }}

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

6
k8s/charts/seaweedfs/values.yaml

@ -171,7 +171,7 @@ master:
className: "nginx" className: "nginx"
# host: false for "*" hostname # host: false for "*" hostname
host: "master.seaweedfs.local" host: "master.seaweedfs.local"
annotations: |
annotations:
nginx.ingress.kubernetes.io/auth-type: "basic" nginx.ingress.kubernetes.io/auth-type: "basic"
nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret" nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret"
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - SW-Master' nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - SW-Master'
@ -540,7 +540,7 @@ filer:
className: "nginx" className: "nginx"
# host: false for "*" hostname # host: false for "*" hostname
host: "seaweedfs.cluster.local" host: "seaweedfs.cluster.local"
annotations: |
annotations:
nginx.ingress.kubernetes.io/backend-protocol: GRPC nginx.ingress.kubernetes.io/backend-protocol: GRPC
nginx.ingress.kubernetes.io/auth-type: "basic" nginx.ingress.kubernetes.io/auth-type: "basic"
nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret" nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret"
@ -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