Skip to content

Commit f88da10

Browse files
CR-3235 (#632)
1 parent 4a60845 commit f88da10

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const valuesMapping = {
88
'kube-context-name': 'Context',
99
'kube-namespace': 'Namespace',
1010
'install-manifest': 'Manifest',
11+
'in-cluster': 'InCluster',
1112

1213
'codefresh-host': 'CodefreshHost',
1314
'codefresh-token': 'Token',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class GitopsInstaller {
2323

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

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ const installArgoCmd = new Command({
5858
.option('kube-namespace', {
5959
describe: 'Namespace in Kubernetes cluster',
6060
})
61+
.option('in-cluster', {
62+
type: 'boolean',
63+
default: false,
64+
describe: 'Use this option if gitops provider is been updated from inside a cluster',
65+
})
6166
.option('output', {
6267
describe: 'Path to k8s manifest output file, example: -o /home/user/out.yaml',
6368
alias: 'o',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const unInstallAgentCmd = new Command({
4444
.option('in-cluster', {
4545
type: 'boolean',
4646
default: false,
47-
describe: 'Use this option if Argo agent is been updated from inside a cluster',
47+
describe: 'Use this option if gitops provider is been updated from inside a cluster',
4848
}),
4949
handler: async (argv) => {
5050
const { provider } = argv;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const command = new Command({
3737
.option('in-cluster', {
3838
type: 'boolean',
3939
default: false,
40-
describe: 'Use this option if Argo agent is been updated from inside a cluster',
40+
describe: 'Use this option if gitops provider is been updated from inside a cluster',
4141
})
4242
.example(
4343
'codefresh upgrade gitops argocd-agent',

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

0 commit comments

Comments
 (0)