Skip to content

Commit

Permalink
fix yaml indent (prometheus-community#663)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Ludvik <[email protected]>

Co-authored-by: Jan Ludvik <[email protected]>
Co-authored-by: Bismarck Paliz <[email protected]>
  • Loading branch information
3 people authored Feb 10, 2021
1 parent 49e8db1 commit 9980523
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 13.7.0
version: 13.7.1
appVersion: 0.45.0
kubeVersion: ">=1.16.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ spec:
{{- end }}
selector:
matchLabels:
{{- if .Values.kubeStateMetrics.serviceMonitor.selectorOverride }}
{{ toYaml .Values.kubeStateMetrics.serviceMonitor.selectorOverride }}
{{ else }}
{{- if .Values.kubeStateMetrics.serviceMonitor.selectorOverride }}
{{ toYaml .Values.kubeStateMetrics.serviceMonitor.selectorOverride | indent 6 }}
{{ else }}
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/instance: "{{ $.Release.Name }}"
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 9980523

Please sign in to comment.