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

Commit6f00cd6

Browse files
authored
Add delete git source (#1219)
Added section on delete git sources
1 parent025314d commit6f00cd6

File tree

1 file changed

+31
-12
lines changed

1 file changed

+31
-12
lines changed

‎_docs/installation/gitops/git-sources.md‎

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ You must be in the List View for GitOps Runtimes to create Git Sources.
257257

258258
**How to**
259259
1. In the Codefresh UI, on the toolbar, click the**Settings** icon.
260-
1. FromRuntimes inthe sidebar, select[GitOps Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes**){:target="\_blank"}.
261-
1.In the List View, select the Runtime for which to create a Git Source, and then click the**Git Sources** tab.
260+
1. From the sidebar, select**GitOps Runtimes**.
261+
1.From the List View, select the Runtime for which to create a Git Source, and then click the**Git Sources** tab.
262262
1. Click**Create Git Source**, and in the Create Git Source panel, follow the instructions to define the settings for the Git Source.
263263

264264
{% include
@@ -306,8 +306,9 @@ For how-to instructions, see [Create a Git Source](#create-a-git-source).
306306
##View Git Sources and settings
307307
Drill down on a GitOps Runtime in List View to see its Git Sources.
308308

309-
1. In the Codefresh UI, go to the[GitOps Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"} page.
310-
1. From the**List View** (the default), click a Runtime name, and then select the**Git Sources** tab.
309+
1. In the Codefresh UI, on the toolbar, click the**Settings** icon.
310+
1. From the sidebar, select**GitOps Runtimes**.
311+
1. From the**List View** (the default), select a Runtime, and then click the**Git Sources** tab.
311312

312313
{% include
313314
image.html
@@ -321,7 +322,7 @@ Drill down on a GitOps Runtime in List View to see its Git Sources.
321322

322323
{:start="3"}
323324
1. To go to the Git Source repo, in the Repo column, mouse over the repo name and select**Go to Git repo**.
324-
1. To see the settings for the Git Source,select the context menu at the end of the row, and click**Details**.
325+
1. To see the settings for the Git Source,from the context menu, select**Details**.
325326

326327

327328

@@ -332,10 +333,10 @@ Edit an existing Git Source by changing the source and destination definitions,
332333
You cannot change the name and type of the Git Source.
333334

334335
1. In the Codefresh UI, on the toolbar, click the**Settings** icon.
335-
1. FromRuntimes inthe sidebar, select[GitOps Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes**){:target="\_blank"}.
336-
1. From the**List View** (the default), select the Runtime with the Git Source, and thenselect the**Git Sources** tab.
337-
1.In therow withthe Git Source to edit, from the context menuselect**Details**.
338-
1.In the panel that appears, click**Edit**.
336+
1. From the sidebar, select**GitOps Runtimes**.
337+
1. From the**List View** (the default), select the Runtime with the Git Source, and thenclick the**Git Sources** tab.
338+
1.From thecontext menu ofthe Git Source,select**Edit**.
339+
1.Change as needed and select**Save**.
339340

340341
<!---
341342
{% include
@@ -351,10 +352,28 @@ You cannot change the name and type of the Git Source.
351352
1. Update **Source**, **Destination**, and **Include** and **Exclude** definitions for the Git Source, and select **Save**.
352353
-->
353354

354-
<!---## DeleteaGitSource
355-
Delete a Git Source
355+
##Delete GitSources
356+
Delete a Git Sourcefrom a GitOps Runtime whenever needed. You may want to delete a Git Source that is empty or no longer associated with active applications.
356357

357-
-->
358+
>**NOTE**
359+
Only account administrators can delete Git Sources.
360+
361+
#####Effect on applications and resources
362+
Deleting a Git Source impacts all applications and resources associated with it.
363+
Whether an application or a resource is deleted depends on the presence of the`resources-finalizer.argocd.argoproj.io` finalizer in its**_parent application manifest_**.
364+
365+
***Git Source and linked applications**
366+
By default, the Git Source includes the`resources-finalizer.argocd.argoproj.io` finalizer. This means that when you delete the Git Source, all linked applications and their manifests are removed from both the Codefresh UI and the cluster.
367+
368+
***Resources associated with applications**
369+
Resources associated with applications are deleted**_only if the manifests of their parent applications_** contain the`resources-finalizer.argocd.argoproj.io` finalizer. If the finalizer is absent, the resources remain in the cluster even after the application is deleted.
370+
371+
#####How to
372+
1. In the Codefresh UI, on the toolbar, click the**Settings** icon.
373+
1. From the sidebar, select**GitOps Runtimes**.
374+
1. From the**List View** (the default), select the Runtime with the Git Source, and then click the**Git Sources** tab.
375+
1. From the context menu of the Git Source, select**Delete**.
376+
1. To confirm, click**Delete**.
358377

359378
##Example YAMLs of Git Source resources
360379

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp