Creating a group without setting the parentID in the spec leads to an conversion Issue, when parsing the parentID even tough its not available.
The Gitlab-API does not require the parentID to create new groups as stated here: https://docs.gitlab.com/ee/api/groups.html#new-group but is used by the provider.
Therefore it is not possible to create groups at the base level of gitlab or for users.
How can we reproduce it?
The applied yaml:
apiVersion: groups.gitlab.crossplane.io/v1alpha1
kind: Group
metadata:
name: my-group
spec:
forProvider:
description: my group
name: test
path: test
visibility: internal
providerConfigRef:
name: gitlab-provider
What happened?
Creating a group without setting the parentID in the spec leads to an conversion Issue, when parsing the parentID even tough its not available. The Gitlab-API does not require the parentID to create new groups as stated here: https://docs.gitlab.com/ee/api/groups.html#new-group but is used by the provider. Therefore it is not possible to create groups at the base level of gitlab or for users.
How can we reproduce it?
The applied yaml:
Error Message:
What environment did it happen in?
Crossplane version: 1.14.5 Crossplane Provider GitLab version: v0.5.0