Workflow + debugging FluxCD errors -- Any advice? #4965
Replies: 2 comments 3 replies
-
What has been helpful for me is building and applying the kustomizations locally and commit after everything works
If you want to do the same thing with SOPS encrypted secrets you have to decrypt them first
When using post build variable substitution, you could use To avoid polluting the git history and test changes before merging you can configure your local cluster to use a feature branch like this . I can also recommend this script to catch obvious problems. |
Beta Was this translation helpful? Give feedback.
-
@Nathan-Nesbitt I just discovered Flux this week but I already spent many hours learning and playing with it (I love it!) I believe you can implement tests in your pipeline before merging your changes in the main branch. And even if you push directly to the branch, you can have a kustomization test in your pre-commit config. This gitOps workflow is new to me so I am exploring a lot, but I can already foresee these kinds of tests and feedbacks for the end-user without having to go to a different interface. Small example: jobs on the merge event pipeline to wait for the reconciliation and display the Flux and release statuses. |
Beta Was this translation helpful? Give feedback.
-
Hey all,
I'm currently trying to play around with flux and get a basic K8s cluster going using it. Maybe I missed something in the docs, or there's some good docs on best practices, but I'm finding it very difficult to debug/find the core issue of problems in flux and get basic applications running.
Currently my workflow is:
flux get all
for errors thrownMy issues are:
What I'm hoping to get answers for:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions