Skip to content

Commit 1f73cdb

Browse files
Cr 2718 api url (#628)
1 parent 94c0264 commit 1f73cdb

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

lib/interface/cli/commands/gitops/common/install.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class GitopsInstaller {
2222
}
2323

2424
const installOptions = _.pick(argv, ['git-integration', 'codefresh-integration', 'argo-token', 'output',
25-
'update', 'kube-context-name', 'kube-namespace', 'sync-mode', 'sync-apps']);
25+
'update', 'kube-context-name', 'kube-namespace', 'sync-mode', 'sync-apps', 'codefresh-host',
26+
'codefresh-token', 'codefresh-agent-suffix']);
2627
installOptions['argo-host'] = argoHost;
2728
installOptions['argo-username'] = argoUsername;
2829
installOptions['argo-password'] = argoPassword;

lib/interface/cli/commands/gitops/install.cmd.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ const installArgoCmd = new Command({
8787
describe: 'Codefresh api host',
8888
default: 'https://g.codefresh.io/',
8989
})
90+
.option('codefresh-agent-suffix', {
91+
describe: 'Suffix for agent application\'s resources. Can be used for installing multiple agents in one namespace',
92+
default: '',
93+
})
9094
.option('values', {
9195
describe: 'Specify values in a YAML file',
9296
}),
@@ -96,7 +100,6 @@ const installArgoCmd = new Command({
96100

97101
const providerInstaller = PROVIDERS[provider];
98102
return providerInstaller.install(argv);
99-
100103
},
101104
});
102105

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.74.7",
3+
"version": "0.74.8",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)