diff --git a/charts/milvus/Chart.yaml b/charts/milvus/Chart.yaml index 8521aed..dcfd802 100644 --- a/charts/milvus/Chart.yaml +++ b/charts/milvus/Chart.yaml @@ -3,7 +3,7 @@ name: milvus appVersion: "2.4.6" kubeVersion: "^1.10.0-0" description: Milvus is an open-source vector database built to power AI applications and vector similarity search. -version: 4.2.0 +version: 4.2.1 keywords: - milvus - elastic diff --git a/charts/milvus/templates/attu-ingress.yaml b/charts/milvus/templates/attu-ingress.yaml index a331aaa..09d3e95 100644 --- a/charts/milvus/templates/attu-ingress.yaml +++ b/charts/milvus/templates/attu-ingress.yaml @@ -18,6 +18,9 @@ metadata: {{ toYaml . | indent 4 }} {{- end }} spec: +{{- if .Values.ingress.ingressClassName }} + ingressClassName: {{ .Values.ingress.ingressClassName }} +{{- end }} {{- if .Values.attu.ingress.tls }} tls: {{- range .Values.attu.ingress.tls }} diff --git a/charts/milvus/templates/ingress.yaml b/charts/milvus/templates/ingress.yaml index ca83225..e1ab39d 100644 --- a/charts/milvus/templates/ingress.yaml +++ b/charts/milvus/templates/ingress.yaml @@ -18,6 +18,9 @@ metadata: {{ toYaml . | indent 4 }} {{- end }} spec: +{{- if .Values.ingress.ingressClassName }} + ingressClassName: {{ .Values.ingress.ingressClassName }} +{{- end }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} diff --git a/charts/milvus/values.yaml b/charts/milvus/values.yaml index f653979..caf4bbf 100644 --- a/charts/milvus/values.yaml +++ b/charts/milvus/values.yaml @@ -100,6 +100,7 @@ service: ingress: enabled: false + ingressClassName: "" annotations: # Annotation example: set nginx ingress type # kubernetes.io/ingress.class: nginx @@ -482,6 +483,7 @@ attu: podLabels: {} ingress: enabled: false + ingressClassName: "" annotations: {} # Annotation example: set nginx ingress type # kubernetes.io/ingress.class: nginx