consul/internal/controller
Nathan Coleman ab60fec15a
[NET-6426] Add gateway proxy controller that generates empty proxy state template (#19901)
* NET-6426 Create ProxyStateTemplate when reconciling MeshGateway resource

* Add TODO for switching fetch method based on gateway type

* Use gateway-kind in workload metadata instead of owner reference

* Create ProxyStateTemplate builder for gatewayproxy controller

* Update to use new controller interface

* Add copyright headers

* Set correct name for ProxyStateTemplate identity reference

* Generate empty ProxyStateTemplate by fetching MeshGateway

This cheats and looks up the MeshGateway directly. In the future, we will need a Workload => xGateway mapper

* Specify owner reference when writing ProxyStateTemplate

* Update dependency mapper to account for multiple controllers per resource type

* Regenerate v2 resource dependencies map

* Add helpful trace logs, tag TODOs with ticket identifiers
2023-12-21 16:37:47 -05:00
..
cache Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
controllermock Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
dependency Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
testdata Prevent circular dependencies between v2 resources and generate a mermaid diagram with their dependencies (#19230) 2023-10-18 10:55:32 -04:00
.mockery.yaml Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
controller.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
controller_test.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
custom_watch.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
dependencies.go [NET-6426] Add gateway proxy controller that generates empty proxy state template (#19901) 2023-12-21 16:37:47 -05:00
dependencies_test.go Prevent circular dependencies between v2 resources and generate a mermaid diagram with their dependencies (#19230) 2023-10-18 10:55:32 -04:00
doc.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
helper.go mesh: Add ComputedProxyConfiguration and a controller that computes it. (#19043) 2023-10-10 17:34:53 -06:00
helper_test.go mesh: create new routes-controller to reconcile xRoute types into a ComputedRoutes resource (#18460) 2023-09-12 12:08:51 -05:00
lease.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
manager.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
runner.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
supervisor.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
supervisor_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
watch.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00