Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubectl-node-shell for openSUSE:Factory checked in at 2024-01-07 21:42:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubectl-node-shell (Old) and /work/SRC/openSUSE:Factory/.kubectl-node-shell.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubectl-node-shell" Sun Jan 7 21:42:21 2024 rev:4 rq:1137412 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kubectl-node-shell/kubectl-node-shell.changes 2023-09-08 21:17:25.594515052 +0200 +++ /work/SRC/openSUSE:Factory/.kubectl-node-shell.new.28375/kubectl-node-shell.changes 2024-01-07 21:42:23.984596895 +0100 @@ -1,0 +2,6 @@ +Sun Jan 07 18:22:52 UTC 2024 - opensuse_buildserv...@ojkastl.de + +- Update to version 1.8.1: + * Support in-cluster configuration (#55) + +------------------------------------------------------------------- Old: ---- kubectl-node-shell-1.8.0.obscpio New: ---- kubectl-node-shell-1.8.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubectl-node-shell.spec ++++++ --- /var/tmp/diff_new_pack.xb6S9K/_old 2024-01-07 21:42:24.640620765 +0100 +++ /var/tmp/diff_new_pack.xb6S9K/_new 2024-01-07 21:42:24.644620910 +0100 @@ -1,7 +1,7 @@ # # spec file for package kubectl-node-shell # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ %define executable_name kubectl-node_shell Name: kubectl-node-shell -Version: 1.8.0 +Version: 1.8.1 Release: 0 Summary: Exec into node via kubectl License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.xb6S9K/_old 2024-01-07 21:42:24.668621784 +0100 +++ /var/tmp/diff_new_pack.xb6S9K/_new 2024-01-07 21:42:24.672621930 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/kvaps/kubectl-node-shell</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v1.8.0</param> + <param name="revision">v1.8.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.xb6S9K/_old 2024-01-07 21:42:24.688622512 +0100 +++ /var/tmp/diff_new_pack.xb6S9K/_new 2024-01-07 21:42:24.692622657 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/kvaps/kubectl-node-shell</param> - <param name="changesrevision">bfa4119425152e9883dc0e139830ff0c0fb35a34</param></service></servicedata> + <param name="changesrevision">b4c24ea3b2d55988002f727f9d0db6c2d868628a</param></service></servicedata> (No newline at EOF) ++++++ kubectl-node-shell-1.8.0.obscpio -> kubectl-node-shell-1.8.1.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubectl-node-shell-1.8.0/kubectl-node_shell new/kubectl-node-shell-1.8.1/kubectl-node_shell --- old/kubectl-node-shell-1.8.0/kubectl-node_shell 2023-08-16 23:11:06.000000000 +0200 +++ new/kubectl-node-shell-1.8.1/kubectl-node_shell 2023-12-26 10:24:09.000000000 +0100 @@ -2,7 +2,7 @@ set -e kubectl=kubectl -version=1.8.0 +version=1.8.1 generator="" node="" nodefaultctx=0 @@ -85,9 +85,11 @@ exit 1 fi -# Set the default context and namespace to avoid situations where the user switch them during the build process -[ "$nodefaultctx" = 1 ] || kubectl="$kubectl --context=$(${kubectl} config current-context)" -[ "$nodefaultns" = 1 ] || kubectl="$kubectl --namespace=$(${kubectl} config view --minify --output 'jsonpath={.contexts..namespace}')" +if [ -z "$KUBERNETES_PORT" ]; then + # Set the default context and namespace to avoid situations where the user switch them during the build process + [ "$nodefaultctx" = 1 ] || kubectl="$kubectl --context=$(${kubectl} config current-context)" + [ "$nodefaultns" = 1 ] || kubectl="$kubectl --namespace=$(${kubectl} config view --minify --output 'jsonpath={.contexts..namespace}')" +fi # Check the node and retrieve the node OS label os="$($kubectl get node $node -o jsonpath="{.metadata.labels.kubernetes\.io/os}" || exit 1)" ++++++ kubectl-node-shell.obsinfo ++++++ --- /var/tmp/diff_new_pack.xb6S9K/_old 2024-01-07 21:42:24.768625423 +0100 +++ /var/tmp/diff_new_pack.xb6S9K/_new 2024-01-07 21:42:24.768625423 +0100 @@ -1,5 +1,5 @@ name: kubectl-node-shell -version: 1.8.0 -mtime: 1692220266 -commit: bfa4119425152e9883dc0e139830ff0c0fb35a34 +version: 1.8.1 +mtime: 1703582649 +commit: b4c24ea3b2d55988002f727f9d0db6c2d868628a