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

Remove deprecated kubelet credential provider flag #4436

Conversation

CecileRobertMichon
Copy link
Contributor

What type of PR is this?

/kind cleanup

What this PR does / why we need it: In-tree credential kubelet providers are deprecated and will be removed soon. See kubernetes/kubernetes#122595.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

  • cherry-pick candidate

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Release note:

Remove deprecated kubelet credential provider flag

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 5, 2024
@CecileRobertMichon
Copy link
Contributor Author

@lzhecheng PTAL

When will there be a helm chart available to install the OOT credential provider for non-CI use cases? Currently we are still installing it with a custom script in cloud init.

@dims
Copy link
Member

dims commented Jan 5, 2024

/approve
/lgtm

thanks a ton @CecileRobertMichon !

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 5, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 86d5298d1fb354a8d869f4a2e142e46280f43f1a

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 5, 2024
Copy link

codecov bot commented Jan 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bf1ae32) 61.96% compared to head (1836525) 61.96%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4436   +/-   ##
=======================================
  Coverage   61.96%   61.96%           
=======================================
  Files         188      188           
  Lines       18768    18768           
=======================================
  Hits        11630    11630           
  Misses       6500     6500           
  Partials      638      638           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@CecileRobertMichon CecileRobertMichon force-pushed the rm-deprecated-cred-provider branch from 5b05dac to e262468 Compare January 5, 2024 20:04
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 5, 2024
@k8s-ci-robot k8s-ci-robot requested a review from dims January 5, 2024 20:04
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 5, 2024
@CecileRobertMichon
Copy link
Contributor Author

/cherry-pick release-1.12

@k8s-infra-cherrypick-robot

@CecileRobertMichon: once the present PR merges, I will cherry-pick it on top of release-1.12 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.12

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.

@CecileRobertMichon
Copy link
Contributor Author

/assign @mboersma

Copy link
Contributor

@mboersma mboersma left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 5, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 8d1e82cb81b0c0406920ef4be65602db2c0d07f3

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dims, mboersma

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 k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 5, 2024
@CecileRobertMichon CecileRobertMichon force-pushed the rm-deprecated-cred-provider branch from e262468 to 1836525 Compare January 5, 2024 21:56
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 5, 2024
@k8s-ci-robot k8s-ci-robot requested a review from mboersma January 5, 2024 21:56
Copy link
Contributor

@nojnhuh nojnhuh left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 5, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 9981cf5fd2254b11e14279137e67ed98b34e5f8d

@k8s-ci-robot
Copy link
Contributor

@CecileRobertMichon: 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-cluster-api-provider-azure-windows-custom-builds 1836525 link false /test pull-cluster-api-provider-azure-windows-custom-builds

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

@k8s-ci-robot k8s-ci-robot merged commit 1c7c802 into kubernetes-sigs:main Jan 5, 2024
25 of 29 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.13 milestone Jan 5, 2024
@k8s-infra-cherrypick-robot

@CecileRobertMichon: new pull request created: #4437

In response to this:

/cherry-pick release-1.12

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.

@lzhecheng
Copy link
Contributor

@lzhecheng PTAL

When will there be a helm chart available to install the OOT credential provider for non-CI use cases? Currently we are still installing it with a custom script in cloud init.

I created an issue in cloud-provider-azure: kubernetes-sigs/cloud-provider-azure#5231
Now, it is not of high priority, but it is in the roadmap. I think this will be done when switching to OOT credential provider in AKS.

@lzhecheng
Copy link
Contributor

@CecileRobertMichon I think this PR should remove other occurrences of --azure-container-registry-config. Do you have any reason to keep them?
e.g. The cluster-template-prow-ci-version.yaml one. This PR deletes the one for Linux worker but not the ones for control-plane node and windows worker.
https://github.com/CecileRobertMichon/cluster-api-provider-azure/blob/18365252ec8270e0fed095fe96b230e01b066a91/templates/test/ci/cluster-template-prow-ci-version.yaml#L187C11-L187C70

@CecileRobertMichon
Copy link
Contributor Author

@lzhecheng thanks for catching! #4455 should fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants