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

🐛Validate that additional security groups can not have filters #2072

Merged

Conversation

arghya88
Copy link
Contributor

@arghya88 arghya88 commented Oct 27, 2020

What this PR does / why we need it:
Adds validation in webhook to validate that filter can not be there in additional security groups
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1723

Note to reviewer: Will have a separate PR(#2032) to refactor the error handling

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 27, 2020
@k8s-ci-robot k8s-ci-robot requested review from detiber and ncdc October 27, 2020 09:28
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 27, 2020
@arghya88
Copy link
Contributor Author

/assign @randomvariable

@arghya88 arghya88 changed the title 🐛validate filter in security group 🐛Validate that additional security groups can not have filters Oct 27, 2020
@arghya88 arghya88 force-pushed the validate-filter-in-sg branch from 1cf86ec to 61479ed Compare October 27, 2020 13:56
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 29, 2020
@arghya88 arghya88 force-pushed the validate-filter-in-sg branch from 61479ed to 627104a Compare October 30, 2020 03:06
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 30, 2020
@richardcase
Copy link
Member

This seems ok to me short term....although it will be affected by the discussion on #2087 but we can revisit after the decision is made about what to do for AWSResourceReference...so for the time bing being:

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 3, 2020
@randomvariable
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: randomvariable

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 9, 2020
@k8s-ci-robot k8s-ci-robot merged commit 077b4a2 into kubernetes-sigs:master Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

segfault when using additionalSecurityGroups with filters
4 participants