mirror of https://github.com/kubevela/kubevela.git
* fix: Address Wrong `Storage` trait for hostPath volumes #6811 Signed-off-by: S Code Man <30977678+scodeman@users.noreply.github.com> * fix: use tab instead of space Signed-off-by: S Code Man <30977678+scodeman@users.noreply.github.com> * chore: run make reviewable Signed-off-by: S Code Man <30977678+scodeman@users.noreply.github.com> --------- Signed-off-by: S Code Man <30977678+scodeman@users.noreply.github.com>
This commit is contained in:
parent
72d5c2f0a5
commit
e533898192
|
@ -57,7 +57,10 @@ spec:
|
||||||
if parameter.hostPath != _|_ for v in parameter.hostPath {
|
if parameter.hostPath != _|_ for v in parameter.hostPath {
|
||||||
{
|
{
|
||||||
name: "hostpath-" + v.name
|
name: "hostpath-" + v.name
|
||||||
|
hostPath: {
|
||||||
path: v.path
|
path: v.path
|
||||||
|
type: v.type
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
|
@ -51,7 +51,10 @@ template: {
|
||||||
if parameter.hostPath != _|_ for v in parameter.hostPath {
|
if parameter.hostPath != _|_ for v in parameter.hostPath {
|
||||||
{
|
{
|
||||||
name: "hostpath-" + v.name
|
name: "hostpath-" + v.name
|
||||||
|
hostPath: {
|
||||||
path: v.path
|
path: v.path
|
||||||
|
type: v.type
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue