-
Notifications
You must be signed in to change notification settings - Fork 72
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
ImageUpdateAutomation fails while cloning the git repository. #207
Comments
Sorry for taking a while to get to this @amithapa. The same error message was also reported in fluxcd/source-controller#433. Can I ask you to check whether setting
Oh! Can you figure out any difference between these two GitRepository objects, or their accompanying secrets? Does the secret for k8s-cluster have a different set of data fields, for example. |
A lot of changes took place since this issue was created, focusing on improving git operations stability and the level of details within the error messages. If you are still experiencing this, can you please try again using the image-automation-controller version |
Closing this due to lack of activity. Happy to reopen in case the same issue is being experienced on the latest versions of the controller. |
imageupdateautomation.yaml
gotk-sync.yaml
Source output
Images output with k8-cluster sourceref
Container Images used
Additional Information
Please let me know if additional information is required @pjbgf @stefanprodan |
@pjbgf @stefanprodan |
My flux setup is as follows:
I have two git repositories:
While referencing k8-deployments
sourceRef
in ImageUpdateAutomation I get an error.unable to clone 'ssh://git@github.com/amithapa/k8-deployments', error: Certificate
If I reference
k8-cluster
it works without any error.imageupdateautomation.yaml
Source output
$ flux get source all --all-namespaces NAMESPACE NAME READY MESSAGE REVISION SUSPENDED dev-app gitrepository/app-backend True Fetched revision: develop/a3bc178c92e08884b628c7bd19c42de6dab38d9c develop/a3bc178c92e08884b628c7bd19c42de6dab38d9c False flux-system gitrepository/flux-system True Fetched revision: main/596bf3d8e78519dd2735521028f365cbec1b8804 main/596bf3d8e78519dd2735521028f365cbec1b8804 False flux-system gitrepository/apps-deployment True Fetched revision: main/cda81fd0f1f0aa9413d49dc49a0304cd7346ff79 main/cda81fd0f1f0aa9413d49dc49a0304cd7346ff79 False
Images output with k8-cluster sourceref
Images output with k8-deployment sourceref
The text was updated successfully, but these errors were encountered: