This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
Set special "header_placement" TargetGroupAttribute #2
Labels
kind/enhancement
New feature or request
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple sprints to complete.
size/L
Requires few days to complete the PR or the issue.
Is your feature request related to a problem? Please describe.
We have a specific need to set a "special" (read: not publicly exposed) attribute on our NLB target groups. It is not commonly used, but we found this project to be the closest to a solution for us to set those attributes natively without having to run some external script to set those.
The specific key we have to set is
proxy_protocol_v2.client_to_server.header_placement
.Describe the solution you'd like
Either introduce a new annotation to set this "header placement" attribute, or maybe even open this up to allow any arbitrary attribute to be set via annotation?
I know embedding JSON in attribute values can soon get ugly, but I've seen similar things on the ALB ingress controller.
Maybe an annotation like:
We should be able to directly Unmarshal this into an
[]*elbv2.TargetGroupAttribute
(hopefully) and log errors accordingly.Describe alternatives you've considered
Write another operator that would do 99% of what this one does ;-)
Additional context
We are happy to contribute this, whichever way you prefer (specific annotation for this attribute or implement the "generic" annotation).
The text was updated successfully, but these errors were encountered: