Skip to content

Should give more explicit prompt information when set require-oauth without port flag #196

@zhouying7780

Description

@zhouying7780

Description
When set --require-oauth=true , --authorization-url and --server-url without --port , the prompt information is confusingly.

./kubernetes-mcp-server --kubeconfig=/home/yinzhou/kubeconfig --log-level=9 --require-oauth=true --authorization-url=https://keycloak-keycloak.apps.yinzhou721.qe.devcluster.openshift.com/realms/master --server-url=localhost:8080 Error: authorization-url and server-url are only valid if require-oauth is enabled

Because port flag is missing, so that require-oauth is automatically set to false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions