From d1ef50eb35b8e36a4564c240fc677b1fb8343291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ljubi=C5=A1a=20Ga=C4=8Devi=C4=87?= <35105035+gacevicljubisa@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:55:16 +0100 Subject: [PATCH] fix(node-funder): change label selector and use node-funder v0.1.1 (#381) --- go.mod | 2 +- go.sum | 4 ++-- pkg/k8s/customresource/ingressroute/client.go | 2 +- pkg/k8s/ingress/client.go | 2 +- version.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index b482efae1..1c572507d 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/ethersphere/bee v1.17.6 github.com/ethersphere/bmt v0.1.4 github.com/ethersphere/ethproxy v0.0.5 - github.com/ethersphere/node-funder v0.1.0 + github.com/ethersphere/node-funder v0.1.1 github.com/go-git/go-billy/v5 v5.5.0 github.com/go-git/go-git/v5 v5.11.0 github.com/google/uuid v1.3.0 diff --git a/go.sum b/go.sum index 9170a2071..7f53544ae 100644 --- a/go.sum +++ b/go.sum @@ -152,8 +152,8 @@ github.com/ethersphere/ethproxy v0.0.5 h1:j5Mkm45jqmkET6NwGaJtaxOSFbhoAfOKzHiwHl github.com/ethersphere/ethproxy v0.0.5/go.mod h1:7mkVRK3+Mte00jLxFAbUQ/cBepAzwTYpkE64ItCLZYw= github.com/ethersphere/go-sw3-abi v0.4.0 h1:T3ANY+ktWrPAwe2U0tZi+DILpkHzto5ym/XwV/Bbz8g= github.com/ethersphere/go-sw3-abi v0.4.0/go.mod h1:BmpsvJ8idQZdYEtWnvxA8POYQ8Rl/NhyCdF0zLMOOJU= -github.com/ethersphere/node-funder v0.1.0 h1:1fL/yRrYQpb4WHQ0hv1QQvnUMM9VdSunM3dczHPRYaY= -github.com/ethersphere/node-funder v0.1.0/go.mod h1:pHYJyxpyhuAoI5c4ReaLn1CnuCG5RmcLeU7pGDzlfrI= +github.com/ethersphere/node-funder v0.1.1 h1:Y1gzbnmZV2jCecdZuUvAsFeXTWpEFofrIT4UIEuswW0= +github.com/ethersphere/node-funder v0.1.1/go.mod h1:pHYJyxpyhuAoI5c4ReaLn1CnuCG5RmcLeU7pGDzlfrI= github.com/evanphx/json-patch v4.11.0+incompatible h1:glyUF9yIYtMHzn8xaKw5rMhdWcwsYV8dZHIq5567/xs= github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 h1:FtmdgXiUlNeRsoNMFlKLDt+S+6hbjVMEW6RGQ7aUf7c= diff --git a/pkg/k8s/customresource/ingressroute/client.go b/pkg/k8s/customresource/ingressroute/client.go index fc73cdfda..8cdd6478e 100644 --- a/pkg/k8s/customresource/ingressroute/client.go +++ b/pkg/k8s/customresource/ingressroute/client.go @@ -85,7 +85,7 @@ func (c *Client) Delete(ctx context.Context, name, namespace string) (err error) // ListDebugNodesHosts list Ingresses that are nodes func (c *Client) ListDebugNodesHosts(ctx context.Context, namespace string) (nodes []ingress.NodeInfo, err error) { ingressRoutes, err := c.clientset.IngressRoutes(namespace).List(ctx, metav1.ListOptions{ - LabelSelector: "app.kubernetes.io/component=node", + LabelSelector: "app.kubernetes.io/name=bee", }) if err != nil { if errors.IsNotFound(err) { diff --git a/pkg/k8s/ingress/client.go b/pkg/k8s/ingress/client.go index 129c1ee3d..e756c8055 100644 --- a/pkg/k8s/ingress/client.go +++ b/pkg/k8s/ingress/client.go @@ -79,7 +79,7 @@ func (c *Client) Delete(ctx context.Context, name, namespace string) (err error) // ListDebugNodesHosts list Ingresses that are nodes func (c *Client) ListDebugNodesHosts(ctx context.Context, namespace string) (nodes []NodeInfo, err error) { ingreses, err := c.clientset.NetworkingV1().Ingresses(namespace).List(ctx, metav1.ListOptions{ - LabelSelector: "app.kubernetes.io/component=node", + LabelSelector: "app.kubernetes.io/name=bee", }) if err != nil { if errors.IsNotFound(err) { diff --git a/version.go b/version.go index aaa40f632..34682250c 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ package beekeeper var ( - version = "0.15.1" // manually set semantic version number + version = "0.15.2" // manually set semantic version number commit string // automatically set git commit hash // Version TODO