-
Notifications
You must be signed in to change notification settings - Fork 187
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
Issue with recurseSubmodules on 0.37.1 #970
Comments
@aek-arm we have created a rc image to test the fix for this: Can you please give it a try and confirm whether it resolves your issue? |
There was an issue with the previous rc release build. A new image has been generated (still from the same branch). The image above has been updated accordingly. |
Hi @pjbgf - We'll try that one and give feedback. |
Hi @pjbgf Sorry for late reply, I had to define and setup a cluster first. I changed gotk-components.yaml like below, committed and pushed: ~ flux reconcile kustomization flux-system --with-source It proceed but then is failing with this errors on "mkdir modules: read-only file" - while the helm charts before get fetched and stored. {"level":"error","ts":"2022-12-07T17:12:37.522Z","msg":"failed to checkout and determine revision: unable to clone 'https://git.example.com/bitbucket/scm/KUBDEP/cdm-mm-config.git': mkdir modules: read-only file system","controller":"gitrepository","controllerGroup":"source.toolkit.fluxcd.io","controllerKind":"GitRepository","GitRepository":{"name":"cdm-mm-config","namespace":"flux-system"},"namespace":"flux-system","name":"cdm-mm-config","reconcileID":"cd8ddcb5-a547-4a7a-89b1-6c1c8a6aff3c","error":"failed to checkout and determine revision: unable to clone 'https://git.example.com/bitbucket/scm/KUBDEP/cdm-mm-config.git': mkdir modules: read-only file system"} {"level":"error","ts":"2022-12-07T17:12:37.566Z","msg":"Reconciler error","controller":"gitrepository","controllerGroup":"source.toolkit.fluxcd.io","controllerKind":"GitRepository","GitRepository":{"name":"cdm-mm-config","namespace":"flux-system"},"namespace":"flux-system","name":"cdm-mm-config","reconcileID":"cd8ddcb5-a547-4a7a-89b1-6c1c8a6aff3c","error":"failed to checkout and determine revision: unable to clone 'https://git.example.com/bitbucket/scm/KUBDEP/cdm-mm-config.git': mkdir modules: read-only file system"} Happy to try any other bug fix |
Thank you @aek-arm, we will try to reproduce and come up with another fix. (@aryan9600) |
@aek-arm we have another fix for you. Do you mind retrying with |
@pjbgf - can confirm it works! {"level":"info","ts":"2022-12-12T13:51:55.329Z","msg":"stored artifact for commit 'mycommit k8s-base-tenants-master submodule updg...'","controller":"gitrepository","controllerGroup":"source.toolkit.fluxcd.io","controllerKind":"GitRepository","GitRepository":{"name":"my-kustomization","namespace":"flux-system"},"namespace":"flux-system","name":"my-kustomization","reconcileID":"5b4b9fae-9b50-4e98-bc9f-e722325d0d30"} |
@aek-arm excellent, thank you very much for confirming. 🙇 |
For those looking how to test, just patch from the kustomization.yaml
|
Since update from 0.36 to 0.37.1 the below git repo definitions fail with this error:
The source definition:
The moment I remove the recurseSubmodules: true it get's fetched.
The text was updated successfully, but these errors were encountered: