-
Notifications
You must be signed in to change notification settings - Fork 0
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
[DPE-5089] support external connections with node port #21
Conversation
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.
Approving, as the last comments are trivial, great stuff!
Co-authored-by: Mehdi Bendriss <[email protected]>
Co-authored-by: Mehdi Bendriss <[email protected]>
fe4e630
to
30becd8
Compare
1948e35
to
7c3bebb
Compare
46d7cd7
to
e1c68d1
Compare
if expose_external not in Config.ExternalConnections.VALID_EXTERNAL_CONFIG: | ||
return | ||
|
||
self.app_peer_data["expose-external"] = expose_external |
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.
I don't think we need to store value to peer data
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.
I think we should, since the user could incorrectly set the config, I would like to store the most recent correct config
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.
Thanks Mia - I have minor comments.
Co-authored-by: Mehdi Bendriss <[email protected]>
Co-authored-by: Mehdi Bendriss <[email protected]>
Co-authored-by: Mehdi Bendriss <[email protected]>
c5400cf
to
8d357a7
Compare
8d357a7
to
428a40d
Compare
bc82624
to
cd1fa10
Compare
b14b35d
to
dce5a1c
Compare
dce5a1c
to
79e0707
Compare
Issue
External connections are not supported on K8s router
Solution
Support them using nodeport in the same way other charms do
Future Work
What we have here is a good basis to start. When we support: TLS, Upgrade, clients, we will need to make modifications to continue the support of NodePort
Kudos
@phvalguima + @marcoppenheimer knowledge and wisdom for pairing and explaining a lot of this to me. Thank you 🙏