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

Support for User, ACL, SubnetGroup #11

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

nmvk
Copy link
Member

@nmvk nmvk commented Feb 28, 2022

User

  • Support for secret
  • Re-queue logic to fix correct status
  • E2E Tests
  • Support for determining correct access string change.

ACL

  • E2E Tests using User
  • Re-queue logic to fix correct status
  • E2E framework updated to create other MemoryDB resources in test.

SubnetGroup

  • E2E Tests
  • Determine correct subnets for E2E tests
  • New bootstrap-able data to get correct memory db specific subnets.

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

Copy link

@vijtrip2 vijtrip2 left a comment

Choose a reason for hiding this comment

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

Also please rebase with latest changes in main that got updated to ACK runtime v0.17.1

apis/v1alpha1/generator.yaml Outdated Show resolved Hide resolved
pkg/resource/acl/post_set_output.go Outdated Show resolved Hide resolved
pkg/resource/acl/pre_build_request.go Outdated Show resolved Hide resolved
pkg/resource/user/annotations.go Outdated Show resolved Hide resolved
pkg/resource/user/annotations.go Outdated Show resolved Hide resolved
@nmvk nmvk force-pushed the aclsubnet branch 2 times, most recently from 401b400 to 074eb0f Compare March 16, 2022 09:33
User

Support for secret
Re-queue logic to fix correct status
E2E Tests
Support for determining correct access string change.
ACL

E2E Tests using User
Re-queue logic to fix correct status
E2E framework updated to create other MemoryDB resources in test.
SubnetGroup

E2E Tests
Determine correct subnets for E2E tests
New bootstrap-able data to get correct memory db specific subnets.
Copy link

@vijtrip2 vijtrip2 left a comment

Choose a reason for hiding this comment

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

looks good. two minor comments.

terminal_codes:
- ACLAlreadyExistsFault
- DefaultUserRequired
- UserNotFoundFault

Choose a reason for hiding this comment

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

nit: recommended to remove NotFound errors from terminal code because referencing resources it is usual to see NotFound error while referenced resource is being created

@@ -0,0 +1,16 @@
var resourceSyncedCondition *ackv1alpha1.Condition = nil
Copy link

@vijtrip2 vijtrip2 Mar 21, 2022

Choose a reason for hiding this comment

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

nit: You should not be needing Custom hook for setting Synced condition. If there are no errors and this condition will set to true by default at the end of reconciliation loop. If you want to control it then you can use SyncedConfig inside generator.yaml.

@vijtrip2
Copy link

/lgtm

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 21, 2022
@ack-bot
Copy link
Collaborator

ack-bot commented Mar 21, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kumargauravsharma, nmvk, vijtrip2

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-bot ack-bot merged commit 91f1fce into aws-controllers-k8s:main Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants