Replies: 1 comment
-
See https://fluxcd.io/flux/use-cases/running-jobs/ PS. The bootstrap should be run for a cluster path, the apps, jobs, anything else should have a dedicated Flux Kustomization. See the example repo on how to structure: https://github.com/fluxcd/flux2-kustomize-helm-example |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team, I have this below directory structure, in which I am bootstrapping the path /dev.
Using the kustomization.yaml I am creating a configMap which uses the data from the specs/config.yaml file and triggers the job.yaml, also I am using that configMap in the job.yaml.
---kustomization.yaml-----
When I am bootstrapping it for the 1st time I am able to see the job is getting created and completed, now when I update/modify the config.yaml and commit the changes to git repository, the Flux-cd is not reapplying the job.
Expectations: Is it possible to re-trigger(not manually) the job everytime I am making any change in the config.yaml or job.yaml and then committing it to the git repository.
Can you please provide any suggestions or configuration I am missing here ?
Thanks in advance!!
Beta Was this translation helpful? Give feedback.
All reactions