-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set RepositoryServerCR Conditions (#2169)
* Revert "Revert "Refactor RepositoryServer controller (#2136)" (#2150)" This reverts commit 64595c9. * Remove logs from RepositoryServer Controller Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Remove logs Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Add logs and values that add name and namespace to the logger Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Run gofmt Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Run gofmt Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Handle CR status conditions for Updating Service and pod Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Update CR status after updating condition Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * update overall status intead of progress Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Handle status condition for All stages in Reconcile function Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Run gofmt Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * handle case for Pod in crashloopbackoff state Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Remove handling for pod crashloopbackoff status Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Handle failure scenario for starting Repo proxy server Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Handle failure scenario for server refresh Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Refactor reconcile function Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * typo in using err variable Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Run gofmt Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Fix lint Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Refactor code that were not aligned due to rebase Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Remove Event handling changes Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Remmove Error handling for RefreshServer and StartRepoProxyServer Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Remmove unnecessary log statement Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Set condition to nil on every reconcilition run Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Address review comments Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Address review comments Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Add ConsitionStatus struct Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> * Address review comments Remove ConditionStatus Struct and its usage Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> --------- Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6f6ab7e
commit 04fbe86
Showing
4 changed files
with
89 additions
and
32 deletions.
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
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