diff --git a/.taskfiles/Bootstrap/resources/rook-disk-job.tmpl.yaml b/.taskfiles/Bootstrap/resources/rook-disk-job.tmpl.yaml index 39375155660d6..badd67de0168b 100644 --- a/.taskfiles/Bootstrap/resources/rook-disk-job.tmpl.yaml +++ b/.taskfiles/Bootstrap/resources/rook-disk-job.tmpl.yaml @@ -18,7 +18,7 @@ spec: args: - apk add --no-cache sgdisk util-linux util-linux-misc parted device-mapper; sgdisk --zap-all ${disk}; - dd if=/dev/zero of=${disk} bs=1M count=100 oflag=direct,dsync; + dd if=/dev/zero of=${disk} bs=1M count=100 oflag=direct; blkdiscard ${disk}; partprobe ${disk}; securityContext: