Comment 4 for bug 1955427

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to upstream (master)

Reviewed: https://review.opendev.org/c/starlingx/upstream/+/822356
Committed: https://opendev.org/starlingx/upstream/commit/eab2740420233bb78c176c9efc8cdf7d98dd4b7f
Submitter: "Zuul (22348)"
Branch: master

commit eab2740420233bb78c176c9efc8cdf7d98dd4b7f
Author: Thiago Miranda <email address hidden>
Date: Mon Dec 20 15:07:15 2021 -0500

    Fix old kubectl client in stx-platformclients (from 1.5.2 to 1.21.3)

    The actual kubernetes-client is in a much older version due to a
    diferent version that is installed in the docker image.

    As the new client change its name for kubernetes-1.21.3-client, the
    version we are downloading is a older release that is downloaded
    from the "extras" repository in the CentOS 7.

    This commit fix the package name and version. The problem is that the
    rpm spec change the default binary location to:
    /usr/local/kubernetes/1.21.3/stage2/usr/bin/kubectl.

    So to fix this we still have to link kubectl to /usr/bin using the
    CUSTOMIZATION variable.

    Partial-Bug: #1955427

    Signed-off-by: Thiago Miranda <email address hidden>
    Change-Id: If68f397b9ced685b9a2631057f2dd0aca3667709