8000 Add validation to Ingress path by shaun-nx · Pull Request #2775 · nginx/kubernetes-ingress · GitHub
[go: up one dir, main page]

Skip to content

Conversation

shaun-nx
Copy link
Contributor
@shaun-nx shaun-nx commented Jun 20, 2022

Proposed changes

  • Add string validation to the path spec for the Ingress resource
  • Update unit tests to validate the type of error returned

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

@github-actions github-actions bot added the enhancement Pull requests for new features/feature enhancements label Jun 20, 2022
@codecov-commenter
Copy link
codecov-commenter commented Jun 20, 2022

Codecov Report

Merging #2775 (f2a6d01) into main (efae292) will increase coverage by 0.03%.
The diff coverage is 100.00%.

❗ Current head f2a6d01 differs from pull request most recent head be17e5d. Consider uploading reports for the commit be17e5d to get more accurate results

@@            Coverage Diff             @@
##             main    #2775      +/-   ##
==========================================
+ Coverage   53.62%   53.66%   +0.03%     
==========================================
  Files          52       52              
  Lines       14842    14854      +12     
==========================================
+ Hits         7959     7971      +12     
  Misses       6619     6619              
  Partials      264      264              
Impacted Files Coverage Δ
internal/k8s/validation.go 99.20% <100.00%> (+0.02%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Copy link
Contributor
@ciarams87 ciarams87 left a comment

Choose a reason for hiding this comment

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

👍🏼

Copy link
Contributor
@jjngx jjngx left a comment

Choose a reason for hiding this comment

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

👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests for new features/feature enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0