HI Everyone:
when I use the helm to push the chart to nexus3,I meet a problem。
the error notice :
[root@k8s-master ~]# helm push mychart-0.1.0.tgz nexus3-helm
Pushing mychart-0.1.0.tgz to nexus3-helm...
Error: 405: could not properly parse response JSON:
<!DOCTYPE html>
<html lang="en">
<head>
<title>405 - Nexus Repository Manager</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!--[if lt IE 9]>
<script>(new Image).src="http://192.168.137.1:8081/favicon.ico?3.23.0-03"</script>
<![endif]-->
<link rel="icon" type="image/png" href="http://192.168.137.1:8081/favicon-32x32.png?3.23.0-03" sizes="32x32">
<link rel="mask-icon" href="http://192.168.137.1:8081/safari-pinned-tab.svg?3.23.0-03" color="#5bbad5">
<link rel="icon" type="image/png" href="http://192.168.137.1:8081/favicon-16x16.png?3.23.0-03" sizes="16x16">
<link rel="shortcut icon" href="http://192.168.137.1:8081/favicon.ico?3.23.0-03">
<meta name="msapplication-TileImage" content="http://192.168.137.1:8081/mstile-144x144.png?3.23.0-03">
<meta name="msapplication-TileColor" content="#00a300">
<link rel="stylesheet" type="text/css" href="http://192.168.137.1:8081/static/css/nexus-content.css?3.23.0-03"/>
</head>
<body>
<div class="nexus-header">
<a href="http://192.168.137.1:8081">
<div class="product-logo">
<img src="http://192.168.137.1:8081/static/images/nexus.png?3.23.0-03" alt="Product logo"/>
</div>
<div class="product-id">
<div class="product-id__line-1">
<span class="product-name">Nexus Repository Manager</span>
</div>
<div class="product-id__line-2">
<span class="product-spec">OSS 3.23.0-03</span>
</div>
</div>
</a>
</div>
<div class="nexus-body">
<div class="content-header">
<img src="http://192.168.137.1:8081/static/rapture/resources/icons/x32/exclamation.png?3.23.0-03" alt="Exclamation point" aria-role="presentation"/>
<span class="title">Error 405</span>
<span class="description">Method Not Allowed</span>
</div>
<div class="content-body">
<div class="content-section">
HTTP method POST is not supported by this URL
</div>
</div>
</div>
</body>
</html>
Error: plugin "push" exited with error
some things:
helm version:
version.BuildInfo{Version:“v3.2.1”, GitCommit:“fe51cd1e31e6a202cba7dead9552a6d418ded79a”, GitTreeState:“clean”, GoVersion:“go1.13.10”}
nexus3 version:3.23.0-03
the nexus3 helm repo url:
nexus3-helm http://192.168.137.1:8081/repository/helm-hosted/
who can help me,thank you !!