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[ManageDomains:k8s]: exclude ipv6 form interfaces in k8s #3925

Merged
merged 1 commit into from
Feb 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions packages/playground/src/components/manage_gateway_dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,17 @@ export default {
if (selectedNode.value.type === WorkloadTypes.zmachine) {
addNetwork(NetworkInterfaces.WireGuard, interfaces?.[0]?.ip);
addNetwork(NetworkInterfaces.PublicIPV4, publicIP?.ip.split("/")[0]);
addNetwork(NetworkInterfaces.Planetary, planetary);
addNetwork(NetworkInterfaces.Mycelium, myceliumIP);
addNetwork(NetworkInterfaces.PublicIPV6, publicIP?.ip6.split("/")[0]);
/**
* WARNING:
* Do not remove the following line!
* VMs only support IPv6 as a domain interface.
* For more details: https://github.com/threefoldtech/tf-images/issues/291
*/
if (props?.vm) {
addNetwork(NetworkInterfaces.Planetary, planetary);
addNetwork(NetworkInterfaces.Mycelium, myceliumIP);
addNetwork(NetworkInterfaces.PublicIPV6, publicIP?.ip6.split("/")[0]);
}
}
if (selectedNode.value.type === WorkloadTypes.zmachinelight) {
addNetwork(NetworkInterfaces.Mycelium, myceliumIP);
Expand Down
Loading