Files
doc-exports/docs/cce/api-ref/UpdateRelease.html
qiujiandong1 ebc8247e23 CCE API update 20250114 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-03-05 16:51:16 +00:00

451 lines
31 KiB
HTML

<a name="UpdateRelease"></a><a name="UpdateRelease"></a>
<h1 class="topictitle1">Updating a Release</h1>
<div id="body32001227"><div class="section" id="UpdateRelease__section2519191955416"><h4 class="sectiontitle">Function</h4><p id="UpdateRelease__p95191019105416">This API is used to update a release.</p>
</div>
<div class="section" id="UpdateRelease__en-us_topic_0000001896129293_atuogenerate_1"><h4 class="sectiontitle">URI</h4><p id="UpdateRelease__p4520919135416">PUT /cce/cam/v3/clusters/{cluster_id}/namespace/{namespace}/releases/{name}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateRelease__table2052110199548" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="UpdateRelease__row252019192542"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="UpdateRelease__p18522131905416">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="UpdateRelease__p1652231995415">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="UpdateRelease__p55221019185411">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="UpdateRelease__p5523121919549">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateRelease__row105201419135418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateRelease__p9523619185413">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateRelease__p55231519185410">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateRelease__p852416193543">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateRelease__p10524619125416">Release name</p>
</td>
</tr>
<tr id="UpdateRelease__row1452014192544"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateRelease__p1652513194546">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateRelease__p13525919125416">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateRelease__p1152519194547">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateRelease__p2052661935414">Namespace of the chart</p>
</td>
</tr>
<tr id="UpdateRelease__row1752151913546"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateRelease__p852621905416">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateRelease__p1352761955414">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateRelease__p7527119195411">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateRelease__p10528181995413">Cluster ID. For details about how to obtain the value, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateRelease__section65286199548"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateRelease__en-us_topic_0000001896129293_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="UpdateRelease__row25292195540"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="UpdateRelease__p1953018197548">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="UpdateRelease__p18530171975415">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="UpdateRelease__p205311192543">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="UpdateRelease__p14531719115419">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateRelease__row3529181975410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateRelease__p15531819115417">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateRelease__p12532201910547">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateRelease__p145321319125417">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateRelease__p175132048141618">Details:</p>
<p id="UpdateRelease__p1513184851611">Request body type or format.</p>
<p id="UpdateRelease__p363312163118">Constraints:</p>
<p id="UpdateRelease__p86331116121112">The GET method is not verified.</p>
<p id="UpdateRelease__p36336166115">Options:</p>
<ul id="UpdateRelease__ul166331116111111"><li id="UpdateRelease__li6633516101110">application/json</li><li id="UpdateRelease__li1363351614116">application/json;charset=utf-8</li><li id="UpdateRelease__li0633191617110">application/x-pem-file</li><li id="UpdateRelease__li192591549143012">multipart/form-data (It can be used when the <strong id="UpdateRelease__uploadchart_b1058912225107">FormData</strong> parameter exists.)</li></ul>
<p id="UpdateRelease__p363331671112">Default value:</p>
<p id="UpdateRelease__p5633151617112">N/A</p>
</td>
</tr>
<tr id="UpdateRelease__row652921911549"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateRelease__p5533151965414">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateRelease__p145331319175412">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateRelease__p15341519115417">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateRelease__p253421945411">Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token. For details, see <a href="cce_02_0004.html">API Usage Guidelines</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateRelease__en-us_topic_0000001896129293_request_UpdateReleaseReqBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="UpdateRelease__row853551995418"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="UpdateRelease__p15365195542">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="UpdateRelease__p19536171917547">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="UpdateRelease__p453751915419">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="UpdateRelease__p20537181917549">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateRelease__row125351719135412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateRelease__p353719191541">chart_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateRelease__p1953881911540">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateRelease__p18539201910543">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateRelease__p17539819115414">Chart ID</p>
</td>
</tr>
<tr id="UpdateRelease__row8535121915410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateRelease__p1454081912540">action</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateRelease__p15540171955418">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateRelease__p205408199544">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateRelease__p20541219165411"><strong id="UpdateRelease__b1754161919543">upgrade</strong> for an upgrade and <strong id="UpdateRelease__b1954101995417">rollback</strong> for a rollback</p>
</td>
</tr>
<tr id="UpdateRelease__row1753513199543"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateRelease__p45411419175414">parameters</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateRelease__p195424194542">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateRelease__p554251915547"><a href="#UpdateRelease__en-us_topic_0000001896129293_request_ReleaseReqBodyParams">ReleaseReqBodyParams</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateRelease__p654311965410">Release parameters</p>
</td>
</tr>
<tr id="UpdateRelease__row8535121915544"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateRelease__p254331935414">values</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateRelease__p1354361913545">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateRelease__p154461925412"><a href="#UpdateRelease__en-us_topic_0000001896129293_request_values">values</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateRelease__p1954451911549">Release value</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateRelease__en-us_topic_0000001896129293_request_ReleaseReqBodyParams"></a><a name="en-us_topic_0000001896129293_request_ReleaseReqBodyParams"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateRelease__en-us_topic_0000001896129293_request_ReleaseReqBodyParams" frame="border" border="1" rules="all"><caption><b>Table 4 </b>ReleaseReqBodyParams</caption><thead align="left"><tr id="UpdateRelease__row3545719165413"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="UpdateRelease__p20547101918548">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="UpdateRelease__p1954761913549">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="UpdateRelease__p1354821915547">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="UpdateRelease__p5548191911540">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateRelease__row45455193546"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateRelease__p454810191549">dry_run</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateRelease__p1954961918549">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateRelease__p1854913191545">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateRelease__p15550119185417">After this function is enabled, only chart parameters are verified, and installation is not performed.</p>
</td>
</tr>
<tr id="UpdateRelease__row15545171913543"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateRelease__p195508194547">name_template</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateRelease__p9551121985411">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateRelease__p45511219185417">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateRelease__p155171911545">Release name template</p>
</td>
</tr>
<tr id="UpdateRelease__row454641995415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateRelease__p35523195547">no_hooks</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateRelease__p455219196546">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateRelease__p18553171925412">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateRelease__p15553181914544">Whether to disable hooks during installation</p>
</td>
</tr>
<tr id="UpdateRelease__row10546201910543"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateRelease__p15541519145418">replace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateRelease__p0554161914549">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateRelease__p355481935410">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateRelease__p185551719125414">Whether to replace the release with the same name</p>
</td>
</tr>
<tr id="UpdateRelease__row1854641910549"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateRelease__p14555191913543">recreate</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateRelease__p5556111925420">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateRelease__p7556111916549">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateRelease__p1555712194544">Whether to rebuild the release</p>
</td>
</tr>
<tr id="UpdateRelease__row14546161955418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateRelease__p14558141919545">reset_values</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateRelease__p15558719185418">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateRelease__p19559171920545">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateRelease__p85594195541">Whether to reset values during an update</p>
</td>
</tr>
<tr id="UpdateRelease__row2546919115418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateRelease__p9559141925412">release_version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateRelease__p1356016197547">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateRelease__p145601219105416">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateRelease__p165610199540">Version of the rollback release</p>
</td>
</tr>
<tr id="UpdateRelease__row4546101965415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateRelease__p556119199547">include_hooks</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateRelease__p9561161917549">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateRelease__p17562141905411">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateRelease__p195626193541">Enable hooks during an update or deletion.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateRelease__en-us_topic_0000001896129293_request_values"></a><a name="en-us_topic_0000001896129293_request_values"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateRelease__en-us_topic_0000001896129293_request_values" frame="border" border="1" rules="all"><caption><b>Table 5 </b>values</caption><thead align="left"><tr id="UpdateRelease__row2563019175416"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="UpdateRelease__p1456471985413">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="UpdateRelease__p135648198545">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="UpdateRelease__p1856591913548">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="UpdateRelease__p2565191925418">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateRelease__row2563619195415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateRelease__p6566161914541">imagePullPolicy</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateRelease__p75667193546">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateRelease__p5566191915415">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateRelease__p165677196548">Image pull policy</p>
</td>
</tr>
<tr id="UpdateRelease__row45631819105411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateRelease__p11567619155413">imageTag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateRelease__p1756811945415">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateRelease__p115683192541">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateRelease__p16568141918544">Image tag</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateRelease__section3569191925417"><h4 class="sectiontitle">Response Parameters</h4><p id="UpdateRelease__p2056951911544"><strong id="UpdateRelease__b14569171945414">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateRelease__en-us_topic_0000001896129293_response_ReleaseResp" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="UpdateRelease__row115707195547"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="UpdateRelease__p9573161913544">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="UpdateRelease__p13573171919549">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="UpdateRelease__p125741619145413">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateRelease__row135701219205415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p5575151913542">chart_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p16575151910540">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p185761619105410">Chart name</p>
</td>
</tr>
<tr id="UpdateRelease__row155702198545"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p105761819105417">chart_public</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p3577219165419">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p165772019115420">Whether the chart is public</p>
</td>
</tr>
<tr id="UpdateRelease__row165701119145417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p18577131911541">chart_version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p0578191912543">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p45782196549">Chart version</p>
</td>
</tr>
<tr id="UpdateRelease__row16570141935410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p957981995418">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p1857912190549">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p557951945414">Cluster ID</p>
</td>
</tr>
<tr id="UpdateRelease__row135711019105415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p1458041945420">cluster_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p15807193542">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p358113190546">Current name</p>
</td>
</tr>
<tr id="UpdateRelease__row45713192541"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p958111913541">create_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p9581719115415">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p758221916544">Created at</p>
</td>
</tr>
<tr id="UpdateRelease__row25711819195417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p758231916543">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p15582519185412">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p20583219175412">Release description</p>
</td>
</tr>
<tr id="UpdateRelease__row165719195546"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p1458351917543">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p14584121910546">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p4584919125411">Release name</p>
</td>
</tr>
<tr id="UpdateRelease__row657171910544"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p1758521965410">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p35851319105418">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p058671915413">Namespace to which a chart release belongs</p>
</td>
</tr>
<tr id="UpdateRelease__row35711719135412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p4586171905413">parameters</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p958741995419">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p115871319165416">Release parameters</p>
</td>
</tr>
<tr id="UpdateRelease__row8571171935413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p5588191917541">resources</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p25881219175412">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p20589119185412">Resources required by the release</p>
</td>
</tr>
<tr id="UpdateRelease__row1957101945416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p558931919542">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p1558917199549">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p1159051916542">Release status</p>
<ul id="UpdateRelease__ul6605133217244"><li id="UpdateRelease__li860593252417"><strong id="UpdateRelease__b5605103282413">DEPLOYED</strong>: The release is normal.</li><li id="UpdateRelease__li160511328243"><strong id="UpdateRelease__b19605203219240">DELETED</strong>: The release has been deleted.</li><li id="UpdateRelease__li136056328242"><strong id="UpdateRelease__b260563222413">FAILED</strong>: The release fails to be deployed.</li><li id="UpdateRelease__li160513322243"><strong id="UpdateRelease__b11605532112411">DELETING</strong>: The release is being deleted.</li><li id="UpdateRelease__li7605143282414"><strong id="UpdateRelease__b760511320243">PENDING_INSTALL</strong>: The release is waiting to be installed.</li><li id="UpdateRelease__li1060573262410"><strong id="UpdateRelease__b13605123210245">PENDING_UPGRADE</strong>: The release is waiting to be upgraded.</li><li id="UpdateRelease__li7605153219247"><strong id="UpdateRelease__b660563214242">PENDING_ROLLBACK</strong>: The release is waiting for rollback.</li><li id="UpdateRelease__li1960515326244"><strong id="UpdateRelease__b136051832172414">UNKNOWN</strong>: The release status is unknown, indicating that the release is abnormal. You can manually delete the release and reinstall it.</li></ul>
</td>
</tr>
<tr id="UpdateRelease__row11571131910545"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p16590141915542">status_description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p1159121955411">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p05925196549">Release status description</p>
</td>
</tr>
<tr id="UpdateRelease__row1357251912544"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p3592151911542">update_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p17593141965414">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p165933191548">Updated at</p>
</td>
</tr>
<tr id="UpdateRelease__row0572121914545"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p9593191910543">values</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p1159417197549">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p259419194543">Release value</p>
</td>
</tr>
<tr id="UpdateRelease__row9572111955417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateRelease__p559516193547">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateRelease__p11595181913541">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateRelease__p759531905418">Release version</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateRelease__section35966198545"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="UpdateRelease__screen959761995410">PUT /cce/cam/v3/clusters/{cluster_id}/namespace/{namespace}/releases/{name}
{
"chart_id" : "af4b699e-018c-11ec-b8b0-0255ac100b05",
"action" : "upgrade",
"parameters" : {
"dry_run" : false,
"name_template" : "string",
"no_hooks" : false,
"replace" : false,
"recreate" : false,
"reset_values" : false,
"release_version" : 1,
"include_hooks" : false
},
"values" : {
"imagePullPolicy" : "IfNotPresent",
"imageTag" : "v2"
}
}</pre>
</div>
<div class="section" id="UpdateRelease__section860371965419"><h4 class="sectiontitle">Example Responses</h4><p id="UpdateRelease__p7603131955415"><strong id="UpdateRelease__b10604619135419">Status code: 200</strong></p>
<p id="UpdateRelease__p860418194545">OK</p>
<pre class="screen" id="UpdateRelease__screen06051319135413">{
"chart_name" : "magento-mysql",
"chart_public" : false,
"chart_version" : "1.0.0",
"cluster_id" : "a870253f-5dc7-11ee-bf71-0255ac100b03",
"cluster_name" : "sfs-turbo-test",
"create_at" : "2023-11-14T20:30:57+08:00",
"description" : "Initial install underway",
"name" : "testwww",
"namespace" : "monitoring",
"parameters" : "",
"resources" : "",
"status" : "PENDING_INSTALL",
"status_description" : "Initial install underway",
"update_at" : "2023-11-14T20:30:57+08:00",
"values" : "{\"basic\":{\"admin_password\":\"******\",\"admin_username\":\"username\",\"app_name\":\"magento\",\"mysql_database\":\"magento\",\"mysql_name\":\"mysql\",\"mysql_password\":\"******\",\"mysql_port\":3306,\"mysql_root_password\":\"******\",\"mysql_user\":\"magento\",\"storage_class\":\"csi-nas\",\"storage_mode\":\"ReadWriteMany\",\"storage_size\":\"10G\"},\"global\":{\"magento_EIP\":\"100.100.100.100\",\"magento_EPORT\":32080,\"namespace\":\"default\"},\"image\":{\"magento_image\":\"example.com/everest/magento:latest\",\"mysql_image\":\"example.com/everest/mysql:5.7.14\"}}",
"version" : 1
}</pre>
</div>
<div class="section" id="UpdateRelease__section19725181920546"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateRelease__en-us_topic_0000001896129293_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="UpdateRelease__row96100190542"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="UpdateRelease__p0726619135418">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="UpdateRelease__p872651914543">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateRelease__row1861091919542"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateRelease__p67264192544">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateRelease__p11726219105418">OK</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateRelease__section17261419125418"><h4 class="sectiontitle">Error Codes</h4><p id="UpdateRelease__p1272618198548">See <a href="cce_02_0250.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="chart_lifecycle_management.html">Chart Management</a></div>
</div>
</div>