-
Notifications
You must be signed in to change notification settings - Fork 382
Change svcat --kube-context to --context to align with kubectl #1821
Comments
Hi @carolynvs ! Thanks for posting this on Slack 😄 I have not worked on the kubectl code before, any pointers on how I can get started to help? |
@Bubblemelon Feel free to ping me on slack if you have questions on how to get started. I know it's harder to get traction when every question needs to wait for me to read my email. 😀 Here is the code that needs to be changed: https://github.com/kubernetes-incubator/service-catalog/blob/70afb56e632856e8381d93a21137c6b729be3f71/cmd/svcat/main.go#L95 If you haven't installed minikube yet, I recommend starting there and getting comfortable with the basic kubectl commands to list pods, and try out the configuration flags for https://kubernetes.io/docs/tutorials/stateless-application/hello-minikube/ This issue is changing the svcat code (in this repo) to use a different flag name and description to handle saying that the user wants to use a named context. Right now the flag is called Here's more info on contexts which should help you setup a second context and test your changes: https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/ This fix does not require adding new tests, but may require updating any tests that break (I don't anticipate that). To run the tests run |
@Bubblemelon Is this still something that you'd like to work on? Let me know if you are stuck or have questions! 💖 |
Hi @carolynvs thanks for the kind reminder! 😅 |
When I was doing a walkthrough the dev guide, I encountered this error after following the Build instructions:
This was returned after doing ctrl+c I located the section in the makefile that was causing it to hang:
Do you know what might be causing this ? |
I am not sure what is causing that... 🤔 For now you can run this command to build and test your changes:
|
Thanks! Those commands worked 😃 However, |
* resolves the following issue (kubernetes-retired#1821) Change svcat --kube-context to --context to align with kubectl
…netes-retired#1821) * simply renamed the string kube-context flag as context
…netes-retired#1821) * simply renamed the string kube-context flag as context
Here are my changes: #1997 |
There are 3 commits with the same content because I was trying to change my commit message format to match with previous commits on the master. |
The svcat flag
--kube-context
should be renamed to--context
to align kubectl's flags.The text was updated successfully, but these errors were encountered: