Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

[WIP] Add states to assigned identity #255

Closed
wants to merge 1 commit into from

Conversation

aramase
Copy link
Member

@aramase aramase commented Jun 21, 2019

Reason for Change:

Add states to assigned identity

  • Created: When the assigned crd is created
  • Assigned: The identity is successfully assigned to node
  • Unassigned: When the identity is successfully removed from node

Issue Fixed:

resolves #256

Notes for Reviewers:

@aramase aramase added this to the v1.5 milestone Jun 21, 2019
@@ -35,7 +35,7 @@ func filterUserIdentity(idType *compute.ResourceIdentityType, idList *[]string,
case compute.ResourceIdentityTypeUserAssigned,
compute.ResourceIdentityTypeSystemAssignedUserAssigned:
default:
return errNotFound
return nil
Copy link
Contributor

Choose a reason for hiding this comment

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

We should check for TypeNone and return nil from there, but keep the default as is.

@aramase
Copy link
Member Author

aramase commented Jun 28, 2019

Closing this PR in favor of #219

@aramase aramase closed this Jun 28, 2019
@aramase aramase deleted the aad-states branch June 28, 2019 20:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add States for CRD
2 participants