Skip to content

Referencing a namespace with the name of an alias inside an alias causes infinite loop #2430

@woehrl01

Description

@woehrl01




Describe the bug
A clear and concise description of what the bug is.

Using the following alias config, and calling the alias causes an inifite loop

aliases:
  argocd: po argocd @cluster-name

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Opening the namespace, or returning an error that I causes an infinite loop.

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

Versions (please complete the following information):

0.30.8

  • OS: [e.g. OSX]
  • K9s: [e.g. 0.1.0]
  • K8s: [e.g. 1.11.0]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions