Skip to content

Commit

Permalink
Merge pull request #381 from grengojbo/patch-1
Browse files Browse the repository at this point in the history
[velero] Update servicemonitor.yaml
  • Loading branch information
ywk253100 authored Jun 10, 2022
2 parents 6693424 + 91fc21b commit f142cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.8.1
kubeVersion: ">=1.16.0-0"
description: A Helm chart for velero
name: velero
version: 2.29.7
version: 2.29.8
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
6 changes: 1 addition & 5 deletions charts/velero/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{{- if and
.Values.metrics.enabled
.Values.metrics.serviceMonitor.enabled
(.Capabilities.APIVersions.Has "monitoring.coreos.com/v1")
}}
{{- if and .Values.metrics.enabled .Values.metrics.serviceMonitor.enabled (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Expand Down

0 comments on commit f142cf8

Please sign in to comment.