-
Notifications
You must be signed in to change notification settings - Fork 16
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
Replace jx-git-operator with Argo CD #45
Comments
Hi, thanks for taking my idea to the table, I'm so happy because of that :) I hope I will be able to help you somehow with it soon. Atm I can jump into the discussion at least.
a) First group is for stateful resources and resources that have recursive dependencies. Eamples: StatefulSet, Namespace, PVC. Those kinds of resources should be protected from accidential pruning using ArgoCD's built-in mechanisms b) Second group could be the rest of resources that should be pruned automatically and synced automatically.
That allows to raise an alert if we accidently put an object to a place where it should not be. |
Going further; I think that we could try to remove project's configuration in ConfigMap form from the bootrepo and replace them with CRD's eg.
That would result in:
|
Regarding the ArgoCD installation I would leave a possibility to have a custom way of installation, because there are multiple ways of installing ArgoCD, including by kustomize, by helm, using operator. Probably best would be to split it in docs into two steps:
The second point should be universal and independent of the type of ArgoCD installation. |
I just had loose a thought about the For example people will be able to create operators reacting on project creation/deletion to e.g. register it in monitoring, or even in tasks management software (like pipeline status integration in some external systems). And more simpler form - ArgoCD has a post-sync hooks, a post-sync hook can be used to run e.g. Python script evertime some project in ArgoCD is synced. I see a lot of benefits of moving from bootjob to ArgoCD 😄 |
@ankitm123 @msvticket @tomhobson how do you feel about
|
The release pipeline on the gitops cluster repo (bootjob) has a few issues
We run ArgoCD to sync the our non-jenkins-x config repo to our preprod environment and it is very intuitive and flexible. There is a proposal in the kubernetes slack #jenkins-x-dev channel to replace the above process with Argo CD
The most basic POC could look something like
argo-cd-apps
or somethinghelmfile diff
orargo diff
as a PR commenti have some rough ideas here:
jenkins-x/terraform-google-jx#228
https://github.com/joshuasimon-taulia/helm-argo-cd-apps/commit/4572c611887190bc4f9640e177a8e902ff7b6558
this is what the demo appset generates in my
atlantis
projectwhen you click on the "namespace" application, the ui drills down into your actual k8s objects
The text was updated successfully, but these errors were encountered: