From 7cd9a0b1d50066ff52e6ad491903f3422885ffec Mon Sep 17 00:00:00 2001 From: Esther Kim Date: Wed, 21 Jul 2021 10:31:16 +0900 Subject: [PATCH] fix: added plaintext option to argocd cli --- templates/argo-cd/createapp-wftpl.yaml | 2 +- templates/argo-cd/prepare-argocd-wftpl.yaml | 2 +- templates/decapod-apps/remove-servicemesh-all-wftpl.yaml | 2 +- templates/decapod-apps/service-mesh-wf.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/argo-cd/createapp-wftpl.yaml b/templates/argo-cd/createapp-wftpl.yaml index 2754d5d..3b04c43 100644 --- a/templates/argo-cd/createapp-wftpl.yaml +++ b/templates/argo-cd/createapp-wftpl.yaml @@ -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. diff --git a/templates/argo-cd/prepare-argocd-wftpl.yaml b/templates/argo-cd/prepare-argocd-wftpl.yaml index 100203c..68926f0 100644 --- a/templates/argo-cd/prepare-argocd-wftpl.yaml +++ b/templates/argo-cd/prepare-argocd-wftpl.yaml @@ -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 diff --git a/templates/decapod-apps/remove-servicemesh-all-wftpl.yaml b/templates/decapod-apps/remove-servicemesh-all-wftpl.yaml index 67b1f91..9b3d73c 100644 --- a/templates/decapod-apps/remove-servicemesh-all-wftpl.yaml +++ b/templates/decapod-apps/remove-servicemesh-all-wftpl.yaml @@ -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 diff --git a/templates/decapod-apps/service-mesh-wf.yaml b/templates/decapod-apps/service-mesh-wf.yaml index 6742585..bcc73dc 100644 --- a/templates/decapod-apps/service-mesh-wf.yaml +++ b/templates/decapod-apps/service-mesh-wf.yaml @@ -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