Comment 6 for bug 1980397

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

Reviewed: https://review.opendev.org/c/starlingx/openstack-armada-app/+/848753
Committed: https://opendev.org/starlingx/openstack-armada-app/commit/b87a47d07053c56f00128d24a054a18b898fd3f6
Submitter: "Zuul (22348)"
Branch: master

commit b87a47d07053c56f00128d24a054a18b898fd3f6
Author: Thales Elero Cervi <email address hidden>
Date: Tue Jul 5 11:32:07 2022 -0300

    Update openstack Ingress for networking api v1

    This change patches the correct apiVersion for Ingress resources created
    by the openstack ingress chart to work correctly when stx-openstack is
    applied on stx with kubernetes 1.22+ running.

    Same applies to spec changes that need to be done according to
    io.k8s.api.networking.v1.IngressBackend [1] and
    rbac.authorization.k8s.io.v1 [2] documentations.

    Test Plan:
    PASS - Build stx-openstack armada tarball (CentOS)
    PASS - Upload stx-openstack on Stx7.0/master build
    PASS - Apply stx-openstck on a Stx7.0/master build
    PASS - Ensure openstack ingress pod is up

    NOTE:
    It could be done by upversioning openstack-helm-infra and
    openstack-helm to its latest commits (currently
    1147988b8eba6ab7d1e7af262843f641be6657ff and
    18fdc309615f335fe16ad27ab27bb91972aac75a respectively)
    but this upversion has a different series of complications
    that are being discussed in [3].

    [1] https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22
    [2] https://kubernetes.io/docs/reference/using-api/deprecation-guide/#rbac-resources-v122
    [3] https://review.opendev.org/c/starlingx/openstack-armada-app/+/848336

    Closes-Bug: 1980397

    Signed-off-by: Thales Elero Cervi <email address hidden>
    Co-authored-by: Rafael Falcao <email address hidden>
    Change-Id: I0bbecc097fdafdf5ebbc3a164b80ba903b5623f2