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

60 Коммитов

Автор SHA1 Сообщение Дата
tamilmani1989 1f32c9f54e
Remove parsing GatewayIP and passing down to CNI (#1590)
Removed getting gatewayIP from cns and passing to cni in result structure
2022-09-09 14:49:18 -07:00
dependabot[bot] 68645964c6
deps: bump go.uber.org/zap from 1.21.0 to 1.23.0 in /azure-ipam (#1561)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.21.0...v1.23.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-08 12:45:27 -07:00
Behzad Mirkhanzadeh 1fec709a25
feat: adding log rotation to Azure-IPAM Zap logger via lumberjack (#1523)
* adding log rotation to Azure-IPAM Zap logger via lumberjack

* feat: adding log rotation to Azure-IPAM Zap logger via lumberjack

* feat: adding log rotation to Azure-IPAM Zap logger via lumberjack. comments addressed.

* feat: adding log rotation to Azure-IPAM Zap logger via lumberjack. Addressed the empty filepath comment.

* feat: adding log rotation to Azure-IPAM Zap logger via lumberjack
2022-08-25 08:19:03 -07:00
Evan Baker 02c3d767bb
Update to Go 1.19 (#1505)
go 1.19

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-08-24 20:18:38 +00:00
Quang Nguyen 60e5a26565
feat: CNS manages endpoints state for delegate IPAM use case (#1500)
* rebase

* linting

* rebase

* missing if condition for releaseIPConfig

* update azure-cns.yaml and add UTs

* rebase

* update program iptables changes

* linting

* fix broken tests

* fix podinfoprovider returns error when key is not found

* log when no endpoint state exist when reconcilling

* not remove endpoint state file on failure to read in restserver.restoreState()

* addressed comments

* update acn tag

* go get on acn

* addressed comments

Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2022-08-23 16:42:40 -07:00
Evan Baker 00d0ca5627
update cns dep in azure-ipam (#1539)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-08-22 22:08:17 +00:00
Quang Nguyen 877970022a
Fix CNS Program iptables for delegated IPAM (#1499)
* rebase

* rebase

* rebase

* adding snat iptables rules using coreos lib

* fix iptables cmd not running

* docs

* added conflist back

* change chain name from SWIFT to SWIFT-POSTROUTING

* update go.mod

* split internalapi into linux and windows

* add imports

* fix iptables programming login

* fix iptables programming logic

* change program iptables rules logic
2022-08-15 13:00:32 -07:00
Evan Baker 6a89af2cdd
add cilium and azure-ipam to dropgz image (#1483)
add cilium, azilium, and azure-ipam to dropgz image

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-07-21 15:49:39 -07:00
Quang Nguyen f247d1be4b
Cilium Integration fixes (#1477)
* fixed not allocating loggerCfg in main

* Update azure-ipam/main.go

Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>

* inline logger config

* change logs output path

* check err from skel.PluginMainWithError

Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2022-07-21 09:15:47 -07:00
Quang Nguyen ee41b8bf8a
Delegated Azure IPAM (#1432)
* delegated azure-ipam

* gofumpted

* addressed linter

* minor formatting

* revert changes and make azure-ipam a separated module

* revert go.mod and go.sum

* addressed several comments

* remove env cases

* cleaner logging setup

* cleaner logging setup

* addressed more comments + conformed error type for return

* remove println from tests
2022-07-11 10:11:58 -07:00