fix: Handle async delete in stateless cni (#2967)
* feat: adding stateless CNI pipeline test
* feat: making change for stateless CNI pipeline
* feat: addressing the comments
* fix: fixing stateles cni yaml
* fix: stateless CNI delete fix
* fix: addressing the comments
* fix: addressing the comments and fix linter issues
* Update cns/fsnotify/fsnotify.go
Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>
* Update cni/network/network.go
Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>
* Update cni/network/network.go
Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>
* fix: addressing the comments
* fix: fix the error code.
* Fix: decoupling hnsclient form CNS watcher
* fix: adding endpointmanager package to resolve platfrom specific call to HNS
* Update cns/endpointmanager/endpointmanager_linux.go
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>
* Update cns/service/main.go
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>
* Fix: addressing the comments
* fix: removing stateless CNI pipline changes form the PR
* Update cns/configuration/configuration.go
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>
* addressing the comment
---------
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>
Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>