| 1 |
.. _kubernetes.core.helm_module: |
| 2 |
|
| 3 |
|
| 4 |
******************** |
| 5 |
kubernetes.core.helm |
| 6 |
******************** |
| 7 |
|
| 8 |
**Manages Kubernetes packages with the Helm package manager** |
| 9 |
|
| 10 |
|
| 11 |
Version added: 0.11.0 |
| 12 |
|
| 13 |
.. contents:: |
| 14 |
:local: |
| 15 |
:depth: 1 |
| 16 |
|
| 17 |
|
| 18 |
Synopsis |
| 19 |
-------- |
| 20 |
- Install, upgrade, delete packages with the Helm package manager. |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
Requirements |
| 25 |
------------ |
| 26 |
The below requirements are needed on the host that executes this module. |
| 27 |
|
| 28 |
- helm >= 3.0.0 (https://github.com/helm/helm/releases) |
| 29 |
- yaml (https://pypi.org/project/PyYAML/) |
| 30 |
|
| 31 |
|
| 32 |
Parameters |
| 33 |
---------- |
| 34 |
|
| 35 |
.. raw:: html |
| 36 |
|
| 37 |
<table border=0 cellpadding=0 class="documentation-table"> |
| 38 |
<tr> |
| 39 |
<th colspan="2">Parameter</th> |
| 40 |
<th>Choices/<font color="blue">Defaults</font></th> |
| 41 |
<th width="100%">Comments</th> |
| 42 |
</tr> |
| 43 |
<tr> |
| 44 |
<td colspan="2"> |
| 45 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 46 |
<b>api_key</b> |
| 47 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 48 |
<div style="font-size: small"> |
| 49 |
<span style="color: purple">string</span> |
| 50 |
</div> |
| 51 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 1.2.0</div> |
| 52 |
</td> |
| 53 |
<td> |
| 54 |
</td> |
| 55 |
<td> |
| 56 |
<div>Token used to authenticate with the API. Can also be specified via <code>K8S_AUTH_API_KEY</code> environment variable.</div> |
| 57 |
</td> |
| 58 |
</tr> |
| 59 |
<tr> |
| 60 |
<td colspan="2"> |
| 61 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 62 |
<b>atomic</b> |
| 63 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 64 |
<div style="font-size: small"> |
| 65 |
<span style="color: purple">boolean</span> |
| 66 |
</div> |
| 67 |
</td> |
| 68 |
<td> |
| 69 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 70 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 71 |
<li>yes</li> |
| 72 |
</ul> |
| 73 |
</td> |
| 74 |
<td> |
| 75 |
<div>If set, the installation process deletes the installation on failure.</div> |
| 76 |
</td> |
| 77 |
</tr> |
| 78 |
<tr> |
| 79 |
<td colspan="2"> |
| 80 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 81 |
<b>binary_path</b> |
| 82 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 83 |
<div style="font-size: small"> |
| 84 |
<span style="color: purple">path</span> |
| 85 |
</div> |
| 86 |
</td> |
| 87 |
<td> |
| 88 |
</td> |
| 89 |
<td> |
| 90 |
<div>The path of a helm binary to use.</div> |
| 91 |
</td> |
| 92 |
</tr> |
| 93 |
<tr> |
| 94 |
<td colspan="2"> |
| 95 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 96 |
<b>ca_cert</b> |
| 97 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 98 |
<div style="font-size: small"> |
| 99 |
<span style="color: purple">path</span> |
| 100 |
</div> |
| 101 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 1.2.0</div> |
| 102 |
</td> |
| 103 |
<td> |
| 104 |
</td> |
| 105 |
<td> |
| 106 |
<div>Path to a CA certificate used to authenticate with the API. The full certificate chain must be provided to avoid certificate validation errors. Can also be specified via <code>K8S_AUTH_SSL_CA_CERT</code> environment variable.</div> |
| 107 |
<div style="font-size: small; color: darkgreen"><br/>aliases: ssl_ca_cert</div> |
| 108 |
</td> |
| 109 |
</tr> |
| 110 |
<tr> |
| 111 |
<td colspan="2"> |
| 112 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 113 |
<b>chart_ref</b> |
| 114 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 115 |
<div style="font-size: small"> |
| 116 |
<span style="color: purple">path</span> |
| 117 |
</div> |
| 118 |
</td> |
| 119 |
<td> |
| 120 |
</td> |
| 121 |
<td> |
| 122 |
<div>chart_reference on chart repository.</div> |
| 123 |
<div>path to a packaged chart.</div> |
| 124 |
<div>path to an unpacked chart directory.</div> |
| 125 |
<div>absolute URL.</div> |
| 126 |
<div>Required when <em>release_state</em> is set to <code>present</code>.</div> |
| 127 |
</td> |
| 128 |
</tr> |
| 129 |
<tr> |
| 130 |
<td colspan="2"> |
| 131 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 132 |
<b>chart_repo_url</b> |
| 133 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 134 |
<div style="font-size: small"> |
| 135 |
<span style="color: purple">string</span> |
| 136 |
</div> |
| 137 |
</td> |
| 138 |
<td> |
| 139 |
</td> |
| 140 |
<td> |
| 141 |
<div>Chart repository URL where to locate the requested chart.</div> |
| 142 |
</td> |
| 143 |
</tr> |
| 144 |
<tr> |
| 145 |
<td colspan="2"> |
| 146 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 147 |
<b>chart_version</b> |
| 148 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 149 |
<div style="font-size: small"> |
| 150 |
<span style="color: purple">string</span> |
| 151 |
</div> |
| 152 |
</td> |
| 153 |
<td> |
| 154 |
</td> |
| 155 |
<td> |
| 156 |
<div>Chart version to install. If this is not specified, the latest version is installed.</div> |
| 157 |
</td> |
| 158 |
</tr> |
| 159 |
<tr> |
| 160 |
<td colspan="2"> |
| 161 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 162 |
<b>context</b> |
| 163 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 164 |
<div style="font-size: small"> |
| 165 |
<span style="color: purple">string</span> |
| 166 |
</div> |
| 167 |
</td> |
| 168 |
<td> |
| 169 |
</td> |
| 170 |
<td> |
| 171 |
<div>Helm option to specify which kubeconfig context to use.</div> |
| 172 |
<div>If the value is not specified in the task, the value of environment variable <code>K8S_AUTH_CONTEXT</code> will be used instead.</div> |
| 173 |
<div style="font-size: small; color: darkgreen"><br/>aliases: kube_context</div> |
| 174 |
</td> |
| 175 |
</tr> |
| 176 |
<tr> |
| 177 |
<td colspan="2"> |
| 178 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 179 |
<b>create_namespace</b> |
| 180 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 181 |
<div style="font-size: small"> |
| 182 |
<span style="color: purple">boolean</span> |
| 183 |
</div> |
| 184 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 0.11.1</div> |
| 185 |
</td> |
| 186 |
<td> |
| 187 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 188 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 189 |
<li>yes</li> |
| 190 |
</ul> |
| 191 |
</td> |
| 192 |
<td> |
| 193 |
<div>Create the release namespace if not present.</div> |
| 194 |
</td> |
| 195 |
</tr> |
| 196 |
<tr> |
| 197 |
<td colspan="2"> |
| 198 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 199 |
<b>dependency_update</b> |
| 200 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 201 |
<div style="font-size: small"> |
| 202 |
<span style="color: purple">boolean</span> |
| 203 |
</div> |
| 204 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 2.4.0</div> |
| 205 |
</td> |
| 206 |
<td> |
| 207 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 208 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 209 |
<li>yes</li> |
| 210 |
</ul> |
| 211 |
</td> |
| 212 |
<td> |
| 213 |
<div>Run standalone <code>helm dependency update CHART</code> before the operation.</div> |
| 214 |
<div>Run inline <code>--dependency-update</code> with <code>helm install</code> command. This feature is not supported yet with the <code>helm upgrade</code> command.</div> |
| 215 |
<div>So we should consider to use <em>dependency_update</em> options with <em>replace</em> option enabled when specifying <em>chart_repo_url</em>.</div> |
| 216 |
<div>The <em>dependency_update</em> option require the add of <code>dependencies</code> block in <code>Chart.yaml/requirements.yaml</code> file.</div> |
| 217 |
<div>For more information please visit <a href='https://helm.sh/docs/helm/helm_dependency/'>https://helm.sh/docs/helm/helm_dependency/</a></div> |
| 218 |
<div style="font-size: small; color: darkgreen"><br/>aliases: dep_up</div> |
| 219 |
</td> |
| 220 |
</tr> |
| 221 |
<tr> |
| 222 |
<td colspan="2"> |
| 223 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 224 |
<b>disable_hook</b> |
| 225 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 226 |
<div style="font-size: small"> |
| 227 |
<span style="color: purple">boolean</span> |
| 228 |
</div> |
| 229 |
</td> |
| 230 |
<td> |
| 231 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 232 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 233 |
<li>yes</li> |
| 234 |
</ul> |
| 235 |
</td> |
| 236 |
<td> |
| 237 |
<div>Helm option to disable hook on install/upgrade/delete.</div> |
| 238 |
</td> |
| 239 |
</tr> |
| 240 |
<tr> |
| 241 |
<td colspan="2"> |
| 242 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 243 |
<b>force</b> |
| 244 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 245 |
<div style="font-size: small"> |
| 246 |
<span style="color: purple">boolean</span> |
| 247 |
</div> |
| 248 |
</td> |
| 249 |
<td> |
| 250 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 251 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 252 |
<li>yes</li> |
| 253 |
</ul> |
| 254 |
</td> |
| 255 |
<td> |
| 256 |
<div>Helm option to force reinstall, ignore on new install.</div> |
| 257 |
</td> |
| 258 |
</tr> |
| 259 |
<tr> |
| 260 |
<td colspan="2"> |
| 261 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 262 |
<b>history_max</b> |
| 263 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 264 |
<div style="font-size: small"> |
| 265 |
<span style="color: purple">integer</span> |
| 266 |
</div> |
| 267 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 2.2.0</div> |
| 268 |
</td> |
| 269 |
<td> |
| 270 |
</td> |
| 271 |
<td> |
| 272 |
<div>Limit the maximum number of revisions saved per release.</div> |
| 273 |
<div>mutually exclusive with with <code>replace</code>.</div> |
| 274 |
</td> |
| 275 |
</tr> |
| 276 |
<tr> |
| 277 |
<td colspan="2"> |
| 278 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 279 |
<b>host</b> |
| 280 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 281 |
<div style="font-size: small"> |
| 282 |
<span style="color: purple">string</span> |
| 283 |
</div> |
| 284 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 1.2.0</div> |
| 285 |
</td> |
| 286 |
<td> |
| 287 |
</td> |
| 288 |
<td> |
| 289 |
<div>Provide a URL for accessing the API. Can also be specified via <code>K8S_AUTH_HOST</code> environment variable.</div> |
| 290 |
</td> |
| 291 |
</tr> |
| 292 |
<tr> |
| 293 |
<td colspan="2"> |
| 294 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 295 |
<b>insecure_skip_tls_verify</b> |
| 296 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 297 |
<div style="font-size: small"> |
| 298 |
<span style="color: purple">boolean</span> |
| 299 |
</div> |
| 300 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 5.3.0</div> |
| 301 |
</td> |
| 302 |
<td> |
| 303 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 304 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 305 |
<li>yes</li> |
| 306 |
</ul> |
| 307 |
</td> |
| 308 |
<td> |
| 309 |
<div>Skip tls certificate checks for the chart download.</div> |
| 310 |
<div>Do not confuse with the <code>validate_certs</code> option.</div> |
| 311 |
<div>This option is only available for helm >= 3.16.0.</div> |
| 312 |
<div style="font-size: small; color: darkgreen"><br/>aliases: skip_tls_certs_check</div> |
| 313 |
</td> |
| 314 |
</tr> |
| 315 |
<tr> |
| 316 |
<td colspan="2"> |
| 317 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 318 |
<b>kubeconfig</b> |
| 319 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 320 |
<div style="font-size: small"> |
| 321 |
<span style="color: purple">raw</span> |
| 322 |
</div> |
| 323 |
</td> |
| 324 |
<td> |
| 325 |
</td> |
| 326 |
<td> |
| 327 |
<div>Helm option to specify kubeconfig path to use.</div> |
| 328 |
<div>If the value is not specified in the task, the value of environment variable <code>K8S_AUTH_KUBECONFIG</code> will be used instead.</div> |
| 329 |
<div>The configuration can be provided as dictionary. Added in version 2.4.0.</div> |
| 330 |
<div style="font-size: small; color: darkgreen"><br/>aliases: kubeconfig_path</div> |
| 331 |
</td> |
| 332 |
</tr> |
| 333 |
<tr> |
| 334 |
<td colspan="2"> |
| 335 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 336 |
<b>plain_http</b> |
| 337 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 338 |
<div style="font-size: small"> |
| 339 |
<span style="color: purple">boolean</span> |
| 340 |
</div> |
| 341 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 6.1.0</div> |
| 342 |
</td> |
| 343 |
<td> |
| 344 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 345 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 346 |
<li>yes</li> |
| 347 |
</ul> |
| 348 |
</td> |
| 349 |
<td> |
| 350 |
<div>Use HTTP instead of HTTPS when working with OCI registries</div> |
| 351 |
<div>Requires Helm >= 3.13.0</div> |
| 352 |
</td> |
| 353 |
</tr> |
| 354 |
<tr> |
| 355 |
<td colspan="2"> |
| 356 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 357 |
<b>post_renderer</b> |
| 358 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 359 |
<div style="font-size: small"> |
| 360 |
<span style="color: purple">string</span> |
| 361 |
</div> |
| 362 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 2.4.0</div> |
| 363 |
</td> |
| 364 |
<td> |
| 365 |
</td> |
| 366 |
<td> |
| 367 |
<div>Path to an executable to be used for post rendering.</div> |
| 368 |
</td> |
| 369 |
</tr> |
| 370 |
<tr> |
| 371 |
<td colspan="2"> |
| 372 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 373 |
<b>purge</b> |
| 374 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 375 |
<div style="font-size: small"> |
| 376 |
<span style="color: purple">boolean</span> |
| 377 |
</div> |
| 378 |
</td> |
| 379 |
<td> |
| 380 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 381 |
<li>no</li> |
| 382 |
<li><div style="color: blue"><b>yes</b> ←</div></li> |
| 383 |
</ul> |
| 384 |
</td> |
| 385 |
<td> |
| 386 |
<div>Remove the release from the store and make its name free for later use.</div> |
| 387 |
</td> |
| 388 |
</tr> |
| 389 |
<tr> |
| 390 |
<td colspan="2"> |
| 391 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 392 |
<b>release_name</b> |
| 393 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 394 |
<div style="font-size: small"> |
| 395 |
<span style="color: purple">string</span> |
| 396 |
/ <span style="color: red">required</span> |
| 397 |
</div> |
| 398 |
</td> |
| 399 |
<td> |
| 400 |
</td> |
| 401 |
<td> |
| 402 |
<div>Release name to manage.</div> |
| 403 |
<div style="font-size: small; color: darkgreen"><br/>aliases: name</div> |
| 404 |
</td> |
| 405 |
</tr> |
| 406 |
<tr> |
| 407 |
<td colspan="2"> |
| 408 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 409 |
<b>release_namespace</b> |
| 410 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 411 |
<div style="font-size: small"> |
| 412 |
<span style="color: purple">string</span> |
| 413 |
/ <span style="color: red">required</span> |
| 414 |
</div> |
| 415 |
</td> |
| 416 |
<td> |
| 417 |
</td> |
| 418 |
<td> |
| 419 |
<div>Kubernetes namespace where the chart should be installed.</div> |
| 420 |
<div style="font-size: small; color: darkgreen"><br/>aliases: namespace</div> |
| 421 |
</td> |
| 422 |
</tr> |
| 423 |
<tr> |
| 424 |
<td colspan="2"> |
| 425 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 426 |
<b>release_state</b> |
| 427 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 428 |
<div style="font-size: small"> |
| 429 |
<span style="color: purple">string</span> |
| 430 |
</div> |
| 431 |
</td> |
| 432 |
<td> |
| 433 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 434 |
<li><div style="color: blue"><b>present</b> ←</div></li> |
| 435 |
<li>absent</li> |
| 436 |
</ul> |
| 437 |
</td> |
| 438 |
<td> |
| 439 |
<div>Desirated state of release.</div> |
| 440 |
<div style="font-size: small; color: darkgreen"><br/>aliases: state</div> |
| 441 |
</td> |
| 442 |
</tr> |
| 443 |
<tr> |
| 444 |
<td colspan="2"> |
| 445 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 446 |
<b>release_values</b> |
| 447 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 448 |
<div style="font-size: small"> |
| 449 |
<span style="color: purple">dictionary</span> |
| 450 |
</div> |
| 451 |
</td> |
| 452 |
<td> |
| 453 |
<b>Default:</b><br/><div style="color: blue">{}</div> |
| 454 |
</td> |
| 455 |
<td> |
| 456 |
<div>Value to pass to chart.</div> |
| 457 |
<div style="font-size: small; color: darkgreen"><br/>aliases: values</div> |
| 458 |
</td> |
| 459 |
</tr> |
| 460 |
<tr> |
| 461 |
<td colspan="2"> |
| 462 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 463 |
<b>replace</b> |
| 464 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 465 |
<div style="font-size: small"> |
| 466 |
<span style="color: purple">boolean</span> |
| 467 |
</div> |
| 468 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 1.11.0</div> |
| 469 |
</td> |
| 470 |
<td> |
| 471 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 472 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 473 |
<li>yes</li> |
| 474 |
</ul> |
| 475 |
</td> |
| 476 |
<td> |
| 477 |
<div>Reuse the given name, only if that name is a deleted release which remains in the history.</div> |
| 478 |
<div>This is unsafe in production environment.</div> |
| 479 |
<div>mutually exclusive with with <code>history_max</code>.</div> |
| 480 |
</td> |
| 481 |
</tr> |
| 482 |
<tr> |
| 483 |
<td colspan="2"> |
| 484 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 485 |
<b>reset_then_reuse_values</b> |
| 486 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 487 |
<div style="font-size: small"> |
| 488 |
<span style="color: purple">boolean</span> |
| 489 |
</div> |
| 490 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 6.0.0</div> |
| 491 |
</td> |
| 492 |
<td> |
| 493 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 494 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 495 |
<li>yes</li> |
| 496 |
</ul> |
| 497 |
</td> |
| 498 |
<td> |
| 499 |
<div>When upgrading package, reset the values to the ones built into the chart, apply the last release's values and merge in any overrides from parameters O(release_values), O(values_files) or O(set_values).</div> |
| 500 |
<div>If O(reset_values) or O(reuse_values) is set to V(True), this is ignored.</div> |
| 501 |
<div>This feature requires helm diff >= 3.9.12.</div> |
| 502 |
</td> |
| 503 |
</tr> |
| 504 |
<tr> |
| 505 |
<td colspan="2"> |
| 506 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 507 |
<b>reset_values</b> |
| 508 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 509 |
<div style="font-size: small"> |
| 510 |
<span style="color: purple">boolean</span> |
| 511 |
</div> |
| 512 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 3.0.0</div> |
| 513 |
</td> |
| 514 |
<td> |
| 515 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 516 |
<li>no</li> |
| 517 |
<li><div style="color: blue"><b>yes</b> ←</div></li> |
| 518 |
</ul> |
| 519 |
</td> |
| 520 |
<td> |
| 521 |
<div>When upgrading package, reset the values to the ones built into the chart.</div> |
| 522 |
</td> |
| 523 |
</tr> |
| 524 |
<tr> |
| 525 |
<td colspan="2"> |
| 526 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 527 |
<b>reuse_values</b> |
| 528 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 529 |
<div style="font-size: small"> |
| 530 |
<span style="color: purple">boolean</span> |
| 531 |
</div> |
| 532 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 3.0.0</div> |
| 533 |
</td> |
| 534 |
<td> |
| 535 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 536 |
<li>no</li> |
| 537 |
<li>yes</li> |
| 538 |
</ul> |
| 539 |
</td> |
| 540 |
<td> |
| 541 |
<div>When upgrading package, specifies wether to reuse the last release's values and merge in any overrides from parameters <em>release_values</em>, <em>values_files</em> or <em>set_values</em>.</div> |
| 542 |
<div>If <em>reset_values</em> is set to <code>True</code>, this is ignored.</div> |
| 543 |
</td> |
| 544 |
</tr> |
| 545 |
<tr> |
| 546 |
<td colspan="2"> |
| 547 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 548 |
<b>set_values</b> |
| 549 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 550 |
<div style="font-size: small"> |
| 551 |
<span style="color: purple">list</span> |
| 552 |
/ <span style="color: purple">elements=dictionary</span> |
| 553 |
</div> |
| 554 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 2.4.0</div> |
| 555 |
</td> |
| 556 |
<td> |
| 557 |
</td> |
| 558 |
<td> |
| 559 |
<div>Values to pass to chart configuration</div> |
| 560 |
</td> |
| 561 |
</tr> |
| 562 |
<tr> |
| 563 |
<td class="elbow-placeholder"></td> |
| 564 |
<td colspan="1"> |
| 565 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 566 |
<b>value</b> |
| 567 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 568 |
<div style="font-size: small"> |
| 569 |
<span style="color: purple">string</span> |
| 570 |
/ <span style="color: red">required</span> |
| 571 |
</div> |
| 572 |
</td> |
| 573 |
<td> |
| 574 |
</td> |
| 575 |
<td> |
| 576 |
<div>Value to pass to chart configuration (e.g phase=prod).</div> |
| 577 |
</td> |
| 578 |
</tr> |
| 579 |
<tr> |
| 580 |
<td class="elbow-placeholder"></td> |
| 581 |
<td colspan="1"> |
| 582 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 583 |
<b>value_type</b> |
| 584 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 585 |
<div style="font-size: small"> |
| 586 |
<span style="color: purple">-</span> |
| 587 |
</div> |
| 588 |
</td> |
| 589 |
<td> |
| 590 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 591 |
<li><div style="color: blue"><b>raw</b> ←</div></li> |
| 592 |
<li>string</li> |
| 593 |
<li>json</li> |
| 594 |
<li>file</li> |
| 595 |
</ul> |
| 596 |
</td> |
| 597 |
<td> |
| 598 |
<div>Use <code>raw</code> set individual value.</div> |
| 599 |
<div>Use <code>string</code> to force a string for an individual value.</div> |
| 600 |
<div>Use <code>file</code> to set individual values from a file when the value itself is too long for the command line or is dynamically generated.</div> |
| 601 |
<div>Use <code>json</code> to set json values (scalars/objects/arrays). This feature requires helm>=3.10.0.</div> |
| 602 |
</td> |
| 603 |
</tr> |
| 604 |
|
| 605 |
<tr> |
| 606 |
<td colspan="2"> |
| 607 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 608 |
<b>skip_crds</b> |
| 609 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 610 |
<div style="font-size: small"> |
| 611 |
<span style="color: purple">boolean</span> |
| 612 |
</div> |
| 613 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 1.2.0</div> |
| 614 |
</td> |
| 615 |
<td> |
| 616 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 617 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 618 |
<li>yes</li> |
| 619 |
</ul> |
| 620 |
</td> |
| 621 |
<td> |
| 622 |
<div>Skip custom resource definitions when installing or upgrading.</div> |
| 623 |
</td> |
| 624 |
</tr> |
| 625 |
<tr> |
| 626 |
<td colspan="2"> |
| 627 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 628 |
<b>skip_schema_validation</b> |
| 629 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 630 |
<div style="font-size: small"> |
| 631 |
<span style="color: purple">boolean</span> |
| 632 |
</div> |
| 633 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 6.2.0</div> |
| 634 |
</td> |
| 635 |
<td> |
| 636 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 637 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 638 |
<li>yes</li> |
| 639 |
</ul> |
| 640 |
</td> |
| 641 |
<td> |
| 642 |
<div>Disables JSON schema validation for Chart and values.</div> |
| 643 |
<div>This feature requires helm >= 3.16.0</div> |
| 644 |
</td> |
| 645 |
</tr> |
| 646 |
<tr> |
| 647 |
<td colspan="2"> |
| 648 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 649 |
<b>take_ownership</b> |
| 650 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 651 |
<div style="font-size: small"> |
| 652 |
<span style="color: purple">boolean</span> |
| 653 |
</div> |
| 654 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 6.1.0</div> |
| 655 |
</td> |
| 656 |
<td> |
| 657 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 658 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 659 |
<li>yes</li> |
| 660 |
</ul> |
| 661 |
</td> |
| 662 |
<td> |
| 663 |
<div>Helm will ignore the check for helm annotations and take ownership of the existing resources</div> |
| 664 |
<div>This feature requires helm >= 3.17.0</div> |
| 665 |
</td> |
| 666 |
</tr> |
| 667 |
<tr> |
| 668 |
<td colspan="2"> |
| 669 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 670 |
<b>timeout</b> |
| 671 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 672 |
<div style="font-size: small"> |
| 673 |
<span style="color: purple">string</span> |
| 674 |
</div> |
| 675 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 2.3.0</div> |
| 676 |
</td> |
| 677 |
<td> |
| 678 |
</td> |
| 679 |
<td> |
| 680 |
<div>A Go duration (described here <em>https://pkg.go.dev/time#ParseDuration</em>) value to wait for Kubernetes commands to complete. This defaults to 5m0s.</div> |
| 681 |
<div>similar to <code>wait_timeout</code> but does not required <code>wait</code> to be activated.</div> |
| 682 |
<div>Mutually exclusive with <code>wait_timeout</code>.</div> |
| 683 |
</td> |
| 684 |
</tr> |
| 685 |
<tr> |
| 686 |
<td colspan="2"> |
| 687 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 688 |
<b>update_repo_cache</b> |
| 689 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 690 |
<div style="font-size: small"> |
| 691 |
<span style="color: purple">boolean</span> |
| 692 |
</div> |
| 693 |
</td> |
| 694 |
<td> |
| 695 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 696 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 697 |
<li>yes</li> |
| 698 |
</ul> |
| 699 |
</td> |
| 700 |
<td> |
| 701 |
<div>Run <code>helm repo update</code> before the operation. Can be run as part of the package installation or as a separate step (see Examples).</div> |
| 702 |
</td> |
| 703 |
</tr> |
| 704 |
<tr> |
| 705 |
<td colspan="2"> |
| 706 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 707 |
<b>validate_certs</b> |
| 708 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 709 |
<div style="font-size: small"> |
| 710 |
<span style="color: purple">boolean</span> |
| 711 |
</div> |
| 712 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 1.2.0</div> |
| 713 |
</td> |
| 714 |
<td> |
| 715 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 716 |
<li>no</li> |
| 717 |
<li><div style="color: blue"><b>yes</b> ←</div></li> |
| 718 |
</ul> |
| 719 |
</td> |
| 720 |
<td> |
| 721 |
<div>Whether or not to verify the API server's SSL certificates. Can also be specified via <code>K8S_AUTH_VERIFY_SSL</code> environment variable.</div> |
| 722 |
<div style="font-size: small; color: darkgreen"><br/>aliases: verify_ssl</div> |
| 723 |
</td> |
| 724 |
</tr> |
| 725 |
<tr> |
| 726 |
<td colspan="2"> |
| 727 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 728 |
<b>values_files</b> |
| 729 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 730 |
<div style="font-size: small"> |
| 731 |
<span style="color: purple">list</span> |
| 732 |
/ <span style="color: purple">elements=string</span> |
| 733 |
</div> |
| 734 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 1.1.0</div> |
| 735 |
</td> |
| 736 |
<td> |
| 737 |
<b>Default:</b><br/><div style="color: blue">[]</div> |
| 738 |
</td> |
| 739 |
<td> |
| 740 |
<div>Value files to pass to chart.</div> |
| 741 |
<div>Paths will be read from the target host's filesystem, not the host running ansible.</div> |
| 742 |
<div>values_files option is evaluated before values option if both are used.</div> |
| 743 |
<div>Paths are evaluated in the order the paths are specified.</div> |
| 744 |
</td> |
| 745 |
</tr> |
| 746 |
<tr> |
| 747 |
<td colspan="2"> |
| 748 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 749 |
<b>wait</b> |
| 750 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 751 |
<div style="font-size: small"> |
| 752 |
<span style="color: purple">boolean</span> |
| 753 |
</div> |
| 754 |
</td> |
| 755 |
<td> |
| 756 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 757 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 758 |
<li>yes</li> |
| 759 |
</ul> |
| 760 |
</td> |
| 761 |
<td> |
| 762 |
<div>When <em>release_state</em> is set to <code>present</code>, wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful.</div> |
| 763 |
<div>When <em>release_state</em> is set to <code>absent</code>, will wait until all the resources are deleted before returning. It will wait for as long as <em>wait_timeout</em>. This feature requires helm>=3.7.0. Added in version 2.3.0.</div> |
| 764 |
</td> |
| 765 |
</tr> |
| 766 |
<tr> |
| 767 |
<td colspan="2"> |
| 768 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 769 |
<b>wait_timeout</b> |
| 770 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 771 |
<div style="font-size: small"> |
| 772 |
<span style="color: purple">string</span> |
| 773 |
</div> |
| 774 |
</td> |
| 775 |
<td> |
| 776 |
</td> |
| 777 |
<td> |
| 778 |
<div>Timeout when wait option is enabled (helm2 is a number of seconds, helm3 is a duration).</div> |
| 779 |
<div>The use of <em>wait_timeout</em> to wait for kubernetes commands to complete has been deprecated and will be removed after 2022-12-01.</div> |
| 780 |
</td> |
| 781 |
</tr> |
| 782 |
</table> |
| 783 |
<br/> |
| 784 |
|
| 785 |
|
| 786 |
Notes |
| 787 |
----- |
| 788 |
|
| 789 |
.. note:: |
| 790 |
- The default idempotency check can fail to report changes when ``release_state`` is set to ``present`` and ``chart_repo_url`` is defined. Install helm diff >= 3.4.1 for better results. |
| 791 |
|
| 792 |
|
| 793 |
|
| 794 |
Examples |
| 795 |
-------- |
| 796 |
|
| 797 |
.. code-block:: yaml |
| 798 |
|
| 799 |
- name: Deploy latest version of Prometheus chart inside monitoring namespace (and create it) |
| 800 |
kubernetes.core.helm: |
| 801 |
name: test |
| 802 |
chart_ref: stable/prometheus |
| 803 |
release_namespace: monitoring |
| 804 |
create_namespace: true |
| 805 |
|
| 806 |
# From repository |
| 807 |
- name: Add stable chart repo |
| 808 |
kubernetes.core.helm_repository: |
| 809 |
name: stable |
| 810 |
repo_url: "https://kubernetes.github.io/ingress-nginx" |
| 811 |
|
| 812 |
- name: Deploy latest version of Grafana chart inside monitoring namespace with values |
| 813 |
kubernetes.core.helm: |
| 814 |
name: test |
| 815 |
chart_ref: stable/grafana |
| 816 |
release_namespace: monitoring |
| 817 |
values: |
| 818 |
replicas: 2 |
| 819 |
|
| 820 |
- name: Deploy Grafana chart on 5.0.12 with values loaded from template |
| 821 |
kubernetes.core.helm: |
| 822 |
name: test |
| 823 |
chart_ref: stable/grafana |
| 824 |
chart_version: 5.0.12 |
| 825 |
values: "{{ lookup('template', 'somefile.yaml') | from_yaml }}" |
| 826 |
|
| 827 |
- name: Deploy Grafana chart using values files on target |
| 828 |
kubernetes.core.helm: |
| 829 |
name: test |
| 830 |
chart_ref: stable/grafana |
| 831 |
release_namespace: monitoring |
| 832 |
values_files: |
| 833 |
- /path/to/values.yaml |
| 834 |
|
| 835 |
- name: Remove test release and waiting suppression ending |
| 836 |
kubernetes.core.helm: |
| 837 |
name: test |
| 838 |
state: absent |
| 839 |
wait: true |
| 840 |
|
| 841 |
- name: Separately update the repository cache |
| 842 |
kubernetes.core.helm: |
| 843 |
name: dummy |
| 844 |
namespace: kube-system |
| 845 |
state: absent |
| 846 |
update_repo_cache: true |
| 847 |
|
| 848 |
- name: Deploy Grafana chart using set values on target |
| 849 |
kubernetes.core.helm: |
| 850 |
name: test |
| 851 |
chart_ref: stable/grafana |
| 852 |
release_namespace: monitoring |
| 853 |
set_values: |
| 854 |
- value: phase=prod |
| 855 |
value_type: string |
| 856 |
|
| 857 |
# From git |
| 858 |
- name: Git clone stable repo on HEAD |
| 859 |
ansible.builtin.git: |
| 860 |
repo: "http://github.com/helm/charts.git" |
| 861 |
dest: /tmp/helm_repo |
| 862 |
|
| 863 |
- name: Deploy Grafana chart from local path |
| 864 |
kubernetes.core.helm: |
| 865 |
name: test |
| 866 |
chart_ref: /tmp/helm_repo/stable/grafana |
| 867 |
release_namespace: monitoring |
| 868 |
|
| 869 |
# From url |
| 870 |
- name: Deploy Grafana chart on 5.6.0 from url |
| 871 |
kubernetes.core.helm: |
| 872 |
name: test |
| 873 |
chart_ref: "https://github.com/grafana/helm-charts/releases/download/grafana-5.6.0/grafana-5.6.0.tgz" |
| 874 |
release_namespace: monitoring |
| 875 |
|
| 876 |
- name: Deploy Bitnami's MongoDB latest chart from OCI registry |
| 877 |
kubernetes.core.helm: |
| 878 |
name: test |
| 879 |
chart_ref: "oci://registry-1.docker.io/bitnamicharts/mongodb" |
| 880 |
release_namespace: database |
| 881 |
|
| 882 |
# Using complex Values |
| 883 |
- name: Deploy new-relic client chart |
| 884 |
kubernetes.core.helm: |
| 885 |
name: newrelic-bundle |
| 886 |
chart_ref: newrelic/nri-bundle |
| 887 |
release_namespace: default |
| 888 |
force: True |
| 889 |
wait: True |
| 890 |
replace: True |
| 891 |
update_repo_cache: True |
| 892 |
disable_hook: True |
| 893 |
values: |
| 894 |
global: |
| 895 |
licenseKey: "{{ nr_license_key }}" |
| 896 |
cluster: "{{ site_name }}" |
| 897 |
newrelic-infrastructure: |
| 898 |
privileged: True |
| 899 |
ksm: |
| 900 |
enabled: True |
| 901 |
prometheus: |
| 902 |
enabled: True |
| 903 |
kubeEvents: |
| 904 |
enabled: True |
| 905 |
logging: |
| 906 |
enabled: True |
| 907 |
|
| 908 |
# Deploy latest version |
| 909 |
- name: Deploy latest version of Grafana chart using reuse_values |
| 910 |
kubernetes.core.helm: |
| 911 |
name: test |
| 912 |
chart_ref: stable/grafana |
| 913 |
release_namespace: monitoring |
| 914 |
reuse_values: true |
| 915 |
values: |
| 916 |
replicas: 2 |
| 917 |
version: 3e8ec0b2dffa40fb97d5342e4af887de95faa8c61a62480dd7f8aa03dffcf533 |
| 918 |
|
| 919 |
|
| 920 |
|
| 921 |
Return Values |
| 922 |
------------- |
| 923 |
Common return values are documented `here <https://docs.ansible.com/projects/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module: |
| 924 |
|
| 925 |
.. raw:: html |
| 926 |
|
| 927 |
<table border=0 cellpadding=0 class="documentation-table"> |
| 928 |
<tr> |
| 929 |
<th colspan="2">Key</th> |
| 930 |
<th>Returned</th> |
| 931 |
<th width="100%">Description</th> |
| 932 |
</tr> |
| 933 |
<tr> |
| 934 |
<td colspan="2"> |
| 935 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 936 |
<b>command</b> |
| 937 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 938 |
<div style="font-size: small"> |
| 939 |
<span style="color: purple">string</span> |
| 940 |
</div> |
| 941 |
</td> |
| 942 |
<td>always</td> |
| 943 |
<td> |
| 944 |
<div>Full `helm` command built by this module, in case you want to re-run the command outside the module or debug a problem.</div> |
| 945 |
<br/> |
| 946 |
<div style="font-size: smaller"><b>Sample:</b></div> |
| 947 |
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">helm upgrade ...</div> |
| 948 |
</td> |
| 949 |
</tr> |
| 950 |
<tr> |
| 951 |
<td colspan="2"> |
| 952 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 953 |
<b>status</b> |
| 954 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 955 |
<div style="font-size: small"> |
| 956 |
<span style="color: purple">complex</span> |
| 957 |
</div> |
| 958 |
</td> |
| 959 |
<td>on success Creation/Upgrade/Already deploy</td> |
| 960 |
<td> |
| 961 |
<div>A dictionary of status output</div> |
| 962 |
<br/> |
| 963 |
</td> |
| 964 |
</tr> |
| 965 |
<tr> |
| 966 |
<td class="elbow-placeholder"> </td> |
| 967 |
<td colspan="1"> |
| 968 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 969 |
<b>appversion</b> |
| 970 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 971 |
<div style="font-size: small"> |
| 972 |
<span style="color: purple">string</span> |
| 973 |
</div> |
| 974 |
</td> |
| 975 |
<td>always</td> |
| 976 |
<td> |
| 977 |
<div>Version of app deployed</div> |
| 978 |
<br/> |
| 979 |
</td> |
| 980 |
</tr> |
| 981 |
<tr> |
| 982 |
<td class="elbow-placeholder"> </td> |
| 983 |
<td colspan="1"> |
| 984 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 985 |
<b>chart</b> |
| 986 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 987 |
<div style="font-size: small"> |
| 988 |
<span style="color: purple">string</span> |
| 989 |
</div> |
| 990 |
</td> |
| 991 |
<td>always</td> |
| 992 |
<td> |
| 993 |
<div>Chart name and chart version</div> |
| 994 |
<br/> |
| 995 |
</td> |
| 996 |
</tr> |
| 997 |
<tr> |
| 998 |
<td class="elbow-placeholder"> </td> |
| 999 |
<td colspan="1"> |
| 1000 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 1001 |
<b>name</b> |
| 1002 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 1003 |
<div style="font-size: small"> |
| 1004 |
<span style="color: purple">string</span> |
| 1005 |
</div> |
| 1006 |
</td> |
| 1007 |
<td>always</td> |
| 1008 |
<td> |
| 1009 |
<div>Name of the release</div> |
| 1010 |
<br/> |
| 1011 |
</td> |
| 1012 |
</tr> |
| 1013 |
<tr> |
| 1014 |
<td class="elbow-placeholder"> </td> |
| 1015 |
<td colspan="1"> |
| 1016 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 1017 |
<b>namespace</b> |
| 1018 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 1019 |
<div style="font-size: small"> |
| 1020 |
<span style="color: purple">string</span> |
| 1021 |
</div> |
| 1022 |
</td> |
| 1023 |
<td>always</td> |
| 1024 |
<td> |
| 1025 |
<div>Namespace where the release is deployed</div> |
| 1026 |
<br/> |
| 1027 |
</td> |
| 1028 |
</tr> |
| 1029 |
<tr> |
| 1030 |
<td class="elbow-placeholder"> </td> |
| 1031 |
<td colspan="1"> |
| 1032 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 1033 |
<b>release_values</b> |
| 1034 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 1035 |
<div style="font-size: small"> |
| 1036 |
<span style="color: purple">dictionary</span> |
| 1037 |
</div> |
| 1038 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 6.3.0</div> |
| 1039 |
</td> |
| 1040 |
<td>always</td> |
| 1041 |
<td> |
| 1042 |
<div>Dict of Values used to deploy.</div> |
| 1043 |
<br/> |
| 1044 |
</td> |
| 1045 |
</tr> |
| 1046 |
<tr> |
| 1047 |
<td class="elbow-placeholder"> </td> |
| 1048 |
<td colspan="1"> |
| 1049 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 1050 |
<b>revision</b> |
| 1051 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 1052 |
<div style="font-size: small"> |
| 1053 |
<span style="color: purple">string</span> |
| 1054 |
</div> |
| 1055 |
</td> |
| 1056 |
<td>always</td> |
| 1057 |
<td> |
| 1058 |
<div>Number of time where the release has been updated</div> |
| 1059 |
<br/> |
| 1060 |
</td> |
| 1061 |
</tr> |
| 1062 |
<tr> |
| 1063 |
<td class="elbow-placeholder"> </td> |
| 1064 |
<td colspan="1"> |
| 1065 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 1066 |
<b>status</b> |
| 1067 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 1068 |
<div style="font-size: small"> |
| 1069 |
<span style="color: purple">string</span> |
| 1070 |
</div> |
| 1071 |
</td> |
| 1072 |
<td>always</td> |
| 1073 |
<td> |
| 1074 |
<div>Status of release (can be DEPLOYED, FAILED, ...)</div> |
| 1075 |
<br/> |
| 1076 |
</td> |
| 1077 |
</tr> |
| 1078 |
<tr> |
| 1079 |
<td class="elbow-placeholder"> </td> |
| 1080 |
<td colspan="1"> |
| 1081 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 1082 |
<b>updated</b> |
| 1083 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 1084 |
<div style="font-size: small"> |
| 1085 |
<span style="color: purple">string</span> |
| 1086 |
</div> |
| 1087 |
</td> |
| 1088 |
<td>always</td> |
| 1089 |
<td> |
| 1090 |
<div>The Date of last update</div> |
| 1091 |
<br/> |
| 1092 |
</td> |
| 1093 |
</tr> |
| 1094 |
<tr> |
| 1095 |
<td class="elbow-placeholder"> </td> |
| 1096 |
<td colspan="1"> |
| 1097 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 1098 |
<b>values</b> |
| 1099 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 1100 |
<div style="font-size: small"> |
| 1101 |
<span style="color: purple">dictionary</span> |
| 1102 |
</div> |
| 1103 |
</td> |
| 1104 |
<td>always</td> |
| 1105 |
<td> |
| 1106 |
<div>Dict of Values used to deploy.</div> |
| 1107 |
<div>This return value has been deprecated and will be removed in a release after 2027-01-08. Use RV(status.release_values) instead.</div> |
| 1108 |
<br/> |
| 1109 |
</td> |
| 1110 |
</tr> |
| 1111 |
|
| 1112 |
<tr> |
| 1113 |
<td colspan="2"> |
| 1114 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 1115 |
<b>stderr</b> |
| 1116 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 1117 |
<div style="font-size: small"> |
| 1118 |
<span style="color: purple">string</span> |
| 1119 |
</div> |
| 1120 |
</td> |
| 1121 |
<td>always</td> |
| 1122 |
<td> |
| 1123 |
<div>Full `helm` command stderr, in case you want to display it or examine the event log</div> |
| 1124 |
<br/> |
| 1125 |
</td> |
| 1126 |
</tr> |
| 1127 |
<tr> |
| 1128 |
<td colspan="2"> |
| 1129 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 1130 |
<b>stdout</b> |
| 1131 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 1132 |
<div style="font-size: small"> |
| 1133 |
<span style="color: purple">string</span> |
| 1134 |
</div> |
| 1135 |
</td> |
| 1136 |
<td>always</td> |
| 1137 |
<td> |
| 1138 |
<div>Full `helm` command stdout, in case you want to display it or examine the event log</div> |
| 1139 |
<br/> |
| 1140 |
</td> |
| 1141 |
</tr> |
| 1142 |
</table> |
| 1143 |
<br/><br/> |
| 1144 |
|
| 1145 |
|
| 1146 |
Status |
| 1147 |
------ |
| 1148 |
|
| 1149 |
|
| 1150 |
Authors |
| 1151 |
~~~~~~~ |
| 1152 |
|
| 1153 |
- Lucas Boisserie (@LucasBoisserie) |
| 1154 |
- Matthieu Diehr (@d-matt) |