Skip to content

Commit

Permalink
Fix(CUE): fix volumns variable err bug in vela-cli (kubevela#6537)
Browse files Browse the repository at this point in the history
Signed-off-by: yukunjie <[email protected]>
Co-authored-by: yukunjie <[email protected]>
  • Loading branch information
yukunjie and yukunjie authored Jun 17, 2024
1 parent de4f89e commit d570962
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions charts/vela-core/templates/defwithtemplate/vela-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ spec:
}
}
}
if parameter.storage != _|_ && parameter.storage.hostPath != _|_ for v in parameter.storage.hostPath {
{
name: "hostpath-" + v.name
path: v.path
}
},
if parameter.storage != _|_ && parameter.storage.hostPath != _|_ for v in parameter.storage.hostPath {
{
name: "hostpath-" + v.name
path: v.path
}
},
]
Expand Down
10 changes: 5 additions & 5 deletions vela-templates/definitions/internal/workflowstep/vela-cli.cue
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ template: {
}
}
}
if parameter.storage != _|_ && parameter.storage.hostPath != _|_ for v in parameter.storage.hostPath {
{
name: "hostpath-" + v.name
path: v.path
}
},
if parameter.storage != _|_ && parameter.storage.hostPath != _|_ for v in parameter.storage.hostPath {
{
name: "hostpath-" + v.name
path: v.path
}
},
]
Expand Down

0 comments on commit d570962

Please sign in to comment.