-
Notifications
You must be signed in to change notification settings - Fork 437
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
Admin endpoint: return more resources #9766
Conversation
… admin-endpoint-flatten
Visit the preview URL for this PR (updated for commit 702820a): https://gloo-edge--pr9766-admin-endpoint-more-21b1wfym.web.app (expires Wed, 24 Jul 2024 01:33:55 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 77c2b86e287749579b7ff9cadb81e099042ef677 |
Issues linked to changelog: |
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 is awesome! 🚀
I think there is some opportunity for serving a specific resource type on /snapshots/input/{kind}
or /snapshots/input/{groupkind}
but even just with jq magic, this is so useful e.g.
curl -s localhost:9091/snapshots/input | jq '.[] | select(.kind=="GatewayParameters" or .kind=="RouteOption" or .kind=="Settings") | .kind, .spec, .status'
* add convert code * make getRedactedApiSnapshot private * flatten kube resources * rename client * fix tests * changelog * add comments and test * return more resources * refactor gvks check * refactor numfields check * changelog * add more tests --------- Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
* Flatten resources returned by Admin endpoint (#9760) * add convert code * make getRedactedApiSnapshot private * flatten kube resources * rename client * fix tests * changelog * add comments and test * refactor gvks check * refactor numfields check --------- Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com> * Admin endpoint: return more resources (#9766) * add convert code * make getRedactedApiSnapshot private * flatten kube resources * rename client * fix tests * changelog * add comments and test * return more resources * refactor gvks check * refactor numfields check * changelog * add more tests --------- Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com> * Admin endpoint: allow overriding kube gateway gvks (#9716) * extensions startfuncs * add convert code * make getRedactedApiSnapshot private * flatten kube resources * rename client * fix tests * changelog * add comments and test * return more resources * refactor gvks check * refactor numfields check * updates * set gvks * pass history as param * sort proxies too * remove the startfuncs stuff * changelog * add more tests * update api * changelog * add tests * refactor sort * Adding changelog file to new location * Deleting changelog file from old location * refactor * fix tests * fix compile * empty * add SnapshotHistoryFactory to validation --------- Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com> Co-authored-by: changelog-bot <changelog-bot> * consolidate changelogs --------- Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
Description
Part 2 of updates to admin server input snapshot endpoint:
Checklist: