-
Notifications
You must be signed in to change notification settings - Fork 38.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
Add more metadata about dynamically provisioned PVs using PV annotation #44669
Add more metadata about dynamically provisioned PVs using PV annotation #44669
Conversation
Hi @humblec. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
8c69167
to
861fe68
Compare
@k8s-bot test this. |
@humblec: you can't request testing unless you are a kubernetes member. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
refer to this format for consistency |
861fe68
to
fbd0f77
Compare
@rootfs Addressed the comment. Thanks! |
pkg/volume/glusterfs/glusterfs.go
Outdated
|
||
pv.Annotations = map[string]string{ | ||
volumehelper.VolumeGidAnnotationKey: gidStr, | ||
"Creator": "heketi-dynamic", |
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.
"kubernetes.io/createdby": "heketi-dynamic-provisioner",
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.
Sure. Done.
pkg/volume/glusterfs/glusterfs.go
Outdated
pv.Annotations = map[string]string{ | ||
volumehelper.VolumeGidAnnotationKey: gidStr, | ||
"Creator": "heketi-dynamic", | ||
"Type": "file", |
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.
put type
in a heketi namespace if possible.
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.
Placed in gluster namespace.. Done
PV annotation: This patch add below fields to Gluster dynamic pvs: "Description: "Gluster: dynamically provisioned PV" "Creator": "heketi-dynamic" "Type": "file" Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
fbd0f77
to
1d17c0c
Compare
/release-note-none |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: humblec, rootfs
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Thanks a lot @rootfs! |
Automatic merge from submit-queue (batch tested with PRs 45081, 44669) |
This patch add below fields to Gluster dynamic pvs.
"Description: "Gluster: dynamically provisioned PVs"
"Creator": "heketi-dynamic"
"Type": "file"
Signed-off-by: Humble Chirammal hchiramm@redhat.com