Skip to content

[bug] OCI Collector does not support registries with port included #2826

@brandtkeller

Description

@brandtkeller

Describe the bug

When using a registry with the OCI Collector that requires a port - there is an error being return regarding:

registry parsing error. require format registry:port

Looking at the indicated code, I don't believe this is handled gracefully - rather I believe we should expect that port may be included and parse it accordingly.

In my testing - I am deploying to kubernetes with the helm chart and attempting to hit an internal cluster service with port included.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy a registry to a kubernetes cluster
  2. Configure the oci collector to use the registry sub command and point to the internal registry

Expected behavior

No errors with regards to host formatting

Screenshots
If applicable, add screenshots to help explain your problem.

GUAC version
v1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions