Skip to content
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

fix port forwarding in k8s environments #51

Merged
merged 1 commit into from
Oct 5, 2024

Commits on Mar 1, 2024

  1. fix port forwarding in k8s environments

    In kuberentes environment the hostname command will retrun something like pod-bcf579d67-c9plq instead of just pod. And since you can't know the pod name ahead of time, the value being matched for in /config/nat.conf will be just 'pod' and will fail to match, causing the NAT_ENTRY variable to be entry and enter the dhclient loop instead of setting the static ip. This means port forwarding won't work.
    jgilfoil authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    1742b47 View commit details
    Browse the repository at this point in the history