Skip to content
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

fix(console): upgrade install helm sh #1582

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class ChartUsageGuideDialog extends React.Component<ChartUsageGuideDialog
}

componentWillReceiveProps(nextProps: ChartUsageGuideDialogProps) {
let { showDialog } = nextProps;
const { showDialog } = nextProps;
if (showDialog !== this.props.showDialog) {
this.setState({
showDialog: showDialog
Expand Down Expand Up @@ -90,7 +90,7 @@ export class ChartUsageGuideDialog extends React.Component<ChartUsageGuideDialog
<p>
<Trans>
本地安装 Helm 客户端, 更多可查看{' '}
<a href="https://helm.sh/docs/intro/quickstart/" target="_blank">
<a href="https://helm.sh/docs/intro/quickstart/" target="_blank" rel="noreferrer">
安装 Helm
</a>
.{' '}
Expand All @@ -100,7 +100,7 @@ export class ChartUsageGuideDialog extends React.Component<ChartUsageGuideDialog
<Clip target="#installHelm" className="copy-btn">
<Trans>复制</Trans>
</Clip>
<p id="installHelm">{`curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash`}</p>
<p id="installHelm">{`curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | DESIRED_VERSION=v3.6.2 bash`}</p>
</code>
</li>
<li>
Expand All @@ -119,7 +119,7 @@ export class ChartUsageGuideDialog extends React.Component<ChartUsageGuideDialog
<a
href="javascript:;"
onClick={() => {
let urlParams = router.resolve(this.props.route);
const urlParams = router.resolve(this.props.route);
router.navigate(Object.assign({}, urlParams, { sub: 'apikey', mode: '', tab: '' }), {});
}}
>
Expand All @@ -140,7 +140,9 @@ export class ChartUsageGuideDialog extends React.Component<ChartUsageGuideDialog
<p id="installHelmPush">{`helm plugin install https://github.com/chartmuseum/helm-push`}</p>
</code>
<p className="text-weak">
<Trans>如安装失败,可以手动下载后解压到$HOME/.local/share/helm/plugins,解压路径可以通过helm --help 查看</Trans>
<Trans>
如安装失败,可以手动下载后解压到$HOME/.local/share/helm/plugins,解压路径可以通过helm --help 查看
</Trans>
</p>
</li>
<li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class ChartTablePanel extends React.Component<RootProps, any> {
<p>
<Trans>
本地安装 Helm 客户端, 更多可查看{' '}
<a href="https://helm.sh/docs/intro/quickstart/" target="_blank">
<a href="https://helm.sh/docs/intro/quickstart/" target="_blank" rel="noreferrer">
安装 Helm
</a>
.{' '}
Expand All @@ -165,7 +165,7 @@ export class ChartTablePanel extends React.Component<RootProps, any> {
<Clip target="#installHelm" className="copy-btn">
<Trans>复制</Trans>
</Clip>
<p id="installHelm">{`$ curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash`}</p>
<p id="installHelm">{`$ curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | DESIRED_VERSION=v3.6.2 bash`}</p>
</code>
</li>
<li>
Expand All @@ -184,7 +184,7 @@ export class ChartTablePanel extends React.Component<RootProps, any> {
<a
href="javascript:;"
onClick={() => {
let urlParams = router.resolve(this.props.route);
const urlParams = router.resolve(this.props.route);
router.navigate(Object.assign({}, urlParams, { sub: 'apikey', mode: '', tab: '' }), {});
}}
>
Expand Down