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

Always set the route path to empty if not specified #466

Merged
merged 4 commits into from
Apr 11, 2023
Merged

Always set the route path to empty if not specified #466

merged 4 commits into from
Apr 11, 2023

Conversation

idlewis
Copy link
Collaborator

@idlewis idlewis commented Mar 10, 2023

As otherwise a previous path may continue to exist in the route, even if it has been removed from the spec

This is to deal with part of the problem raised in issue #299
When this is merged, the OpenLiberty operator will need to pick up the latest utils, to fix the similar issue
OpenLiberty/open-liberty-operator#363

idlewis and others added 4 commits March 9, 2023 15:48
This is because the CRD is now too long, and 'apply' will refuse to
create it. Apply adds the whole resource as annotation, but create
doesn't
As otherwise a previous path may continue to exist in
the route, even if it has been removed from the spec
Copy link
Member

@leochr leochr left a comment

Choose a reason for hiding this comment

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

Looks good. Updated bundle/tests/scorecard/kuttl/routes/01-add-path.yaml to remove the old image (not compatible with P and Z). The CR update to add route path should still take effect.

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.

2 participants