Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make che-operator non blocking #212

Merged
merged 6 commits into from
Apr 10, 2020
Merged

Make che-operator non blocking #212

merged 6 commits into from
Apr 10, 2020

Conversation

tolusha
Copy link
Contributor

@tolusha tolusha commented Mar 30, 2020

What does this PR do

PR allows not to wait for minutes until deployment is ready and returns immediately into reconcile loop to process next events.

Commits to review

PR contains updates for vendor folder, so it is huge. Just review the following commits:

51fc885

Where did I test it?

  • minikube
  • ocp4.3

How did I test it?

  1. Deploy without tls mode
  2. Wait Eclipse Che is ready
  3. Edit CR to set 'tls' and 'selfSignedCert` to true
  4. Wait Eclipse Che is ready
  5. Do step 1. and 3 several times without waiting when che deployment is ready,
    Observe che-operator logs to ensure deployment is non-blocking.
  6. Wait Eclipse Che is ready

Reference issue

eclipse-che/che#15127

@tolusha tolusha marked this pull request as ready for review March 31, 2020 14:28
@tolusha tolusha changed the title Make che-operator non blocking [WIP] Make che-operator non blocking Apr 1, 2020
tolusha added 2 commits April 2, 2020 12:00
Signed-off-by: Anatoliy Bazko <[email protected]>
Signed-off-by: Anatoliy Bazko <[email protected]>
@tolusha tolusha changed the title [WIP] Make che-operator non blocking Make che-operator non blocking Apr 2, 2020
Copy link
Contributor

@davidfestal davidfestal left a comment

Choose a reason for hiding this comment

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

Great work !

I left quite a number of comments, mainly question or proposals.

pkg/deploy/che_configmap.go Outdated Show resolved Hide resolved
pkg/deploy/deployment.go Outdated Show resolved Hide resolved
pkg/deploy/deployment_che.go Show resolved Hide resolved
pkg/deploy/deployment_che.go Show resolved Hide resolved
pkg/deploy/deployment_che.go Show resolved Hide resolved
pkg/controller/che/che_controller.go Outdated Show resolved Hide resolved
pkg/controller/che/che_controller.go Show resolved Hide resolved
pkg/controller/che/che_controller.go Show resolved Hide resolved
pkg/controller/che/che_controller.go Show resolved Hide resolved
pkg/controller/che/che_controller.go Show resolved Hide resolved
tolusha added 4 commits April 10, 2020 09:56
Signed-off-by: Anatoliy Bazko <[email protected]>
Signed-off-by: Anatoliy Bazko <[email protected]>
Signed-off-by: Anatoliy Bazko <[email protected]>
Copy link
Contributor

@AndrienkoAleksandr AndrienkoAleksandr left a comment

Choose a reason for hiding this comment

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

Tested. Works, well.

)

var (
trustpass = util.GeneratePasswd(12)
Copy link
Contributor

Choose a reason for hiding this comment

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

trustPass

Copy link
Contributor

@davidfestal davidfestal left a comment

Choose a reason for hiding this comment

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

Great refactoring !

@tolusha tolusha merged commit a8c1554 into master Apr 10, 2020
@tolusha tolusha deleted the ab/refactoring branch April 10, 2020 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants