tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.
https://tailscale.com
BSD 3-Clause "New" or "Revised" License
18.76k stars 1.46k forks source link

v1.50+ in k8s container is ignoring authentication by API key #9789

Open jalberto opened 11 months ago

jalberto commented 11 months ago

What is the issue?

When update image to latest stable (1.50+) API authentication is ignored, and it wants to authenticate by URL, in 1.48.2 works as expected.

Steps to reproduce

Are there any recent changes that introduced the issue?

yes, moving stable from 1.48.x to 1.50.x

OS

Linux

OS version

No response

Tailscale version

1.50

Other software

kubernetes

Bug report

No response

maisem commented 11 months ago

The env var for auth key is TS_AUTHKEY and not TS_AUTH. Can you confirm the env var you're using?

jalberto commented 11 months ago

I am using TS_AUTHKEY

On Fri, 13 Oct 2023 at 16:37, Maisem Ali @.***> wrote:

The env var for auth key is TS_AUTHKEY and not TS_AUTH. Can you confirm the env var you're using?

— Reply to this email directly, view it on GitHub https://github.com/tailscale/tailscale/issues/9789#issuecomment-1761629465, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYMVYZIIH2VSQMV3QR32LX7FGZPANCNFSM6AAAAAA563VMYA . You are receiving this because you authored the thread.Message ID: @.***>

DentonGentry commented 11 months ago

Possibly resolved by https://github.com/tailscale/tailscale/pull/9814, which is available in the current unstable release and in Dockerhub with tag unstable