Skip to content
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

Fsgrouppolicy pscale #48

Merged
merged 3 commits into from
Feb 1, 2022
Merged

Fsgrouppolicy pscale #48

merged 3 commits into from
Feb 1, 2022

Conversation

nitesh3108
Copy link
Collaborator

Description

Made fsGroupPolicy configurable for csi-powerscale

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#167

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Backward compatibility is not broken

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Ran Unit tests against latest changes
  • Ran sanity tests

@@ -59,6 +59,16 @@ kubeletConfigDir: /var/lib/kubelet
# Default value: false
enableCustomTopology: false

# fsGroupPolicy: This is defined in Driver's spec. Supports three different mode which defines volume modification and ownership change upon mount operation.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rephrase this sentence to: "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted."

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

# Allowed values:
# ReadWriteOnceWithFSType: supports volume ownership and permissions change only if the fsType is defined
# and the volume's accessModes contains ReadWriteOnce
# File: kubernetes may use Kubernetes may use fsGroup to change permissions and ownership of the volume
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repeated "kubernetes may use", please correct

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrected

@bpjain2004 bpjain2004 merged commit 3ec5956 into main Feb 1, 2022
@bpjain2004 bpjain2004 deleted the fsgrouppolicy-pscale branch February 1, 2022 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants