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

feat: require RequiresRepublish for rotation #1124

Closed
wants to merge 1 commit into from

Conversation

tam7t
Copy link
Contributor

@tam7t tam7t commented Dec 18, 2022

The flags will be no-ops in this and removed in 1.5+.

/kind deprecation

What this PR does / why we need it:

Remove the rotation controller and rely exclusively on RequiresRepublish for secret rotation.

All supported k8s versions have RequiresRepublish support enabled by default.

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

Special notes for your reviewer:

For release we would need to remember to remove the files and update the release notes to instruct that existing rbac permissions be deleted (I'm not sure whether helm has support for deletion of that)

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Remove the rotation controller and rely exclusively on RequiresRepublish for secret rotation.

All supported k8s versions have RequiresRepublish support enabled by default.

Resolves: kubernetes-sigs#585

The flags will be no-ops in this and removed in 1.5+.
@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/deprecation Categorizes issue or PR as related to a feature/enhancement marked for deprecation. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Dec 18, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tam7t

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 18, 2022
@tam7t
Copy link
Contributor Author

tam7t commented Dec 19, 2022

/test all

@k8s-ci-robot
Copy link
Contributor

@tam7t: The following tests 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-secrets-store-csi-driver-e2e-azure 4eed8d2 link true /test pull-secrets-store-csi-driver-e2e-azure
pull-secrets-store-csi-driver-e2e-vault 4eed8d2 link true /test pull-secrets-store-csi-driver-e2e-vault
pull-secrets-store-csi-driver-e2e-gcp 4eed8d2 link true /test pull-secrets-store-csi-driver-e2e-gcp
pull-secrets-store-csi-driver-e2e-provider-k8s-1-23-13 4eed8d2 link true /test pull-secrets-store-csi-driver-e2e-provider-k8s-1-23-13
pull-secrets-store-csi-driver-e2e-provider-k8s-1-24-7 4eed8d2 link true /test pull-secrets-store-csi-driver-e2e-provider-k8s-1-24-7
pull-secrets-store-csi-driver-e2e-deploy-manifest-azure 4eed8d2 link false /test pull-secrets-store-csi-driver-e2e-deploy-manifest-azure
pull-secrets-store-csi-driver-e2e-provider-k8s-1-25-3 4eed8d2 link true /test pull-secrets-store-csi-driver-e2e-provider-k8s-1-25-3
pull-secrets-store-csi-driver-e2e-provider-k8s-1-26-0 4eed8d2 link true /test pull-secrets-store-csi-driver-e2e-provider-k8s-1-26-0
pull-secrets-store-csi-driver-e2e-aws 4eed8d2 link false /test pull-secrets-store-csi-driver-e2e-aws

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
Copy link
Contributor

@tam7t: PR needs rebase.

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.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 14, 2023
@aramase
Copy link
Member

aramase commented Mar 30, 2023

Synced with @tam7t on slack. Going to close this PR and i'll open a new one with the changes.

/close

@k8s-ci-robot
Copy link
Contributor

@aramase: Closed this PR.

In response to this:

Synced with @tam7t on slack. Going to close this PR and i'll open a new one with the changes.

/close

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.

@tam7t tam7t deleted the tm/remove-rotation branch April 15, 2023 13:49
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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/deprecation Categorizes issue or PR as related to a feature/enhancement marked for deprecation. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using RequiresRepublish for rotation
3 participants