Skip to content

Commit

Permalink
feat: add ingressClass (#109)
Browse files Browse the repository at this point in the history
* feat: add ingress class name

Signed-off-by: cin-logan <[email protected]>

* feat: added ingressClassName into value file

Signed-off-by: cin-logan <[email protected]>

* feat: added ingressClassName into value file

Signed-off-by: cin-logan <[email protected]>

---------

Signed-off-by: cin-logan <[email protected]>
  • Loading branch information
cin-logan authored Jul 18, 2024
1 parent 6c101bc commit 3726694
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/milvus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions charts/milvus/templates/attu-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/milvus/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/milvus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ service:

ingress:
enabled: false
ingressClassName: ""
annotations:
# Annotation example: set nginx ingress type
# kubernetes.io/ingress.class: nginx
Expand Down Expand Up @@ -482,6 +483,7 @@ attu:
podLabels: {}
ingress:
enabled: false
ingressClassName: ""
annotations: {}
# Annotation example: set nginx ingress type
# kubernetes.io/ingress.class: nginx
Expand Down

0 comments on commit 3726694

Please sign in to comment.