Open elohmeier opened 4 months ago
Hey @elohmeier, thanks for the PR! Our team is a little bit short on time right now with vacations, so the review is going to take some more weeks. I am sorry for this.
Thanks for you message, no problem. I wonder if there is upstream interest for this addition? If so, please let me know - I would then take a look into the CI issues and rebase.
This PR has been marked as stale because it has not had recent activity. The bot will close the PR if no further action occurs.
Rebased onto latest main branch.
@elohmeier Can you add a usage example for how to specify the mapping? Tried your PR but neither got the IP added nor an error in hccm
. Specified it as
HCLOUD_INSTANCES_INTERNAL_IP_MAP:
nodename: 'nodeip'
This update adds the ability to specify custom internal IP addresses for Hetzner Cloud and Robot Instances through the
HCLOUD_INSTANCES_INTERNAL_IP_MAP
environment variable.This is especially useful when mixing cloud servers with dedicated robot servers via vSwitch / private networks. Users will need to manage the IPs of the robot servers manually anyway, this change let users specify them as well for the InternalIp field in K8S.