From 0121fbb00980cd6889c20b2938e929b1d03702ee Mon Sep 17 00:00:00 2001 From: Charls P John Date: Tue, 4 Jul 2023 15:40:21 +0530 Subject: [PATCH] [milvus-helm] added annotations for attu service (#463) * Service port name template according to Istio naming convention (#451) Signed-off-by: Gleb Vazhenin Signed-off-by: Charls John - c0j06xo * Bump milvus version to 2.2.10 (#452) Signed-off-by: Bennu-Li Signed-off-by: Charls John - c0j06xo * fix: attu-svc template using wrong lb ip (#460) Signed-off-by: Erzangel Signed-off-by: Charls John - c0j06xo * Bump milvus version to 2.2.11 (#461) Signed-off-by: Bennu-Li Signed-off-by: Charls John - c0j06xo * added annotations for attu service Signed-off-by: Charls John - c0j06xo --------- Signed-off-by: Gleb Vazhenin Signed-off-by: Charls John - c0j06xo Signed-off-by: Bennu-Li Signed-off-by: Erzangel Co-authored-by: Gleb Vazhenin <54440025+punkerpunker@users.noreply.github.com> Co-authored-by: Bennu Co-authored-by: Luka <57399897+Erzangel@users.noreply.github.com> Co-authored-by: Charls John - c0j06xo --- charts/milvus/Chart.yaml | 2 +- charts/milvus/templates/attu-svc.yaml | 7 +++++++ charts/milvus/values.yaml | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/charts/milvus/Chart.yaml b/charts/milvus/Chart.yaml index c82531a4..f8871eaf 100644 --- a/charts/milvus/Chart.yaml +++ b/charts/milvus/Chart.yaml @@ -3,7 +3,7 @@ name: milvus appVersion: "2.2.11" kubeVersion: "^1.10.0-0" description: Milvus is an open-source vector database built to power AI applications and vector similarity search. -version: 4.0.26 +version: 4.0.27 keywords: - milvus - elastic diff --git a/charts/milvus/templates/attu-svc.yaml b/charts/milvus/templates/attu-svc.yaml index 8c508ca0..a6f29668 100644 --- a/charts/milvus/templates/attu-svc.yaml +++ b/charts/milvus/templates/attu-svc.yaml @@ -5,7 +5,14 @@ metadata: name: {{ template "milvus.attu.fullname" . }} labels: {{ include "milvus.labels" . | indent 4 }} +{{- if .Values.attu.service.labels }} +{{ toYaml .Values.attu.service.labels | indent 4 }} +{{- end }} component: "attu" +{{- if .Values.attu.service.annotations }} + annotations: +{{ toYaml .Values.attu.service.annotations | indent 4 }} +{{- end }} spec: {{- if (or (eq .Values.attu.service.type "ClusterIP") (empty .Values.attu.service.type)) }} type: ClusterIP diff --git a/charts/milvus/values.yaml b/charts/milvus/values.yaml index 116137c8..d4239f32 100644 --- a/charts/milvus/values.yaml +++ b/charts/milvus/values.yaml @@ -402,6 +402,8 @@ attu: tag: v2.2.4 pullPolicy: IfNotPresent service: + annotations: {} + labels: {} type: ClusterIP port: 3000 # loadBalancerIP: ""