-
Notifications
You must be signed in to change notification settings - Fork 174
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
Auto correct the IP if the operator set their IP to localhost when opt-in #136
Auto correct the IP if the operator set their IP to localhost when opt-in #136
Conversation
@shrimalmadhur This can affect the operator setup or experience. |
PubIPProviderFlag = cli.StringFlag{ | ||
Name: "public-ip-provider", | ||
Usage: "The ip provider service used to obtain a operator's public IP [seeip (default), ipify)", | ||
Required: true, |
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.
Does this need to be required? @shrimalmadhur
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.
oh umm - I don't think we should put it as required - can we make this as optional and by default point to seeip
?
We can re-use the .env
one in the setup
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
Why are these changes needed?
We are seeing more operators setting their Node IP to localhost.
Such Nodes won't be reachable from public. We should auto correct the IP (from localhost to current IP with IP checker) when the operator registers.
Checks