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

Allow to specify port fly login will listen for the callback #8111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

databus23
Copy link
Contributor

@databus23 databus23 commented Feb 21, 2022

Changes proposed by this PR

This PR adds a flag token-listener flag to fly login to specify the local listen address explicitly.

This enables workflows where fly is running remotely (e.g. via ssh or docker) and the port needs
to be known a priori to configure a static port forward.

closes #4837

Notes to reviewer

I didn't bother to support this new flag in the legacy auth code path as it seems this is only for really old concourse versions and seems unused at this point.

Release Note

fly: Add optional --token-listener flag to login command

@databus23 databus23 requested a review from a team as a code owner February 21, 2022 12:13
Signed-off-by: Fabian Ruff <fabian.ruff@sap.com>
@xtremerui xtremerui added enhancement release/documented Documentation and release notes have been updated. labels Feb 22, 2022
@xtremerui xtremerui self-assigned this Feb 22, 2022
@xtremerui
Copy link
Contributor

Hi, thx for the PR. Is it possible to add a test udner

Context("token callback listener", func() {
?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement release/documented Documentation and release notes have been updated.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specify fly_port on fly login command
2 participants