kubernetes icon indicating copy to clipboard operation
kubernetes copied to clipboard

Remove deprecated sets.String from pkg/kubelet

Open gjkim42 opened this issue 1 year ago • 9 comments

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

This removes deprecated sets.String from pkg/kubelet to avoid warning messages.

  • s/sets.String/sets.New[string]/g
  • s/sets.NewString/sets.New[string]/g
  • Use sets.List instead of (sets.String).List
  • ~Remove sets.String from util.GetPodVolumeNames as it's used in pkg/kubelet~ <- addressed by https://github.com/kubernetes/kubernetes/pull/124740

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

none

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


gjkim42 avatar May 08 '24 13:05 gjkim42

/priority important-longterm

gjkim42 avatar May 08 '24 14:05 gjkim42

/retest

gjkim42 avatar May 08 '24 14:05 gjkim42

/triage accepted

bart0sh avatar May 08 '24 22:05 bart0sh

/lgtm

/assign @mrunalp @derekwaynecarr @dchen1107 for approval

bart0sh avatar May 08 '24 22:05 bart0sh

LGTM label has been added.

Git tree hash: 099d3b9f429d59910c02a6d0c23091b214f5da7d

k8s-ci-robot avatar May 08 '24 22:05 k8s-ci-robot

/lgtm

matthyx avatar May 22 '24 20:05 matthyx

/lgtm

bart0sh avatar Jun 30 '24 11:06 bart0sh

LGTM label has been added.

Git tree hash: 2f90ea3b1bc740eca78618805cb36c8cdb355592

k8s-ci-robot avatar Jun 30 '24 11:06 k8s-ci-robot

/assign @liggitt

Could you take a look? The PR just replaces deprecated sets.string, but needs api approval.

gjkim42 avatar Jul 04 '24 13:07 gjkim42

/assign @liggitt

Could you take a look? The PR just replaces deprecated sets.string, but needs api approval.

For pkg/kubelet/apis/config/OWNERS, only test is updated here.

pacoxu avatar Jul 05 '24 01:07 pacoxu

/label api-review

gjkim42 avatar Jul 05 '24 04:07 gjkim42

/remove-label api-review

this doesn't involve a user-facing API

liggitt avatar Jul 15 '24 14:07 liggitt

/approve

for api config unit test change

liggitt avatar Jul 15 '24 14:07 liggitt

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gjkim42, liggitt, mrunalp

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 /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Jul 15 '24 14:07 k8s-ci-robot

@gjkim42: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-kubernetes-integration a10cd79f633cafdf9114a73f5cf3298fb24fa07d link unknown /test pull-kubernetes-integration

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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-sigs/prow repository. I understand the commands that are listed here.

k8s-ci-robot avatar Jul 15 '24 15:07 k8s-ci-robot

/retest

gjkim42 avatar Jul 15 '24 15:07 gjkim42