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

Commit83c2a77

Browse files
authored
Add migration from CLI to Helm gitops runtime (#843)
* Add migration from CLI to Helm gitops runtimeAdded first draft of article for migrating CLI runtime to Helm* Update migrationAdded separate step for updating values.yaml* Update migrate-cli-runtimes-helm.md* Update migrate-cli-runtimes-helm.mdImplemented feedback* Update note in helm installEdited note in Helm install with xref to migration* Add troubleshooting section for helm validationAdded section on values.yaml in step 3 and section on helm validation troubleshooting* Update migrate-cli-runtimes-helm.md* Update hybrid-gitops-helm-installation.mdRemoved Helm chart repository in step 1 and <helm-repo-chart-name> flag from install step* Update migrate-cli-runtimes-helm.md* Update migrate-cli-runtimes-helm.mdMinor edits* Update formattingMinor formatting fixes
1 parentab38883 commit83c2a77

File tree

8 files changed

+413
-25
lines changed

8 files changed

+413
-25
lines changed

‎_data/home-content.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@
225225
localurl:/docs/installation/gitops/hybrid-gitops-helm-installation/
226226
-title:On-premises GitOps Runtime installation
227227
localurl:/docs/installation/gitops/on-prem-gitops-runtime-install/
228+
-title:Migrate Hybrid GitOps Runtimes from CLI to Helm
229+
localurl:/docs/installation/gitops/migrate-cli-runtimes-helm/
228230

229231
-title:Administration
230232
icon:images/home-icons/administration.svg

‎_data/nav.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -513,16 +513,18 @@
513513
-title:Hybrid GitOps Runtime
514514
url:"/hybrid-gitops-helm-installation"
515515
-title:Hybrid GitOps Runtime alongside Community Argo CD
516-
url:"/argo-with-gitops-side-by-side"
516+
url:"/argo-with-gitops-side-by-side"
517517
-title:On-premises GitOps Runtime
518518
url:"/on-prem-gitops-runtime-install"
519-
-title:Managing & monitoring GitOps Runtimes
519+
-title:Migrating Hybrid GitOps Runtimes from CLI to Helm
520+
url:"/migrate-cli-runtimes-helm"
521+
-title:Monitoring & managing GitOps Runtimes
520522
url:"/monitor-manage-runtimes"
521523
-title:Shared Configuration Repository
522524
url:"/shared-configuration"
523-
-title:Add external clusters to GitOps Runtimes
525+
-title:Adding external clusters to GitOps Runtimes
524526
url:"/managed-cluster"
525-
-title:Add Git Sources to GitOps Runtimes
527+
-title:Adding Git Sources to GitOps Runtimes
526528
url:"/git-sources"
527529
-title:Download/upgrade GitOps CLI
528530
url:"/upgrade-gitops-cli"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title:"Add Git Sources to GitOps Runtimes"
2+
title:"Adding Git Sources to GitOps Runtimes"
33
description:"Manage Git Sources storing resources"
44
group:installation
55
toc:true

‎_docs/installation/gitops/hybrid-gitops-helm-installation.md‎

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ redirect_from:
77
toc:true
88
---
99

10-
>**ATTENTION**:
11-
We have transitioned to a Helm-based installation for Hybrid GitOps Runtimes for improved experience and performance, which is now the default Runtime for GitOps.
12-
The[CLI-based installation for Hybrid GitOps]({{site.baseurl}}/docs/installation/gitops/hybrid-gitops/) is considered legacy.
13-
We will deprecate this installation mode permanently in the coming months. Please stay tuned for further updates and instructions, including guidelines on the migration process.
14-
10+
>**ATTENTION**:
11+
We have transitioned to a Helm-based installation for Hybrid GitOps Runtimes for improved experience and performance, which is now the default Runtime for GitOps. <br><br>
12+
The CLI-based installation for Hybrid GitOps is considered legacy. We will deprecate this installation mode permanently in the coming months.<br>
13+
You can migrate existing CLI-based GitOps Runtimes to Helm-based ones, as described in[Migrating GitOps Runtimes from CLI to Helm]({{site.baseurl}}/docs/installation/gitops/migrate-cli-runtimes-helm/).
1514

1615

1716
This article walks you through the process of installing Hybrid GitOps Runtimes in your Codefresh accounts using Helm charts. You can install a single GitOps Runtime on a cluster. To install additional Runtimes in the same account, each account must be on a different cluster. Every Runtime within your account must have a unique name.
@@ -346,10 +345,10 @@ helm upgrade --install <helm-release-name> \
346345
--set global.runtime.ingress.enabled=true\
347346
--set "global.runtime.ingress.hosts[0]"=<ingress-host>\
348347
--set global.runtime.ingress.className=<ingress-class>\
349-
<helm-repo-name>/gitops-runtime\
350348
--set argo-cd.fullnameOverride=codefresh-argo-cd\
351349
--set argo-rollouts.fullnameOverride=codefresh-argo-cd\
352350
--set argo-cd.configs.cm.application.resourceTrackingMethod=annotation\
351+
oci://quay.io/codefresh/gitops-runtime\
353352
--wait
354353
{% endhighlight %}
355354
<br>
@@ -364,10 +363,10 @@ helm upgrade --install <helm-release-name> \
364363
--set global.runtime.ingressUrl=<ingress-url>\
365364
--set global.runtime.ingress.enabled=false\
366365
--set tunnel-client.enabled=false\
367-
<helm-repo-name>/gitops-runtime\
368366
--set argo-cd.fullnameOverride=codefresh-argo-cd\
369367
--set argo-rollouts.fullnameOverride=codefresh-argo-cd\
370368
--set argo-cd.configs.cm.application.resourceTrackingMethod=annotation\
369+
oci://quay.io/codefresh/gitops-runtime\
371370
--wait
372371
{% endhighlight %}
373372

@@ -378,7 +377,6 @@ helm upgrade --install <helm-release-name> \
378377
*`<codefresh-account-id>` is mandatory only for_tunnel-based Hybrid GitOps Runtimes_ , which is also the default access mode. Automatically populated by Codefresh in the installation command.
379378
*`<codefresh-api-key>` is the API key, either an existing one or a new API key you generated. When generated, it is automatically populated in the command.
380379
*`<runtime-name>` is the name of the GitOps Runtime, and is either`codefresh` which is the default, or the custom name you define.
381-
*`<helm-repo-name>` is the name of the repo in which to store the Helm chart, and must be identical to the`<hem-repo-name>` you defined in_step 3_, either`cf-gitops-runtime` which is the default, or any custom name you define.
382380
*`gitops-runtime` is the chart name defined by Codefresh, and cannot be changed.
383381
* GitOps with Argo CD installation:
384382
*`argo-cd.fullnameOverride=codefresh-argo-cd` is mandatory when_installing GitOps with Argo CD_ to avoid conflicts at the cluster-level for resources in both the Community Argo CD and GitOps Runtime's Argo CD.
@@ -399,8 +397,8 @@ helm upgrade --install <helm-release-name> \
399397
{:start="5"}
400398
1. Wait for a few minutes, and then click**Close**.
401399
You are taken to the List View for GitOps Runtimes where:
402-
* The Hybrid GitOps Runtime you added is prefixed with a green dot indicating that it is online
403-
* The Type column for the Runtime displays**Helm**
400+
* The Hybrid GitOps Runtime you added is prefixed with a green dot indicating that it is online.
401+
* The Type column for the Runtime displays**Helm**.
404402
* The Sync Status column displays**Complete Installation**, indicating that there are pending steps to complete the installation.
405403
* Drilling down into the Runtime shows empty tabs for Runtime Components, Git Sources, and Managed Clusters.
406404
The Runtime Components are populated only when the GitOps Runtime is configured as an Argo Application, described later on in the installation process.
@@ -427,7 +425,7 @@ Configure Git credentials to authorize access to and ensure proper functioning o
427425
Git credentials include authorizing access to Git through OAuth2 or a Git Runtime token, and optionally configuring SSH access to the Git installation repo for the Runtime.
428426

429427
**Git authorization**
430-
* OAuth2 authorization is possible if your admin has registered an OAuth Application for Codefresh. See[OAuth2 setup forCodefresh]({{site.baseurl}}/docs/administration/account-user-management/oauth-setup/).
428+
* OAuth2 authorization is possible if your admin has registered an OAuth Application for Codefresh. See[OAuth2 setup forGitOps]({{site.baseurl}}/docs/administration/account-user-management/oauth-setup/).
431429
* Git access token authentication requires you to generate an access token in your Git provider account for the GitOps Runtime, with the correct scopes. See[GitOps Runtime token scopes]({{site.baseurl}}/docs/reference/git-tokens/#git-runtime-token-scopes).
432430

433431
**SSH access to Git**
@@ -599,8 +597,6 @@ The Git provider and Shared Configuration Repository is configured once per acco
599597
**Shared Configuration Repository and Git provider**
600598
The Shared Configuration Repository and Git provider are configured once per account, and not required for additional installations.
601599

602-
**Helm chart repository**
603-
The repository for the Helm chart is also configured per account, and is not required for additional installations in the same account.
604600

605601
**Access mode**
606602
You can define the tunnel/ingress/service-mesh-based access mode for the additional GitOps Runtimes you install. The command in the How To below is valid for the tunnel-based access mode. For ingress-based or service-mesh-based access modes, add the required arguments and values, as described in the step-by-step section,[Step 3: Install Hybrid GitOps Runtime](#step-3-install-hybrid-gitops-runtime).

‎_docs/installation/gitops/managed-cluster.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title:"Add external clusters to GitOps Runtimes"
2+
title:"Adding external clusters to GitOps Runtimes"
33
description:"Manage multiple remote clusters with a GitOps Runtime"
44
group:installation
55
sub_group:gitops

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp