Skip to content

Project flag is not working #72

@54nd20

Description

@54nd20

Expected vs actual behavior

  • When setting a project with the -p or --project flag, an error is returned:
pctl  get clusters --project PROJECTNAME
Error: invalid flag/argument passed for project

Setting the project in the configuration file works as expected.

Steps to reproduce the bug

  1. Find a valid project name
  2. Run pctl get clusters --project PROJECTNAME
  3. You will get an error

Are you using the latest version of the project?

You can check your version by running helm ls|grep '^<deployment-name>' or using pctl, pctl version, and provide the output.

pctl version
VERSION: 0.1.5
BUILD: 0.1.5
BUILD-TIME: 1703220028
ARCH: linux/amd64

What is your environment setup? Please tell us your cloud provider, operating system, and include the output of kubectl version --output=yaml and helm version. Any other information that you have, eg. logs and custom values, is highly appreciated!

Running pctl on fedora Linux connecting to a paralus cluster on Exoscale SKS running the latest paralus release.

(optional) If you have ideas on why the bug happens or how it can be solved, please provide it here

  • I've described the bug, included steps to reproduce it, and included my environment setup with all customizations.
  • I'm using the latest version of the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions