Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-svc-token 생성 부분 수정 #27

Merged
merged 1 commit into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 05_install_decapod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ARGOCD_PASSWD=$(kubectl -n argo get secret argocd-initial-admin-secret -o jsonpa
argo submit --from wftmpl/prepare-argocd -n argo -p argo_server=argo-cd-argocd-server.argo.svc:80 -p argo_password=$ARGOCD_PASSWD --watch

log_info "Create a Git service token secret..."
argo submit --from wftmpl/tks-create-git-svc-token-secret -n argo -p user=$GIT_SVC_USERNAME -p token=$GIT_SVC_TOKEN --watch
argo submit --from wftmpl/tks-create-git-svc-token-secret -n argo -p user=$GIT_SVC_USERNAME -p token=$GIT_SVC_TOKEN -p git_svc_type=$GIT_SVC_TYPE -p git_svc_url=$GIT_SVC_URL --watch

log_info "Add tks-admin cluster to argocd..."
ARGOCD_SERVER=$(kubectl get node | grep -v NAME | head -n 1 | cut -d' ' -f1)
Expand Down
2 changes: 2 additions & 0 deletions conf.sh.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ AWS_ACCOUNT_ID=XXX_MUST_BE_FILLED

GIT_SVC_USERNAME=XXX_MUST_BE_FILLED
GIT_SVC_TOKEN=XXX_MUST_BE_FILLED
GIT_SVC_TYPE=gitea # or github
GIT_SVC_URL=gitea-http.gitea.svc:3000