Skip to content

Commit

Permalink
Merge pull request #36 from ECruz25/remove-kubectl-version-short
Browse files Browse the repository at this point in the history
Removed --short flag from kubectl version for latest one
  • Loading branch information
kodermax committed Oct 11, 2023
2 parents 214195d + ea336ea commit b9cb6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "$KUBE_CONFIG_DATA" | base64 -d > /tmp/config
export KUBECONFIG=/tmp/config

if [ -z ${KUBECTL_VERSION+x} ] ; then
echo "Using kubectl version: $(kubectl version --client --short)"
echo "Using kubectl version: $(kubectl version --client)"
else
echo "Pulling kubectl for version $KUBECTL_VERSION"
rm /usr/bin/kubectl
Expand Down

0 comments on commit b9cb6d5

Please sign in to comment.