Skip to content

Ensure Authentik works in IPv6 only environments #437

@telmich

Description

@telmich

The helm chart currently has:

            - name: AUTHENTIK_LISTEN__HTTP
              value: {{ printf "0.0.0.0:%v" .Values.server.containerPorts.http | quote }}
            - name: AUTHENTIK_LISTEN__HTTPS
              value: {{ printf "0.0.0.0:%v" .Values.server.containerPorts.https | quote }}
            - name: AUTHENTIK_LISTEN__METRICS
              value: {{ printf "0.0.0.0:%v" .Values.server.containerPorts.metrics | quote }}

(in deployment.yaml, lines 77+)

The 0.0.0.0 hardcodes IPv4 listeners, which do not work in an IPv6 only enviroment.

I suggest to do the following:

  • add server.bindAddress in values
  • Set it to 0.0.0.0 by default

That way it can be overwritten from the outside, but behaviour stays as it at the moment.

Adding for completeness: I'd expect authentik two work with server.bindAddress=[::]. I will test it in the next days.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions