John Payne
0a48278af5
ci: update Cyclonus workflow triggers ( #2868 )
...
ci: update Cyclonus triggers
2024-07-22 22:27:08 +00:00
John Payne
f5ca48267e
[fix] ci: update cyclonus workflow ( #2866 )
...
ci: update cyclonus workflow
2024-07-21 18:51:53 +00:00
dependabot[bot]
d82a441deb
ci: bump golangci/golangci-lint-action from 5 to 6 ( #2734 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 19:05:34 +00:00
John Payne
a1ce2878dc
ci: Remove merge queue workflow ( #2704 )
...
ci: remove workflow
2024-05-30 17:07:42 +00:00
dependabot[bot]
cba6ded6b1
ci: bump Azure/login from 2.0.0 to 2.1.0 ( #2691 )
...
Bumps [Azure/login](https://github.com/azure/login ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/azure/login/releases )
- [Commits](https://github.com/azure/login/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: Azure/login
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-17 00:41:09 +00:00
dependabot[bot]
3783c0c65f
ci: bump golangci/golangci-lint-action from 4 to 5 ( #2709 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-25 18:43:37 +00:00
dependabot[bot]
5bcf93a8bf
ci: bump azure/CLI from 1 to 2 ( #2639 )
...
Bumps [azure/CLI](https://github.com/azure/cli ) from 1 to 2.
- [Release notes](https://github.com/azure/cli/releases )
- [Changelog](https://github.com/Azure/cli/blob/master/ReleaseProcess.md )
- [Commits](https://github.com/azure/cli/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: azure/CLI
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 17:22:14 +00:00
John Payne
40b8446356
ci: Increase Codeql timeout ( #2645 )
...
ci: increase codeql timeout
2024-03-15 19:10:52 +00:00
dependabot[bot]
7ae6333c9b
ci: bump Azure/login from 1.6.1 to 2.0.0 ( #2640 )
...
Bumps [Azure/login](https://github.com/azure/login ) from 1.6.1 to 2.0.0.
- [Release notes](https://github.com/azure/login/releases )
- [Commits](https://github.com/azure/login/compare/v1.6.1...v2.0.0 )
---
updated-dependencies:
- dependency-name: Azure/login
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 21:23:10 +00:00
rayaisaiah
8d68e7527a
chore: [NPM] Updated NPM to Not Share Host's UTS Namespace + Image/Configmap Alignment with Prod ( #2589 )
...
* Added a security context for allowPrivilegeEscalation and readOnlyRootFilesystem
* Update npm linux to not share the host's UTS namespace and tested locally
* Updated image and configmap of npm to match prod/managed
* kept EnablePprof on for debugging
* Updating k8s version for kind for cyclonus tests
* test
* test
* updated cluster name
* Revert "updated cluster name"
This reverts commit 7715c91098
.
* update name
* Updated k8s version
* updated k8s version
* changed k8s version to version of local cluster
* updated kind node version for control plane
* version update
* updated kind version
* updated worker images for kind
2024-02-15 22:28:26 +00:00
John Payne
aa5a9a3040
fix: no longer use pip and keyring for az devops login ( #2593 )
...
* fix: no longer use pip keyring for login
* chore: address comments
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
---------
Signed-off-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2024-02-15 17:04:13 +00:00
dependabot[bot]
5627d0a2cc
ci: bump golangci/golangci-lint-action from 3 to 4 ( #2575 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 16:18:52 +00:00
John Payne
5171d7ebb2
fix: az pipeline output within Merqe Queue Check ( #2560 )
...
fix: az pipeline bug
2024-02-05 21:04:55 +00:00
dependabot[bot]
0cb52df239
ci: bump Azure/login from 1.6.0 to 1.6.1 ( #2525 )
...
Bumps [Azure/login](https://github.com/azure/login ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/azure/login/releases )
- [Commits](https://github.com/azure/login/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: Azure/login
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 17:27:46 +00:00
John Payne
34fa550128
ci: increase dependabot PR limit to 10 ( #2497 )
2024-01-10 23:39:19 +00:00
dependabot[bot]
6d0fad14a8
ci: bump Azure/login from 1.5.1 to 1.6.0 ( #2486 )
...
Bumps [Azure/login](https://github.com/azure/login ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/azure/login/releases )
- [Commits](https://github.com/azure/login/compare/v1.5.1...v1.6.0 )
---
updated-dependencies:
- dependency-name: Azure/login
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 23:15:58 +00:00
dependabot[bot]
e080bbfb7b
ci: bump actions/upload-artifact from 3 to 4 ( #2438 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 21:00:03 +00:00
John Payne
39daf268cb
fix: check for notStarted ( #2464 )
2024-01-02 16:35:28 -06:00
John Payne
d7143d81b5
ci: Add workflow check for Merge Queue pipeline start on Azure Pipeline ( #2460 )
...
* ci: Add check for merge queue ci
* ci: restrict to master
* chore: more verbose console messages
2024-01-02 17:58:43 +00:00
John Payne
fc173a8465
ci: revert codeQL checks to apart of merge queue runs ( #2456 )
...
ci: add codeQL checks to merge queue runs
2023-12-20 16:33:38 -06:00
John Payne
3c7cbe07d4
ci: Modify ACN PR pipeline for merge queue use ( #2399 )
...
* test: merge-queue test
* ci: add merge queue
* chore: change DAG dependencies
* ci: add UT to mq runs
* ci: add merge_group for GHA
* ci: add if to codeql
2023-12-20 15:49:39 -06:00
Evan Baker
f8e430f4a8
fix: change to new-from-rev master in lint action ( #2448 )
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-19 15:57:05 -06:00
Evan Baker
9f82662e08
update stale workflow ( #2439 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-12-19 14:52:50 -06:00
dependabot[bot]
6221cb6c78
ci: bump actions/setup-go from 4 to 5 ( #2429 )
...
* ci: bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* update go version in workflows
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2023-12-15 09:44:19 -05:00
dependabot[bot]
25129a5336
ci: bump github/codeql-action from 2 to 3 ( #2435 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-14 12:34:07 -05:00
Evan Baker
77db22a9d5
chore: update CodeQL ( #2405 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-12-05 11:06:53 -08:00
Evan Baker
5cad713f31
chore: update to go1.21 ( #2384 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-11-15 15:17:26 -06:00
Hunter Gregory
f28fe96d8f
test: [NPM] skip cyclonus for test dir ( #2247 )
...
Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>
2023-09-25 17:11:52 -07:00
Evan Baker
95cc2d6c47
chore: consolidate core dependencies upgrade ( #2213 )
...
* ci: bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: root dependency updates
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 14:36:30 -07:00
aggarwal0009
35c6833500
Ankaggar/consolidate crds ( #2171 )
...
* organise related swiftv2 CRDs in same GV package
* fix linter error
* update crdgen
* consolidate external swiftv2 crds
* fix manifests
* more changes
* update crdgen
* resolve merge conflicts
* fix crdgen check failure
* further flatten swiftv2 crds
* fix UT failure
2023-08-23 14:22:58 -07:00
aggarwal0009
906313d49f
[Multitenancy]: Add PNI CRD ( #2134 )
...
* ADD CNI PRD
* update manifest
* add doc.go
* ADD CNI PRD
* updatepodnetwork ffiel as required
* update manifest
* fix crdgen
---------
Signed-off-by: aggarwal0009 <127549148+aggarwal0009@users.noreply.github.com>
2023-08-16 09:36:29 -07:00
aggarwal0009
3b7c365105
[Multitenancy]: Add PodNetwork CRD ( #2133 )
...
* Add PN CRD
* fix push error
* minor updates
* Add PN CRD
* update crdgen
* update network to VnetGuid
* minor update
* add doc.go
* update readme
* update crd fields
* update crdgen
* Update crd/external/podnetwork/api/v1alpha1/podnetwork.go
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: aggarwal0009 <127549148+aggarwal0009@users.noreply.github.com>
* address pr comments
---------
Signed-off-by: aggarwal0009 <127549148+aggarwal0009@users.noreply.github.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2023-08-15 08:29:16 -07:00
Vipul Singh
c633bf5b19
chore: Adding CNI codeowners ( #2132 )
2023-08-11 12:50:05 -07:00
aggarwal0009
6a9fddb64d
[Multitenancy]: Add NodeInfo crd ( #2113 )
...
* add nodeinfo crd
* update manifest default value
* address pr comments
* update readme
* update nodesInfo to nodeInfo
* add crd to crdgen check file
* update manifest file
* remove whitespaces from manifest
* remove whitespaces from crdgen
* remove unnecessary helper funcs from CRD client
* address pr comments
* remove status subresource from nodeinfo crd
* update manifest
* Update crd/nodeinfo/api/v1alpha1/nodeinfo.go
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
* Update crd/nodeinfo/api/v1alpha1/groupversion_info.go
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
* Update crd/nodeinfo/embed.go
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
* add doc.go
* update manifest
---------
Signed-off-by: aggarwal0009 <127549148+aggarwal0009@users.noreply.github.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2023-08-11 12:49:49 -07:00
aggarwal0009
e1581a1791
[Multitenancy] : Add MT PodNetworkConfig CRD ( #2111 )
...
* Add MT PodNetworkConfig CRD
* fix comment typo
* adding readme
* remove reconciling status
* add comments
* updated crd manifest
* address pr comments
* fix typo
* update crdgen.yaml
* fix method name
* fix typo
* update manifest indentation
* update readme
* revert crdgen file
* removed unnecessary helper func from crd client
* address pr comments
* update UUID to NCID for MPNC CRD
* address more pr comments
2023-08-10 18:48:08 -07:00
Hunter Gregory
ebddca18bd
perf: [NPM] [LINUX] add NetPols in background ( #1969 )
...
* wip: apply dirty NetPols every 500ms in Linux
* only build npm linux image
* fix: check for empty cache
* feat: toggle for netpol interval. default 500 ms
* ci: remove stages "build binaries" and "run windows tests"
* wip: max batched netpols (toggle-specified)
* ci: remove manifest build/push for win npm
* wip: handle ipset deletion properly and max batch for delete too
* fix: correct remove policy
* fix: only remove policy if it was in kernel
* finalize toggles, allowing ability to turn off iptablesInBackground
* ci: conf + cyc use PR's configmaps
* fix: lints
* fix dp toggle: iptablesInBackground
* fix lock typo and config logging
* fix background thread. add comments. only add tmp ref when enabled
* copy pod selector list
* fix: removepolicy needs namespace too
* rename opInfo to event
* fix: fix references and prevent concurrent map read/write
* tmp: debug logging
* fix: missing set references by swap keys and values
* Revert "tmp: debug logging"
This reverts commit 70ed34c714ea4a6d009a1fe90a7168be4bedd5bf.
* fix: add podSelectorList to fake NetPol
* log: do not print error when failing to delete non-existent nft rule
* log: verbose iptables bootup
* log: use fmt.Errorf for clean logging
* log: never return error for iptables in background and fix some lints
* fix: activate/deactivate azure chain rules
* fix: correctly decrement netpols in kernel
* ci: run UTs again
* ci: update profiles. default to placefirst=false
* address comment: rename batch to pendingPolicy
* refactor: make dirty cache OS-specific
* test: UTs
* test: put UT cfg back to placefirst to not break things
* ci: update cyclonus workflows
* fmt: address comment & lint
* fmt: rename numInKernel to policiesInKernel
* log: switch to fmt.Errorf
* fmt: whitespace
* feat: resiliency to errors while reconciling dirty netpols
* log: temporarily print everything for ipset restore
* fix: remove nomatch from ipset -D for cidr blocks
* test: UTs for non-happy path
* test: fix hns fake
* fix: don't change windows. let it delete ipsets when removing policies
* fix windows lint
* fix: ignore chain doesn't exist errors for iptables -D
* feat: latency and failure metrics
* test: update exit code for UT
* metrics: new metrics should go in node-metrics path
* style: simplify nesting
* style: move identical windows & linux code to shared file
* ci: remove v1 conformance and cyclonus
* feat: add NetPols in background from the DP (revert background code in pMgr)
* style: remove "background" from iptables metrics
* revert changes in ipsetmanager, const.go, and dp.Remove/UpdatePolicy
* style: whitespace
* perf: use len() instead of creating slice from map
* remove verbosity for iptables bootup
* build: add return statement
* style: whitespace
* build: fix variable shadowing
* build: fix more import shadowing
* build: windows pointer issue and UT issue
* test: fix UT for iptables error code 2
* ci: enable linux scale test
* ci: revert to master pipeline.yaml
* revert changes to chain-management. do changes in PR #2012
* log: change wording
* test: UTs for netpol in background
* log: wording
* feat: apply ipsets for each netpol individually
* config: rearrange ConfigMap & update capz yaml
* fix: windows bootup phase logic for addpolicy
* feat: restrict netpol in background to linux + nftables
* test: skip nftables check for UT
* style: netpols[0] instead of loop
* log: address log comments
* style: lint for long line
---------
Co-authored-by: Vamsi Kalapala <vakr@microsoft.com>
2023-07-19 09:13:52 -07:00
Evan Baker
175a1f6343
update codeowners ( #2029 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-06-22 14:25:23 -05:00
Vipul Singh
40454b77ba
docs: updating the pull request readme to add labels for each PR ( #2009 )
2023-06-09 11:11:08 -05:00
Evan Baker
1bedb8d36c
Update CODEOWNERS ( #1948 )
2023-05-09 11:07:08 -05:00
Hunter Gregory
cdf4cbea37
ci: increase golint timeout to 25m ( #1890 )
2023-04-04 13:05:38 -07:00
Hunter Gregory
f35403aa50
ci: increase golint timeout from 10 to 15m ( #1886 )
...
increase golint timeout from 10 to 15m
2023-04-03 13:59:48 -07:00
Evan Baker
cf50ca9e4c
consolidated build dependency update ( #1882 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-03-31 14:09:00 -07:00
Evan Baker
4dfd97c274
update to go1.20 ( #1781 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-03-29 10:53:21 -07:00
dependabot[bot]
68c7c9655b
ci: bump actions/setup-go from 3 to 4 ( #1853 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 10:57:43 -05:00
Evan Baker
358de20d2c
Add multiplat Windows 2019 and 2022 image support to tooling and pipelines, use for CNS/NPM ( #1820 )
...
* build: add ws2019 cns image to build pipeline
* add windows2019 build pool
* fix: npm pipelines
* fix: npm pipelines
* update multiplat build process for winver flavors
* optional buildx push for npm cyclonus
---------
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: Matthew Long <61910737+thatmattlong@users.noreply.github.com>
Co-authored-by: Matthew Long <Matthew.Long@microsoft.com>
2023-03-01 00:25:00 +00:00
Evan Baker
bbb478b91a
update golangci-lint to v1.51 ( #1782 )
...
* update golangci-lint
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* update to latest patch
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
---------
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-02-06 09:30:19 -08:00
Evan Baker
8888338c62
Pipeline support for Go submodules versioned independently of root repo ( #1533 )
...
* use submodule specific tags
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* support separate go submodule versions
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* move version and tag responsibilities to the makefile
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* update integration tests to use component tags
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-09-01 18:35:01 +00:00
Evan Baker
d32a66fc10
add azure-ipam to dependabot tracking ( #1559 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-08-30 16:32:02 -07:00
Evan Baker
2a46b2be6a
drop go1.18 ( #1557 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-08-30 22:27:26 +00: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