File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
lib/interface/cli/commands/monitor Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ const installMonitorCmd = new Command({
26
26
. option ( 'kube-context-name' , {
27
27
describe : 'Name of the kubernetes context on which monitor should be installed [$CF_ARG_KUBE_CONTEXT_NAME]' ,
28
28
} )
29
- . option ( 'in-cluster ' , {
30
- describe : 'Set flag if monitor is been installed from inside a cluster ' ,
29
+ . option ( 'url ' , {
30
+ describe : 'Codefresh url, by default https://g.codefresh.io ' ,
31
31
} )
32
32
. option ( 'kube-namespace' , {
33
33
describe : 'Name of the namespace on which monitor should be installed [$CF_ARG_KUBE_NAMESPACE]' ,
@@ -37,7 +37,7 @@ const installMonitorCmd = new Command({
37
37
} ) ,
38
38
handler : async ( argv ) => {
39
39
const {
40
- 'in-cluster' : inCluster ,
40
+ url ,
41
41
'kube-config-path' : kubeConfigPath ,
42
42
'cluster-id' : clusterId ,
43
43
token,
@@ -68,10 +68,10 @@ const installMonitorCmd = new Command({
68
68
kubeNamespace,
69
69
token,
70
70
clusterId,
71
- inCluster,
72
71
kubeConfigPath,
73
72
verbose,
74
73
events,
74
+ codefreshHost : url ,
75
75
} ) ;
76
76
if ( monitorInstallStatusCode !== 0 ) {
77
77
throw new Error ( `\nCodefresh Monitoring installation failed with code ${ monitorInstallStatusCode } ` ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " codefresh" ,
3
- "version" : " 0.60.0 " ,
3
+ "version" : " 0.60.1 " ,
4
4
"description" : " Codefresh command line utility" ,
5
5
"main" : " index.js" ,
6
6
"preferGlobal" : true ,
37
37
"cf-errors" : " ^0.1.12" ,
38
38
"chalk" : " ^1.1.3" ,
39
39
"cli-progress" : " 3.6.0" ,
40
- "codefresh-sdk" : " ^ 1.8.0 " ,
40
+ "codefresh-sdk" : " 1.8.4 " ,
41
41
"colors" : " ^1.1.2" ,
42
42
"columnify" : " ^1.5.4" ,
43
43
"compare-versions" : " ^3.4.0" ,
Original file line number Diff line number Diff line change @@ -1242,10 +1242,10 @@ code-point-at@^1.0.0:
1242
1242
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
1243
1243
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=
1244
1244
1245
- codefresh-sdk@^ 1.8.0 :
1246
- version "1.8.3 "
1247
- resolved "https://registry.yarnpkg.com/codefresh-sdk/-/codefresh-sdk-1.8.3 .tgz#462a053ee197bfd6d4793a8a9bb8a97f5ccd2426 "
1248
- integrity sha512-SJOlFZigo/AiaAP1B1g1T96eoXEm8Q93/pVJnv8AVRSyrzHNmIP/BTu/WTzplFjEVv5hfLLt7563wUzgTucDvg ==
1245
+ codefresh-sdk@1.8.4 :
1246
+ version "1.8.4 "
1247
+ resolved "https://registry.yarnpkg.com/codefresh-sdk/-/codefresh-sdk-1.8.4 .tgz#aac884bc9212b0af4036a933c4304318606616f5 "
1248
+ integrity sha512-+qFBae8M9pb6qRZrHzecw7spVZOLWpbQ/pxyBriGuE7PWBzB4nh4x6eb/R/sP41GA1q5WjwNc1KH4yWwGbV4HA ==
1249
1249
dependencies :
1250
1250
bluebird "^3.5.3"
1251
1251
cf-errors "^0.1.12"
You can’t perform that action at this time.
0 commit comments