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

Commit40c76fc

Browse files
committed
Add runtime version req to skip token validation
Updated skip token validation section with runtime version for this requirement
1 parentc188245 commit40c76fc

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

‎_docs/installation/gitops/gitops-values-yaml-validation.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ global:
7979
{% endhighlight %}
8080

8181
##Disable validation for custom/fine-grained Git tokens
82-
When using token with custom scopes, or GitHub's fine-grained tokens (currently not officially supported by Codefresh),_skip token validation_ to avoid validation failures during installation.
82+
When using token with custom scopes, or GitHub's fine-grained tokens (currently not officially supported by Codefresh),_for Runtime version v0.18.0 or lower, skip token validation_ to avoid validation failures during installation.
8383

84-
Add the`skipGitPermissionValidation` flag to your`values.yaml` file:
84+
85+
* Add the`skipGitPermissionValidation` flag to your`values.yaml` file:
8586

8687
```yaml
8788
app-proxy:
@@ -105,6 +106,5 @@ where:
105106
* `<version>` is the version of the runtime to install.
106107

107108

108-
## Install first GitOps Runtime in account
109-
If you are installing the first GitOps Runtime in your Codefresh account, follow the installation wizard for guided instructions.
109+
110110

‎_docs/installation/gitops/runtime-troubleshooting.md‎

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title:"Troubleshooting GitOpsRuntimes"
2+
title:"Troubleshooting GitOpsRuntime installation"
33
description:"Review how to resolve issues during Runtime installation"
44
toc:true
55
---
@@ -70,32 +70,39 @@ The `--wait` flag in Install Runtime command controls how long the installation
7070
##Invalid Git token error
7171

7272
###Possible cause
73-
Your token is invalid because of missing scopes, or you are using a fine-grained token or one with custom scopes.
73+
Your token is invalid because of missing scopes
74+
OR
75+
You are using a fine-grained token or one with custom scopes
7476

7577
###Resolution
7678

7779
#####Check token scopes
7880

7981
**GitHub Git Runtime token**
80-
| Type| Required scopes|
81-
| ----------------------------|------------------------------|
82+
| Type| Required scopes|
83+
| --------| -----------------|
8284
|**Classic**|{::nomarkdown}<ul><li><codeclass="highlighter-rouge">repo</code></li><li><codeclass="highlighter-rouge">admin:repo_hook</code></li></ul>{:/}|
8385
|**Fine-grained** (personal or group-based) |{::nomarkdown}<ul><li>Repository access: <codeclass="highlighter-rouge">All repositories</code> or <codeclass="highlighter-rouge">Only select repositories</code> including all repos that Argo CD syncs from</li><li>Repository permissions:<ul><li>Administration: <codeclass="highlighter-rouge">Read and write</code></li><li>Commit statuses: <codeclass="highlighter-rouge">Read and write</code></li><li>Contents: <codeclass="highlighter-rouge">Read and write</code></li><li>Metadata: <codeclass="highlighter-rouge">Read-only</code></li><li>Pull requests: <codeclass="highlighter-rouge">Read and write</code></li><li>Webhooks: <codeclass="highlighter-rouge">Read and write</code></li></ul></li></ul></li> </ul>{:/}
84-
**User token**
86+
8587

8688
**GitHub Git user token**
87-
| Type| Required scopes|
88-
| ----------------------------|------------------------------|
89+
| Type| Required scopes|
90+
| ------------|-----------------|
8991
|**Classic**|{::nomarkdown}<ul><li><codeclass="highlighter-rouge">repo</code></li></ul>{:/}|
9092
|**Fine-grained**|{::nomarkdown}<ul><li>Repository access: <codeclass="highlighter-rouge">All repositories</code> or <codeclass="highlighter-rouge">Only select repositories</code></li><li>Repository permissions:<ul><li>Contents: <codeclass="highlighter-rouge">Read and write</code></li><li>Metadata: <codeclass="highlighter-rouge">Read-only</code></li></ul></li></ul></li></ul>{:/}|
9193

9294
<!--- ##### Ensure token formatting
9395
Make sure the token is pasted without leading or trailing spaces.-->
9496

9597
#####Skip validation for fine-grained GitHub tokens
96-
If using a custom-scope or fine-grained token, disable token validation to prevent failures.
98+
If using a custom-scope or fine-grained token and your_Runtime version is v0.18.0 or lower_, you must disable token validation to prevent failures.
99+
100+
1. Check Runtime version:
101+
* In the Codefresh UI, on the toolbar, click the**Settings** icon.
102+
* From the sidebar, select**GitOps Runtimes**.
103+
* In the**Versionw** column, if the chart version is v0.18.0 or lower, continue with_step 2_.
97104

98-
* Add the`skipGitPermissionValidation` flag to your`values.yaml` file:
105+
1. Add the`skipGitPermissionValidation` flag to your`values.yaml` file:
99106

100107
```yaml
101108
app-proxy:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp