-
Notifications
You must be signed in to change notification settings - Fork 23
fix: [DPE-7704] Local build fqdn for units #645
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
base: main
Are you sure you want to change the base?
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.
I am not sure how will it help to protect from bad DNS (better PR description may help here), but code is OK.
P.S. should scope=cluster be part of this PR?
"""Return the Kubernetes domain.""" | ||
return socket.getfqdn("kubernetes.default").split(".svc.")[-1] |
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.
why split on .svc.? is socket.getfqdn not give us the fqdn?
…ix/dpe7704-k8s-ha # Conflicts: # poetry.lock
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.
Hey! I think this got proposed when I was out of office. Is there anything preventing us from going forward?
Yes, as this not fully address the underlying issue as initially appeared. Right now I have some extra experimentation in my local branch, but need to carve some time to test it. |
Blocked by #644
Fixes #633