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
After the update, the image automation controller (v0.23.0) showed the following error: unable to fetch remote '<gitlab-project-url>': Unhandled HTTP error 422 Unprocessable Entity
Reverting to previous Flux version fixes the issue (as image-automation-controller is reverted to v0.22.1)
Fix / analysis
After digging a while, I manage to fix the issue simply by adding ".git" to my GitRepository URL while running v0.23.0
My url looked like this: https://gitlabhost.com/group/fluxcd, changed it to https://gitlabhost.com/group/fluxcd.git to fix the issue.
Note that Flux documentation does not include the ".git" extension, although there is nothing specific regarding Gitlab. Not sure the issue is specific to Gitlab or also applies to Github repo.
The text was updated successfully, but these errors were encountered:
Gitlab only supports HTTP redirection for GET operations,
and fails POST operations targeting a repository without
the .git suffix.
Fixes: fluxcd/image-automation-controller#379
Signed-off-by: Paulo Gomes <[email protected]>
Gitlab only supports HTTP redirection for GET operations,
and fails POST operations targeting a repository without
the .git suffix.
Fixes: fluxcd/image-automation-controller#379
Signed-off-by: Paulo Gomes <[email protected]>
Hi,
I encountered an issue running the image-automation-controller v0.23.0 after the flux v0.31.0 update.
Flux info
I am bootstrapping using a private Gitlab repo
Issue
After the update, the image automation controller (v0.23.0) showed the following error:
unable to fetch remote '<gitlab-project-url>': Unhandled HTTP error 422 Unprocessable Entity
Reverting to previous Flux version fixes the issue (as image-automation-controller is reverted to v0.22.1)
Fix / analysis
After digging a while, I manage to fix the issue simply by adding ".git" to my GitRepository URL while running v0.23.0
My url looked like this:
https://gitlabhost.com/group/fluxcd
, changed it tohttps://gitlabhost.com/group/fluxcd.git
to fix the issue.Note that Flux documentation does not include the ".git" extension, although there is nothing specific regarding Gitlab. Not sure the issue is specific to Gitlab or also applies to Github repo.
The text was updated successfully, but these errors were encountered: