Skip to content

Commit 39dc2da

Browse files
committed
docs: update according to code review
Signed-off-by: Tiexin Guo <[email protected]>
1 parent 17a77b2 commit 39dc2da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/use-cases/gitops-python-flask/3-github-dtm-tools.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ tools:
2828
name: myapp1
2929
branch: main
3030
scmType: github
31+
token: [[ env GITHUB_TOKEN ]]
3132
sourceRepo:
3233
org: devstream-io
3334
name: dtm-repo-scaffolding-python-flask
@@ -40,13 +41,15 @@ tools:
4041
owner: [[ GITHUB_USER ]]
4142
name: myapp1
4243
scmType: github
44+
token: [[ env GITHUB_TOKEN ]]
4345
pipeline:
4446
configLocation: https://raw.githubusercontent.com/devstream-io/dtm-pipeline-templates/main/github-actions/workflows/main.yml
4547
language:
4648
name: python
4749
framework: flask
4850
imageRepo:
4951
user: [[ DOCKERHUB_USER ]]
52+
password: [[ env IMAGE_REPO_PASSWORD ]]
5053
- name: helm-installer
5154
instanceID: argocd
5255
- name: argocdapp
@@ -63,6 +66,7 @@ tools:
6366
valuefile: values.yaml
6467
path: helm/myapp1
6568
repoURL: ${{repo-scaffolding.myapp1.outputs.repoURL}}
69+
token: [[ env GITHUB_TOKEN ]]
6670
imageRepo:
6771
user: [[ DOCKERHUB_USER ]]
6872
```

0 commit comments

Comments
 (0)