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

Add ingressClassName to Policy #1746

Merged
merged 1 commit into from
Jul 24, 2021

Conversation

soneillf5
Copy link
Contributor

Proposed changes

This change adds a filed ingressClassName to a Policy resource. The ingress class is used by the controller to filter out resources that it should not handle. If the ingress class is empty or matches the ingress class of the IngressController then the Policy resource is processed as normal, otherwise it is ignored with no warning or error.

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 master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

@soneillf5 soneillf5 requested review from pleshakov and vepatel July 14, 2021 13:48
@github-actions github-actions bot added documentation Pull requests/issues for documentation enhancement Pull requests for new features/feature enhancements labels Jul 14, 2021
Copy link
Contributor

@pleshakov pleshakov left a comment

Choose a reason for hiding this comment

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

Hi @soneillf5

Please see my review. There is a bug and a few suggestions.

@soneillf5 soneillf5 force-pushed the feature/ingress-class-name-in-policy branch from d81186e to f1ebca1 Compare July 15, 2021 13:46
@soneillf5 soneillf5 requested a review from pleshakov July 15, 2021 13:50
@soneillf5 soneillf5 force-pushed the feature/ingress-class-name-in-policy branch 2 times, most recently from 2e9afff to dfad485 Compare July 20, 2021 11:59
@soneillf5 soneillf5 force-pushed the feature/ingress-class-name-in-policy branch from 0681e90 to e93a6cb Compare July 23, 2021 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Pull requests/issues for documentation enhancement Pull requests for new features/feature enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants