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

fix: do not allow removing/changing the reserved labels #944

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

Praveenrajmani
Copy link
Collaborator

We should not allow the reserved labels to be removed or edited as this will affect the directpv operations.

also, show only custom labels in kubectl directpv list drives --show-labels and kubectl directpv list volumes --show-labels

prakashsvmx
prakashsvmx previously approved these changes Sep 11, 2024
pkg/apis/directpv.min.io/types/label.go Outdated Show resolved Hide resolved
pkg/admin/label_drives.go Outdated Show resolved Hide resolved
cmd/kubectl-directpv/list.go Outdated Show resolved Hide resolved
also, show only custom labels in `kubectl directpv list drives --show-labels`
and `kubectl directpv list volumes --show-labels`
@balamurugana
Copy link
Member

Please submit this PR to v4.0 branch as well.

@Praveenrajmani Praveenrajmani merged commit c43ec19 into minio:master Sep 11, 2024
25 checks passed
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