-
Notifications
You must be signed in to change notification settings - Fork 40.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FSType is now optional in Volume objects and 'ext4' used when it's when omitted. #19921
FSType is now optional in Volume objects and 'ext4' used when it's when omitted. #19921
Conversation
Labelling this PR as size/M |
10ad5c6
to
ca9fc5e
Compare
@@ -110,7 +110,7 @@ func (plugin *awsElasticBlockStorePlugin) newBuilderInternal(spec *volume.Spec, | |||
fsType: fsType, | |||
partition: partition, | |||
readOnly: readOnly, | |||
diskMounter: &mount.SafeFormatAndMount{plugin.host.GetMounter(), exec.New()}}, nil | |||
diskMounter: &mount.SafeFormatAndMount{mounter, exec.New()}}, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you separate this change into its own PR it is not related to this PR.
GCE e2e test build/test passed for commit 10ad5c669279ed591306f9c7ac8419959e354b58. |
@jsafrane thanks for following up... |
GCE e2e test build/test passed for commit ca9fc5e3399b5b8758666b4ea50e8db93229d9cc. |
Will do shortly.
Separate commit is not enough? |
The author of this PR is not in the whitelist for merge, can one of the admins add the 'ok-to-merge' label? |
ca9fc5e
to
1919b03
Compare
I think it should be a separate PR. Separate commits are for related sequential changes building up to one big modification. |
Labelling this PR as size/L |
GCE e2e test build/test passed for commit 1919b03e145baef2d36c354b8f744059f3716abd. |
1919b03
to
6196de6
Compare
Ok, I removed AWS changes from the PR. I guess we'll sort it out when we rewrite plugins with the new Attach interface. |
GCE e2e test build/test passed for commit 6196de61b974597fb64b59f236ddc1bb6bee91e8. |
Hmm.. the aws change seems to still be there |
6196de6
to
bb0728d
Compare
Weird, I would swear I removed the patch. Now it's really removed. |
GCE e2e test build/test passed for commit bb0728d1801f300d7a5184667dbc34ac39ce468c. |
@jsafrane thanks... LGTM |
// Must be a filesystem type supported by the host operating system. | ||
// Ex. "ext4", "xfs", "ntfs" | ||
// Ex. "ext4", "xfs", "ntfs". The default one depends on FlexVolume script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The default filesystem depends on ..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, thanks.
LGTM after the wording changes above. @bgrant0607 please review for API changes? |
GCE e2e test build/test passed for commit f1c1cd90bbbe261e002b96f420527f261b3b67b6. |
PR needs rebase |
f1c1cd9
to
6e64dc9
Compare
GCE e2e test build/test passed for commit 6e64dc9ec4cb5452d4705ab3336f02b70482a519. |
PR needs rebase |
Most volume plugins use SafeFormatAndMount, which uses ext4 by default. FlexVolume plugin has FSType attribute 'omitempty', so reflect it in the description of the type.
6e64dc9
to
40c97dd
Compare
rebased |
GCE e2e test build/test passed for commit 40c97dd. |
LGTM |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit 40c97dd. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
This is follow up of #17650 (comment).
Most volume plugins use
SafeFormatAndMount
, which uses ext4 by default.FlexVolume
plugin hasFSType
attribute 'omitempty', so reflect it in thedescription of the type.
Also, update AWS EBS plugin to have the same style as the rest of plugins - see #17650 (comment)
@swagiaal, would you mind a short review?