Skip to content

Commit 71fb3c9

Browse files
authored
Merge pull request #453 from mbaldessari/gitea-fix
Gitea no mirror
2 parents 5b3e430 + 5bb6a3d commit 71fb3c9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

content/blog/2024-07-12-in-cluster-git.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,10 @@ git -c http.sslVerify=false clone https://gitea-route-vp-gitea.apps.mcg-hub.aws.
8484
```
8585
In order to avoid the `sslVerify=false` setting you need to download your clusters CA and import it into the git config.
8686

87-
To be able to push changes, for the time being, we will need to convert it to a regular repo by going to
88-
`Repository` -> `Settings` -> `Repository` and at the bottom choose `Convert to Regular Repository`.
89-
90-
Once that is done it is best to create a token in gitea under `Settings` -> `Applications` -> `Manage Access Tokens`.
91-
Create a new token that has repository `Read and Write` permissions. With this token you can clone it once with authentication
92-
and then push changes to the gitea repository:
87+
You can create a token in gitea under `Settings` -> `Applications` -> `Manage
88+
Access Tokens` that repository `Read and Write` permissions. With this token
89+
you can clone it once with authentication and then push changes to the gitea
90+
repository:
9391
```sh
9492
git -c http.sslVerify=false clone https://gitea_admin:<token>@gitea-route-vp-gitea.apps.mcg-hub.aws.validatedpatterns.io/gitea_admin/multicloud-gitops.git
9593
git -c http.sslVerify=false push origin mytestbranch

0 commit comments

Comments
 (0)