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

Commit19b72b5

Browse files
authored
Update with usage info (#1112)
* Update with usage infoAdded usage and storage info for tokens* Update hybrid-gitops-helm-installation.md
1 parentb1e07b6 commit19b72b5

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,24 @@ If this is your first time installing a GitOps Runtime in your Codefresh account
6565
Terminology clarifications:
6666
In the documentation, Hybrid GitOps Runtimes are also referred to as GitOps Runtimes.
6767

68+
##Git token usage
69+
70+
As a GitOps platform, Codefresh needs to create and access your Git repositories to both store runtime configuration settings for the account, and allow Argo CD to sync Kubernetes resources and templates from the different repositories to your cluster.
71+
72+
We use Git personal access tokens for this: one for Runtimes, and another for each user.
73+
74+
>**IMPORTANT**
75+
At all times,_both tokens are always securely stored on your cluster_ and never stored locally on our platform.
76+
77+
***Git Runtime token**
78+
The Git Runtime token is a Git access token required during the Runtime installation. It is typically associated with a service or robot account and managed by the account administrator.
79+
It is used to create a Git repository to store configuration settings shared across all Runtimes in the account, such as Helm charts and values files. It also enables Argo CD to clone the Git repos, pull changes, and sync to the K8s cluster.
80+
81+
***Git user token**
82+
The Git user token is also a Git access token, unique to each user in the account. It is created after Runtime installation and managed individually by each user. Enables users to manage Git repositories and authorize Git operations or actions directly from the UI or CLI.
83+
84+
Read more on[Git tokens for GitOps]({{site.baseurl}}/docs/security/git-tokens/).
85+
6886

6987

7088
##Preparing for Hybrid GitOps Runtime installation

‎_docs/security/git-tokens.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,22 @@ toc: true
1010

1111

1212

13-
Codefresh requires two types of Git tokens for authentication in GitOps, a Git Runtime token, and a Git user token. The Runtime and user tokens are both Git access tokens, that Codefresh uses for different purposes. See[Git Runtime tokens versus Git user tokens in Codefresh](#git-runtime-tokens-versus-git-user-tokens-in-codefresh).
14-
* The[Git Runtime token](#git-runtime-token-scopes) is mandatory for every GitOps Runtime. It must be provided during the Runtime installation, andcan bea service/Robot account token.
13+
Codefresh requires two types of Git tokens for authentication in GitOps, a Git Runtime token, and a Git user token. The Runtime and user tokens are both Git access tokens which Codefresh uses for different purposes. See[Git Runtime tokens versus Git user tokens in Codefresh](#git-runtime-tokens-versus-git-user-tokens-in-codefresh).
14+
* The[Git Runtime token](#git-runtime-token-scopes) is mandatory for every GitOps Runtime. It must be provided during the Runtime installation, andis typically associated witha service/robot account.
1515
* The[Git user token](#git-user-access-token-scopes) is an access token that is unique to every user in the Codefresh platform. It is required after installation for every Runtime which the user has access to.
1616

17+
>**IMPORTANT**
18+
At all times,_both tokens are always securely stored on your cluster_ and never stored locally on our platform.
1719

1820
Users can also create and use Git tokens with custom scopes for both GitOps Runtimes and for Git repositories associated with the Runtimes that they need to access. See[Git user tokens with custom scopes](#git-user-tokens-with-custom-scopes).
1921

2022
##Git Runtime tokens versus Git user tokens in Codefresh
21-
The table below summarizes the main differences between the Git Runtime and user tokens in Codefresh.
23+
The table below summarizes the main differences between the Git Runtimetokenand Git user tokens in Codefresh.
2224

2325
{: .table .table-bordered .table-hover}
2426
|| Git Runtime token| Git user token|
2527
| --------------------------| ---------------------| ------------------|
26-
| Usage| {::nomarkdown}<ul><li><i>During installation</i>, to create theGit repositoryand install the GitOps Runtime.</li><li><i>After installation</i>, used by:<ul><li>Argo CD to clone the Git repos, pull changes, and sync to the K8s cluster.</li><li> Argo Events to create web hooks in Git repositories.</li><li><codeclass="highlighter-rouge">cap-app-proxy</code> to clone the Shared Configuration Repository</li></ul> {:/}| Authenticate and authorize user actions in Codefresh UI and CLI to Git repositories for every provisioned GitOps Runtime. <br>Users can view and manage the Git user tokens assigned to the Runtimes in the[Git Personal Access Token](https://g.codefresh.io/2.0/user-settings){:target="\_blank"} page.|
28+
| Usage| {::nomarkdown}<ul><li><i>During installation</i>, to create theShared Configuration Repository to store shared runtime settingsand install the GitOps Runtime.</li><li><i>After installation</i>, used by:<ul><li>Argo CD to clone the Git repos, pull changes, and sync to the K8s cluster.</li><li>Used during promotion to perform commits, and pull requests for GitHub.<li> Argo Events to create web hooks in Git repositories.</li><li><codeclass="highlighter-rouge">cap-app-proxy</code> to clone the Shared Configuration Repository</li></ul> {:/}| Authenticate and authorize user actions in Codefresh UI and CLI to Git repositories for every provisioned GitOps Runtime. <br>Users can view and manage the Git user tokens assigned to the Runtimes in the[Git Personal Access Token](https://g.codefresh.io/2.0/user-settings){:target="\_blank"} page.|
2729
| Created | Before Runtime installation; see[required scopes for Git Runtime tokens](#git-runtime-token-scopes). | After Runtime installation; see[required scopes for Git user tokens](#git-user-access-token-scopes).
2830
| Managed by| Admin at account-level| User|
2931
| Associated Account Type| (Recommended)[Service account or robot account](#use-a-servicerobot-account-for-gitops-runtimes)| User account|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp