@@ -67,14 +67,14 @@ function printInstallationOptionsSummary({
6767 dryRun,
6868 shouldUseHelm,
6969} ) {
70- let summary = `\n${ colors . green ( 'Installation options summary:' ) }
70+ let summary = `\n${ colors . green ( 'Installation options summary:' ) }
7171 1. Kubernetes Context: ${ colors . cyan ( kubeContextName ) }
7272 2. Kubernetes Namespace: ${ colors . cyan ( kubeNamespace ) }
7373 3. Set this as default account runtime-environment: ${ colors . cyan ( ! ! shouldMakeDefaultRe ) }
7474 4. Execute demo pipeline after install: ${ colors . cyan ( ! ! shouldExecutePipeline ) }
7575 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' }
7878 ` ;
7979
8080 if ( appProxy ) {
@@ -845,7 +845,7 @@ const initCmd = new Command({
845845 return true ;
846846 }
847847
848- const monitoringToken = _ . get ( sdk , 'config.context.token' ) ;
848+ const userToken = _ . get ( sdk , 'config.context.token' ) ;
849849
850850 // install monitoring
851851 installationPlan . addStep ( {
@@ -862,7 +862,7 @@ const initCmd = new Command({
862862 'set-file' : setFile ,
863863 'dry-run' : dryRun ,
864864 'bypass-download' : bypassDownload ,
865- token : monitoringToken ,
865+ token : userToken ,
866866 verbose,
867867 noExit : true , // to prevent if from calling inner: process.exit()
868868 url,
@@ -891,7 +891,7 @@ const initCmd = new Command({
891891 const monitor = {
892892 enabled : shouldInstallMonitoringFn ( ) ,
893893 clusterId : kubeContextName ,
894- token : monitoringToken ,
894+ token : userToken ,
895895 } ;
896896
897897 const global = {
@@ -902,6 +902,7 @@ const initCmd = new Command({
902902 agentName : agent . name ,
903903 accountId : agent . account ,
904904 runtimeName : runtimeNameContext ,
905+ codefreshToken : userToken ,
905906 keys,
906907 } ;
907908
0 commit comments