-
Notifications
You must be signed in to change notification settings - Fork 807
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
Update readme file to provide more info on driver options and tagging #844
Conversation
Pull Request Test Coverage Report for Build 1876
💛 - Coveralls |
docs/README.md
Outdated
| TagKey | TagValue | sample | Description | | ||
|------------------------|-------------------|---------------------------------------------------|---------------------| | ||
| CSIVolumeName | pvcName | CSIVolumeName = pvc-1234567890 | add to all volumes, for recording associated pvc id and checking if a given volume was already created so that ControllerPublish/CreateVolume is idempotent. | | ||
| CSISnapshotName | snapshotId | CSISnapshotName = snap-1234567890 | add to all snapshots, for for recording associated VolumeSnapshot id and checking if a given snapshot was already created | |
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.
typo here, 'for for recording'
docs/README.md
Outdated
| CSIVolumeName | pvcName | CSIVolumeName = pvc-1234567890 | add to all volumes, for recording associated pvc id and checking if a given volume was already created so that ControllerPublish/CreateVolume is idempotent. | | ||
| CSISnapshotName | snapshotId | CSISnapshotName = snap-1234567890 | add to all snapshots, for for recording associated VolumeSnapshot id and checking if a given snapshot was already created | | ||
| ebs.csi.aws.com/cluster| true | ebs.csi.aws.com/cluster = true | add to all volumes and snapshots, for allowing users to use a policy to limit csi driver's permission to just the resources it manages. | | ||
| kubernetes.io/cluster/X| owned | kubernetes.io/cluster/aws-cluster-id-1 = owned | add to all volumes and snapshots if k8s-tag-cluster-id argument is set to X. In in-tree cloudprovider, it's extremely unlikely/impossible for clusterName NOT to be set, so effectively this tag was set on ALL in-tree volumes, [here](https://github.com/kubernetes/cloud-provider-aws/blob/5f394ba297bf280ceb3edfc38922630b4bd83f46/pkg/providers/v2/tags.go#L108). In CSI world we have no automatic way to discover the cloud provider's clusterName, so if the user wants their CSI volumes to have these tags like in-tree volumes would, they have to provide clusterId.| |
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.
you can just keep the first line, the next ones are probably too much detail
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.
Gotcha
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.
2 comments
82cbfb4
to
af49cf4
Compare
thank you /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AndyXiangLi, ayberk, wongma7 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 |
af49cf4
to
fcdd32c
Compare
New changes are detected. LGTM label has been removed. |
What is this PR about? / Why do we need it?
Update readme file to provide more info on driver options and tagging