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
No Kubernetes events are raised after creating a CR instance of accesstokens.projects.gitlab.crossplane.io. It appears this API was recently implemented with #82
How can we reproduce it?
Start watching for events
selector="\involvedObject.apiVersion=projects.gitlab.crossplane.io/v1alpha1,\involvedObject.kind=AccessToken,\involvedObject.name=example-access-token"
kubectl get events -A --watch-only --field-selector="${selector}"
I tested it with the provided examples on ae5ea6d83e742bf3717f1bec85aaa77db5f8b97c and reconciling works without issues. Events can be seen when I run kubectl describe on the object.
@jeremyj563 Maybe your field selector contains some wrong formatting? I am able to get the events by running
kubectl get events -A -w --field-selector="involvedObject.apiVersion=projects.gitlab.crossplane.io/v1alpha1,involvedObject.kind=AccessToken,involvedObject.name=example-access-token"
As this was not part of the issue, I did not test it with a working Gitlab instance, only a plain K8s cluster. Despite that I still received error events that the controller could not connect to Gitlab.
What happened?
No Kubernetes events are raised after creating a CR instance of
accesstokens.projects.gitlab.crossplane.io
. It appears this API was recently implemented with #82How can we reproduce it?
Start watching for events
Create CR instance using the
v0.4.0
example:Observe that expected events are never raised
Also note that no relevant log messages are produced even when using the
--debug
argumentWhat environment did it happen in?
Crossplane version:
v1.13.2
Crossplane Provider GitLab version:
v0.4.0
kubectl version
):k3d
uname -a
)The text was updated successfully, but these errors were encountered: