@@ -136,7 +136,7 @@ volumeMounts:
136
136
{ {- range $i , $volume := .Values.template.spec.volumes } }
137
137
{ {- if eq $volume .name " work" } }
138
138
{ {- $createWorkVolume = 0 } }
139
- - { { $volume | toYaml | nindent 2 } }
139
+ - { { $volume | toYaml | nindent 2 | trim } }
140
140
{ {- end } }
141
141
{ {- end } }
142
142
{ {- if eq $createWorkVolume 1 } }
@@ -150,7 +150,7 @@ volumeMounts:
150
150
{ {- range $i , $volume := .Values.template.spec.volumes } }
151
151
{ {- if eq $volume .name " work" } }
152
152
{ {- $createWorkVolume = 0 } }
153
- - { { $volume | toYaml | nindent 2 } }
153
+ - { { $volume | toYaml | nindent 2 | trim } }
154
154
{ {- end } }
155
155
{ {- end } }
156
156
{ {- if eq $createWorkVolume 1 } }
@@ -165,7 +165,7 @@ volumeMounts:
165
165
{ {- define " gha-runner-scale-set.non-work-volumes" -} }
166
166
{ {- range $i , $volume := .Values.template.spec.volumes } }
167
167
{ {- if ne $volume .name " work" } }
168
- - { { $volume | toYaml | nindent 2 } }
168
+ - { { $volume | toYaml | nindent 2 | trim } }
169
169
{ {- end } }
170
170
{ {- end } }
171
171
{ {- end } }
@@ -255,7 +255,7 @@ volumeMounts:
255
255
{ {- if eq $volMount .name " github-server-tls-cert" } }
256
256
{ {- $mountGitHubServerTLS = 0 } }
257
257
{ {- end } }
258
- - { { $volMount | toYaml | nindent 4 } }
258
+ - { { $volMount | toYaml | nindent 4 | trim } }
259
259
{ {- end } }
260
260
{ {- end } }
261
261
{ {- if $mountWork } }
0 commit comments