Skip to content

Commit 9b0d45e

Browse files
olegz-codefresh123
andauthored
Cr 1351 v2 (#585)
* CR-1351 Add kube-manifestpath in gitops instalation * CR-1351 Add kube-manifestpath in gitops instalation Co-authored-by: 123 <git config --global user.name 123a.aladov@codefresh.io>
1 parent f1b6a45 commit 9b0d45e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ const installArgoCmd = new Command({
5252
.option('kube-namespace', {
5353
describe: 'Namespace in Kubernetes cluster',
5454
})
55-
.option('kube-manifest-path', {
56-
describe: 'Path to k8s manifest yaml file',
55+
.option('output', {
56+
describe: 'Path to k8s manifest output file, example: -o /home/user/out.yaml',
57+
alias: 'o',
5758
})
5859
.option('sync-mode', {
5960
choices: ['NONE', 'SELECT', 'CONTINUE_SYNC', 'ONE_TIME_SYNC'],
@@ -91,7 +92,7 @@ const installArgoCmd = new Command({
9192
commands.push(kubeConfigPath);
9293
}
9394

94-
const installOptions = _.pick(argv, ['git-integration', 'codefresh-integration', 'argo-host', 'argo-token', 'kube-manifest-path',
95+
const installOptions = _.pick(argv, ['git-integration', 'codefresh-integration', 'argo-host', 'argo-token', 'output',
9596
'argo-username', 'argo-password', 'update', 'kube-context-name', 'kube-namespace', 'sync-mode', 'sync-apps']);
9697

9798
_.forEach(installOptions, (value, key) => {

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.73.15",
3+
"version": "0.73.16",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)