Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过ktctl 命令生成config文件的时候出现错误 #458

Open
Hurria opened this issue Jul 19, 2024 · 0 comments
Open

通过ktctl 命令生成config文件的时候出现错误 #458

Hurria opened this issue Jul 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Hurria
Copy link

Hurria commented Jul 19, 2024

Describe the bug
为了进行定制kt的测试,通过ktctl config命令生成 一个kt的模板config,准备把指令中的--namespace 和--image 集成到配置里,打好包后可以直接用ktctk 命令,不用额外指定参数。
使用命令:
ktctl config save-profile test
然后报错提示 配置文件名必须只能 由 字母 数字 下划线 短横线 或点组成,但是从命令上看,我的文件名是符合要求的

Log
ktctl config save-profile test
2:37PM ERR Exit: invalid profile name, must only contains letter, number, underline, hyphen or dot

Environment (please complete the following information):

  • OS: windows11
  • Kubernetes 1.20.15
  • KT Version 0.3.7
@Hurria Hurria added the enhancement New feature or request label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants