SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
[heml] fix default affinity and allow owerride ingress annotations (#4799)
Dmitriy Pavlovde1dcf3b2f0b
diff --git a/k8s/charts/seaweedfs/templates/filler-ingress.yaml b/k8s/charts/seaweedfs/templates/filler-ingress.yamlindex b16fd74037..5580bb188c 100644--- a/k8s/charts/seaweedfs/templates/filler-ingress.yaml+++ b/k8s/charts/seaweedfs/templates/filler-ingress.yaml@@ -10,8 +10,10 @@ kind: Ingressmetadata:name: ingress-{{ template "seaweedfs.name" . }}-filernamespace: {{ .Release.Namespace }}+ {{- if .Values.filer.ingress.annotations }}annotations:- {{ omit .Values.filer.ingress.annotations "kubernetes.io/ingress.class" | toYaml | nindent 4 }}+ {{ tpl .Values.filer.ingress.annotations . | nindent 4 | trim }}+ {{- end }}labels:app.kubernetes.io/name: {{ template "seaweedfs.name" . }}helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}diff --git a/k8s/charts/seaweedfs/templates/master-ingress.yaml b/k8s/charts/seaweedfs/templates/master-ingress.yamlindex 4522f0a067..cce4c1d8fc 100644--- a/k8s/charts/seaweedfs/templates/master-ingress.yaml+++ b/k8s/charts/seaweedfs/templates/master-ingress.yaml@@ -10,8 +10,10 @@ kind: Ingressmetadata:name: ingress-{{ template "seaweedfs.name" . }}-masternamespace: {{ .Release.Namespace }}+ {{- if .Values.master.ingress.annotations }}annotations:- {{ omit .Values.master.ingress.annotations "kubernetes.io/ingress.class" | toYaml | nindent 4 }}+ {{ tpl .Values.master.ingress.annotations . | nindent 4 | trim }}+ {{- end }}labels:app.kubernetes.io/name: {{ template "seaweedfs.name" . }}helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex af73cda932..786200bec3 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -106,9 +106,9 @@ master:requiredDuringSchedulingIgnoredDuringExecution:- labelSelector:matchLabels:- app: {{ template "seaweedfs.name" . }}- release: "{{ .Release.Name }}"- component: master+ app.kubernetes.io/name: {{ template "seaweedfs.name" . }}+ app.kubernetes.io/instance: {{ .Release.Name }}+ app.kubernetes.io/component: mastertopologyKey: kubernetes.io/hostname# Toleration Settings for master pods@@ -137,7 +137,7 @@ master:className: "nginx"# host: false for "*" hostnamehost: "master.seaweedfs.local"- annotations:+ annotations: |nginx.ingress.kubernetes.io/auth-type: "basic"nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret"nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - SW-Master'@@ -245,9 +245,9 @@ volume:requiredDuringSchedulingIgnoredDuringExecution:- labelSelector:matchLabels:- app: {{ template "seaweedfs.name" . }}- release: "{{ .Release.Name }}"- component: volume+ app.kubernetes.io/name: {{ template "seaweedfs.name" . }}+ app.kubernetes.io/instance: {{ .Release.Name }}+ app.kubernetes.io/component: volumetopologyKey: kubernetes.io/hostname# Resource requests, limits, etc. for the server cluster placement. This@@ -352,9 +352,9 @@ filer:requiredDuringSchedulingIgnoredDuringExecution:- labelSelector:matchLabels:- app: {{ template "seaweedfs.name" . }}- release: "{{ .Release.Name }}"- component: filer+ app.kubernetes.io/name: {{ template "seaweedfs.name" . }}+ app.kubernetes.io/instance: {{ .Release.Name }}+ app.kubernetes.io/component: filertopologyKey: kubernetes.io/hostname# updatePartition is used to control a careful rolling update of SeaweedFS@@ -393,7 +393,7 @@ filer:className: "nginx"# host: false for "*" hostnamehost: "seaweedfs.cluster.local"- annotations:+ annotations: |nginx.ingress.kubernetes.io/backend-protocol: GRPCnginx.ingress.kubernetes.io/auth-type: "basic"nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret"