-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
UPSTREAM: <carry>: change config file location and restore perFSGroup to Quantity #19773
UPSTREAM: <carry>: change config file location and restore perFSGroup to Quantity #19773
Conversation
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.
one nit, then lgtm
@@ -73,6 +74,11 @@ func PatchVolumePluginsForLocalQuota(rootdir string, plugins *[]volume.VolumePlu | |||
return fmt.Errorf("expected kind \"%s\" and apiVersion \"%s\" for volume config file", volumeConfigKind, volumeConfigAPIVersion) | |||
} | |||
|
|||
quota, err := resource.ParseQuantity(volumeConfig.LocalQuota.PerFSGroup) | |||
if err != nil { | |||
return fmt.Errorf("enable to parse \"%s\" as a quantity", volumeConfig.LocalQuota.PerFSGroup) |
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.
nit: unable
4875fb1
to
12f2dfb
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: derekwaynecarr, sjenning The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
Follow on to #19533
perFSGroupInGB
back toperFSGroup
with aQuantity
value./etc/origin/node/volume-config.yaml
so that it can be a second key to the existingnode-config-compute
configmap and everything will Just Work (tm).xref https://bugzilla.redhat.com/show_bug.cgi?id=1579305
@derekwaynecarr @smarterclayton @jupierce