Skip to content

Commit

Permalink
fix: review
Browse files Browse the repository at this point in the history
Signed-off-by: xu.zhu <[email protected]>
  • Loading branch information
xuzhu-591 committed Apr 11, 2023
1 parent a8ff5e7 commit f0c9653
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ GITLAB="$GITLAB,argo-cd.configs.credentialTemplates.gitops-creds.name=gitops-cre

GITHUB_TOKEN="config.gitRepos[0].url=https://github.com"
GITHUB_TOKEN="$GITHUB_TOKEN,config.gitRepos[0].kind=github"
GITHUB_TOKEN="$GITHUB_TOKEN,config.gitRepos[0].token=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"
GITHUB_TOKEN="$GITHUB_TOKEN,config.gitRepos[0].token=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"

# Install horizon of the script
#
Expand Down Expand Up @@ -260,11 +260,13 @@ function install() {

if $UPGRADE
then
cmd="$cmd upgrade --set $GITHUB_TOKEN"
cmd="$cmd upgrade"
else
cmd="$cmd install --set $GITHUB_TOKEN"
cmd="$cmd install"
fi

cmd="$cmd --set $GITHUB_TOKEN"

if $FULL
then
cmd="$cmd --set tags.full=true,tags.minimal=false"
Expand Down

0 comments on commit f0c9653

Please sign in to comment.