-
Notifications
You must be signed in to change notification settings - Fork 72
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
fix: make binding executable directly in the bash #419
Conversation
@@ -57,6 +57,7 @@ Waiting for status from ManagedKafkaConnection resource. | |||
Created ManagedKafkaConnection can be already injected to your application | |||
by creating Service Binding (requires ServiceBindingOperator): | |||
|
|||
cat <<EOF | kubectl apply -f - |
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.
This should print to stdout.
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.
Would it be possible to ensure order of the messages ?
I really want this to be also printed in the bash in proper order.
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.
It should be split into three messages.
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.
Ah.. ok so bash will print both error and stdout.
- printErr(Success)
- printSTD binding
- printErro more bessages
Great idea! Will do that today!
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.
Exactly!
c0838d5
to
8842cac
Compare
Verification:
|
FYI @secondsun :) might be handy for end to end testing sandbox :D |
Issue reported by evaluator #418
Based on https://kubernetes.io/docs/reference/kubectl/cheatsheet/#creating-objects