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

Remove tls block from ingress on OpenShift #585

Merged
merged 4 commits into from
Aug 7, 2024
Merged

Conversation

madchr1st
Copy link
Contributor

Since we want to use the existing wildcard tls certificate of the ingress controller, we have to remove the tls spec on the ingress object.

Otherwise the ingress operator will not create the corresponding route object.

Source: https://docs.openshift.com/container-platform/4.14/networking/routes/route-configuration.html#creating-edge-route-with-default-certificate_route-configuration

Since we want to use the existing wildcard tls certificate of the ingress controller, we have to remove the `tls` spec on the ingress object.

Source: https://docs.openshift.com/container-platform/4.14/networking/routes/route-configuration.html#creating-edge-route-with-default-certificate_route-configuration
@madchr1st madchr1st requested a review from bliemli April 3, 2024 12:38
Copy link

github-actions bot commented Apr 3, 2024

Copy link
Member

@bliemli bliemli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll have to separate the file into two different variants. One for OpenShift without the TLS block and one that keeps it for all other training variants.

@splattner
Copy link
Member

I'm also just about to introduce tls in other labs. See #574
So I guess we need to split it there also?

@splattner
Copy link
Member

We'll have to separate the file into two different variants. One for OpenShift without the TLS block and one that keeps it for all other training variants.

Oh I just see, I think it is already splitted (with onlywhen etc, see the full file and not only the diff)
And in my linked Pull Request there we also have onlywhen's and the modified ingress are only shown in non openshift variants.
So I think its fine like this

@splattner splattner merged commit 44728eb into main Aug 7, 2024
1 check passed
@splattner splattner deleted the fix/lab-12-3-3 branch August 7, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants