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

OCPBUGS-38335: Revert "use update only secret-apply for cert rotation logic" #1773

Merged

Conversation

vrutkovs
Copy link
Member

@vrutkovs vrutkovs commented Aug 12, 2024

This reverts commit 96e8597.

All SecretTypeTLS secrets have been migrated to kubernetes.io/tls type on 4.15 upgrade, time to remove the deprecated setting which enables this migration. This also prevents us from landing #1772

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Aug 12, 2024
@openshift-ci-robot
Copy link

@vrutkovs: This pull request references Jira Issue OCPBUGS-38335, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @wangke19

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

This reverts commit 96e8597.

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 openshift-eng/jira-lifecycle-plugin repository.

@p0lyn0mial
Copy link
Contributor

All SecretTypeTLS secrets have been migrated to kubernetes.io/tls type on 4.15 upgrade, time to remove the deprecated setting which enables this migration.

Have we also fixed the issue of new secrets being created with the old type and then immediately migrated to the new type ? IIRC there were at least 2 secrets (etcd-o, kcm-o).

The other question is what is the plan for the carry we have in o/k?

@p0lyn0mial
Copy link
Contributor

All SecretTypeTLS secrets have been migrated to kubernetes.io/tls type on 4.15 upgrade, time to remove the deprecated setting which enables this migration.

Also how do we know that all secrets were migrated ? To we have a metrics for that ?

Copy link
Contributor

openshift-ci bot commented Aug 12, 2024

@vrutkovs: all tests passed!

Full PR test history. Your PR dashboard.

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.

@vrutkovs
Copy link
Member Author

Have we also fixed the issue of new secrets being created with the old type and then immediately migrated to the new type ? IIRC there were at least 2 secrets (etcd-o, kcm-o).

Yes - in https://issues.redhat.com/browse/API-1800:

@vrutkovs
Copy link
Member Author

Also how do we know that all secrets were migrated ? To we have a metrics for that ?

This was tested by QE by upgrading 4.6 -> 4.15 and checking if old type still exists. Telemetry won't be helpful - this issue is applicable to secrets we own and manage only

@p0lyn0mial
Copy link
Contributor

OK, if we are sure that there are no new secrets that start with the old type then we can also remove the carry in o/k

@p0lyn0mial
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 12, 2024
@p0lyn0mial
Copy link
Contributor

/assign @deads2k @soltysh

for approval.

Copy link

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/approve

Copy link
Contributor

openshift-ci bot commented Aug 12, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: p0lyn0mial, soltysh, vrutkovs

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 12, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit c18b2be into openshift:master Aug 12, 2024
4 checks passed
@openshift-ci-robot
Copy link

@vrutkovs: Jira Issue OCPBUGS-38335: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-38335 has not been moved to the MODIFIED state.

In response to this:

This reverts commit 96e8597.

All SecretTypeTLS secrets have been migrated to kubernetes.io/tls type on 4.15 upgrade, time to remove the deprecated setting which enables this migration. This also prevents us from landing #1772

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 openshift-eng/jira-lifecycle-plugin repository.

@vrutkovs
Copy link
Member Author

/cherrypick release-4.17

@openshift-cherrypick-robot

@vrutkovs: new pull request created: #1774

In response to this:

/cherrypick release-4.17

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.

bertinatto added a commit to bertinatto/cluster-kube-controller-manager-operator that referenced this pull request Sep 23, 2024
bertinatto added a commit to bertinatto/cluster-kube-controller-manager-operator that referenced this pull request Sep 23, 2024
bertinatto added a commit to bertinatto/cluster-kube-controller-manager-operator that referenced this pull request Sep 24, 2024
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. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants