diff --git a/charts/milvus/Chart.yaml b/charts/milvus/Chart.yaml index 26415e7..24607c4 100644 --- a/charts/milvus/Chart.yaml +++ b/charts/milvus/Chart.yaml @@ -3,7 +3,7 @@ name: milvus appVersion: "2.4.13" 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.13 +version: 4.2.14 keywords: - milvus - elastic diff --git a/charts/milvus/templates/datacoord-deployment.yaml b/charts/milvus/templates/datacoord-deployment.yaml index 76e7c10..c7e434e 100644 --- a/charts/milvus/templates/datacoord-deployment.yaml +++ b/charts/milvus/templates/datacoord-deployment.yaml @@ -73,7 +73,7 @@ spec: args: [ "milvus", "run", "datacoord" ] {{- end }} env: - {{- if .Values.streaming.enabled }} + {{- if and .Values.streaming .Values.streaming.enabled }} - name: MILVUS_STREAMING_SERVICE_ENABLED value: "1" {{- end }} diff --git a/charts/milvus/templates/datanode-deployment.yaml b/charts/milvus/templates/datanode-deployment.yaml index cc59ffe..b7d3c28 100644 --- a/charts/milvus/templates/datanode-deployment.yaml +++ b/charts/milvus/templates/datanode-deployment.yaml @@ -69,7 +69,7 @@ spec: args: [ "milvus", "run", "datanode" ] {{- end }} env: - {{- if .Values.streaming.enabled }} + {{- if and .Values.streaming .Values.streaming.enabled }} - name: MILVUS_STREAMING_SERVICE_ENABLED value: "1" {{- end }} diff --git a/charts/milvus/templates/indexcoord-deployment.yaml b/charts/milvus/templates/indexcoord-deployment.yaml index a7b262e..06eaea1 100644 --- a/charts/milvus/templates/indexcoord-deployment.yaml +++ b/charts/milvus/templates/indexcoord-deployment.yaml @@ -73,7 +73,7 @@ spec: args: [ "milvus", "run", "indexcoord" ] {{- end }} env: - {{- if .Values.streaming.enabled }} + {{- if and .Values.streaming .Values.streaming.enabled }} - name: MILVUS_STREAMING_SERVICE_ENABLED value: "1" {{- end }} diff --git a/charts/milvus/templates/indexnode-deployment.yaml b/charts/milvus/templates/indexnode-deployment.yaml index d07341e..1d68aeb 100644 --- a/charts/milvus/templates/indexnode-deployment.yaml +++ b/charts/milvus/templates/indexnode-deployment.yaml @@ -68,7 +68,7 @@ spec: args: [ "milvus", "run", "indexnode" ] {{- end }} env: - {{- if .Values.streaming.enabled }} + {{- if and .Values.streaming .Values.streaming.enabled }} - name: MILVUS_STREAMING_SERVICE_ENABLED value: "1" {{- end }} diff --git a/charts/milvus/templates/mixcoord-deployment.yaml b/charts/milvus/templates/mixcoord-deployment.yaml index 63c5b7f..3c16603 100644 --- a/charts/milvus/templates/mixcoord-deployment.yaml +++ b/charts/milvus/templates/mixcoord-deployment.yaml @@ -73,7 +73,7 @@ spec: args: [ "milvus", "run", "mixture", "-rootcoord", "-querycoord", "-datacoord", "-indexcoord" ] {{- end }} env: - {{- if .Values.streaming.enabled }} + {{- if and .Values.streaming .Values.streaming.enabled }} - name: MILVUS_STREAMING_SERVICE_ENABLED value: "1" {{- end }} diff --git a/charts/milvus/templates/proxy-deployment.yaml b/charts/milvus/templates/proxy-deployment.yaml index cdf1bdf..fe1b430 100644 --- a/charts/milvus/templates/proxy-deployment.yaml +++ b/charts/milvus/templates/proxy-deployment.yaml @@ -69,7 +69,7 @@ spec: args: [ "milvus", "run", "proxy" ] {{- end }} env: - {{- if .Values.streaming.enabled }} + {{- if and .Values.streaming .Values.streaming.enabled }} - name: MILVUS_STREAMING_SERVICE_ENABLED value: "1" {{- end }} diff --git a/charts/milvus/templates/querycoord-deployment.yaml b/charts/milvus/templates/querycoord-deployment.yaml index 10e38dd..31843aa 100644 --- a/charts/milvus/templates/querycoord-deployment.yaml +++ b/charts/milvus/templates/querycoord-deployment.yaml @@ -73,7 +73,7 @@ spec: args: [ "milvus", "run", "querycoord" ] {{- end }} env: - {{- if .Values.streaming.enabled }} + {{- if and .Values.streaming .Values.streaming.enabled }} - name: MILVUS_STREAMING_SERVICE_ENABLED value: "1" {{- end }} diff --git a/charts/milvus/templates/querynode-deployment.yaml b/charts/milvus/templates/querynode-deployment.yaml index 205873b..f56f7ec 100644 --- a/charts/milvus/templates/querynode-deployment.yaml +++ b/charts/milvus/templates/querynode-deployment.yaml @@ -68,7 +68,7 @@ spec: args: [ "milvus", "run", "querynode" ] {{- end }} env: - {{- if .Values.streaming.enabled }} + {{- if and .Values.streaming .Values.streaming.enabled }} - name: MILVUS_STREAMING_SERVICE_ENABLED value: "1" {{- end }} diff --git a/charts/milvus/templates/rootcoord-deployment.yaml b/charts/milvus/templates/rootcoord-deployment.yaml index b8774ec..1b0d7e9 100644 --- a/charts/milvus/templates/rootcoord-deployment.yaml +++ b/charts/milvus/templates/rootcoord-deployment.yaml @@ -73,7 +73,7 @@ spec: args: [ "milvus", "run", "rootcoord" ] {{- end }} env: - {{- if .Values.streaming.enabled }} + {{- if and .Values.streaming .Values.streaming.enabled }} - name: MILVUS_STREAMING_SERVICE_ENABLED value: "1" {{- end }} diff --git a/charts/milvus/templates/streamingnode-deployment.yaml b/charts/milvus/templates/streamingnode-deployment.yaml index bc0b77e..a7a9eee 100644 --- a/charts/milvus/templates/streamingnode-deployment.yaml +++ b/charts/milvus/templates/streamingnode-deployment.yaml @@ -1,4 +1,4 @@ -{{- if and .Values.streaming.enabled .Values.cluster.enabled }} +{{- if and .Values.streaming .Values.streaming.enabled .Values.cluster.enabled }} apiVersion: apps/v1 kind: Deployment metadata: diff --git a/charts/milvus/templates/streamingnode-svc.yaml b/charts/milvus/templates/streamingnode-svc.yaml index bc15174..519ab65 100644 --- a/charts/milvus/templates/streamingnode-svc.yaml +++ b/charts/milvus/templates/streamingnode-svc.yaml @@ -1,5 +1,5 @@ {{- if .Values.metrics.enabled }} -{{- if and .Values.streaming.enabled .Values.cluster.enabled }} +{{- if and .Values.streaming .Values.streaming.enabled .Values.cluster.enabled }} apiVersion: v1 kind: Service metadata: