-
Notifications
You must be signed in to change notification settings - Fork 38
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!: split bind address to manage host and port separately #679
feat!: split bind address to manage host and port separately #679
Conversation
219e6ee
to
2f54eab
Compare
a38d607
to
872d23d
Compare
caef5a1
to
1d174a5
Compare
Allows customization of the metrics bind port for the operator container as well as the webhook port. Important for when hostNetwork is `true` Signed-off-by: Christopher Pitstick <[email protected]>
1d174a5
to
5e1b1fb
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #679 +/- ##
=======================================
Coverage 86.51% 86.51%
=======================================
Files 19 19
Lines 1587 1587
=======================================
Hits 1373 1373
Misses 173 173
Partials 41 41
Flags with carried forward coverage won't be shown. Click here to find out more. |
My only concern is that things still aren't quite consistent. For example, I'm approving, but I'd like to hear from others. cc @bacherfl @thisthat @odubajDT |
@toddbaert A dev anti-pattern is to hold a PR hostage by demanding that changes that are not in the PR's scope be made to fix other technical debt. I saw this early in my career, and have learned to aggressive fight it. Fixing the consistency here can be the NEXT PR. But I'm not sure I'm the right person to do this fix, as your team seems to have a particular and peculiar view of what you desire. |
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.
lgtm
Agreed, we just need 2 approvals and I wanted to point out the implicit choice. I'm fine to merge as is. |
Adds webhook port and bind port for metrics server to the Deployment for the main operator. Also allows customization of the metrics bind port for the operator container. This is to prevent port conflicts when
hostNetwork: true
is set (#680)This PR
The bindPort for the metrics server was not customizable for the open-feature-operator. Enabling this to be configured. Also explicitly specify both the metrics server port and the webhook port in the deployment.
Related Issues
Notes
This is necessary for enabling
hostNetwork: true
which is in this PRFollow-up Tasks
How to test
On an EKS cluster where the CNI has been replaced with Calico, and combined with
hostNetwork: true