-
Notifications
You must be signed in to change notification settings - Fork 62
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
refactoring for easy unit-test and cm-cli integration #13
refactoring for easy unit-test and cm-cli integration #13
Conversation
Signed-off-by: Dominique Vernier <dvernier@redhat.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: itdove The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold |
Signed-off-by: Dominique Vernier <dvernier@redhat.com>
Signed-off-by: Dominique Vernier <dvernier@redhat.com>
pkg/cmd/join/exec.go
Outdated
if err != nil { | ||
return err | ||
} | ||
|
||
//quick fix for https://github.com/open-cluster-management-io/clusteradm/issues/12 | ||
fmt.Printf("Wait 10 sec... for the crd to be effective\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could use wait.Until here to get crd of clustermanager.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implement retry.OnError
Signed-off-by: Dominique Vernier <dvernier@redhat.com>
Signed-off-by: Dominique Vernier <dvernier@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/unhold |
* upgrade to kubernetes 1.25.4 Signed-off-by: clyang82 <chuyang@redhat.com> * upgrade apiextensions-apiserver as well Signed-off-by: clyang82 <chuyang@redhat.com> Signed-off-by: clyang82 <chuyang@redhat.com>
Refactoring for easy unit-tests and cm-cli integration
Also quick fix for : #12
Remove the "verbs" notion, use groups like oc
Signed-off-by: Dominique Vernier dvernier@redhat.com