Skip to content

SSH auth not valid to git repo when port set in path #4259

@CamrynCarter

Description

@CamrynCarter

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When attempting to add a new git repo to fleet using ssh auth, specifying a port in the url field causes a 'no known hosts' error. The UI validation now prevents setting a port as part of the path and it must be done via yaml editor. This used to be possible without error.

Expected Behavior

Auth should be allowed to repo URL even with port specified. UI validation shouldn't prevent specification of port

Steps To Reproduce

  1. Add new git repo
  2. Specify repo url including port, UI validation blocks, so set via yaml
  3. Add ssh keys
  4. Choose create, no known hosts error.

Environment

- Architecture:
- Fleet Version: fleet-107.0.4+up0.13.4
- Cluster:
  - Provider:
  - Options:
  - Kubernetes Version:

Logs

Anything else?

Could add a check box to optionally ignore known hosts (or fix port issue)

Ideally remove UI validation that prevents specifying port in path

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🆕 New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions