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

Fix handling of enable-console option #412

Merged
merged 1 commit into from
Feb 26, 2021
Merged

Conversation

grs
Copy link
Member

@grs grs commented Feb 24, 2021

No description provided.

@grs grs force-pushed the issue-406 branch 2 times, most recently from f90d06c to da654e2 Compare February 25, 2021 00:13
Copy link
Member

@fgiorgetti fgiorgetti left a comment

Choose a reason for hiding this comment

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

Unit tests are passing using both mock and real cluster.
I have also verified --enable-console=true and --enable-console=false using the skupper command and it is working properly as well.

One comment or suggestion would be to allow modifying --enable-console value through SiteConfigUpdate so users can enable the console on an already initialized namespace, if needed. If you think it is a good idea, I can raise an issue.

@grs
Copy link
Member Author

grs commented Feb 25, 2021

One comment or suggestion would be to allow modifying --enable-console value through SiteConfigUpdate so users can enable the console on an already initialized namespace, if needed. If you think it is a good idea, I can raise an issue.

I agree that would be a useful enhancement. (The intention is eventually that all aspects can be updated)

@fgiorgetti
Copy link
Member

One comment or suggestion would be to allow modifying --enable-console value through SiteConfigUpdate so users can enable the console on an already initialized namespace, if needed. If you think it is a good idea, I can raise an issue.

I agree that would be a useful enhancement. (The intention is eventually that all aspects can be updated)

And I believe this is going to be addressed by an existing issue #58. Thank you!

@ajssmith
Copy link
Member

iiuc, intent is the console should be enabled by default, should default be changed from false to true in cmd/skupper/skupper.go?

Otherwise, user will need to '--enable-console on init'

@grs
Copy link
Member Author

grs commented Feb 26, 2021

iiuc, intent is the console should be enabled by default, should default be changed from false to true in cmd/skupper/skupper.go?

Yes! Had not realised that it was off by default there. Previously the flag was not properly honoured so would always be on regardless. With this fix though we do need to change the default which I have now done.

Well spotted!

Copy link
Member

@ajssmith ajssmith left a comment

Choose a reason for hiding this comment

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

lgtm

built and tried true/false on OpenShift and minikube.

@grs grs merged commit 247522b into skupperproject:master Feb 26, 2021
@grs grs deleted the issue-406 branch February 26, 2021 19:19
@ajssmith ajssmith linked an issue Mar 22, 2021 that may be closed by this pull request
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.

How do I disable console?
3 participants