Skip to content

Commit

Permalink
chore: bump metallb to 0.14.8 (#1154)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Aug 19, 2024
1 parent f426ff4 commit 5b87d6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v0.47.2

- Updated metallb to 0.14.8
[#1154](https://github.com/Kong/kubernetes-testing-framework/pull/1154)

## v0.47.1

- Adapt Kong addon to the `kong/kong` Helm chart v2.39.0 that requires
Expand Down
4 changes: 1 addition & 3 deletions pkg/clusters/addons/metallb/metallb.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (a *Addon) DumpDiagnostics(context.Context, clusters.Cluster) (map[string][
// -----------------------------------------------------------------------------

var (
metalManifest = "https://github.com/metallb/metallb/config/native?ref=v0.13.12&timeout=2m"
metalManifest = "https://github.com/metallb/metallb/config/native?ref=v0.14.8&timeout=2m"
secretKeyLen = 128
)

Expand Down Expand Up @@ -241,7 +241,6 @@ func createIPAddressPool(ctx context.Context, cluster clusters.Cluster, dockerNe
},
},
}, metav1.CreateOptions{})

if err != nil {
if apierrors.IsAlreadyExists(err) {
// delete the existing resource and recreate it in another round of loop.
Expand Down Expand Up @@ -284,7 +283,6 @@ func createL2Advertisement(ctx context.Context, cluster clusters.Cluster) error
},
},
}, metav1.CreateOptions{})

if err != nil {
if apierrors.IsAlreadyExists(err) {
// delete the existing resource and recreate it in another round of loop.
Expand Down

0 comments on commit 5b87d6a

Please sign in to comment.