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 crdPath in automated tests when applying the crd directory #1890

Merged
merged 1 commit into from Apr 29, 2024

Conversation

bjee19
Copy link
Contributor

@bjee19 bjee19 commented Apr 26, 2024

Problem: After modifying the crds path, the automated upgrade test would error when trying to apply the crds:

error: error parsing /home/username/nginx-gateway-fabric/charts/nginx-gateway-fabric/crds: read /home/username/nginx-gateway-fabric/charts/nginx-gateway-fabric/crds: is a directory

Solution: Add a trailing slash to the crdPath.

Testing: Automated upgrade test no longer errors on this section.

Closes

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

@bjee19 bjee19 requested a review from a team as a code owner April 26, 2024 22:33
@github-actions github-actions bot added the bug Something isn't working label Apr 26, 2024
@bjee19 bjee19 force-pushed the fix/apply-crd-directory-correctly branch from da5e133 to 24b127b Compare April 29, 2024 20:01
@bjee19 bjee19 enabled auto-merge (squash) April 29, 2024 20:01
@bjee19 bjee19 merged commit c7fd089 into nginxinc:main Apr 29, 2024
40 checks passed
@bjee19 bjee19 deleted the fix/apply-crd-directory-correctly branch May 7, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants