-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat(iam): update iam policy to be compatible version 2.12.0 of lb-controller #26
base: main
Are you sure you want to change the base?
Conversation
Hello @jaygridley I kindly ask you to help me move forward with this. |
Other: do you think it would make sense to introduce an option where this policy can be defined by the user and the ARN can be passed to the module as a variable? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @sassdavid, thanks for you contribution, much appreciated. I think we should keep the webhook policy to Fail
to keep the behaviour the same. Some might rely on this, for example, we do. Please, share your thoughts on this.
At this point I might reveal to you, that we are internally working on a rector of this addon that will bring this capability. So please, stay tuned. |
Hi, yeah, that totally makes sense. I think we can keep the current behavior — for example, by creating a new variable with a default value of "Fail" and passing it to the Helm chart (here). Users who want to use the new approach will still have the option to opt in. Would that work for you? If so, I’ll go ahead and make the modification. |
Hello @sassdavid, we can just add a default configuration into
var.values which will be merged with the default set to Fail effectively overriding it.
|
Okay, it's done @jaygridley. Should we update the default chart version to 2.12.0, since this value is only available in versions above 2.12.0? |
@sassdavid I would bump the default chart version as well |
Hello,
me again :)
Another policy change is needed to use the v2.12.0 version of the load balancer controller.
Description
Here is the release notes: https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/tag/v2.12.0
In v2.12.0, they have changed the default policy of the LBC webhook from Fail to Ignore in order to improve disaster recovery. See their documentation for how to change the policy back to Fail if you want better guarantees for having readiness gates getting attached to your pods.
They’ve added new fields to both the IngressClassParams and
TargetGroupBinding. Please apply the latest CRD definitions: kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller/crds?ref=master"
Type of change
fix
)feat
)refactor
)test
)style
)ci
)docs
)How Has This Been Tested?
deployment of the controller + deployment of testing app