Skip to content

Revert "feat(runner): add codefreshToken as output for helm-based ins… #829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/CODEOWNERS

This file was deleted.

5 changes: 0 additions & 5 deletions .github/pull_request_template.md

This file was deleted.

13 changes: 6 additions & 7 deletions lib/interface/cli/commands/hybrid/init.cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ function printInstallationOptionsSummary({
dryRun,
shouldUseHelm,
}) {
let summary = `\n${colors.green('Installation options summary:')}
let summary = `\n${colors.green('Installation options summary:')}
1. Kubernetes Context: ${colors.cyan(kubeContextName)}
2. Kubernetes Namespace: ${colors.cyan(kubeNamespace)}
3. Set this as default account runtime-environment: ${colors.cyan(!!shouldMakeDefaultRe)}
4. Execute demo pipeline after install: ${colors.cyan(!!shouldExecutePipeline)}
5. HTTP proxy: ${httpProxy ? colors.cyan(httpProxy) : 'none'}
6. HTTPS proxy: ${httpsProxy ? colors.cyan(httpsProxy) : 'none'}
7. No proxy: ${noProxy ? colors.cyan(noProxy) : 'none'}
6. HTTPS proxy: ${httpsProxy ? colors.cyan(httpsProxy) : 'none'}
7. No proxy: ${noProxy ? colors.cyan(noProxy) : 'none'}
`;

if (appProxy) {
Expand Down Expand Up @@ -845,7 +845,7 @@ const initCmd = new Command({
return true;
}

const userToken = _.get(sdk, 'config.context.token');
const monitoringToken = _.get(sdk, 'config.context.token');

// install monitoring
installationPlan.addStep({
Expand All @@ -862,7 +862,7 @@ const initCmd = new Command({
'set-file': setFile,
'dry-run': dryRun,
'bypass-download': bypassDownload,
token: userToken,
token: monitoringToken,
verbose,
noExit: true, // to prevent if from calling inner: process.exit()
url,
Expand Down Expand Up @@ -891,7 +891,7 @@ const initCmd = new Command({
const monitor = {
enabled: shouldInstallMonitoringFn(),
clusterId: kubeContextName,
token: userToken,
token: monitoringToken,
};

const global = {
Expand All @@ -902,7 +902,6 @@ const initCmd = new Command({
agentName: agent.name,
accountId: agent.account,
runtimeName: runtimeNameContext,
codefreshToken: userToken,
keys,
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@
"./test-setup.js"
]
}
}
}