Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
rejain456 fb6f1b5cee
feat: [NPM] Adding Npm Lite (#3005)
* added npm lite feature

* enabled npm lite flag

* revert changes

* fix yaml file

* added unit test to test cidr only network policies allowed

* fixed comments

* updated comments

* added space in comment

* added test cases, fixed pr comments

* fixed lint errors

* fixed logic for pod informer

* refactored logic

* updated variable

* updated unit test case and desciption

* added logic to not allow named ports and updated error description

* added extra unit test cases

* created a new azure-npm-lite file

* resolve pr comments

* added a new line

* removed a new line

* added a new line

* added a new line

* added a new line

* fixed a lint formatting issue

* seperate params into two lines - lint

* modified formatting

* added npm yaml file for lte

* turned of npm lite

* fixed lint error

* followed go list suggestion - combine multi same param type

* refactored function param line

* fixed param line

* enebaled npm lite

* moved yaml files around

* ran gofumpt on the files

* added a unit test and disabled npm lite

* revert

* refactored yaml files

* combined npm files

* added seperation of daemon sets

* added unit test for fail scenario

* added unit test for fail scenario

* fixed all unit test cases

* seperated the 2 yamlf iles

* updated unit test

* enabled npm lite
2024-09-30 23:41:51 +00:00
Hunter Gregory c2c1d45ceb
feat: [NPM] v2 as default config & PlaceFirst toggle functionality for v2 (#1233)
* add placeFirst to pMgr cfg

* add placeFirst=false functionality to v2

* use constant instead of bool values for placeFirst

* fix bug and update cyclonus profiles

* set placefirst config based on configmap

* make code cleaner

* position azure jump first or directly after kube jump

* fix npm encoder ut
2022-02-16 15:37:40 -08:00
Nitish Malhotra 6a63ac05a7
feat: [NPM] Create controlplane manager for decomposed model (#1189)
* Revert to smaller footprint

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Add dataplane manager implementation

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Add start commands for cp and dp

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Address PR comments

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Add dp and dpshim layers to respective constructor

- Completed the TODO items including instantiating the
  goalstateprocessor and passing it to the controllers
- Refactor of the code and add error/corner condition checks to all
  initializers.

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Update names to server and daemon

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Fix lint warnings and errors

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Fix unwrapped error warning

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Address comments

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* rename npm transport components

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Address comments from Hunter

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Fix issue with ctor dataplane client

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* Rename transport to events naming conventions

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>

* combine consts

Signed-off-by: Nitish Malhotra <nitishm@microsoft.com>
2022-01-19 16:41:55 -08:00
Mathew Merrick 60820006e1
refactor: move existing npm controllers to v1 (#1040)
* put v2 behind toggle
2021-10-20 13:03:12 -07:00