Skip to content

Certain resources should be ignored once they have a deletionTimestamp #14983

Open

Description

@enj

The following resources should not be honored once they are awaiting deletion:

  1. oauthclientauthorization
  2. ??

xref #14978 (comment)

@openshift/security

Activity

  1. pweil- commented on Jul 4, 2017

    @pweil-

    @mfojtik I believe I saw a PR from @deads2k that started addressing this

  2. deads2k commented on Jul 5, 2017

    @deads2k
    Contributor

    @mfojtik I believe I saw a PR from @deads2k that started addressing this

    I fixed up three resources in three spots for authentication, but not the large problem. oauthclientauthorizations are still outstanding.

    I also fixed the GC finalizers being added to non-gc-able resources, but that doesn't stop someone (anyone with update powers) from adding more finalizers.

  3. changed the title [-]Certain resources should be ignored once they have a finalizer[/-] [+]Certain resources should be ignored once they have a deletionTimestamp[/+] on Jul 5, 2017
  4. assigned and unassigned on Jul 12, 2017
  5. added this to the milestone on Aug 1, 2017
  6. adelton commented on Sep 8, 2017

    @adelton
    Contributor

    I fixed up three resources in three spots for authentication, but not the large problem. oauthclientauthorizations are still outstanding.

    @deads2k, could you please point me to the change where you addressed it for those three resources, and where you think things should be addressed for oauthclientauthorization?

  7. enj commented on Sep 9, 2017

    @enj
    ContributorAuthor

    @adelton see #14978

    oauthclientauthorization are cluster scoped which means that they are not GC'd (as far as I know). Tracking issue: #15120

    Unlike the stuff that David already fixed, oauthclientauthorizations are not secrets, and while we should add special logic to ignore them if they have a deletion timestamp, the bigger issue is they should go away if their "pointers" are invalid. #15121 is related to this as well.

    HasAuthorizedClient in pkg/auth/oauth/registry/grantchecker.go around line 32 is probably where the deletion check should be added.

  8. modified the milestones: , on Oct 9, 2017
  9. openshift-bot commented on Feb 22, 2018

    @openshift-bot
    Contributor

    Issues go stale after 90d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.
    Exclude this issue from closing by commenting /lifecycle frozen.

    If this issue is safe to close now please do so with /close.

    /lifecycle stale

  10. added
    lifecycle/stale
    on Feb 22, 2018
  11. openshift-bot commented on Mar 24, 2018

    @openshift-bot
    Contributor

    Stale issues rot after 30d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle rotten.
    Rotten issues close after an additional 30d of inactivity.
    Exclude this issue from closing by commenting /lifecycle frozen.

    If this issue is safe to close now please do so with /close.

    /lifecycle rotten
    /remove-lifecycle stale

  12. added
    lifecycle/rotten
    and removed
    lifecycle/stale
    on Mar 24, 2018
  13. openshift-bot commented on Apr 23, 2018

    @openshift-bot
    Contributor

    Rotten issues close after 30d of inactivity.

    Reopen the issue by commenting /reopen.
    Mark the issue as fresh by commenting /remove-lifecycle rotten.
    Exclude this issue from closing again by commenting /lifecycle frozen.

    /close

  14. added
    lifecycle/frozen
    and removed
    lifecycle/rotten
    on Apr 24, 2018
  15. reopened this on Apr 24, 2018
  16. enj commented on Oct 16, 2019

    @enj
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/securitycomponent/authlifecycle/frozenpriority/P2

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions