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/installation/gitops/hybrid-gitops-helm-installation.md
+59-19Lines changed: 59 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,23 +181,40 @@ The Codefresh `values.yaml` located [here](https://github.com/codefresh-io/gitop
181
181
1. Continue with [Step 2: Set up GitOps Git provider](#step-2-set-up-gitops-git-provider).
182
182
183
183
### Step 2: Set up GitOps Git provider
184
-
As a one-time action, select the Git provider and the Shared Configuration Repository to associate with your account.
184
+
As a one-time action, define the Shared Configuration Repository and the Git provider to associate with your account.
185
+
The Git provider you select for the first GitOps Runtime in your account is used for all the other Runtimes installed in the same account.
185
186
186
-
The Git provider you select for the first GitOps Runtime in your account is used for all the other Runtimes installed in the same account.
187
187
188
-
The [Shared Configuration Repository]({{site.baseurl}}/docs/installation/gitops/shared-configuration/) is a Git repository with configuration manifests shared between all the Hybrid GitOps Runtimes within the same account.
189
188
190
-
<br><br>
189
+
**Shared Configuration Repository**
190
+
The [Shared Configuration Repository]({{site.baseurl}}/docs/installation/gitops/shared-configuration/) is a Git repository with configuration manifests shared between all the Hybrid GitOps Runtimes within the same account. Codefresh identifies the Git provider from the URL of the Shared Configuration Repo, and for cloud providers, automatically populates the Git Provider and the API URL fields.
191
191
192
-
1. Select the **Git provider** from the list.
193
-
1. Define the **API URL** for the Git provider you selected, as one of the following:
194
-
* GitHub Cloud: `https://api.github.com`
192
+
**Git provider**
193
+
On-premises Git providers require you to define the API URL:
### Step 4: Configure Git credentials for Hybrid GitOps Runtime
366
-
Configure Git credentials to authorize access to and ensure proper functioning of the GitOps Runtime. This is one of the two steps to complete installing Hybrid GitOps Runtimes, the other being to configure the Runtime as an Argo Application, described in the next step.
383
+
Configure Git credentials to authorize access to and ensure proper functioning of the GitOps Runtime. This is the first of the three steps needed to complete installing Hybrid GitOps Runtimes, the others being to add a Git user token and configure the Runtime as an Argo Application, described in the next steps.
367
384
368
385
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.
369
386
@@ -388,9 +405,21 @@ For more information on generating SSH private keys, see the official documentat
388
405
* To use SSH, copy the SSH private key for your Git provider
389
406
390
407
**How to**
391
-
1. In the Sync Status column for the Runtime you just installed, click **Complete Installation**.
408
+
1. In the Sync Status column for the Runtime you just installed, click **Complete Installation**.
409
+
Codefresh displays the steps needed to complete the installation.
410
+
You may see a message that the Runtime is missing a Git user token. You can ignore this message and continue to complete the installation.
alt="Steps to complete installing Hybrid GitOps Runtime"
418
+
caption="Steps to complete installing Hybrid GitOps Runtime"
419
+
max-width="60%"
420
+
%}
393
421
422
+
{:start="2"}
394
423
1. Do one of the following:
395
424
* If your admin has set up OAuth access, click **Authorize Access to Git Provider**. Go to _step 3_.
396
425
* Alternatively, authenticate with an access token from your Git provider. Go to _step 4_.
@@ -431,10 +460,21 @@ For more information on generating SSH private keys, see the official documentat
431
460
{:start="6"}
432
461
1. Click **Update Credentials**.
433
462
Codefresh displays a message that the Git Runtime credentials have been updated.
434
-
1. Continue with [Step 5: (Optional) Configure Hybrid GitOps Runtime as Argo Application](#step-5-optional-configure-hybrid-gitops-runtime-as-argo-application).
463
+
1. Continue with [Step 5: Add Git user token](#step-5-add-git-user-token).
464
+
465
+
### Step 5: Add Git user token
466
+
Add a Git user token, as a personal access token unique to every user. The permissions for the Git user token are different from those of the Git Runtime token.
467
+
Verify that you have an [access token from your Git provider with the correct scopes]({{site.baseurl}}/docs/reference/git-tokens/#git-user-access-token-scopes).
468
+
469
+
>**TIP**:
470
+
If you already have a Git user token defined, you can skip this step.
471
+
472
+
1. Click **Git user token** to add your personal access token to authorize actions to Git repositories.
473
+
1. Continue with [Step 6: (Optional) Configure Hybrid GitOps Runtime as Argo Application](#step-6-optional-configure-hybrid-gitops-runtime-as-argo-application).
Configure the Hybrid GitOps Runtime as an Argo Application as the final step in the installation process.
440
480
By doing so, you can view the Runtime components, monitor health and sync statuses, and ensure that GitOps is the single source of truth for the Runtime.
@@ -458,28 +498,28 @@ You cannot configure the Runtime as an Argo Application if you have not configur
458
498
%}
459
499
460
500
{:start="3"}
461
-
1. Continue with [Step 6: GitOps with Argo CD: Remove Rollouts controller deployment](#step-6-gitops-with-argo-cd-remove-rollouts-controller-deployment).
501
+
1. Continue with [Step 7: GitOps with Argo CD: Remove Rollouts controller deployment](#step-7-gitops-with-argo-cd-remove-rollouts-controller-deployment).
For GitOps with Argo CD, after confirming successful installation, remove the duplicate Argo Rollouts controller deployment to avoid having two controllers in the cluster.
465
505
466
506
>**IMPORTANT**:
467
507
Make sure to remove only the `deployment` and not the CRDs. Removing the CRDs also removes Rollout objects resulting in downtime for workloads.
0 commit comments