Skip to content

Commit

Permalink
Merge pull request #49 from estherk0/fix_argo_login
Browse files Browse the repository at this point in the history
fix: added plaintext option to argocd cli
  • Loading branch information
zugwan committed Jul 21, 2021
2 parents a65a297 + 7cd9a0b commit 12cf491
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/argo-cd/createapp-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
- -c
- |
# log into Argo CD server
./argocd login $ARGO_SERVER --insecure --username $ARGO_USERNAME \
./argocd login $ARGO_SERVER --plaintext --insecure --username $ARGO_USERNAME \
--password $ARGO_PASSWORD
# check if app already exists.
Expand Down
2 changes: 1 addition & 1 deletion templates/argo-cd/prepare-argocd-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- /bin/bash
- '-c'
- |
./argocd login $ARGO_SERVER --insecure --username $ARGO_USERNAME \
./argocd login $ARGO_SERVER --plaintext --insecure --username $ARGO_USERNAME \
--password $ARGO_PASSWORD
./argocd proj get lma
Expand Down
2 changes: 1 addition & 1 deletion templates/decapod-apps/remove-servicemesh-all-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ spec:
date=$(date '+%F %H:%M:%S')
echo "[$date] $level $msg"
}
./argocd login $ARGO_SERVER --insecure --username $ARGO_USERNAME \
./argocd login $ARGO_SERVER --plaintext --insecure --username $ARGO_USERNAME \
--password $ARGO_PASSWORD
./argocd app list -p $APP_NAME -o name | xargs ./argocd app delete -y
Expand Down
2 changes: 1 addition & 1 deletion templates/decapod-apps/service-mesh-wf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ spec:
- /bin/bash
- '-c'
- |
./argocd login $ARGO_SERVER --insecure --username $ARGO_USERNAME \
./argocd login $ARGO_SERVER --plaintext --insecure --username $ARGO_USERNAME \
--password $ARGO_PASSWORD
./argocd app sync -l app=service-mesh
Expand Down

0 comments on commit 12cf491

Please sign in to comment.