You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/ci-cd-guides/gitops-deployments.md
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -552,6 +552,53 @@ This pipeline:
552
552
553
553
The CD pipeline (described in the previous section) will detect that commit and use the[sync plugin](https://codefresh.io/steps/step/argocd-sync) to instruct ArgoCD to deploy the new tag. Alternatively you can setup the ArgoCD project to auto-sync on its own if it detects changes in the Git repository with the manifests.
554
554
555
+
556
+
##Using the App-of-Apps pattern
557
+
558
+
The GitOps dashboard has native support for the[app-of-apps pattern](https://argo-cd.readthedocs.io/en/stable/operator-manual/cluster-bootstrapping/). If you have a number of applications that are related and you always
559
+
install them as a set in your cluster you can group them in a single Application. The parent application can be defined using[declarative Argo Resources](https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/).
560
+
561
+
As an example, you might find that you always install in your cluster Linkerd, Prometheus and Ambassador. You can group all of them in a single Application
562
+
and deploy them all at once.
563
+
564
+
You can find an existing example of app-of-apps at[https://github.com/argoproj/argocd-example-apps/tree/master/apps](https://github.com/argoproj/argocd-example-apps/tree/master/apps). It is using[Helm]({{site.baseurl}}/docs/yaml-examples/examples/helm/), but you can use any other Kubernetes templating mechanism such as[Kustomize]({{site.baseurl}}/docs/yaml-examples/examples/deploy-with-kustomize/) (or even plain manifests).
565
+
566
+
Once you deploy the application with Codefresh, you will see the parent app in the dashboard with a small arrow:
You can expand the application by clicking on the arrow to inspect its child applications.
578
+
579
+
{% include image.html
580
+
lightbox="true"
581
+
file="/images/guides/gitops/app-of-apps.png"
582
+
url="/images/guides/gitops/app-of-apps.png"
583
+
alt="App of Apps expanded"
584
+
caption="App of Apps expanded"
585
+
max-width="90%"
586
+
%}
587
+
588
+
Then you can either click on the parent application or any of the children to visit the respective dashboard. In the dashboard of the parent application, you will also be notified for its components after each deployment under the "Updated Applications" header:
589
+
590
+
{% include image.html
591
+
lightbox="true"
592
+
file="/images/guides/gitops/updated-apps.png"
593
+
url="/images/guides/gitops/updated-apps.png"
594
+
alt="Children applications"
595
+
caption="Children applications"
596
+
max-width="90%"
597
+
%}
598
+
599
+
Note that the app of apps pattern is best used for related but not interdependent applications. If you have applications that depend on each other (e.g. frontend that needs backend and backend that needs a DB) we suggest you use the standard[Helm dependency mechanism](https://helm.sh/docs/helm/helm_dependency/).
600
+
601
+
555
602
##Integrating Codefresh and Jira
556
603
557
604
>Note that Codefresh currently has to provide you with access to use the Jira Marketplace App. Please get in touch for more information.
Copy file name to clipboardExpand all lines: _docs/whats-new/whats-new.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,10 @@ toc: true
13
13
14
14
##Recent Codefresh Updates:
15
15
16
+
###May 2021
17
+
18
+
- Support for App-of-app patterns in the GitOps dashboard-[documentation]({{site.baseurl}}/docs/ci-cd-guides/gitops-deployments/#using-the-app-of-apps-pattern)
19
+
16
20
###April 2021
17
21
18
22
- Jira integration with Atlassian Open DevOps-[documentation]({{site.baseurl}}/docs/integrations/jira/)