This repository has been archived by the owner on Jun 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
Reconcilers delete old Topics and PullSubscriptions #1066
Merged
knative-prow-robot
merged 39 commits into
google:master
from
Harwayne:905-reconcilers-delete-old-crds
May 21, 2020
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
af878a7
Copy the PubSub PullSubscription and Topic controllers.
Harwayne b330382
Prefix PullSubscription and Topic functions with PubSub.
Harwayne b3eec6e
Listers too.
Harwayne 1fb95fd
Add the testing methods.
Harwayne 34066a8
Merge branch 'master' into 905-new-reconcilers
Harwayne e969716
Add to webhook.
Harwayne ddbccef
Merge branch 'master' into 905-new-reconcilers
Harwayne 061bcad
Merge branch 'master' into 905-new-reconcilers
Harwayne e8c4a54
Add back the reconciler testing helpers, accidentally removed in a pr…
Harwayne db5f6c5
Merge branch 'master' into 905-new-reconcilers
Harwayne 153c166
Merge branch 'master' into 905-new-reconcilers
Harwayne d47b8b6
Switch to the intevents API group.
Harwayne 6138a61
Move generic pubsub reconciler.
Harwayne 2885d49
Switch PubSubBase to intevents.
Harwayne 9344191
Switch to the intevents base reconciler.
Harwayne ecba4d4
Unit tests.
Harwayne 76f2fbd
Missed entries.
Harwayne 330a06e
Readd the pubsub generic reconciler, used only by components in pkg/r…
Harwayne 0c1ef9f
Merge branch 'master' into 905-new-reconcilers
Harwayne 66ac06b
Merge branch 'master' into 905-move-to-new-crds
Harwayne 1c85941
Merge branch 'master' into 905-new-reconcilers
Harwayne f237cbf
Copy over the generic pubsub reconciler.
Harwayne 77ac113
Merge branch '905-new-reconcilers' into 905-move-to-new-crds
Harwayne f5c2088
Merge branch 'master' into 905-move-to-new-crds
Harwayne 0bba6cd
Remove unused listers.
Harwayne ff9e50f
Add the new CRD definitions.
Harwayne ef1def0
Add to controller.
Harwayne 8df578f
Switch tests.
Harwayne 9324a1f
Merge branch 'master' into 905-move-to-new-crds
Harwayne df2738a
Extract reoncileTopic.
Harwayne 347ed29
Delete old COs when the new CO is ready=true.
Harwayne e4c1926
Topics set NoDelete before deletion.
Harwayne 9b43dee
Merge branch 'master' into 905-reconcilers-delete-old-crds
Harwayne 0953312
Unit tests.
Harwayne 1f14fa4
Merge branch 'master' into 905-reconcilers-delete-old-crds
Harwayne 80fdaa2
Merge branch 'master' into 905-reconcilers-delete-old-crds
Harwayne 18f86ad
Merge branch 'master' into 905-reconcilers-delete-old-crds
Harwayne fa20ff2
Merge branch 'master' into 905-reconcilers-delete-old-crds
Harwayne 31d5d40
PR comments.
Harwayne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this one needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The event recorder requires a
runtime.Object
. In thedeleteOldPubSub*CO
methods, I write an event if the old CO is not owned by the pubsubable.