Skip to content

Commit f7bec84

Browse files
committed
Remove kubectl '--short' flag from Github actions
The 'short' flag is now deprecated. The default output for kubectl is now equivalent to the previous shortened output. - https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.28.md#deprecation
1 parent 06696f5 commit f7bec84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/k3d/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
shell: bash
5454
run: |
5555
k3d cluster create --image '+${{ inputs.k3s-channel }}' --no-lb --timeout=2m --wait
56-
kubectl version --short | awk '{ print "${tolower($1)}=${$3}" >> $GITHUB_OUTPUT }'
56+
kubectl version | awk '{ print "${tolower($1)}=${$3}" >> $GITHUB_OUTPUT }'
5757
5858
PAUSE_IMAGE=$(docker exec $(k3d node list --output json | jq --raw-output 'first.name') \
5959
k3s agent --help | awk '$1 == "--pause-image" {

0 commit comments

Comments
 (0)