Skip to content

Commit 929b016

Browse files
authored
Merge pull request #4502 from camilamacedo86/fix-yaml-lint
🐛 (helm/alpha-v1): fix yaml lint in the ServiceMonitor file
2 parents 3f5ebd6 + dcba8e5 commit 929b016

File tree

2 files changed

+2
-2
lines changed
  • pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/prometheus
  • testdata/project-v4-with-plugins/dist/chart/templates/prometheus

2 files changed

+2
-2
lines changed

pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/prometheus/monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ apiVersion: monitoring.coreos.com/v1
4848
kind: ServiceMonitor
4949
metadata:
5050
labels:
51-
{{ "{{- include \"chart.labels\" . | nindent 4 }}" }}
51+
{{ "{{- include \"chart.labels\" . | nindent 4 }}" }}
5252
name: {{ .ProjectName }}-controller-manager-metrics-monitor
5353
namespace: {{ "{{ .Release.Namespace }}" }}
5454
spec:

testdata/project-v4-with-plugins/dist/chart/templates/prometheus/monitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: monitoring.coreos.com/v1
44
kind: ServiceMonitor
55
metadata:
66
labels:
7-
{{- include "chart.labels" . | nindent 4 }}
7+
{{- include "chart.labels" . | nindent 4 }}
88
name: project-v4-with-plugins-controller-manager-metrics-monitor
99
namespace: {{ .Release.Namespace }}
1010
spec:

0 commit comments

Comments
 (0)