Bug description
When setting up a Mission Control context, if your endpoint contains a trailing backslash such as http://someurl/ instead of http://someurl, the context will be successfully, but you will get odd errors much further in the setup process, after trying to connect via kubectl. Such as yaml: line 3: mapping values are not allowed in this context.
Expected behavior
Either prevent this context from being created or output an explicit in red error message when it is created.
Steps to reproduce the bug / Relevant debug output
Output of tanzu version
version: v1.5.3
buildDate: 2025-01-29
sha: f73b9ec
arch: arm64
Environment where the bug was observed (cloud, OS, etc)
Both bash and zsh on MacOS
Bug description
When setting up a Mission Control context, if your endpoint contains a trailing backslash such as
http://someurl/instead ofhttp://someurl, the context will be successfully, but you will get odd errors much further in the setup process, after trying to connect via kubectl. Such asyaml: line 3: mapping values are not allowed in this context.Expected behavior
Either prevent this context from being created or output an explicit in red error message when it is created.
Steps to reproduce the bug / Relevant debug output
tanzu mission-control context createOutput of
tanzu versionversion: v1.5.3
buildDate: 2025-01-29
sha: f73b9ec
arch: arm64
Environment where the bug was observed (cloud, OS, etc)
Both bash and zsh on MacOS