Skip to content

feat(VpcEndpointServiceConfiguration): vpc endpoint service configuration controller added #134

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

Closed
wants to merge 3 commits into from

Conversation

ib-ak
Copy link

@ib-ak ib-ak commented Mar 9, 2023

Issue #, if available:
1711

Description of changes
vpc endpoint service configuration controller added
RouteTable fields disabled to make it work.

Functionality

  • create vpc endpoint service
  • delete vpc endpoint service

Tests
relevant test case added. Separate PR raised to update test-infra. Please merge the test-infra PR and update the requirements.txt before running the test cases.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow ack-prow bot requested review from pdk27 and RedbackThomson March 9, 2023 15:22
@ack-prow ack-prow bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 9, 2023
@ack-prow
Copy link

ack-prow bot commented Mar 9, 2023

Hi @ib-ak. Thanks for your PR.

I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Comment on lines +390 to +405
# Routes.GatewayId:
# references:
# resource: InternetGateway
# path: Status.InternetGatewayID
# Routes.NatGatewayId:
# references:
# resource: NATGateway
# path: Status.NATGatewayID
# Routes.TransitGatewayId:
# references:
# resource: TransitGateway
# path: Status.TransitGatewayID
# Routes.VpcEndpointId:
# references:
# resource: VPCEndpoint
# path: Status.VPCEndpointID
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you may have accidentally commented these out :) You need to uncomment this back..

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@ib-ak OK, understood. However, we won't be able to address this PR until that issue has been fixed, since this results in backwards-incompatible changes to the RouteTable CRD...

Copy link
Author

Choose a reason for hiding this comment

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

@jaypipes We have an open issue where RouteTable blocks the build. I have linked it here.

@a-hilaly
Copy link
Member

a-hilaly commented Mar 9, 2023

/ok-to-test

@ack-prow ack-prow bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 9, 2023
@a-hilaly
Copy link
Member

a-hilaly commented Mar 9, 2023

Yeah we'll have to fix the code-generator part that's breaking ec2 - (or at least get rid of the panic). /cc @RedbackThomson

@pdk27 pdk27 removed their request for review March 27, 2023 15:55
@a-hilaly
Copy link
Member

/retest

@a-hilaly
Copy link
Member

/test all

Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

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

Awesome start on this! Thank you!
We just need to fix e2e tests and things should work smoothly


from acktest.resources import random_suffix_name
from acktest.k8s import resource as k8s
from acktest.bootstrapping.elbv2 import NetworkLoadBalancer
Copy link
Member

Choose a reason for hiding this comment

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

@ib-ak This is not something we have in acktest for now. Do you mind PRing to add NetworkLoadBalancer ?

Copy link
Author

Choose a reason for hiding this comment

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

@ack-prow
Copy link

ack-prow bot commented Apr 25, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: A-Hilaly, ib-ak

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

@ack-prow ack-prow bot added the approved label Apr 25, 2023
@ack-prow
Copy link

ack-prow bot commented May 18, 2023

@ib-ak: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ec2-metadata-file-test 3742f13 link true /test ec2-metadata-file-test
ec2-kind-e2e 3742f13 link true /test ec2-kind-e2e
ec2-codespell 3742f13 link true /test ec2-codespell

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ack-bot
Copy link
Collaborator

ack-bot commented Nov 14, 2023

Issues go stale after 180d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 60d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle stale

@ack-prow ack-prow bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 14, 2023
ack-prow bot pushed a commit that referenced this pull request Jan 3, 2024
… functionality (#172)

Related to:
- aws-controllers-k8s/community#1711

Description of changes:
This is the continuation of PR #134 (Credit to @ib-ak !).
This PR:
- Adds the `VPCEndpointService` custom resource from the code-generator
- Adds the field `spec.allowedPrincipals` of type `[]string`, which allows the user to specify a list of ARNs to share the VPC Endpoint Service with. Any Principals added to this list will have the VPC Endpoint Service shared with them. This field also ensures that Principals that are removed from the list have the VPC Endpoint Service share removed.
- Tests are added for creation/deletion and for adding/deleting Principals to the Allowed List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
@a-hilaly a-hilaly closed this Jan 8, 2024
nnbu pushed a commit to nnbu/ack-ec2-controller that referenced this pull request Sep 18, 2024
… functionality (aws-controllers-k8s#172)

Related to:
- aws-controllers-k8s/community#1711

Description of changes:
This is the continuation of PR aws-controllers-k8s#134 (Credit to @ib-ak !).
This PR:
- Adds the `VPCEndpointService` custom resource from the code-generator
- Adds the field `spec.allowedPrincipals` of type `[]string`, which allows the user to specify a list of ARNs to share the VPC Endpoint Service with. Any Principals added to this list will have the VPC Endpoint Service shared with them. This field also ensures that Principals that are removed from the list have the VPC Endpoint Service share removed.
- Tests are added for creation/deletion and for adding/deleting Principals to the Allowed List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants