Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

Upgrade Job to delete {pullsubscription,topic}.pubsub.cloud.google.com COs #1137

Closed
Harwayne opened this issue May 27, 2020 · 1 comment · Fixed by #1383
Closed

Upgrade Job to delete {pullsubscription,topic}.pubsub.cloud.google.com COs #1137

Harwayne opened this issue May 27, 2020 · 1 comment · Fixed by #1383
Assignees
Labels
area/sources kind/feature-request New feature or request priority/1 Blocks current release defined by release/* label or blocks current milestone
Milestone

Comments

@Harwayne
Copy link
Contributor

Problem
#905 switched from the old API group to the new one. The old API group will be deleted by 0.16 (see #1035). In order to not leak resources in GCP, the custom objects in the old API group need to be deleted while the controller is still reconciling them (e.g. before 0.16).

Exit Criteria
An upgrade Job that deletes all {pullsubscription,topic}.pubsub.cloud.google.com custom objects in the cluster.

@Harwayne Harwayne added kind/feature-request New feature or request priority/1 Blocks current release defined by release/* label or blocks current milestone release/1 labels May 27, 2020
@grantr grantr removed the release/1 label Jun 2, 2020
@grantr grantr added this to the v0.16.0-M2 milestone Jun 2, 2020
@grantr grantr modified the milestones: v0.16.0-M2, Backlog Jun 2, 2020
@Harwayne Harwayne modified the milestones: Backlog, v0.16.0-M2 Jun 2, 2020
@nachocano nachocano modified the milestones: v0.16.0-M2, v0.16.0-M3 Jun 24, 2020
@Harwayne
Copy link
Contributor Author

The commands to do this manually are:

kubectl delete pullsubscriptions.pubsub.cloud.google.com --all-namespaces --all
kubectl delete topics.pubsub.cloud.google.com --all-namespaces --all

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/sources kind/feature-request New feature or request priority/1 Blocks current release defined by release/* label or blocks current milestone
Projects
None yet
4 participants