Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jenting committed Aug 3, 2023
2 parents 38743b2 + 7857b47 commit 72e3145
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/velero/templates/prometheusrule.yaml
@@ -1,4 +1,4 @@
{{- if and .Values.metrics.enabled .Values.metrics.prometheusRule.enabled }}
{{- if and (and .Values.metrics.enabled .Values.metrics.prometheusRule.enabled) (or (not .Values.metrics.prometheusRule.autodetect) (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1")) (.Values.metrics.prometheusRule.spec) }}
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
Expand Down
1 change: 1 addition & 0 deletions charts/velero/values.yaml
Expand Up @@ -201,6 +201,7 @@ metrics:
# tlsConfig: {}

prometheusRule:
autodetect: true
enabled: false
# Additional labels to add to deployed PrometheusRule
additionalLabels: {}
Expand Down

0 comments on commit 72e3145

Please sign in to comment.