Skip to content

Commit

Permalink
Cr 2718 api url (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-codefresh committed Jan 25, 2021
1 parent 94c0264 commit 1f73cdb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/interface/cli/commands/gitops/common/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class GitopsInstaller {
}

const installOptions = _.pick(argv, ['git-integration', 'codefresh-integration', 'argo-token', 'output',
'update', 'kube-context-name', 'kube-namespace', 'sync-mode', 'sync-apps']);
'update', 'kube-context-name', 'kube-namespace', 'sync-mode', 'sync-apps', 'codefresh-host',
'codefresh-token', 'codefresh-agent-suffix']);
installOptions['argo-host'] = argoHost;
installOptions['argo-username'] = argoUsername;
installOptions['argo-password'] = argoPassword;
Expand Down
5 changes: 4 additions & 1 deletion lib/interface/cli/commands/gitops/install.cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ const installArgoCmd = new Command({
describe: 'Codefresh api host',
default: 'https://g.codefresh.io/',
})
.option('codefresh-agent-suffix', {
describe: 'Suffix for agent application\'s resources. Can be used for installing multiple agents in one namespace',
default: '',
})
.option('values', {
describe: 'Specify values in a YAML file',
}),
Expand All @@ -96,7 +100,6 @@ const installArgoCmd = new Command({

const providerInstaller = PROVIDERS[provider];
return providerInstaller.install(argv);

},
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codefresh",
"version": "0.74.7",
"version": "0.74.8",
"description": "Codefresh command line utility",
"main": "index.js",
"preferGlobal": true,
Expand Down

0 comments on commit 1f73cdb

Please sign in to comment.