-
Notifications
You must be signed in to change notification settings - Fork 462
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
move snapshots interface to localhost #10302
Conversation
Visit the preview URL for this PR (updated for commit 1b27f44): https://gloo-edge--pr10302-yuval-k-snapshot-loc-2i93ab1z.web.app (expires Tue, 19 Nov 2024 06:42:51 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 77c2b86e287749579b7ff9cadb81e099042ef677 |
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!
What's the long-term plan for that env variable that controls the behavior? Is it intended as a short-terms backwards compatibility?
Yes, i left it there just in case someone depends on the old functionality. if no one complains delete in 1.19 |
"github.com/solo-io/go-utils/threadsafe" | ||
) | ||
|
||
const ( | ||
InputSnapshotPath = "/snapshots/input" | ||
DefaultAdminPort = 9091 | ||
|
||
DefaultAdminPort = admin.AdminPort |
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.
I'd almost say drop this export?
It's used here and in one (1) test, and in that test might as well import "github.com/solo-io/gloo/projects/gloo/pkg/servers/admin"
Not a big deal tho.
move the snapshots debug endpoints to a localhost only admin interface