Dan Finneran
dfd1b1da19
path up other ci complaints.
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-12-15 14:53:21 +00:00
Dan Finneran
aecc0264b0
upgrade lint config
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-12-15 12:02:41 +00:00
Dan Finneran
a35849d4f8
bump ci workflow
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-12-15 11:57:46 +00:00
Dan Finneran
4c3a2d57ee
Bump to golang to fix stdlib vuln
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-12-15 11:53:23 +00:00
Daniel Finneran
48c99ca320
Merge pull request #1342 from kube-vip/dependabot/github_actions/docker/metadata-action-5.10.0
...
Bump docker/metadata-action from 5.9.0 to 5.10.0
2025-12-15 11:50:31 +00:00
Daniel Finneran
83d1a9e455
Merge pull request #1341 from kube-vip/dependabot/go_modules/github.com/google/go-containerregistry-0.20.7
...
Bump github.com/google/go-containerregistry from 0.20.6 to 0.20.7
2025-12-15 11:50:18 +00:00
Daniel Finneran
11649c9e79
Merge pull request #1350 from ivucica/ivucica-upnp-lease-duration
...
Support specifying UPNP lease duration as annotation on a service.
2025-12-15 11:50:06 +00:00
Ivan Vučica
b31de5ca61
Support specifying UPNP lease duration as annotation on a service.
...
The annotation `kube-vip.io/upnp-lease-duration` takes in a duration where the string is parseable by `time.ParseDuration`.
There is no new configuration option that would allow setting this globally, since this new feature is most helpful in limited cases (such as incorrect implementations that have trouble with certain values).
There is a minimal test added for the value returned by the new private helper `upnpLeaseDurationForService`. Due to a lack of dependency injection in `service.Processor`'s `upnpMap`, it is infeasible to add a more complete test at this time, to check what would be passed, exactly, into `AddPinholeCtx` and `AddPortMapping`.
Signed-off-by: Ivan Vučica <ivan@vucica.net >
Signed-off-by: Ivan Vučica <ivucica@google.com >
Fixes : #1349
2025-12-12 12:22:37 +00:00
Daniel Finneran
18544a5d54
Merge pull request #1343 from kube-vip/error_warn
...
Move this error to a warning
2025-12-01 15:56:14 +00:00
Dan Finneran
83d2092fec
Move this error to a warning
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-12-01 14:53:29 +00:00
dependabot[bot]
099d8f759b
Bump docker/metadata-action from 5.9.0 to 5.10.0
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](https://github.com/docker/metadata-action/compare/v5.9.0...v5.10.0 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-version: 5.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-01 02:14:54 +00:00
dependabot[bot]
e99fa71ed6
Bump github.com/google/go-containerregistry from 0.20.6 to 0.20.7
...
Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry ) from 0.20.6 to 0.20.7.
- [Release notes](https://github.com/google/go-containerregistry/releases )
- [Commits](https://github.com/google/go-containerregistry/compare/v0.20.6...v0.20.7 )
---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
dependency-version: 0.20.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-01 02:03:39 +00:00
Daniel Finneran
6c9c5af373
Merge pull request #1334 from kube-vip/dependabot/github_actions/anchore/sbom-action-0.20.10
...
Bump anchore/sbom-action from 0.20.9 to 0.20.10
2025-11-27 09:02:30 +00:00
Daniel Finneran
509eeea1d4
Merge pull request #1339 from tbjorklund78/bgp_annotation
...
Add annotation to service when using BGP and not just ARP
2025-11-26 18:15:29 +00:00
Daniel Finneran
c00a61f45e
Merge pull request #1338 from mkhpalm/patch-upnp
...
Do not run UPnP refresher if UPnP is disabled
2025-11-26 18:14:47 +00:00
Daniel Finneran
0ea24655eb
Merge pull request #1336 from ivucica/patch-1
...
Avoid access inside WANIPv6FirewallControlClient when it might be nil
2025-11-26 18:14:28 +00:00
Ivan Vučica
288cd9a8b0
Avoid access inside WANIPv6FirewallControlClient when it might be nil
...
This moves the `log.Info` call inside the check for nil-ness of the
`gw.WANIPv6FirewallControlClient`. A UPnP portmap device that
has no IPv6 support crashes without this check.
To compensate, this adds logging statements for the `PortForward`
case.
Signed-off-by: Ivan Vučica <ivan@vucica.net >
Signed-off-by: Ivan Vučica <ivucica@google.com >
Fixes : #1335
2025-11-26 15:51:10 +00:00
Thomas Björklund
2c00d2bc05
Also add annotation to the service when using BGP and not just ARP to faciliate
...
using kube-vip to allow for high availability ciliumegressgatewaypolicies.cilium.io
using for example https://github.com/angeloxx/cilium-haegress-operator
Signed-off-by: Thomas Björklund <thomas@netnod.se >
2025-11-26 00:26:45 +01:00
Mike Palmer
5cf899c88c
Do not run UPnP refresher if UPnP is disabled
...
Signed-off-by: Mike Palmer <mkhpalm@gmail.com >
2025-11-25 10:38:56 -07:00
dependabot[bot]
16fa1bcc26
Bump google.golang.org/grpc from 1.76.0 to 1.77.0 ( #1330 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.76.0 to 1.77.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.77.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.77.0
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>
2025-11-24 13:29:34 +01:00
dependabot[bot]
a67ef25c15
Bump go.uber.org/zap from 1.27.0 to 1.27.1 ( #1329 )
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.27.0 to 1.27.1.
- [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.27.0...v1.27.1 )
---
updated-dependencies:
- dependency-name: go.uber.org/zap
dependency-version: 1.27.1
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>
2025-11-24 13:29:16 +01:00
dependabot[bot]
c82738633c
Bump actions/checkout from 5 to 6 ( #1333 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [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/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
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>
2025-11-24 07:52:48 +01:00
dependabot[bot]
11e419595b
Bump k8s.io/api from 0.34.1 to 0.34.2 ( #1331 )
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.34.1 to 0.34.2.
- [Commits](https://github.com/kubernetes/api/compare/v0.34.1...v0.34.2 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-version: 0.34.2
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>
2025-11-24 07:35:17 +01:00
dependabot[bot]
1db99a10dc
Bump go.etcd.io/etcd/client/v3 from 3.6.5 to 3.6.6 ( #1332 )
...
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd ) from 3.6.5 to 3.6.6.
- [Release notes](https://github.com/etcd-io/etcd/releases )
- [Commits](https://github.com/etcd-io/etcd/compare/v3.6.5...v3.6.6 )
---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
dependency-version: 3.6.6
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>
2025-11-24 07:34:42 +01:00
dependabot[bot]
f51f3276b5
Bump anchore/sbom-action from 0.20.9 to 0.20.10
...
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action ) from 0.20.9 to 0.20.10.
- [Release notes](https://github.com/anchore/sbom-action/releases )
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md )
- [Commits](https://github.com/anchore/sbom-action/compare/v0.20.9...v0.20.10 )
---
updated-dependencies:
- dependency-name: anchore/sbom-action
dependency-version: 0.20.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-24 02:06:26 +00:00
Daniel Finneran
199bc43c5c
Merge pull request #1327 from kube-vip/dependabot/go_modules/golang.org/x/crypto-0.45.0
...
Bump golang.org/x/crypto from 0.41.0 to 0.45.0
2025-11-21 09:13:31 +00:00
dependabot[bot]
16afc9c1d4
Bump golang.org/x/crypto from 0.41.0 to 0.45.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.41.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.41.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-20 02:49:20 +00:00
Daniel Finneran
76156b3f3b
Update Makefile
...
Ready for new release
v1.0.2
2025-11-19 20:03:29 +00:00
Daniel Finneran
5a1e8c1a3f
Merge pull request #1323 from kube-vip/dependabot/github_actions/docker/metadata-action-5.9.0
...
Bump docker/metadata-action from 5.8.0 to 5.9.0
2025-11-19 19:59:50 +00:00
Daniel Finneran
2d0f0734c4
Merge pull request #1326 from kube-vip/k8s_dump
2025-11-19 19:05:09 +00:00
Dan Finneran
42b97175e3
adds UUID to output
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-11-19 18:34:36 +00:00
Dan Finneran
eec091af23
Now returns the internal kubernetes configuration of services and endpoints
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-11-19 18:32:01 +00:00
Daniel Finneran
6f4f870800
Merge pull request #1322 from kube-vip/dependabot/docker/golang-1.25.4-alpine3.22
...
Bump golang from 1.25.3-alpine3.22 to 1.25.4-alpine3.22
2025-11-19 17:22:07 +00:00
Daniel Finneran
3a5a59ae64
Merge pull request #1319 from kube-vip/dependabot/go_modules/golang.org/x/sync-0.18.0
...
Bump golang.org/x/sync from 0.17.0 to 0.18.0
2025-11-19 17:21:51 +00:00
dependabot[bot]
e8484fa1f3
Bump golang.org/x/sync from 0.17.0 to 0.18.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sync/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-19 16:13:52 +00:00
Daniel Finneran
55ccb8cd87
Merge pull request #1321 from kube-vip/dependabot/go_modules/golang.org/x/sys-0.38.0
...
Bump golang.org/x/sys from 0.37.0 to 0.38.0
2025-11-19 16:12:42 +00:00
Daniel Finneran
09edf341ab
Merge pull request #1320 from kube-vip/dependabot/go_modules/github.com/docker/docker-28.5.2incompatible
...
Bump github.com/docker/docker from 28.5.1+incompatible to 28.5.2+incompatible
2025-11-19 16:12:25 +00:00
Daniel Finneran
8380e4f07e
Merge pull request #1309 from kube-vip/dependabot/github_actions/actions/upload-artifact-5
...
Bump actions/upload-artifact from 4 to 5
2025-11-19 16:11:33 +00:00
Daniel Finneran
4a07466467
Merge pull request #1308 from kube-vip/dependabot/github_actions/anchore/sbom-action-0.20.9
...
Bump anchore/sbom-action from 0.20.6 to 0.20.9
2025-11-19 16:11:14 +00:00
Daniel Finneran
cbdc86ac8f
Merge pull request #1298 from kube-vip/dependabot/github_actions/github/codeql-action-4
...
Bump github/codeql-action from 3 to 4
2025-11-19 16:11:00 +00:00
Daniel Finneran
7ea39fa7b5
Merge pull request #1325 from kube-vip/nft_fump
...
Adds the capability to dump the nftables config
2025-11-19 16:10:33 +00:00
Daniel Finneran
7eed2a33dc
Merge pull request #1306 from slimm609/preserve_vip_leadership
...
Feat: preserve vip on leadership loss
2025-11-19 16:09:51 +00:00
Brian Davis
95bb7b9a85
fix dns.go formatting
...
Signed-off-by: Brian Davis <dbrian@vmware.com >
2025-11-19 08:59:19 -05:00
Brian Davis
2762fb624c
fix go formatting
...
Signed-off-by: Brian Davis <dbrian@vmware.com >
2025-11-19 08:35:19 -05:00
Dan Finneran
3924a57168
lint fixesm
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-11-17 20:22:31 +00:00
Dan Finneran
8750b3331c
Adds the capability to dump the nftables config
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-11-17 20:10:43 +00:00
Daniel Finneran
be9415fef1
Merge pull request #1324 from kube-vip/modules_warn
...
Moves the kernel modules to a warning as they can be loaded during th…
2025-11-17 16:54:16 +00:00
Dan Finneran
df13a69e26
Moves the kernel modules to a warning as they can be loaded during the rule creation.
...
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk >
2025-11-17 16:06:01 +00:00
Brian Davis
6b60780d6c
handle ipv6 indepedently
...
- ipv6 has duplicate address dectection which prevents perserving the VIP on the old node
Signed-off-by: Brian Davis <slimm609@gmail.com >
Signed-off-by: Brian Davis <dbrian@vmware.com >
2025-11-13 10:21:26 -05:00
Brian Davis
9786aa9446
feat: preserve vip on leadership loss
...
When in arp mode, when preserveVipOnLeadershipLoss is true, when a node loses leadership (or can't keep it),
this will stop performing ARPs but will wait until a new leader is elected before deleting the arp.
when the flag is set to false (default) it continue to function like normal.
Signed-off-by: Brian Davis <slimm609@gmail.com >
Signed-off-by: Brian Davis <dbrian@vmware.com >
2025-11-13 10:21:26 -05:00