Skip to content

Commit 4b6c2d0

Browse files
authored
Minor fix for helm template generation to avoid double doc separators (#1692)
1 parent 7432d43 commit 4b6c2d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

helm/robusta/templates/forwarder.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ spec:
107107
protocol: TCP
108108
port: 80
109109
targetPort: 2112
110-
---
111110
{{ if and (.Values.enableServiceMonitors) (or (.Values.enablePrometheusStack) (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1/ServiceMonitor") ) }}
111+
---
112112
apiVersion: monitoring.coreos.com/v1
113113
kind: ServiceMonitor
114114
metadata:
@@ -143,4 +143,3 @@ spec:
143143
targetLabels:
144144
- target
145145
{{ end }}
146-
---

0 commit comments

Comments
 (0)