Skip to content

Commit

Permalink
fix: apply distinct labels for pods on api-queue deployments (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 authored Dec 18, 2023
1 parent d08cf12 commit 54fc325
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion charts/api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

This chart does not yet follow SemVer.

## 0.29.0
## 0.29.1
- Fix labels on api-queue pods to match

## 0.29.0
- Add option to deploy multiple named queue workers

## 0.26.1
Expand Down
2 changes: 1 addition & 1 deletion charts/api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.0"
description: A Helm chart for the WBStack API
name: api
version: 0.29.0
version: 0.29.1
home: https://github.com/wbstack
maintainers:
- name: WBstack
Expand Down
4 changes: 2 additions & 2 deletions charts/api/templates/deployment-queue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ spec:
matchLabels:
app.kubernetes.io/name: {{ include "api.name" $ }}
app.kubernetes.io/instance: {{ $.Release.Name }}
app.kubernetes.io/component: queue
app.kubernetes.io/component: queue-{{ . }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "api.name" $ }}
app.kubernetes.io/instance: {{ $.Release.Name }}
app.kubernetes.io/component: queue
app.kubernetes.io/component: queue-{{ . }}
spec:
serviceAccountName: {{ include "api.fullname" $ }}-defaultrole
{{- with $.Values.imagePullSecrets }}
Expand Down

0 comments on commit 54fc325

Please sign in to comment.