Skip to content

Commit

Permalink
Signed-off-by: tooptoop4 <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
tooptoop4 authored Oct 19, 2024
1 parent ba7d920 commit f46dbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/workflowpod.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func (woc *wfOperationCtx) createWorkflowPod(ctx context.Context, nodeName strin

// simplify template by clearing useless volumemounts related to user configmaps ie somecode.py
if simplifiedTmpl.Container != nil && simplifiedTmpl.Container.VolumeMounts != nil {
var filteredVolumeMounts []v1.VolumeMount
var filteredVolumeMounts []apiv1.VolumeMount
for _, mnt := range simplifiedTmpl.Container.VolumeMounts {
isConfigMapVolume := false
for _, vol := range pod.Spec.Volumes {
Expand Down

0 comments on commit f46dbaa

Please sign in to comment.