-
Notifications
You must be signed in to change notification settings - Fork 36
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
Unable to create a top level group in self-hosted GitLab #108
Comments
Me too. I'm spinning up a demo system, so all I really want to do is create That may not be possible though (I'm guessing) so then I want a single group
The equivalent
|
It seems like the error is coming from this block of code, which implies that |
Excuse the stream of consciousness, but it looks like I missed that parentIDRef.name is marked as a required field per the api spec. What would that need to be set to for a top level group? |
Looks like this was fixed by #118 |
Closing, since the issue is fixed. |
What happened?
Using the Group Managed Resource, I am unable to create a group at the top level of GitLab (self-hosted 16.4.1) group hierarchy (i.e. with no Parent ID or Parent ID Reference). I looked at the API spec and it does not appear that
parentID
is a required field.Group YAML:
Error shown when
kubectl describe
the resource:cannot resolve references: mg.Spec.ForProvider.ParentID: strconv.Atoi: parsing "": invalid syntax
I also tried to include
parentID
with0
as the value. Using0
returns a "404 Group not found" type error.Notes:
How can we reproduce it?
What environment did it happen in?
Crossplane version: v1.13.2
Crossplane Provider GitLab version: v0.5.0
Cloud provider or hardware configuration: minikube on a local VM
Kubernetes version: 1.27.4
Kubernetes distribution: minikube
OS: Ubuntu
The text was updated successfully, but these errors were encountered: