Skip to content
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 "object not found" when using single repo across multiple clusters. #591

Closed
PaulSxxxs opened this issue Sep 20, 2023 · 2 comments

Comments

@PaulSxxxs
Copy link

PaulSxxxs commented Sep 20, 2023

I'm having this same issue as #498 and i am trying to disable GitShallowClone. However i'm unsure how to build the image with --feature-gates=GitShallowClone=false, Can someone provide some guidance to try this?

This seems similar to #164
and #498

Originally posted by @PaulSxxxs in #498 (comment)

@PaulSxxxs PaulSxxxs changed the title I'm having this same issue and have gone down the route of changing gitImplementation to use libgit2, but we're using source.toolkit.fluxcd.io/v1beta2 so this has been deprecated, (https://github.com/fluxcd/source-controller/blob/main/docs/spec/v1beta1/gitrepositories.md#git-implementation) ImageUpdateAutomation "object not found" when using single repo across multiple clusters. Sep 20, 2023
@hiddeco
Copy link
Member

hiddeco commented Sep 20, 2023

You need to patch the image-automation-controller Deployment to include the --feature-gates=GitShallowClone=false argument.

More information around customizing Flux instances can be found here: https://fluxcd.io/flux/installation/configuration/boostrap-customization/

@PaulSxxxs
Copy link
Author

Thanks! I managed to figure out how to patch and the feature gate is applied, but my issue hasn't gone away

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants