Replies: 1 comment 5 replies
-
In the Alert definition you should point Flux to the infrastructure repository and set the infrastructure Kustomization as source. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Somewhat new to using flux v2 so hoping someone may be able to help
"error":"could not create commit status: POST https://api.github.com/repos/(our-org)/(repository)/statuses/commit-hash: 422 No commit found for SHA: commit-hash
In my example i've change things like 'commit-hash' , but hopefully describes the issue
The commit hash it sends to the 'address' repository in the post, is the commit hash of the 'infrastructure' repository, which, in our case is a separate repository from the application repository. The error is 'correct', that hash doesn't exist in the application repository, because its from the 'infrastructure' one.
Beta Was this translation helpful? Give feedback.
All reactions