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

init httproute controller #345

Merged
merged 8 commits into from
Mar 13, 2024
Merged

Conversation

Abdiramen
Copy link
Collaborator

@Abdiramen Abdiramen commented Feb 22, 2024

What

Add the http route controller which corresponds to an ngrok https edge

How

  • generate controller
  • plug into store
  • update driver

Breaking Changes

nope

@Abdiramen
Copy link
Collaborator Author

Abdiramen commented Feb 22, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Abdiramen and the rest of your teammates on Graphite Graphite

@github-actions github-actions bot added area/controller Issues dealing with the controller area/helm-chart Issues dealing with the helm chart labels Feb 22, 2024
@github-actions github-actions bot removed area/helm-chart Issues dealing with the helm chart labels Feb 22, 2024
@Abdiramen Abdiramen force-pushed the oz/http_route branch 2 times, most recently from bcb13c3 to 1b270a3 Compare February 22, 2024 21:26
@Abdiramen Abdiramen force-pushed the oz/set-experimental-gateway-flag branch from f3a953e to d3d394d Compare February 22, 2024 21:28
@Abdiramen Abdiramen force-pushed the oz/set-experimental-gateway-flag branch from d3d394d to 810522a Compare February 22, 2024 21:38
@Abdiramen Abdiramen force-pushed the oz/http_route branch 2 times, most recently from 97baeb3 to f840f27 Compare February 26, 2024 19:30
@github-actions github-actions bot added the area/helm-chart Issues dealing with the helm chart label Feb 26, 2024
@Abdiramen Abdiramen force-pushed the oz/set-experimental-gateway-flag branch from c8ac507 to dfbc8c4 Compare March 4, 2024 14:30
@Abdiramen Abdiramen marked this pull request as ready for review March 4, 2024 19:36
@Abdiramen Abdiramen requested a review from a team as a code owner March 4, 2024 19:36
@Abdiramen Abdiramen merged commit 1a5de2a into oz/set-experimental-gateway-flag Mar 13, 2024
1 check passed
@Abdiramen Abdiramen deleted the oz/http_route branch March 13, 2024 14:35
Abdiramen added a commit that referenced this pull request Mar 14, 2024
* add experimetnal gateway flag

* update store

* sperate experimental gateway deploy from normal deploy process

* split http edge for gateway

* update helm snapshot tests

* lint

* fix build issue

* remove comments

* use flag in driver seed/sync

* move util functions

* clean-up controller

* add DeleteNamedGateway function

* set domainNaim var

* block httproutes from seeding

* get domainmaps

* init httproute controller (#345)

* init httproute controller

* only start HTTPRouteReconciler if gateway flag is set

* setup reconciler struct

* update reconciler markers

* run httproute edge creation

* Gateway handles traffic

* remove debug log

* map HTTProute to HTTPSEdge

* implement HTTPRouteRules (#347)

* init httproute controller

* only start HTTPRouteReconciler if gateway flag is set

* setup reconciler struct

* update reconciler markers

* run httproute edge creation

* Gateway handles traffic

* remove debug log

* map HTTProute to HTTPSEdge

* add HTTPRouteMatch

* convert filters to traffic policy actions

* fix RequestRedirect filter

* fix request redirect filter

* fix domain issue

* switch request redirect to redirect action

* remove log

* emmit error if regex path match is created

* remove unsupported match types

* add AllowedRoutes check

* rename utils/ to controllers/

* update helm snapshots

* remove spaces

* check if listener has hostname field

* move functions with their structs

* don't finalize ingored gateway

* boolean logic fix

* remove unsed function param

* rename module set func to endpoint policy

* clean up some comments

* fix spelling/copy-paste errors

* fix more boolean errors

* Revert "remove unsed function param"

This reverts commit 02b6795.

* remove hostnames not in gateway domain map

* turn gateway domains to a map

* skip non HTTPS listeners

* pull out boolean inside of getDriver

* fix copy-paste error

* don't build edge if traffic unsupported filters are set

* handle error case for all filters

* merge edgemaps

* don't overwrite gateway domain map

* cleanup comments

* use loop instead of func

* throw more errors

* fix lint

* use guard statements

* rename to hasReference

* inline error check

* encapsulate double pointer to struct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Issues dealing with the controller area/helm-chart Issues dealing with the helm chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant