Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitafeee21

Browse files
authored
Gitops app resources external links (#1048)
* Update manage-application.mdAdded task on external link annotations* Add external linksAdded section on viewing and accessing external links* Update applications-dashboard.md
1 parent1b08eea commitafeee21

File tree

5 files changed

+61
-1
lines changed

5 files changed

+61
-1
lines changed

‎_docs/deployments/gitops/applications-dashboard.md‎

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ The icon for a resource node identifies the type of Kubernetes resource it repre
318318
What can you do with application resources?
319319
* View application resources in[List or Tree views](#view-modes-for-application-resources)
320320
*[Filter resources](#filters-for-application-resources) to focus on what's important
321-
* Delete resources
321+
*[Access external links](#access-external-links) if defined
322+
*[Delete resources](#delete-application-resources)
322323
* Monitor resources:
323324
*[Health status](#health-status-for-application-resources)
324325
*[Sync status](#sync-status-for-application-resources)
@@ -477,6 +478,46 @@ caption="Current State filtered by IgnoreExtraneous resources"
477478
max-width="50%"
478479
%}
479480

481+
###Access external links
482+
If your Kubernetes resources have annotations that define external links, the {::nomarkdown}<img src="../../../../images/icons/external-link-resources.png" display=inline-block">{:/} is displayed below the context menu of the resource. Clicking the icon shows the list of external links configured for the resource.
483+
484+
>**NOTE**
485+
This feature requires GitOps Runtime chart version 0.10.0.
486+
487+
488+
489+
{% include
490+
image.html
491+
lightbox="true"
492+
file="/images/applications/current-state-resource-external-link.png"
493+
url="/images/applications/current-state-resource-external-link.png"
494+
alt="External links for deployment resource in Current State Tree view"
495+
caption="External links for deployment resource in Current State Tree view"
496+
max-width="50%"
497+
%}
498+
499+
Ingress resources automatically display external links. Clicking {::nomarkdown}<img src="../../../../images/icons/external-link-resources.png" display=inline-block">{:/} displays the links configured.
500+
501+
{% include
502+
image.html
503+
lightbox="true"
504+
file="/images/applications/current-state-ingress-links.png"
505+
url="/images/applications/current-state-ingress-links.png"
506+
alt="External links for ingress resource in Current State Tree view"
507+
caption="External links for ingress resource in Current State Tree view"
508+
max-width="50%"
509+
%}
510+
511+
512+
513+
Use this annotation to add the external link to a Kubernetes resource:
514+
```yaml
515+
annotations:
516+
link.argocd.argoproj.io/external-link:http://my-grafana.example.com/pre-generated-link
517+
```
518+
519+
For more details on this feature, see [Argo CD's documentation on Adding external URLs](https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/){:target="\_blank"}.
520+
480521
### Delete application resources
481522
Delete specific resources in an application directly from the Codefresh UI.
482523

‎_docs/deployments/gitops/manage-application.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,25 @@ Codefresh warns you of the implication of deleting the selected application in t
705705
1. To confirm, click **Commit & Delete**.
706706

707707

708+
## Add external links to application resources
709+
Add external links to application resources through annotations to view and access them directly from the Current State's Tree view.
710+
External links include links to dashboards such as monitoring dashboards, documentation, or any other external resource you think is relevant to the resource.
711+
712+
See Argo CD's documentation on [Adding external URL](https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/){:target="\_blank"}.
713+
714+
715+
1. From the sidebar, select GitOps Apps, and then select the application for which to add external links.
716+
1. Add the following annotation:
717+
718+
```yaml
719+
...
720+
metadata:
721+
annotations:
722+
link.argocd.argoproj.io/external-link: <external-link. # http://my-grafana.example.com/pre-generated-link
723+
...
724+
```
725+
1. Click the icon is displayed next to the resource in the Tree view to access the external link.
726+
708727

709728

710729

77.2 KB
Loading
63.9 KB
Loading
332 Bytes
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp