Skip to content

Conversation

@mikhail-aws
Copy link
Contributor

@mikhail-aws mikhail-aws commented Oct 19, 2023

Note:
Add dummy controller for IAM Auth Policy. Policy can be attached to Lattice Service Network or Service. We support only Gateway, HTTP and GRPC routes as target references right now. I will split reconciliation into Gateway and Route types.

Partly #18

@mikhail-aws mikhail-aws requested a review from xWink October 19, 2023 02:59
@coveralls
Copy link

coveralls commented Oct 19, 2023

Pull Request Test Coverage Report for Build 6569276151

  • 0 of 42 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 45.363%

Changes Missing Coverage Covered Lines Changed/Added Lines %
controllers/iamauthpolicy_controller.go 0 42 0.0%
Totals Coverage Status
Change from base Build 6567685790: -0.2%
Covered Lines: 4026
Relevant Lines: 8875

💛 - Coveralls

@mikhail-aws mikhail-aws merged commit 19d3ea7 into main Oct 19, 2023
client: mgr.GetClient(),
}
err := ctrl.NewControllerManagedBy(mgr).
For(&anv1alpha1.IAMAuthPolicy{}).
Copy link
Contributor

Choose a reason for hiding this comment

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

You could add the pkg_builder.WithPredicates(predicate.GenerationChangedPredicate{}) in the later PRs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

GenerationChangedPredicate description is a bit vague to me. Especially "Caveats" section. Why do we use this?

@mikhail-aws mikhail-aws deleted the iam-policy branch October 23, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants