Repository navigation
Remove migration of deprecated generation labels and annotation - #3335
Conversation
Addresses knative#643 In 0.4, Revisions had generation labels migrated toward use of `/configurationGeneration` label to determine a Configuration's latest created Revision. This commit leaves the deprecated `/configurationMetadataGeneration` label intact to allow rollback to 0.4, but removes the migration of the deprecated label, along with the deletion of an annotation previously used for the same purpose. Functional dependency on `/configurationMetadataGeneration` is dropped in knative#3325.
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
knative-prow-robot
left a comment
There was a problem hiding this comment.
@pivotal-joshua-rider: 0 warnings.
Details
In response to this:
Addresses #643
Drops the migration code used for the jump from 0.3 to 0.4.
Functional dependency on
/configurationMetadataGenerationis dropped
in #3325.
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.
|
/ok-to-test
…On Wed, Feb 27, 2019 at 15:56 Knative Prow Robot ***@***.***> wrote:
Hi @pivotal-joshua-rider <https://github.com/pivotal-joshua-rider>.
Thanks for your PR.
I'm waiting for a knative <https://github.com/orgs/knative/people> member
to verify that this patch is reasonable to test. If it is, they should
reply with /ok-to-test on its own line. Until that is done, I will not
automatically test new commits in this PR, but the usual testing commands
by org members will still work. Regular contributors should join the org
<https://github.com/orgs/knative/people> to skip this step.
I understand the commands that are listed here
<https://go.k8s.io/bot-commands>.
Instructions for interacting with me using PR comments are available here
<https://git.k8s.io/community/contributors/guide/pull-requests.md>. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
<https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:>
repository.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3335 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABIgnVbS2tRCJfxPNIXz0yiCM-CKl4-ks5vRvESgaJpZM4bVb-c>
.
|
|
The following is the coverage report on pkg/.
|
|
/retest |
|
I signed it! |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
/assign @tcnghia |
|
/assign @dgerd |
| } | ||
|
|
||
| // TODO(643) Change this logic in 0.5 to only drop the deprecated label | ||
| // Delete this logic in 0.6 |
There was a problem hiding this comment.
This is not what this change does. cc @dprotaso
There was a problem hiding this comment.
The comments are wrong.
In 0.4 there is actually a functional dependency on the deprecated label. That's being dropped for 0.5 here: #3325
So the earliest time we could add code to remove the 'deprecated label' is 0.6 - then in 0.7 delete the removal logic.
@pivotal-joshua-rider and I were thinking it's not a real issue to have the deprecated label /configurationMetadataGeneration around given that it should be the same value as the non-deprecated label /configurationGeneration.
Then we don't need to make work for ourselves in 0.6 and 0.7 wrt to this migration code.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattmoor, pivotal-joshua-rider The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test pull-knative-serving-upgrade-tests |
2 similar comments
|
/test pull-knative-serving-upgrade-tests |
|
/test pull-knative-serving-upgrade-tests |
Addresses #643
Drops the migration code used for the jump from 0.3 to 0.4.
Functional dependency on
/configurationMetadataGenerationis droppedin #3325.