Skip to content

Commit

Permalink
[stable/postgresql] Fix upgradability of metrics deployment. (helm#9119)
Browse files Browse the repository at this point in the history
See helm#7726.

Signed-off-by: Cédric de Saint Martin <[email protected]>
  • Loading branch information
desaintmartin authored and wgiddens committed Jan 18, 2019
1 parent aa2529a commit 92e68ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/postgresql/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: postgresql
version: 2.3.2
version: 2.3.3
appVersion: 10.5.0
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
keywords:
Expand Down
5 changes: 5 additions & 0 deletions stable/postgresql/templates/metrics-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ metadata:
release: {{ .Release.Name | quote}}
heritage: {{ .Release.Service | quote }}
spec:
selector:
matchLabels:
release: {{ .Release.Name | quote }}
app: {{ template "postgresql.name" . }}
role: metrics
template:
metadata:
labels:
Expand Down

0 comments on commit 92e68ae

Please sign in to comment.