Skip to content

Agent Autoconfig callback is not IPv6 ready #1133

@andrewazores

Description

@andrewazores

Value: fmt.Sprintf("$(%s), $(%s)[replace(\".\"\\, \"-\")]", podNameEnvVar, podIPEnvVar),

The callback hostname fallback for the Pod IP assumes an IPv4 address. It should check if the Pod IP is IPv4 or IPv6 address and handle these accordingly. The transformation for IPv6 addresses to hostnames should probably just be to enclose the address in square brackets ([1:2:3:4]).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions