Skip to content

Commit

Permalink
support deploying multiple instances
Browse files Browse the repository at this point in the history
  • Loading branch information
duguisen committed Sep 3, 2024
1 parent a4795f5 commit af2e62b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/nsq/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,23 @@ nsqlookupd selector labels
*/}}
{{- define "nsq.nsqlookupd.selectorLabels" -}}
app.kubernetes.io/component: nsqlookupd
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
nsqadmin selector labels
*/}}
{{- define "nsq.nsqadmin.selectorLabels" -}}
app.kubernetes.io/component: nsqadmin
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
nsqd selector labels
*/}}
{{- define "nsq.nsqd.selectorLabels" -}}
app.kubernetes.io/component: nsqd
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Expand Down

0 comments on commit af2e62b

Please sign in to comment.