Skip to content

Commit 9e04e24

Browse files
committed
docs: translate gitops
Signed-off-by: Bird <aflybird0@gmail.com>
1 parent 1ad2df9 commit 9e04e24

2 files changed

Lines changed: 289 additions & 101 deletions

File tree

docs/best-practices/gitops.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ Then modify the `vars` section in the `config.yaml` file accordingly. Please upd
183183
184184
In the example above, I set these vars like the following:
185185
186-
| Variable | Example | Note |
187-
| ------------------------------ | ----------------- | ------------------------------------------------------------ |
188-
| githubUser | IronCore864 | case-sensitive, use your GitHub username strictly here |
189-
| dockerUser | ironcore864 | case-sensitive, use your DockerHub username strictly here|
186+
| Variable | Example | Note |
187+
|------------|-------------|-----------------------------------------------------------|
188+
| githubUser | IronCore864 | case-sensitive, use your GitHub username strictly here |
189+
| dockerUser | ironcore864 | case-sensitive, use your DockerHub username strictly here |
190190
191191
## 5 Environment Variables
192192
@@ -199,7 +199,7 @@ export DOCKERHUB_TOKEN="YOUR_DOCKERHUB_TOKEN_HERE"
199199
200200
> Note:
201201
>
202-
> if you don't know how to create these three tokens, check out:
202+
> if you don't know how to create these two tokens, check out:
203203
>
204204
> - GITHUB_TOKEN: [Manage API tokens for your Atlassian account](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)
205205
> - DOCKERHUB_TOKEN: [Manage access tokens](https://docs.docker.com/docker-hub/access-tokens/)
@@ -278,7 +278,7 @@ GitHub Actions pipelines are created and executed:
278278
279279
### 8.3 ArgoCD Installation
280280
281-
Argo CD is installed in your Kubernetes cluster:
281+
ArgoCD is installed in your Kubernetes cluster:
282282
283283
```bash
284284
tiexin@mbp ~/work/devstream-io/test $ kubectl get namespaces
@@ -320,10 +320,10 @@ kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 8m2s
320320
If you do a port-forwarding:
321321
322322
```bash
323-
kubectl port-forward -n default svc/helloworld 8080:8
323+
kubectl port-forward -n default svc/helloworld 8080:80
324324
```
325325
326-
And accesses `localhost:8080` in your browser, you can see the deployed app return a "helloworld" to you. Hooray!
326+
And accesses `localhost:8080` in your browser, you can see the deployed app return a "Hello, World!" to you. Hooray!
327327
328328
---
329329

0 commit comments

Comments
 (0)