1537 Commits

Author SHA1 Message Date
Aaron U'Ren
667be7d612
chore(.gitignore): add a place for personal scripts 2026-03-15 13:44:33 -05:00
Aaron U'Ren
d3509de973
doc: add a statement about supported versions of kube-router 2026-03-15 13:44:33 -05:00
Aaron U'Ren
054d5d1ceb
feat(lint): add basic typos checker to ensure less spelling mistakes in the future 2026-03-15 13:44:32 -05:00
Aaron U'Ren
62b30e380b
doc: add table of contents to long markdown files 2026-03-15 13:44:32 -05:00
Aaron U'Ren
103992c252
doc(troubleshoot.md): add content to the guide 2026-03-15 13:44:32 -05:00
Aaron U'Ren
2cc9b129f2
doc: correct spelling and grammar mistakes 2026-03-15 13:44:32 -05:00
Aaron U'Ren
8dc0500098
doc: update and modernize documentation 2026-03-11 14:34:25 -05:00
Aaron U'Ren
6849bb713d
doc(CODE_OF_CONDUCT.md): add a basic code of conduct 2026-03-11 14:34:25 -05:00
Aaron U'Ren
93ee7328db
doc(development): update / clarify development / contribution practices 2026-03-11 14:34:25 -05:00
Roman Kuzmitskii
39efb9230c feat: add support for SCTP
includes workaround for musl hardcoded protocol table that
  is missing SCTP support by using protocol name to
  numeric value mapping in ipset entries

closes: https://github.com/cloudnativelabs/kube-router/issues/1019
Signed-off-by: Roman Kuzmitskii <roman@damex.org>
2026-03-09 19:42:08 -10:00
Aaron U'Ren
62d1788cad chore(PULL_REQUEST_TEMPLATE.md): add a pull request template to help guide users towards adhering to the AI policy 2026-03-09 14:04:03 -10:00
Aaron U'Ren
ac57ed5fb0 doc(ai): add AI documentation and usage guidelines with AGENTS file 2026-03-09 14:04:03 -10:00
Aaron U'Ren
f05ae5a1a3
doc(metrics.md): replace controller_bgp_peers -> bgp_peer_info 2026-03-07 22:45:38 -06:00
Roman Kuzmitskii
b1a34ed438 feat(gobgp): add kube_router_bgp_peer_info metric
Replace the misleading kube_router_controller_bgp_peers gauge
  which only counts 'cluster nodes' with a new per peer metric
  kube_router_bgp_peer_info with 'GaugeVec' that exposes actual
  BGP session state from gobgp. labels include peer address, asn,
  type, and state. Metric value is 1 if established and 0 otherwise.

Closes: https://github.com/cloudnativelabs/kube-router/issues/848
Signed-off-by: Roman Kuzmitskii <roman@damex.org>
2026-03-07 18:41:29 -10:00
dependabot[bot]
b40e9472d5 build(deps): bump golang.org/x/net from 0.49.0 to 0.51.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.49.0 to 0.51.0.
- [Commits](https://github.com/golang/net/compare/v0.49.0...v0.51.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.51.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 02:04:20 +01:00
dependabot[bot]
5cee14cc07 build(deps): bump goreleaser/goreleaser-action from 6 to 7
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 6 to 7.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 02:00:02 +01:00
Aaron U'Ren
a8dd0c23c1 fix(aws.go): load region before attempting to assume a role 2026-02-15 12:08:37 -06:00
Aaron U'Ren
da9805033d feat(go): other misc dep updates v2.7.0 2026-02-13 14:31:16 -08:00
Aaron U'Ren
ff8ad4ca0f feat(Dockerfile): bump IPTABLES wrapper version to latest 2026-02-13 14:31:16 -08:00
Aaron U'Ren
ae9c04c4dd feat(gobgp): update v3.37.0 -> v4.2.0 2026-02-13 14:31:16 -08:00
Aaron U'Ren
f56f307861 feat(Makefile): bump CNI plugins v1.8.0 -> v1.9.0 2026-02-13 14:31:16 -08:00
Aaron U'Ren
93590bab1c feat(Makefile): bump goreleaser v2.12.2 -> v2.13.3 2026-02-13 14:31:16 -08:00
Aaron U'Ren
8edde99b74 feat(Makefile): bump golangci-lint v2.4.0 -> v2.8.0 2026-02-13 14:31:16 -08:00
Aaron U'Ren
4acb902916 feat(go): update go 1.25.1 -> 1.25.7, alpine 3.22 -> 3.23 2026-02-13 14:31:16 -08:00
Aaron U'Ren
a1e6de9f8f test(NSC): add endpoint checking to tests that need them 2026-02-01 11:07:13 -06:00
Aaron U'Ren
3157e85eb8 test(NSC): fix two DSR service tests to create pods 2026-02-01 11:07:13 -06:00
Aaron U'Ren
ca6b644d32 test(NSC): mock netlink calls - attempt 1 2026-02-01 11:07:13 -06:00
Aaron U'Ren
b9cd0de978 test(NSC): add DSR unit tests - series 1 2026-02-01 11:07:13 -06:00
Aaron U'Ren
10f366ace6 test(NSC): implement traffic policy unit testing
Logic errors & regressions relating to traffic policies make up
approximately 8 or so preventable historical issues with the project.
Therefore prioritizing them as a unit testing surface.
2026-02-01 11:07:13 -06:00
Aaron U'Ren
048680706c fix(NSC): cleanup historical bad IPv6 TCPMSS vals 2026-02-01 10:56:40 -06:00
Aaron U'Ren
8aaba6505e test(NSC): add comprehensive TCPMSS unit tests 2026-02-01 10:56:40 -06:00
Aaron U'Ren
d208307d43 fact(test): reuse existing ValToPtr functions 2026-01-31 12:15:35 -06:00
Aaron U'Ren
ae39f279a7 fact(NSC): use LinuxNetworkingMock instead of creating a new one 2026-01-31 12:15:35 -06:00
Aaron U'Ren
59814eb67b fix: convert ginkgo tests to standard go tests 2026-01-31 12:15:35 -06:00
Aaron U'Ren
790d53ee51 fact(bgp_peers.go): migrate for loop -> slices.Contains 2026-01-26 10:20:51 -06:00
Aaron U'Ren
827cb4ae7b fix(BGP): always configure AFI SAFI
Changes AFI SAFI configuration to:
* Use consolidated logic for AFI SAFI configuration for both internal
  peers and external peers
* Configure AFI SAFI regardless of GracefulRestart enablement
  * This is important because by default GoBGP only configures a default
    AFI SAFI configuration for the address family of its configured
    peering IP. Which means that previously dual-stack configurations
    that did not enable GracefulRestart would not work (see: #1992)
2026-01-26 10:20:51 -06:00
Aaron U'Ren
4dc20bd952 feat(retry.go): add debug logging to retries 2026-01-25 13:12:23 -06:00
Richard Kojedzinszky
ee0940b87c fix(dsr): set TCPMSS based on address family 2026-01-25 12:00:21 -06:00
dependabot[bot]
b56e3ddccf build(deps): bump github.com/aws/aws-sdk-go-v2/config
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) from 1.32.6 to 1.32.7.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.32.6...v1.32.7)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-version: 1.32.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 11:06:42 +01:00
dependabot[bot]
f767c1068a build(deps): bump golang.org/x/sys from 0.39.0 to 0.40.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/sys/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-15 09:36:03 +01:00
dependabot[bot]
c3af9738d2 build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.41.0 to 1.41.1
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 1.41.0 to 1.41.1.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.41.0...v1.41.1)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-version: 1.41.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-15 09:35:49 +01:00
dependabot[bot]
8a97044321 build(deps): bump google.golang.org/grpc from 1.76.0 to 1.78.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.76.0 to 1.78.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.78.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.78.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-15 09:25:08 +01:00
Cat C
4fb0b62658 chore: Use context instead of deprecated golang.org/x/net/context 2026-01-15 08:31:46 +01:00
Aaron U'Ren
fef6c4f377 doc(user-guide.md): use obvious kubernetes master port 2026-01-11 18:09:06 -06:00
Cat C
5ba705e97d docs: Add GoDoc comments for all wrapper functions 2026-01-09 09:17:43 -06:00
Cat C
440ad4d0a1 fix: Replace all netlink functions that throw ErrDumpInterrupted with a retry wrapper 2026-01-09 09:17:43 -06:00
dependabot[bot]
50a18d6ba5 build(deps): bump google.golang.org/protobuf from 1.36.10 to 1.36.11
Bumps google.golang.org/protobuf from 1.36.10 to 1.36.11.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-version: 1.36.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 01:42:34 +01:00
dependabot[bot]
75a79f23fd build(deps): bump github.com/aws/aws-sdk-go-v2/service/ec2
Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) from 1.275.1 to 1.279.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.275.1...service/ec2/v1.279.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-version: 1.279.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 01:42:14 +01:00
dependabot[bot]
3ac9b5c9fd build(deps): bump github.com/aws/aws-sdk-go-v2/config
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) from 1.32.3 to 1.32.6.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.32.3...v1.32.6)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-version: 1.32.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 10:29:10 +01:00
dependabot[bot]
cda88e502b build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.40.1 to 1.41.0
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 1.40.1 to 1.41.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.40.1...v1.41.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-version: 1.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 08:39:50 +01:00