nutanix-cloud-native / ndb-operator

Nutanix NDB Kubernetes Operator
Apache License 2.0
13 stars 24 forks source link

Added operation tracking #160

Closed manavrajvanshi closed 1 year ago

manavrajvanshi commented 1 year ago

What this PR does / why we need it: It adds operation tracking for situations like instance creation and de-registration. The following have been done in this PR:

  1. Changed the "PROVISIONING" state to "CREATING" (So it can be used for cloning too in the future).
  2. Added support for operations API to query for the specific operations.
  3. Updated DB CRD to store de-registration operation Id.
  4. Added operation tracking during creation and de-registration.
  5. Updated the add-api makefile target to copy the copyright text in new files.
  6. Removed unused statuses.

How Has This Been Tested?: Automation Test image

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration and test output

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note: