Skip to content

Commit

Permalink
Fix template helper file (#104)
Browse files Browse the repository at this point in the history
Signed-off-by: Tosone <[email protected]>
  • Loading branch information
tosone authored Jul 18, 2024
1 parent 186bdec commit 6c101bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions charts/milvus/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
{{- end -}}
{{- end -}}

{/*
{{/*
Create a default fully qualified attu name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
Expand Down Expand Up @@ -161,14 +161,14 @@ app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{/* labels defiend by user*/}}
{{/* labels defined by user*/}}
{{- define "milvus.ud.labels" -}}
{{- if .Values.labels }}
{{- toYaml .Values.labels }}
{{- end -}}
{{- end -}}

{{/* annotations defiend by user*/}}
{{/* annotations defined by user*/}}
{{- define "milvus.ud.annotations" -}}
{{- if .Values.annotations }}
{{- toYaml .Values.annotations }}
Expand Down Expand Up @@ -215,4 +215,4 @@ true
{{- else -}}
false
{{- end -}}
{{- end -}}
{{- end -}}
12 changes: 9 additions & 3 deletions charts/milvus/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Expand the name of the chart
nameOverride: ""

## Default fully qualified app name
fullnameOverride: ""

## Enable or disable Milvus Cluster mode
cluster:
enabled: true
Expand Down Expand Up @@ -434,7 +440,7 @@ dataNode:
strategy: {}

## mixCoordinator contains all coord
## If you want to use mixcoord, enable this and disable all of other coords
## If you want to use mixcoord, enable this and disable all of other coords
mixCoordinator:
enabled: false
# You can set the number of replicas greater than 1, only if enable active standby
Expand Down Expand Up @@ -934,8 +940,8 @@ externalPulsar:
###################################
# External kafka
# - these configs are only used when `externalKafka.enabled` is true
# - note that the following are just examples, you should confirm the
# value of brokerList and mechanisms according to the actual external
# - note that the following are just examples, you should confirm the
# value of brokerList and mechanisms according to the actual external
# Kafka configuration. E.g. If you select the AWS MSK, the configuration
# should look something like this:
# externalKafka:
Expand Down

0 comments on commit 6c101bc

Please sign in to comment.