Skip to content

Commit

Permalink
Merge pull request #386 from LCOGT/jashan-lco-patch-3
Browse files Browse the repository at this point in the history
make selector/template labels unique
  • Loading branch information
mgdaily authored Mar 6, 2024
2 parents 186f131 + dcd9586 commit 1ba5d5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm-chart/banzai/templates/listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ spec:
matchLabels:
app.kubernetes.io/name: {{ include "banzai.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: listener
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "banzai.name" . }}
app.kubernetes.io/instance: "{{ .Release.Name }}"
app.kubernetes.io/component: listener
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
2 changes: 2 additions & 0 deletions helm-chart/banzai/templates/workers-large.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ spec:
matchLabels:
app.kubernetes.io/name: {{ include "banzai.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: large-worker
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "banzai.name" . }}
app.kubernetes.io/instance: "{{ .Release.Name }}"
app.kubernetes.io/component: large-worker
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
2 changes: 2 additions & 0 deletions helm-chart/banzai/templates/workers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ spec:
matchLabels:
app.kubernetes.io/name: {{ include "banzai.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: worker
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "banzai.name" . }}
app.kubernetes.io/instance: "{{ .Release.Name }}"
app.kubernetes.io/component: worker
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down

0 comments on commit 1ba5d5a

Please sign in to comment.