You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a new group in GitLab called kubefirst-test I didn't notice that the URL path of my created group was kubefirst-test2 even though the name of the group was kubefirst-test.
When running the cluster create command kubefirst k3d create --git-provider gitlab --gitlab-group kubefirst-test --cluster-name kubefirst I received the following error:
The issue appears to be that group names are global in GitLab and if you create a group that collides with an existing group GitLab changes it behind the scenes to be unique. The displayed name will still be what you entered though.
Executing kubefirst k3d create --git-provider gitlab --gitlab-group kubefirst-test2 --cluster-name kubefirst will result in the cluster being created successfully.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Which version of kubefirst are you using?
v2.3.7
Which cloud provider?
k3d (local)
Which DNS?
None specific
Which installation type?
CLI
Which distributed Git provider?
GitLab
Did you use a fork of
gitops-template
?No
Which Operating System?
Linux
What is the issue?
I created a new group in GitLab called
kubefirst-test
I didn't notice that the URL path of my created group waskubefirst-test2
even though the name of the group waskubefirst-test
.When running the cluster create command
kubefirst k3d create --git-provider gitlab --gitlab-group kubefirst-test --cluster-name kubefirst
I received the following error:The issue appears to be that group names are global in GitLab and if you create a group that collides with an existing group GitLab changes it behind the scenes to be unique. The displayed name will still be what you entered though.
The code in https://github.com/kubefirst/runtime/blob/main/pkg/gitlab/gitlab.go#L46 is pulling the
FullPath
key for the group which could differ from FullName, which is what the user would have entered for the group name in the create command.Executing
kubefirst k3d create --git-provider gitlab --gitlab-group kubefirst-test2 --cluster-name kubefirst
will result in the cluster being created successfully.Code of Conduct
The text was updated successfully, but these errors were encountered: