Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow ingress servicePort to be string or number #530

Conversation

thesuperzapper
Copy link
Member

What issues does your PR fix?

What does your PR do?

When we migrated to the networking.k8s.io/v1 version of Ingress, we incorrectly assumed that ingress.web.precedingPaths[].servicePort would always be a number, when previously it could be a port-name also.

This PR, ensure that we place the servicePort into the correct Ingress field, depending on if it is a string or a number.

Checklist

For all Pull Requests

For releasing ONLY

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
@thesuperzapper thesuperzapper added this to the airflow-8.6.0 milestone Feb 23, 2022
@thesuperzapper thesuperzapper added this to Unsorted in Issue Triage and PR Tracking via automation Feb 23, 2022
@thesuperzapper thesuperzapper moved this from Unsorted to PR | Ready to Merge in Issue Triage and PR Tracking Feb 23, 2022
@thesuperzapper thesuperzapper added the status/ready-to-merge status - this will be merged into next release label Mar 22, 2022
@thesuperzapper thesuperzapper merged commit 35c507a into airflow-helm:main Apr 1, 2022
Issue Triage and PR Tracking automation moved this from PR | Ready to Merge to Done Apr 1, 2022
@thesuperzapper thesuperzapper deleted the fix-ingress-service-port-types branch April 1, 2022 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/ready-to-merge status - this will be merged into next release
Development

Successfully merging this pull request may close these issues.

Error if ingress.web.precedingPaths[].servicePort is specified as a string
1 participant