Skip to content

Commit

Permalink
fix labels for PodDisruptionBudget on helm (grafana#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
qw1mb0 authored and cyriltovena committed Jun 1, 2019
1 parent 01326a0 commit 0a1786e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion production/helm/loki/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: loki
version: 0.9.1
version: 0.9.2
appVersion: 0.0.1
kubeVersion: "^1.10.0-0"
description: "Loki: like Prometheus, but for logs."
Expand Down
11 changes: 6 additions & 5 deletions production/helm/loki/templates/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: {{ template "loki.fullname" . }}
app: {{ template "loki.name" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
chart: {{ template "loki.chart" . }}
labels:
app: {{ template "loki.name" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
chart: {{ template "loki.chart" . }}
spec:
selector:
matchLabels:
app: {{ template "loki.name" . }}
{{ toYaml .Values.podDisruptionBudget | indent 2 }}
{{- end -}}
{{- end -}}

0 comments on commit 0a1786e

Please sign in to comment.