@@ -67,14 +67,14 @@ function printInstallationOptionsSummary({
67
67
dryRun,
68
68
shouldUseHelm,
69
69
} ) {
70
- let summary = `\n${ colors . green ( 'Installation options summary:' ) }
70
+ let summary = `\n${ colors . green ( 'Installation options summary:' ) }
71
71
1. Kubernetes Context: ${ colors . cyan ( kubeContextName ) }
72
72
2. Kubernetes Namespace: ${ colors . cyan ( kubeNamespace ) }
73
73
3. Set this as default account runtime-environment: ${ colors . cyan ( ! ! shouldMakeDefaultRe ) }
74
74
4. Execute demo pipeline after install: ${ colors . cyan ( ! ! shouldExecutePipeline ) }
75
75
5. HTTP proxy: ${ httpProxy ? colors . cyan ( httpProxy ) : 'none' }
76
- 6. HTTPS proxy: ${ httpsProxy ? colors . cyan ( httpsProxy ) : 'none' }
77
- 7. No proxy: ${ noProxy ? colors . cyan ( noProxy ) : 'none' }
76
+ 6. HTTPS proxy: ${ httpsProxy ? colors . cyan ( httpsProxy ) : 'none' }
77
+ 7. No proxy: ${ noProxy ? colors . cyan ( noProxy ) : 'none' }
78
78
` ;
79
79
80
80
if ( appProxy ) {
@@ -845,7 +845,7 @@ const initCmd = new Command({
845
845
return true ;
846
846
}
847
847
848
- const monitoringToken = _ . get ( sdk , 'config.context.token' ) ;
848
+ const userToken = _ . get ( sdk , 'config.context.token' ) ;
849
849
850
850
// install monitoring
851
851
installationPlan . addStep ( {
@@ -862,7 +862,7 @@ const initCmd = new Command({
862
862
'set-file' : setFile ,
863
863
'dry-run' : dryRun ,
864
864
'bypass-download' : bypassDownload ,
865
- token : monitoringToken ,
865
+ token : userToken ,
866
866
verbose,
867
867
noExit : true , // to prevent if from calling inner: process.exit()
868
868
url,
@@ -891,7 +891,7 @@ const initCmd = new Command({
891
891
const monitor = {
892
892
enabled : shouldInstallMonitoringFn ( ) ,
893
893
clusterId : kubeContextName ,
894
- token : monitoringToken ,
894
+ token : userToken ,
895
895
} ;
896
896
897
897
const global = {
@@ -902,6 +902,7 @@ const initCmd = new Command({
902
902
agentName : agent . name ,
903
903
accountId : agent . account ,
904
904
runtimeName : runtimeNameContext ,
905
+ codefreshToken : userToken ,
905
906
keys,
906
907
} ;
907
908
0 commit comments