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].
Reviewed: https:/ /review. opendev. org/c/starlingx /openstack- armada- app/+/848753 /opendev. org/starlingx/ openstack- armada- app/commit/ b87a47d07053c56 f00128d24a054a1 8b898fd3f6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b87a47d07053c56 f00128d24a054a1 8b898fd3f6
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 k8s.api. networking. v1.IngressBacke nd [1] and authorization. k8s.io. v1 [2] documentations.
io.
rbac.
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: helm-infra and a6ab7d1e7af2628 43f641be6657ff and f335fe16ad27ab2 7bb91972aac75a respectively)
It could be done by upversioning openstack-
openstack-helm to its latest commits (currently
1147988b8eb
18fdc309615
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 /kubernetes. io/docs/ reference/ using-api/ deprecation- guide/# rbac-resources- v122 /review. opendev. org/c/starlingx /openstack- armada- app/+/848336
[2] https:/
[3] https:/
Closes-Bug: 1980397
Signed-off-by: Thales Elero Cervi <email address hidden> f5ebbc3a164b80b a903b5623f2
Co-authored-by: Rafael Falcao <email address hidden>
Change-Id: I0bbecc097fdafd