netherframe.providers.hashicorp.helm 3.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- netherframe_providers_hashicorp_helm-3.3.0/LICENSE +21 -0
- netherframe_providers_hashicorp_helm-3.3.0/PKG-INFO +56 -0
- netherframe_providers_hashicorp_helm-3.3.0/README.md +44 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/__init__.py +7 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/__init__.pyi +6 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/_generation.json +9 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/actions/__init__.py +1 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/data_sources/__init__.py +1 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/data_sources/template_data_source.py +272 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/ephemeral_resources/__init__.py +1 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/functions/__init__.py +1 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/list_resources/__init__.py +1 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/provider.py +114 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/provider_helm_enhanced.py +5 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/provider_helm_enhanced.pyi +19 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/py.typed +0 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/resources/__init__.py +1 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/resources/release.py +369 -0
- netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/state_stores/__init__.py +1 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/__init__.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/actions/__init__.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/data_sources/__init__.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/data_sources/template_data_source.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/ephemeral_resources/__init__.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/functions/__init__.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/list_resources/__init__.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/provider.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/provider_helm_enhanced.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/py.typed +0 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/resources/__init__.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/resources/release.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/state_stores/__init__.py +4 -0
- netherframe_providers_hashicorp_helm-3.3.0/pyproject.toml +36 -0
- netherframe_providers_hashicorp_helm-3.3.0/pyproject.toml.orig +35 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Netherframe
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: netherframe.providers.hashicorp.helm
|
|
3
|
+
Version: 3.3.0
|
|
4
|
+
Summary: NF provider for hashicorp/helm
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Requires-Dist: netherframe-core>=0.9.0
|
|
8
|
+
Requires-Python: >=3.14
|
|
9
|
+
Project-URL: Homepage, https://netherframe.arsenal.sh
|
|
10
|
+
Project-URL: Repository, https://github.com/arsenal-sh/netherframe
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
|
|
13
|
+
# NF Provider: hashicorp/helm
|
|
14
|
+
|
|
15
|
+
This provider was automatically generated for use with Netherframe (NF).
|
|
16
|
+
|
|
17
|
+
## Provider Version
|
|
18
|
+
|
|
19
|
+
- Provider: `hashicorp/helm`
|
|
20
|
+
- Version: `3.3.0`
|
|
21
|
+
- Python package version: `3.3.0`
|
|
22
|
+
- Binding revision: `0`
|
|
23
|
+
- Generator: `0.3.0`
|
|
24
|
+
- Minimum core: `0.9.0`
|
|
25
|
+
- Schema SHA-256 (format 2): `98b6c41f97245d445a11f2604b0702f9897523f32253236ac17650583e1fc485`
|
|
26
|
+
|
|
27
|
+
## Installation
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pip install -e .
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Usage
|
|
34
|
+
|
|
35
|
+
```python
|
|
36
|
+
from nf.core import App, Stack
|
|
37
|
+
from nf.providers.hashicorp.helm import HelmProvider
|
|
38
|
+
|
|
39
|
+
app = App(nf_id="app")
|
|
40
|
+
stack = Stack(nf_scope=app, nf_id="stack")
|
|
41
|
+
|
|
42
|
+
provider = HelmProvider(
|
|
43
|
+
nf_scope=stack,
|
|
44
|
+
nf_id="helm",
|
|
45
|
+
# Add your provider configuration here
|
|
46
|
+
)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Contents
|
|
50
|
+
|
|
51
|
+
This provider includes 1 resource and 1 data source.
|
|
52
|
+
|
|
53
|
+
Classes are named after the Terraform type without the provider prefix. Each kind has its own Terraform namespace, so every kind but resources adds its kind as a suffix: for `helm_example`, `Example` (resource), `ExampleDataSource` (data source), `ExampleEphemeralResource` (ephemeral resource), `ExampleListResource` (list resource), `ExampleStateStore` (state store), `ExampleAction` (action).
|
|
54
|
+
|
|
55
|
+
For detailed documentation, see the official provider docs at:
|
|
56
|
+
https://registry.terraform.io/providers/hashicorp/helm/latest/docs
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# NF Provider: hashicorp/helm
|
|
2
|
+
|
|
3
|
+
This provider was automatically generated for use with Netherframe (NF).
|
|
4
|
+
|
|
5
|
+
## Provider Version
|
|
6
|
+
|
|
7
|
+
- Provider: `hashicorp/helm`
|
|
8
|
+
- Version: `3.3.0`
|
|
9
|
+
- Python package version: `3.3.0`
|
|
10
|
+
- Binding revision: `0`
|
|
11
|
+
- Generator: `0.3.0`
|
|
12
|
+
- Minimum core: `0.9.0`
|
|
13
|
+
- Schema SHA-256 (format 2): `98b6c41f97245d445a11f2604b0702f9897523f32253236ac17650583e1fc485`
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pip install -e .
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```python
|
|
24
|
+
from nf.core import App, Stack
|
|
25
|
+
from nf.providers.hashicorp.helm import HelmProvider
|
|
26
|
+
|
|
27
|
+
app = App(nf_id="app")
|
|
28
|
+
stack = Stack(nf_scope=app, nf_id="stack")
|
|
29
|
+
|
|
30
|
+
provider = HelmProvider(
|
|
31
|
+
nf_scope=stack,
|
|
32
|
+
nf_id="helm",
|
|
33
|
+
# Add your provider configuration here
|
|
34
|
+
)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Contents
|
|
38
|
+
|
|
39
|
+
This provider includes 1 resource and 1 data source.
|
|
40
|
+
|
|
41
|
+
Classes are named after the Terraform type without the provider prefix. Each kind has its own Terraform namespace, so every kind but resources adds its kind as a suffix: for `helm_example`, `Example` (resource), `ExampleDataSource` (data source), `ExampleEphemeralResource` (ephemeral resource), `ExampleListResource` (list resource), `ExampleStateStore` (state store), `ExampleAction` (action).
|
|
42
|
+
|
|
43
|
+
For detailed documentation, see the official provider docs at:
|
|
44
|
+
https://registry.terraform.io/providers/hashicorp/helm/latest/docs
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Helm Provider generated classes
|
|
2
|
+
# Auto-generated imports for all resources, data sources, and provider
|
|
3
|
+
|
|
4
|
+
from .data_sources.template_data_source import TemplateDataSource as TemplateDataSource
|
|
5
|
+
from .provider_helm_enhanced import HelmProvider as HelmProvider
|
|
6
|
+
from .resources.release import Release as Release
|
netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/_generation.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"binding-revision": 0,
|
|
3
|
+
"generator-version": "0.3.0",
|
|
4
|
+
"minimum-core-version": "0.9.0",
|
|
5
|
+
"provider-source": "hashicorp/helm",
|
|
6
|
+
"provider-version": "3.3.0",
|
|
7
|
+
"schema-hash-format": 2,
|
|
8
|
+
"schema-sha256": "98b6c41f97245d445a11f2604b0702f9897523f32253236ac17650583e1fc485"
|
|
9
|
+
}
|
netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/actions/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Actions for helm provider."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Data Sources for helm provider."""
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Any
|
|
4
|
+
from netherframe.core import autoscope
|
|
5
|
+
|
|
6
|
+
from netherframe.core import DataSource, Construct
|
|
7
|
+
|
|
8
|
+
from netherframe.core.values.runtime_impl import ResourceOutputWithContext
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
from collections import abc
|
|
12
|
+
import netherframe.core as nf
|
|
13
|
+
from netherframe.core.values.runtime_value import RuntimeValue
|
|
14
|
+
from netherframe.providers.hashicorp.helm.provider import HelmProvider
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@autoscope
|
|
18
|
+
class TemplateDataSource(DataSource):
|
|
19
|
+
"""
|
|
20
|
+
Data source to render Helm chart templates.
|
|
21
|
+
|
|
22
|
+
Args:
|
|
23
|
+
chart (str | RuntimeValue[str]): Chart name to be installed. A path may be used.
|
|
24
|
+
name (str | RuntimeValue[str]): Release name.
|
|
25
|
+
api_versions (list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]], optional): Kubernetes api versions used for Capabilities.APIVersions.
|
|
26
|
+
atomic (bool | RuntimeValue[bool], optional): If set, the installation process purges the chart on fail. The 'wait' flag will be set automatically if 'atomic' is used.
|
|
27
|
+
crds (list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]], optional): List of rendered CRDs from the chart.
|
|
28
|
+
create_namespace (bool | RuntimeValue[bool], optional): Create the namespace if it does not exist.
|
|
29
|
+
dependency_update (bool | RuntimeValue[bool], optional): Run helm dependency update before installing the chart.
|
|
30
|
+
description (str | RuntimeValue[str], optional): Add a custom description.
|
|
31
|
+
devel (bool | RuntimeValue[bool], optional): Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored.
|
|
32
|
+
disable_openapi_validation (bool | RuntimeValue[bool], optional): If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema.
|
|
33
|
+
disable_webhooks (bool | RuntimeValue[bool], optional): Prevent hooks from running.
|
|
34
|
+
include_crds (bool | RuntimeValue[bool], optional): Include CRDs in the templated output.
|
|
35
|
+
is_upgrade (bool | RuntimeValue[bool], optional): Set .Release.IsUpgrade instead of .Release.IsInstall.
|
|
36
|
+
keyring (str | RuntimeValue[str], optional): Location of public keys used for verification. Used only if `verify` is true.
|
|
37
|
+
kube_version (str | RuntimeValue[str], optional): Kubernetes version used for Capabilities.KubeVersion.
|
|
38
|
+
manifest (str | RuntimeValue[str], optional): Concatenated rendered chart templates. This corresponds to the output of the `helm template` command.
|
|
39
|
+
manifests (dict[str, str] | dict[str, RuntimeValue[str]] | dict[str, str | RuntimeValue[str]] | RuntimeValue[dict[str, str]], optional): Map of rendered chart templates indexed by the template name.
|
|
40
|
+
namespace (str | RuntimeValue[str], optional): Namespace to install the release into.
|
|
41
|
+
notes (str | RuntimeValue[str], optional): Rendered notes if the chart contains a `NOTES.txt`.
|
|
42
|
+
pass_credentials (bool | RuntimeValue[bool], optional): Pass credentials to all domains.
|
|
43
|
+
postrender (dict[str, Any] | RuntimeValue[dict[str, Any]], optional): Postrender command config.
|
|
44
|
+
render_subchart_notes (bool | RuntimeValue[bool], optional): If set, render subchart notes along with the parent.
|
|
45
|
+
replace (bool | RuntimeValue[bool], optional): Re-use the given name, even if that name is already used. This is unsafe in production.
|
|
46
|
+
repository (str | RuntimeValue[str], optional): Repository where to locate the requested chart. If it is a URL the chart is installed without installing the repository.
|
|
47
|
+
repository_ca_file (str | RuntimeValue[str], optional): The repository's CA file.
|
|
48
|
+
repository_cert_file (str | RuntimeValue[str], optional): The repository's cert file.
|
|
49
|
+
repository_key_file (str | RuntimeValue[str], optional): The repository's cert key file.
|
|
50
|
+
repository_password (str | RuntimeValue[str], optional, sensitive): Password for HTTP basic authentication.
|
|
51
|
+
repository_username (str | RuntimeValue[str], optional): Username for HTTP basic authentication.
|
|
52
|
+
reset_values (bool | RuntimeValue[bool], optional): When upgrading, reset the values to the ones built into the chart.
|
|
53
|
+
reuse_values (bool | RuntimeValue[bool], optional): When upgrading, reuse the last release's values and merge in any overrides. If 'reset_values' is specified, this is ignored.
|
|
54
|
+
set_ (list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]], optional): Custom values to be merged with the values.
|
|
55
|
+
set_list (list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]], optional): Custom sensitive values to be merged with the values.
|
|
56
|
+
set_sensitive (list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]], optional): Custom sensitive values to be merged with the values.
|
|
57
|
+
set_wo (list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]], optional): Write-only custom values to be merged with the values.
|
|
58
|
+
show_only (list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]], optional): Only show manifests rendered from the given templates.
|
|
59
|
+
skip_crds (bool | RuntimeValue[bool], optional): If set, no CRDs will be installed. By default, CRDs are installed if not already present.
|
|
60
|
+
skip_tests (bool | RuntimeValue[bool], optional): If set, tests will not be rendered. By default, tests are rendered.
|
|
61
|
+
timeout (float | RuntimeValue[float], optional): Time in seconds to wait for any individual Kubernetes operation.
|
|
62
|
+
timeouts (dict[str, Any] | RuntimeValue[dict[str, Any]], optional): Timeouts.
|
|
63
|
+
validate (bool | RuntimeValue[bool], optional): Validate your manifests against the Kubernetes cluster you are currently pointing at. This is the same validation performed on an install.
|
|
64
|
+
values (list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]], optional): List of values in raw yaml format to pass to helm.
|
|
65
|
+
verify (bool | RuntimeValue[bool], optional): Verify the package before installing it.
|
|
66
|
+
version (str | RuntimeValue[str], optional): Specify the exact chart version to install. If this is not specified, the latest version is installed.
|
|
67
|
+
wait (bool | RuntimeValue[bool], optional): Will wait until all resources are in a ready state before marking the release as successful.
|
|
68
|
+
depends_on (Sequence[Resource | str], optional): Constructs this one depends on besides those its arguments refer to (Terraform's `depends_on`).
|
|
69
|
+
count (int | RuntimeValue[int], optional): Number of instances (Terraform's `count`); not supported by hybrid execution.
|
|
70
|
+
for_each (dict[str, Any] | RuntimeValue[dict[str, Any]] | RuntimeValue[set[Any]], optional): An instance per key of a map or member of a set of strings (Terraform's `for_each`); not supported by hybrid execution.
|
|
71
|
+
lifecycle (DataLifecycleRules, optional): Custom conditions: precondition and postcondition (Terraform's `lifecycle` block).
|
|
72
|
+
observes (Sequence[Resource | str], optional): Managed objects or scopes this data source observes; [] declares none, omitted observes the app for graph provenance. Not synthesized for Terraform.
|
|
73
|
+
|
|
74
|
+
Example:
|
|
75
|
+
template_data = TemplateDataSource(
|
|
76
|
+
nf_scope=stack,
|
|
77
|
+
nf_id="example",
|
|
78
|
+
chart="example-value",
|
|
79
|
+
name="example-value",
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
Reference:
|
|
83
|
+
https://registry.terraform.io/providers/hashicorp/helm/latest/docs/data-sources/template
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
_TF_TYPE = "helm_template"
|
|
87
|
+
|
|
88
|
+
_PROVIDER_TYPE = "helm"
|
|
89
|
+
|
|
90
|
+
def __init__(
|
|
91
|
+
self,
|
|
92
|
+
*,
|
|
93
|
+
nf_scope: Construct | None = None,
|
|
94
|
+
nf_id: str | None = None,
|
|
95
|
+
chart: str | RuntimeValue[str],
|
|
96
|
+
name: str | RuntimeValue[str],
|
|
97
|
+
api_versions: list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]] | None = None,
|
|
98
|
+
atomic: bool | RuntimeValue[bool] | None = None,
|
|
99
|
+
crds: list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]] | None = None,
|
|
100
|
+
create_namespace: bool | RuntimeValue[bool] | None = None,
|
|
101
|
+
dependency_update: bool | RuntimeValue[bool] | None = None,
|
|
102
|
+
description: str | RuntimeValue[str] | None = None,
|
|
103
|
+
devel: bool | RuntimeValue[bool] | None = None,
|
|
104
|
+
disable_openapi_validation: bool | RuntimeValue[bool] | None = None,
|
|
105
|
+
disable_webhooks: bool | RuntimeValue[bool] | None = None,
|
|
106
|
+
include_crds: bool | RuntimeValue[bool] | None = None,
|
|
107
|
+
is_upgrade: bool | RuntimeValue[bool] | None = None,
|
|
108
|
+
keyring: str | RuntimeValue[str] | None = None,
|
|
109
|
+
kube_version: str | RuntimeValue[str] | None = None,
|
|
110
|
+
manifest: str | RuntimeValue[str] | None = None,
|
|
111
|
+
manifests: dict[str, str] | dict[str, RuntimeValue[str]] | dict[str, str | RuntimeValue[str]] | RuntimeValue[dict[str, str]] | None = None,
|
|
112
|
+
namespace: str | RuntimeValue[str] | None = None,
|
|
113
|
+
notes: str | RuntimeValue[str] | None = None,
|
|
114
|
+
pass_credentials: bool | RuntimeValue[bool] | None = None,
|
|
115
|
+
postrender: dict[str, Any] | RuntimeValue[dict[str, Any]] | None = None,
|
|
116
|
+
render_subchart_notes: bool | RuntimeValue[bool] | None = None,
|
|
117
|
+
replace: bool | RuntimeValue[bool] | None = None,
|
|
118
|
+
repository: str | RuntimeValue[str] | None = None,
|
|
119
|
+
repository_ca_file: str | RuntimeValue[str] | None = None,
|
|
120
|
+
repository_cert_file: str | RuntimeValue[str] | None = None,
|
|
121
|
+
repository_key_file: str | RuntimeValue[str] | None = None,
|
|
122
|
+
repository_password: str | RuntimeValue[str] | None = None,
|
|
123
|
+
repository_username: str | RuntimeValue[str] | None = None,
|
|
124
|
+
reset_values: bool | RuntimeValue[bool] | None = None,
|
|
125
|
+
reuse_values: bool | RuntimeValue[bool] | None = None,
|
|
126
|
+
set_: list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]] | None = None,
|
|
127
|
+
set_list: list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]] | None = None,
|
|
128
|
+
set_sensitive: list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]] | None = None,
|
|
129
|
+
set_wo: list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]] | None = None,
|
|
130
|
+
show_only: list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]] | None = None,
|
|
131
|
+
skip_crds: bool | RuntimeValue[bool] | None = None,
|
|
132
|
+
skip_tests: bool | RuntimeValue[bool] | None = None,
|
|
133
|
+
timeout: float | RuntimeValue[float] | None = None,
|
|
134
|
+
timeouts: dict[str, Any] | RuntimeValue[dict[str, Any]] | None = None,
|
|
135
|
+
validate: bool | RuntimeValue[bool] | None = None,
|
|
136
|
+
values: list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]] | None = None,
|
|
137
|
+
verify: bool | RuntimeValue[bool] | None = None,
|
|
138
|
+
version: str | RuntimeValue[str] | None = None,
|
|
139
|
+
wait: bool | RuntimeValue[bool] | None = None,
|
|
140
|
+
nf_provider: HelmProvider | None = None,
|
|
141
|
+
depends_on: abc.Sequence[nf.Resource | str] | None = None,
|
|
142
|
+
count: int | RuntimeValue[int] | None = None,
|
|
143
|
+
for_each: dict[str, Any] | RuntimeValue[dict[str, Any]] | RuntimeValue[set[Any]] | None = None,
|
|
144
|
+
lifecycle: nf.DataLifecycleRules | None = None,
|
|
145
|
+
observes: abc.Sequence[nf.Resource | str] | None = None,
|
|
146
|
+
):
|
|
147
|
+
super().__init__(
|
|
148
|
+
nf_scope=nf_scope,
|
|
149
|
+
nf_id=nf_id,
|
|
150
|
+
nf_type="helm_template",
|
|
151
|
+
nf_provider=nf_provider,
|
|
152
|
+
chart=chart,
|
|
153
|
+
name=name,
|
|
154
|
+
api_versions=api_versions,
|
|
155
|
+
atomic=atomic,
|
|
156
|
+
crds=crds,
|
|
157
|
+
create_namespace=create_namespace,
|
|
158
|
+
dependency_update=dependency_update,
|
|
159
|
+
description=description,
|
|
160
|
+
devel=devel,
|
|
161
|
+
disable_openapi_validation=disable_openapi_validation,
|
|
162
|
+
disable_webhooks=disable_webhooks,
|
|
163
|
+
include_crds=include_crds,
|
|
164
|
+
is_upgrade=is_upgrade,
|
|
165
|
+
keyring=keyring,
|
|
166
|
+
kube_version=kube_version,
|
|
167
|
+
manifest=manifest,
|
|
168
|
+
manifests=manifests,
|
|
169
|
+
namespace=namespace,
|
|
170
|
+
notes=notes,
|
|
171
|
+
pass_credentials=pass_credentials,
|
|
172
|
+
postrender=postrender,
|
|
173
|
+
render_subchart_notes=render_subchart_notes,
|
|
174
|
+
replace=replace,
|
|
175
|
+
repository=repository,
|
|
176
|
+
repository_ca_file=repository_ca_file,
|
|
177
|
+
repository_cert_file=repository_cert_file,
|
|
178
|
+
repository_key_file=repository_key_file,
|
|
179
|
+
repository_password=repository_password,
|
|
180
|
+
repository_username=repository_username,
|
|
181
|
+
reset_values=reset_values,
|
|
182
|
+
reuse_values=reuse_values,
|
|
183
|
+
set_=set_,
|
|
184
|
+
set_list=set_list,
|
|
185
|
+
set_sensitive=set_sensitive,
|
|
186
|
+
set_wo=set_wo,
|
|
187
|
+
show_only=show_only,
|
|
188
|
+
skip_crds=skip_crds,
|
|
189
|
+
skip_tests=skip_tests,
|
|
190
|
+
timeout=timeout,
|
|
191
|
+
timeouts=timeouts,
|
|
192
|
+
validate=validate,
|
|
193
|
+
values=values,
|
|
194
|
+
verify=verify,
|
|
195
|
+
version=version,
|
|
196
|
+
wait=wait,
|
|
197
|
+
)
|
|
198
|
+
if depends_on is not None or count is not None or for_each is not None or lifecycle is not None or observes is not None:
|
|
199
|
+
self._set_meta_arguments(depends_on=depends_on, count=count, for_each=for_each, lifecycle=lifecycle, observes=observes)
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def ref_crds(self) -> RuntimeValue[list[str]]:
|
|
203
|
+
return ResourceOutputWithContext(self, "crds", expected_type=list[str])
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
def ref_id_(self) -> RuntimeValue[str]:
|
|
207
|
+
return ResourceOutputWithContext(self, "id", expected_type=str)
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
def ref_manifest(self) -> RuntimeValue[str]:
|
|
211
|
+
return ResourceOutputWithContext(self, "manifest", expected_type=str)
|
|
212
|
+
|
|
213
|
+
@property
|
|
214
|
+
def ref_manifests(self) -> RuntimeValue[dict[str, str]]:
|
|
215
|
+
return ResourceOutputWithContext(self, "manifests", expected_type=dict[str, str])
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
def ref_notes(self) -> RuntimeValue[str]:
|
|
219
|
+
return ResourceOutputWithContext(self, "notes", expected_type=str)
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
def ref_version(self) -> RuntimeValue[str]:
|
|
223
|
+
return ResourceOutputWithContext(self, "version", expected_type=str)
|
|
224
|
+
|
|
225
|
+
def synthesize_attributes(self) -> dict[str, Any]:
|
|
226
|
+
return {
|
|
227
|
+
"chart": self.chart,
|
|
228
|
+
"name": self.name,
|
|
229
|
+
"api_versions": self.api_versions,
|
|
230
|
+
"atomic": self.atomic,
|
|
231
|
+
"crds": self.crds,
|
|
232
|
+
"create_namespace": self.create_namespace,
|
|
233
|
+
"dependency_update": self.dependency_update,
|
|
234
|
+
"description": self.description,
|
|
235
|
+
"devel": self.devel,
|
|
236
|
+
"disable_openapi_validation": self.disable_openapi_validation,
|
|
237
|
+
"disable_webhooks": self.disable_webhooks,
|
|
238
|
+
"include_crds": self.include_crds,
|
|
239
|
+
"is_upgrade": self.is_upgrade,
|
|
240
|
+
"keyring": self.keyring,
|
|
241
|
+
"kube_version": self.kube_version,
|
|
242
|
+
"manifest": self.manifest,
|
|
243
|
+
"manifests": self.manifests,
|
|
244
|
+
"namespace": self.namespace,
|
|
245
|
+
"notes": self.notes,
|
|
246
|
+
"pass_credentials": self.pass_credentials,
|
|
247
|
+
"postrender": self.postrender,
|
|
248
|
+
"render_subchart_notes": self.render_subchart_notes,
|
|
249
|
+
"replace": self.replace,
|
|
250
|
+
"repository": self.repository,
|
|
251
|
+
"repository_ca_file": self.repository_ca_file,
|
|
252
|
+
"repository_cert_file": self.repository_cert_file,
|
|
253
|
+
"repository_key_file": self.repository_key_file,
|
|
254
|
+
"repository_password": self.repository_password,
|
|
255
|
+
"repository_username": self.repository_username,
|
|
256
|
+
"reset_values": self.reset_values,
|
|
257
|
+
"reuse_values": self.reuse_values,
|
|
258
|
+
"set": self.set_,
|
|
259
|
+
"set_list": self.set_list,
|
|
260
|
+
"set_sensitive": self.set_sensitive,
|
|
261
|
+
"set_wo": self.set_wo,
|
|
262
|
+
"show_only": self.show_only,
|
|
263
|
+
"skip_crds": self.skip_crds,
|
|
264
|
+
"skip_tests": self.skip_tests,
|
|
265
|
+
"timeout": self.timeout,
|
|
266
|
+
"timeouts": self.timeouts,
|
|
267
|
+
"validate": self.validate,
|
|
268
|
+
"values": self.values,
|
|
269
|
+
"verify": self.verify,
|
|
270
|
+
"version": self.version,
|
|
271
|
+
"wait": self.wait,
|
|
272
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Ephemeral Resources for helm provider."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Functions for helm provider."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""List Resources for helm provider."""
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import importlib
|
|
4
|
+
from typing import TYPE_CHECKING, Any
|
|
5
|
+
from netherframe.core import autoscope
|
|
6
|
+
|
|
7
|
+
from netherframe.core import Provider, ProviderSettings, Construct
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
from netherframe.core.values.runtime_value import RuntimeValue
|
|
11
|
+
|
|
12
|
+
_PROVIDER_PACKAGE = importlib.import_module(__name__.rpartition(".")[0])
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@autoscope
|
|
16
|
+
class HelmProvider(Provider):
|
|
17
|
+
"""
|
|
18
|
+
Schema to define attributes that are available in the provider.
|
|
19
|
+
|
|
20
|
+
Args:
|
|
21
|
+
burst_limit (float | RuntimeValue[float], optional): Helm burst limit. Increase this if you have a cluster with many CRDs.
|
|
22
|
+
debug (bool | RuntimeValue[bool], optional): Debug indicates whether or not Helm is running in Debug mode.
|
|
23
|
+
experiments (dict[str, Any] | RuntimeValue[dict[str, Any]], optional): Enable and disable experimental features.
|
|
24
|
+
helm_driver (str | RuntimeValue[str], optional): The backend storage driver. Values are: configmap, secret, memory, sql.
|
|
25
|
+
kubernetes (dict[str, Any] | RuntimeValue[dict[str, Any]], optional): Kubernetes Configuration.
|
|
26
|
+
plugins_path (str | RuntimeValue[str], optional): The path to the helm plugins directory.
|
|
27
|
+
qps (float | RuntimeValue[float], optional): Queries per second used when communicating with the Kubernetes API. Can be used to avoid throttling.
|
|
28
|
+
registries (list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]], optional): RegistryClient configuration.
|
|
29
|
+
registry_config_path (str | RuntimeValue[str], optional): The path to the registry config file.
|
|
30
|
+
repository_cache (str | RuntimeValue[str], optional): The path to the file containing cached repository indexes.
|
|
31
|
+
repository_config_path (str | RuntimeValue[str], optional): The path to the file containing repository names and URLs.
|
|
32
|
+
|
|
33
|
+
Example:
|
|
34
|
+
provider = HelmProvider(
|
|
35
|
+
nf_scope=stack,
|
|
36
|
+
nf_id="example",
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
Reference:
|
|
40
|
+
https://registry.terraform.io/providers/hashicorp/helm/latest/docs
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
_PROVIDER_TYPE = "helm"
|
|
44
|
+
|
|
45
|
+
_PROVIDER_VERSION = "3.3.0"
|
|
46
|
+
|
|
47
|
+
_PROVIDER_SOURCE = "hashicorp/helm"
|
|
48
|
+
|
|
49
|
+
__slots__ = (
|
|
50
|
+
*getattr(Provider, "__slots__", ()),
|
|
51
|
+
"burst_limit",
|
|
52
|
+
"debug",
|
|
53
|
+
"experiments",
|
|
54
|
+
"helm_driver",
|
|
55
|
+
"kubernetes",
|
|
56
|
+
"plugins_path",
|
|
57
|
+
"qps",
|
|
58
|
+
"registries",
|
|
59
|
+
"registry_config_path",
|
|
60
|
+
"repository_cache",
|
|
61
|
+
"repository_config_path",
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
def __init__(
|
|
65
|
+
self,
|
|
66
|
+
*,
|
|
67
|
+
nf_scope: Construct | None = None,
|
|
68
|
+
nf_id: str | None = None,
|
|
69
|
+
burst_limit: float | RuntimeValue[float] | None = None,
|
|
70
|
+
debug: bool | RuntimeValue[bool] | None = None,
|
|
71
|
+
experiments: dict[str, Any] | RuntimeValue[dict[str, Any]] | None = None,
|
|
72
|
+
helm_driver: str | RuntimeValue[str] | None = None,
|
|
73
|
+
kubernetes: dict[str, Any] | RuntimeValue[dict[str, Any]] | None = None,
|
|
74
|
+
plugins_path: str | RuntimeValue[str] | None = None,
|
|
75
|
+
qps: float | RuntimeValue[float] | None = None,
|
|
76
|
+
registries: list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]] | None = None,
|
|
77
|
+
registry_config_path: str | RuntimeValue[str] | None = None,
|
|
78
|
+
repository_cache: str | RuntimeValue[str] | None = None,
|
|
79
|
+
repository_config_path: str | RuntimeValue[str] | None = None,
|
|
80
|
+
nf_provider_settings: ProviderSettings | None = None,
|
|
81
|
+
):
|
|
82
|
+
super().__init__(
|
|
83
|
+
nf_scope=nf_scope,
|
|
84
|
+
nf_id=nf_id,
|
|
85
|
+
nf_type="helm",
|
|
86
|
+
nf_provider_settings=nf_provider_settings,
|
|
87
|
+
burst_limit=burst_limit,
|
|
88
|
+
debug=debug,
|
|
89
|
+
experiments=experiments,
|
|
90
|
+
helm_driver=helm_driver,
|
|
91
|
+
kubernetes=kubernetes,
|
|
92
|
+
plugins_path=plugins_path,
|
|
93
|
+
qps=qps,
|
|
94
|
+
registries=registries,
|
|
95
|
+
registry_config_path=registry_config_path,
|
|
96
|
+
repository_cache=repository_cache,
|
|
97
|
+
repository_config_path=repository_config_path,
|
|
98
|
+
)
|
|
99
|
+
object.__setattr__(self, "nf_provider_module", _PROVIDER_PACKAGE)
|
|
100
|
+
|
|
101
|
+
def synthesize_attributes(self) -> dict[str, Any]:
|
|
102
|
+
return {
|
|
103
|
+
"burst_limit": self.burst_limit,
|
|
104
|
+
"debug": self.debug,
|
|
105
|
+
"experiments": self.experiments,
|
|
106
|
+
"helm_driver": self.helm_driver,
|
|
107
|
+
"kubernetes": self.kubernetes,
|
|
108
|
+
"plugins_path": self.plugins_path,
|
|
109
|
+
"qps": self.qps,
|
|
110
|
+
"registries": self.registries,
|
|
111
|
+
"registry_config_path": self.registry_config_path,
|
|
112
|
+
"repository_cache": self.repository_cache,
|
|
113
|
+
"repository_config_path": self.repository_config_path,
|
|
114
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Enhanced Helm Provider stub with resource methods
|
|
2
|
+
# This file provides type hints for the provider-bound resource pattern
|
|
3
|
+
|
|
4
|
+
from typing import Any, Self
|
|
5
|
+
|
|
6
|
+
from .provider import HelmProvider as _BaseHelmProvider
|
|
7
|
+
|
|
8
|
+
from .data_sources.template_data_source import TemplateDataSource as _TemplateDataSource
|
|
9
|
+
from .resources.release import Release as _Release
|
|
10
|
+
|
|
11
|
+
class HelmProvider(_BaseHelmProvider):
|
|
12
|
+
def __enter__(self) -> Self: ...
|
|
13
|
+
def __exit__(self, *args: object) -> None: ...
|
|
14
|
+
|
|
15
|
+
# Resource constructors
|
|
16
|
+
def Release(self, *args: Any, **kwargs: Any) -> _Release: ...
|
|
17
|
+
|
|
18
|
+
# Data source constructors
|
|
19
|
+
def TemplateDataSource(self, *args: Any, **kwargs: Any) -> _TemplateDataSource: ...
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Resources for helm provider."""
|
netherframe_providers_hashicorp_helm-3.3.0/netherframe/providers/hashicorp/helm/resources/release.py
ADDED
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Any
|
|
4
|
+
from netherframe.core import autoscope
|
|
5
|
+
|
|
6
|
+
from netherframe.core import Resource, Construct
|
|
7
|
+
|
|
8
|
+
from netherframe.core.values.runtime_impl import ResourceOutputWithContext
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
from collections import abc
|
|
12
|
+
import netherframe.core as nf
|
|
13
|
+
from netherframe.core.runtime.hybrid_runtime import RuntimeChecks
|
|
14
|
+
from netherframe.core.values.runtime_value import RuntimeValue
|
|
15
|
+
from netherframe.providers.hashicorp.helm.provider import HelmProvider
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
@autoscope
|
|
19
|
+
class Release(Resource):
|
|
20
|
+
"""
|
|
21
|
+
Schema to define attributes that are available in the resource.
|
|
22
|
+
|
|
23
|
+
Args:
|
|
24
|
+
chart (str | RuntimeValue[str]): Chart name to be installed. A path may be used.
|
|
25
|
+
name (str | RuntimeValue[str]): Release name. The length must not be longer than 53 characters.
|
|
26
|
+
atomic (bool | RuntimeValue[bool], optional): If set, installation process purges chart on fail. The wait flag will be set automatically if atomic is used.
|
|
27
|
+
cleanup_on_fail (bool | RuntimeValue[bool], optional): Allow deletion of new resources created in this upgrade when upgrade fails.
|
|
28
|
+
create_namespace (bool | RuntimeValue[bool], optional): Create the namespace if it does not exist.
|
|
29
|
+
dependency_update (bool | RuntimeValue[bool], optional): Run helm dependency update before installing the chart.
|
|
30
|
+
description (str | RuntimeValue[str], optional): Add a custom description.
|
|
31
|
+
devel (bool | RuntimeValue[bool], optional): Use chart development versions, too. Equivalent to version '>0.0.0-0'. If 'version' is set, this is ignored.
|
|
32
|
+
disable_crd_hooks (bool | RuntimeValue[bool], optional): Prevent CRD hooks from running, but run other hooks. See helm install --no-crd-hook.
|
|
33
|
+
disable_openapi_validation (bool | RuntimeValue[bool], optional): If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema.
|
|
34
|
+
disable_webhooks (bool | RuntimeValue[bool], optional): Prevent hooks from running.
|
|
35
|
+
force_update (bool | RuntimeValue[bool], optional): Force resource update through delete/recreate if needed.
|
|
36
|
+
keyring (str | RuntimeValue[str], optional): Location of public keys used for verification, Used only if 'verify is true'.
|
|
37
|
+
lint (bool | RuntimeValue[bool], optional): Run helm lint when planning.
|
|
38
|
+
max_history (float | RuntimeValue[float], optional): Limit the maximum number of revisions saved per release. Use 0 for no limit.
|
|
39
|
+
namespace (str | RuntimeValue[str], optional): Namespace to install the release into.
|
|
40
|
+
pass_credentials (bool | RuntimeValue[bool], optional): Pass credentials to all domains.
|
|
41
|
+
postrender (dict[str, Any] | RuntimeValue[dict[str, Any]], optional): Postrender command config.
|
|
42
|
+
recreate_pods (bool | RuntimeValue[bool], optional): Perform pods restart during upgrade/rollback.
|
|
43
|
+
render_subchart_notes (bool | RuntimeValue[bool], optional): If set, render subchart notes along with the parent.
|
|
44
|
+
replace (bool | RuntimeValue[bool], optional): Re-use the given name, even if that name is already used. This is unsafe in production.
|
|
45
|
+
repository (str | RuntimeValue[str], optional): Repository where to locate the requested chart. If it is a URL, the chart is installed without installing the repository.
|
|
46
|
+
repository_ca_file (str | RuntimeValue[str], optional): The Repositories CA file.
|
|
47
|
+
repository_cert_file (str | RuntimeValue[str], optional): The repositories cert file.
|
|
48
|
+
repository_key_file (str | RuntimeValue[str], optional): The repositories cert key file.
|
|
49
|
+
repository_password (str | RuntimeValue[str], optional, sensitive): Password for HTTP basic authentication.
|
|
50
|
+
repository_username (str | RuntimeValue[str], optional): Username for HTTP basic authentication.
|
|
51
|
+
reset_values (bool | RuntimeValue[bool], optional): When upgrading, reset the values to the ones built into the chart.
|
|
52
|
+
reuse_values (bool | RuntimeValue[bool], optional): When upgrading, reuse the last release's values and merge in any overrides. If 'reset_values' is specified, this is ignored.
|
|
53
|
+
set_ (list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]], optional): Custom values to be merged with the values.
|
|
54
|
+
set_list (list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]], optional): Custom sensitive values to be merged with the values.
|
|
55
|
+
set_sensitive (list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]], optional): Custom sensitive values to be merged with the values.
|
|
56
|
+
set_wo (list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]], optional, write-only): Custom values to be merged with the values.
|
|
57
|
+
set_wo_revision (float | RuntimeValue[float], optional): The current revision of the write-only \"set_wo\" attribute. Incrementing this integer value will cause Terraform to update the write-only value.
|
|
58
|
+
skip_crds (bool | RuntimeValue[bool], optional): If set, no CRDs will be installed. By default, CRDs are installed if not already present.
|
|
59
|
+
take_ownership (bool | RuntimeValue[bool], optional): If set, Helm will take ownership of resources not already annotated by this release. Useful for migrations or recovery.
|
|
60
|
+
timeout (float | RuntimeValue[float], optional): Time in seconds to wait for any individual kubernetes operation.
|
|
61
|
+
timeouts (dict[str, Any] | RuntimeValue[dict[str, Any]], optional): Timeouts.
|
|
62
|
+
upgrade_install (bool | RuntimeValue[bool], optional): If true, the provider will install the release at the specified version even if a release not controlled by the provider is present. This is equivalent to running 'helm upgrade --install'. WARNING: this may not be suitable for production use -- see the 'Upgrade Mode' note in the provider documentation. Defaults to `false`.
|
|
63
|
+
values (list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]], optional): List of values in raw YAML format to pass to helm.
|
|
64
|
+
verify (bool | RuntimeValue[bool], optional): Verify the package before installing it.
|
|
65
|
+
version (str | RuntimeValue[str], optional): Specify the exact chart version to install. If this is not specified, the latest version is installed.
|
|
66
|
+
wait (bool | RuntimeValue[bool], optional): Will wait until all resources are in a ready state before marking the release as successful.
|
|
67
|
+
wait_for_jobs (bool | RuntimeValue[bool], optional): If wait is enabled, will wait until all Jobs have been completed before marking the release as successful.
|
|
68
|
+
depends_on (Sequence[Resource | str], optional): Constructs this one depends on besides those its arguments refer to (Terraform's `depends_on`).
|
|
69
|
+
count (int | RuntimeValue[int], optional): Number of instances (Terraform's `count`); not supported by hybrid execution.
|
|
70
|
+
for_each (dict[str, Any] | RuntimeValue[dict[str, Any]] | RuntimeValue[set[Any]], optional): An instance per key of a map or member of a set of strings (Terraform's `for_each`); not supported by hybrid execution.
|
|
71
|
+
lifecycle (LifecycleRules, optional): Lifecycle rules: create_before_destroy, prevent_destroy, ignore_changes, replace_triggered_by and custom conditions (Terraform's `lifecycle` block).
|
|
72
|
+
runtime_checks (RuntimeChecks, optional): Hybrid runtime checks, each run at its phase (pre_plan, post_plan, pre_apply or post_apply): decorated checks bound to their arguments or `runtime_check(...)` objects; not synthesized for Terraform.
|
|
73
|
+
|
|
74
|
+
Example:
|
|
75
|
+
release = Release(
|
|
76
|
+
nf_scope=stack,
|
|
77
|
+
nf_id="example",
|
|
78
|
+
chart="example-value",
|
|
79
|
+
name="example-value",
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
Reference:
|
|
83
|
+
https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
_TF_TYPE = "helm_release"
|
|
87
|
+
|
|
88
|
+
_PROVIDER_TYPE = "helm"
|
|
89
|
+
|
|
90
|
+
def __init__(
|
|
91
|
+
self,
|
|
92
|
+
*,
|
|
93
|
+
nf_scope: Construct | None = None,
|
|
94
|
+
nf_id: str | None = None,
|
|
95
|
+
chart: str | RuntimeValue[str],
|
|
96
|
+
name: str | RuntimeValue[str],
|
|
97
|
+
atomic: bool | RuntimeValue[bool] | None = None,
|
|
98
|
+
cleanup_on_fail: bool | RuntimeValue[bool] | None = None,
|
|
99
|
+
create_namespace: bool | RuntimeValue[bool] | None = None,
|
|
100
|
+
dependency_update: bool | RuntimeValue[bool] | None = None,
|
|
101
|
+
description: str | RuntimeValue[str] | None = None,
|
|
102
|
+
devel: bool | RuntimeValue[bool] | None = None,
|
|
103
|
+
disable_crd_hooks: bool | RuntimeValue[bool] | None = None,
|
|
104
|
+
disable_openapi_validation: bool | RuntimeValue[bool] | None = None,
|
|
105
|
+
disable_webhooks: bool | RuntimeValue[bool] | None = None,
|
|
106
|
+
force_update: bool | RuntimeValue[bool] | None = None,
|
|
107
|
+
keyring: str | RuntimeValue[str] | None = None,
|
|
108
|
+
lint: bool | RuntimeValue[bool] | None = None,
|
|
109
|
+
max_history: float | RuntimeValue[float] | None = None,
|
|
110
|
+
namespace: str | RuntimeValue[str] | None = None,
|
|
111
|
+
pass_credentials: bool | RuntimeValue[bool] | None = None,
|
|
112
|
+
postrender: dict[str, Any] | RuntimeValue[dict[str, Any]] | None = None,
|
|
113
|
+
recreate_pods: bool | RuntimeValue[bool] | None = None,
|
|
114
|
+
render_subchart_notes: bool | RuntimeValue[bool] | None = None,
|
|
115
|
+
replace: bool | RuntimeValue[bool] | None = None,
|
|
116
|
+
repository: str | RuntimeValue[str] | None = None,
|
|
117
|
+
repository_ca_file: str | RuntimeValue[str] | None = None,
|
|
118
|
+
repository_cert_file: str | RuntimeValue[str] | None = None,
|
|
119
|
+
repository_key_file: str | RuntimeValue[str] | None = None,
|
|
120
|
+
repository_password: str | RuntimeValue[str] | None = None,
|
|
121
|
+
repository_username: str | RuntimeValue[str] | None = None,
|
|
122
|
+
reset_values: bool | RuntimeValue[bool] | None = None,
|
|
123
|
+
reuse_values: bool | RuntimeValue[bool] | None = None,
|
|
124
|
+
set_: list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]] | None = None,
|
|
125
|
+
set_list: list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]] | None = None,
|
|
126
|
+
set_sensitive: list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]] | None = None,
|
|
127
|
+
set_wo: list[dict[str, Any]] | list[RuntimeValue[dict[str, Any]]] | list[dict[str, Any] | RuntimeValue[dict[str, Any]]] | RuntimeValue[list[dict[str, Any]]] | None = None,
|
|
128
|
+
set_wo_revision: float | RuntimeValue[float] | None = None,
|
|
129
|
+
skip_crds: bool | RuntimeValue[bool] | None = None,
|
|
130
|
+
take_ownership: bool | RuntimeValue[bool] | None = None,
|
|
131
|
+
timeout: float | RuntimeValue[float] | None = None,
|
|
132
|
+
timeouts: dict[str, Any] | RuntimeValue[dict[str, Any]] | None = None,
|
|
133
|
+
upgrade_install: bool | RuntimeValue[bool] | None = None,
|
|
134
|
+
values: list[str] | list[RuntimeValue[str]] | list[str | RuntimeValue[str]] | RuntimeValue[list[str]] | None = None,
|
|
135
|
+
verify: bool | RuntimeValue[bool] | None = None,
|
|
136
|
+
version: str | RuntimeValue[str] | None = None,
|
|
137
|
+
wait: bool | RuntimeValue[bool] | None = None,
|
|
138
|
+
wait_for_jobs: bool | RuntimeValue[bool] | None = None,
|
|
139
|
+
nf_provider: HelmProvider | None = None,
|
|
140
|
+
depends_on: abc.Sequence[nf.Resource | str] | None = None,
|
|
141
|
+
count: int | RuntimeValue[int] | None = None,
|
|
142
|
+
for_each: dict[str, Any] | RuntimeValue[dict[str, Any]] | RuntimeValue[set[Any]] | None = None,
|
|
143
|
+
lifecycle: nf.LifecycleRules | None = None,
|
|
144
|
+
runtime_checks: RuntimeChecks | None = None,
|
|
145
|
+
):
|
|
146
|
+
super().__init__(
|
|
147
|
+
nf_scope=nf_scope,
|
|
148
|
+
nf_id=nf_id,
|
|
149
|
+
nf_type="helm_release",
|
|
150
|
+
nf_provider=nf_provider,
|
|
151
|
+
chart=chart,
|
|
152
|
+
name=name,
|
|
153
|
+
atomic=atomic,
|
|
154
|
+
cleanup_on_fail=cleanup_on_fail,
|
|
155
|
+
create_namespace=create_namespace,
|
|
156
|
+
dependency_update=dependency_update,
|
|
157
|
+
description=description,
|
|
158
|
+
devel=devel,
|
|
159
|
+
disable_crd_hooks=disable_crd_hooks,
|
|
160
|
+
disable_openapi_validation=disable_openapi_validation,
|
|
161
|
+
disable_webhooks=disable_webhooks,
|
|
162
|
+
force_update=force_update,
|
|
163
|
+
keyring=keyring,
|
|
164
|
+
lint=lint,
|
|
165
|
+
max_history=max_history,
|
|
166
|
+
namespace=namespace,
|
|
167
|
+
pass_credentials=pass_credentials,
|
|
168
|
+
postrender=postrender,
|
|
169
|
+
recreate_pods=recreate_pods,
|
|
170
|
+
render_subchart_notes=render_subchart_notes,
|
|
171
|
+
replace=replace,
|
|
172
|
+
repository=repository,
|
|
173
|
+
repository_ca_file=repository_ca_file,
|
|
174
|
+
repository_cert_file=repository_cert_file,
|
|
175
|
+
repository_key_file=repository_key_file,
|
|
176
|
+
repository_password=repository_password,
|
|
177
|
+
repository_username=repository_username,
|
|
178
|
+
reset_values=reset_values,
|
|
179
|
+
reuse_values=reuse_values,
|
|
180
|
+
set_=set_,
|
|
181
|
+
set_list=set_list,
|
|
182
|
+
set_sensitive=set_sensitive,
|
|
183
|
+
set_wo=set_wo,
|
|
184
|
+
set_wo_revision=set_wo_revision,
|
|
185
|
+
skip_crds=skip_crds,
|
|
186
|
+
take_ownership=take_ownership,
|
|
187
|
+
timeout=timeout,
|
|
188
|
+
timeouts=timeouts,
|
|
189
|
+
upgrade_install=upgrade_install,
|
|
190
|
+
values=values,
|
|
191
|
+
verify=verify,
|
|
192
|
+
version=version,
|
|
193
|
+
wait=wait,
|
|
194
|
+
wait_for_jobs=wait_for_jobs,
|
|
195
|
+
)
|
|
196
|
+
if depends_on is not None or count is not None or for_each is not None or lifecycle is not None or runtime_checks is not None:
|
|
197
|
+
self._set_meta_arguments(depends_on=depends_on, count=count, for_each=for_each, lifecycle=lifecycle, runtime_checks=runtime_checks)
|
|
198
|
+
|
|
199
|
+
@property
|
|
200
|
+
def ref_atomic(self) -> RuntimeValue[bool]:
|
|
201
|
+
return ResourceOutputWithContext(self, "atomic", expected_type=bool)
|
|
202
|
+
|
|
203
|
+
@property
|
|
204
|
+
def ref_cleanup_on_fail(self) -> RuntimeValue[bool]:
|
|
205
|
+
return ResourceOutputWithContext(self, "cleanup_on_fail", expected_type=bool)
|
|
206
|
+
|
|
207
|
+
@property
|
|
208
|
+
def ref_create_namespace(self) -> RuntimeValue[bool]:
|
|
209
|
+
return ResourceOutputWithContext(self, "create_namespace", expected_type=bool)
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def ref_dependency_update(self) -> RuntimeValue[bool]:
|
|
213
|
+
return ResourceOutputWithContext(self, "dependency_update", expected_type=bool)
|
|
214
|
+
|
|
215
|
+
@property
|
|
216
|
+
def ref_description(self) -> RuntimeValue[str]:
|
|
217
|
+
return ResourceOutputWithContext(self, "description", expected_type=str)
|
|
218
|
+
|
|
219
|
+
@property
|
|
220
|
+
def ref_disable_crd_hooks(self) -> RuntimeValue[bool]:
|
|
221
|
+
return ResourceOutputWithContext(self, "disable_crd_hooks", expected_type=bool)
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
def ref_disable_openapi_validation(self) -> RuntimeValue[bool]:
|
|
225
|
+
return ResourceOutputWithContext(self, "disable_openapi_validation", expected_type=bool)
|
|
226
|
+
|
|
227
|
+
@property
|
|
228
|
+
def ref_disable_webhooks(self) -> RuntimeValue[bool]:
|
|
229
|
+
return ResourceOutputWithContext(self, "disable_webhooks", expected_type=bool)
|
|
230
|
+
|
|
231
|
+
@property
|
|
232
|
+
def ref_force_update(self) -> RuntimeValue[bool]:
|
|
233
|
+
return ResourceOutputWithContext(self, "force_update", expected_type=bool)
|
|
234
|
+
|
|
235
|
+
@property
|
|
236
|
+
def ref_id_(self) -> RuntimeValue[str]:
|
|
237
|
+
return ResourceOutputWithContext(self, "id", expected_type=str)
|
|
238
|
+
|
|
239
|
+
@property
|
|
240
|
+
def ref_lint(self) -> RuntimeValue[bool]:
|
|
241
|
+
return ResourceOutputWithContext(self, "lint", expected_type=bool)
|
|
242
|
+
|
|
243
|
+
@property
|
|
244
|
+
def ref_manifest(self) -> RuntimeValue[str]:
|
|
245
|
+
return ResourceOutputWithContext(self, "manifest", expected_type=str)
|
|
246
|
+
|
|
247
|
+
@property
|
|
248
|
+
def ref_max_history(self) -> RuntimeValue[float]:
|
|
249
|
+
return ResourceOutputWithContext(self, "max_history", expected_type=float)
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
def ref_metadata(self) -> RuntimeValue[dict[str, Any]]:
|
|
253
|
+
return ResourceOutputWithContext(self, "metadata", expected_type=dict[str, Any])
|
|
254
|
+
|
|
255
|
+
@property
|
|
256
|
+
def ref_namespace(self) -> RuntimeValue[str]:
|
|
257
|
+
return ResourceOutputWithContext(self, "namespace", expected_type=str)
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
def ref_pass_credentials(self) -> RuntimeValue[bool]:
|
|
261
|
+
return ResourceOutputWithContext(self, "pass_credentials", expected_type=bool)
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def ref_recreate_pods(self) -> RuntimeValue[bool]:
|
|
265
|
+
return ResourceOutputWithContext(self, "recreate_pods", expected_type=bool)
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
def ref_render_subchart_notes(self) -> RuntimeValue[bool]:
|
|
269
|
+
return ResourceOutputWithContext(self, "render_subchart_notes", expected_type=bool)
|
|
270
|
+
|
|
271
|
+
@property
|
|
272
|
+
def ref_replace(self) -> RuntimeValue[bool]:
|
|
273
|
+
return ResourceOutputWithContext(self, "replace", expected_type=bool)
|
|
274
|
+
|
|
275
|
+
@property
|
|
276
|
+
def ref_reset_values(self) -> RuntimeValue[bool]:
|
|
277
|
+
return ResourceOutputWithContext(self, "reset_values", expected_type=bool)
|
|
278
|
+
|
|
279
|
+
@property
|
|
280
|
+
def ref_resources(self) -> RuntimeValue[dict[str, str]]:
|
|
281
|
+
return ResourceOutputWithContext(self, "resources", expected_type=dict[str, str])
|
|
282
|
+
|
|
283
|
+
@property
|
|
284
|
+
def ref_reuse_values(self) -> RuntimeValue[bool]:
|
|
285
|
+
return ResourceOutputWithContext(self, "reuse_values", expected_type=bool)
|
|
286
|
+
|
|
287
|
+
@property
|
|
288
|
+
def ref_skip_crds(self) -> RuntimeValue[bool]:
|
|
289
|
+
return ResourceOutputWithContext(self, "skip_crds", expected_type=bool)
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
def ref_status(self) -> RuntimeValue[str]:
|
|
293
|
+
return ResourceOutputWithContext(self, "status", expected_type=str)
|
|
294
|
+
|
|
295
|
+
@property
|
|
296
|
+
def ref_take_ownership(self) -> RuntimeValue[bool]:
|
|
297
|
+
return ResourceOutputWithContext(self, "take_ownership", expected_type=bool)
|
|
298
|
+
|
|
299
|
+
@property
|
|
300
|
+
def ref_timeout(self) -> RuntimeValue[float]:
|
|
301
|
+
return ResourceOutputWithContext(self, "timeout", expected_type=float)
|
|
302
|
+
|
|
303
|
+
@property
|
|
304
|
+
def ref_upgrade_install(self) -> RuntimeValue[bool]:
|
|
305
|
+
return ResourceOutputWithContext(self, "upgrade_install", expected_type=bool)
|
|
306
|
+
|
|
307
|
+
@property
|
|
308
|
+
def ref_verify(self) -> RuntimeValue[bool]:
|
|
309
|
+
return ResourceOutputWithContext(self, "verify", expected_type=bool)
|
|
310
|
+
|
|
311
|
+
@property
|
|
312
|
+
def ref_version(self) -> RuntimeValue[str]:
|
|
313
|
+
return ResourceOutputWithContext(self, "version", expected_type=str)
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
def ref_wait(self) -> RuntimeValue[bool]:
|
|
317
|
+
return ResourceOutputWithContext(self, "wait", expected_type=bool)
|
|
318
|
+
|
|
319
|
+
@property
|
|
320
|
+
def ref_wait_for_jobs(self) -> RuntimeValue[bool]:
|
|
321
|
+
return ResourceOutputWithContext(self, "wait_for_jobs", expected_type=bool)
|
|
322
|
+
|
|
323
|
+
def synthesize_attributes(self) -> dict[str, Any]:
|
|
324
|
+
return {
|
|
325
|
+
"chart": self.chart,
|
|
326
|
+
"name": self.name,
|
|
327
|
+
"atomic": self.atomic,
|
|
328
|
+
"cleanup_on_fail": self.cleanup_on_fail,
|
|
329
|
+
"create_namespace": self.create_namespace,
|
|
330
|
+
"dependency_update": self.dependency_update,
|
|
331
|
+
"description": self.description,
|
|
332
|
+
"devel": self.devel,
|
|
333
|
+
"disable_crd_hooks": self.disable_crd_hooks,
|
|
334
|
+
"disable_openapi_validation": self.disable_openapi_validation,
|
|
335
|
+
"disable_webhooks": self.disable_webhooks,
|
|
336
|
+
"force_update": self.force_update,
|
|
337
|
+
"keyring": self.keyring,
|
|
338
|
+
"lint": self.lint,
|
|
339
|
+
"max_history": self.max_history,
|
|
340
|
+
"namespace": self.namespace,
|
|
341
|
+
"pass_credentials": self.pass_credentials,
|
|
342
|
+
"postrender": self.postrender,
|
|
343
|
+
"recreate_pods": self.recreate_pods,
|
|
344
|
+
"render_subchart_notes": self.render_subchart_notes,
|
|
345
|
+
"replace": self.replace,
|
|
346
|
+
"repository": self.repository,
|
|
347
|
+
"repository_ca_file": self.repository_ca_file,
|
|
348
|
+
"repository_cert_file": self.repository_cert_file,
|
|
349
|
+
"repository_key_file": self.repository_key_file,
|
|
350
|
+
"repository_password": self.repository_password,
|
|
351
|
+
"repository_username": self.repository_username,
|
|
352
|
+
"reset_values": self.reset_values,
|
|
353
|
+
"reuse_values": self.reuse_values,
|
|
354
|
+
"set": self.set_,
|
|
355
|
+
"set_list": self.set_list,
|
|
356
|
+
"set_sensitive": self.set_sensitive,
|
|
357
|
+
"set_wo": self.set_wo,
|
|
358
|
+
"set_wo_revision": self.set_wo_revision,
|
|
359
|
+
"skip_crds": self.skip_crds,
|
|
360
|
+
"take_ownership": self.take_ownership,
|
|
361
|
+
"timeout": self.timeout,
|
|
362
|
+
"timeouts": self.timeouts,
|
|
363
|
+
"upgrade_install": self.upgrade_install,
|
|
364
|
+
"values": self.values,
|
|
365
|
+
"verify": self.verify,
|
|
366
|
+
"version": self.version,
|
|
367
|
+
"wait": self.wait,
|
|
368
|
+
"wait_for_jobs": self.wait_for_jobs,
|
|
369
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""State Stores for helm provider."""
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm``; at runtime it is ``netherframe.providers.hashicorp.helm`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm import * # noqa: F403
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.actions``; at runtime it is ``netherframe.providers.hashicorp.helm.actions`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.actions import * # noqa: F403
|
netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/data_sources/__init__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.data_sources``; at runtime it is ``netherframe.providers.hashicorp.helm.data_sources`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.data_sources import * # noqa: F403
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.data_sources.template_data_source``; at runtime it is ``netherframe.providers.hashicorp.helm.data_sources.template_data_source`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.data_sources.template_data_source import * # noqa: F403
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.ephemeral_resources``; at runtime it is ``netherframe.providers.hashicorp.helm.ephemeral_resources`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.ephemeral_resources import * # noqa: F403
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.functions``; at runtime it is ``netherframe.providers.hashicorp.helm.functions`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.functions import * # noqa: F403
|
netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/list_resources/__init__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.list_resources``; at runtime it is ``netherframe.providers.hashicorp.helm.list_resources`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.list_resources import * # noqa: F403
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.provider``; at runtime it is ``netherframe.providers.hashicorp.helm.provider`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.provider import * # noqa: F403
|
netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/provider_helm_enhanced.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.provider_helm_enhanced``; at runtime it is ``netherframe.providers.hashicorp.helm.provider_helm_enhanced`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.provider_helm_enhanced import * # noqa: F403
|
|
File without changes
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.resources``; at runtime it is ``netherframe.providers.hashicorp.helm.resources`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.resources import * # noqa: F403
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.resources.release``; at runtime it is ``netherframe.providers.hashicorp.helm.resources.release`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.resources.release import * # noqa: F403
|
netherframe_providers_hashicorp_helm-3.3.0/nf/providers/hashicorp/helm/state_stores/__init__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.providers.hashicorp.helm.state_stores``; at runtime it is ``netherframe.providers.hashicorp.helm.state_stores`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.providers.hashicorp.helm.state_stores import * # noqa: F403
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "netherframe.providers.hashicorp.helm"
|
|
3
|
+
version = "3.3.0"
|
|
4
|
+
description = "NF provider for hashicorp/helm"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.14"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
dependencies = ["netherframe.core>=0.9.0"]
|
|
10
|
+
|
|
11
|
+
[project.urls]
|
|
12
|
+
Homepage = "https://netherframe.arsenal.sh"
|
|
13
|
+
Repository = "https://github.com/arsenal-sh/netherframe"
|
|
14
|
+
|
|
15
|
+
[build-system]
|
|
16
|
+
requires = ["uv_build>=0.13.9,<0.14.0"]
|
|
17
|
+
build-backend = "uv_build"
|
|
18
|
+
|
|
19
|
+
[tool.uv]
|
|
20
|
+
package = true
|
|
21
|
+
|
|
22
|
+
[tool.uv.build-backend]
|
|
23
|
+
module-name = [
|
|
24
|
+
"netherframe.providers.hashicorp.helm",
|
|
25
|
+
"nf.providers.hashicorp.helm",
|
|
26
|
+
]
|
|
27
|
+
module-root = ""
|
|
28
|
+
|
|
29
|
+
[tool.nf]
|
|
30
|
+
provider-source = "hashicorp/helm"
|
|
31
|
+
provider-version = "3.3.0"
|
|
32
|
+
binding-revision = 0
|
|
33
|
+
generator-version = "0.3.0"
|
|
34
|
+
minimum-core-version = "0.9.0"
|
|
35
|
+
schema-hash-format = 2
|
|
36
|
+
schema-sha256 = "98b6c41f97245d445a11f2604b0702f9897523f32253236ac17650583e1fc485"
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "netherframe.providers.hashicorp.helm"
|
|
3
|
+
version = "3.3.0"
|
|
4
|
+
description = "NF provider for hashicorp/helm"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.14"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
dependencies = [
|
|
10
|
+
"netherframe.core>=0.9.0",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
[build-system]
|
|
14
|
+
requires = ["uv_build>=0.13.9,<0.14.0"]
|
|
15
|
+
build-backend = "uv_build"
|
|
16
|
+
|
|
17
|
+
[tool.uv]
|
|
18
|
+
package = true
|
|
19
|
+
|
|
20
|
+
[tool.uv.build-backend]
|
|
21
|
+
module-name = ["netherframe.providers.hashicorp.helm", "nf.providers.hashicorp.helm"]
|
|
22
|
+
module-root = ""
|
|
23
|
+
|
|
24
|
+
[project.urls]
|
|
25
|
+
Homepage = "https://netherframe.arsenal.sh"
|
|
26
|
+
Repository = "https://github.com/arsenal-sh/netherframe"
|
|
27
|
+
|
|
28
|
+
[tool.nf]
|
|
29
|
+
provider-source = "hashicorp/helm"
|
|
30
|
+
provider-version = "3.3.0"
|
|
31
|
+
binding-revision = 0
|
|
32
|
+
generator-version = "0.3.0"
|
|
33
|
+
minimum-core-version = "0.9.0"
|
|
34
|
+
schema-hash-format = 2
|
|
35
|
+
schema-sha256 = "98b6c41f97245d445a11f2604b0702f9897523f32253236ac17650583e1fc485"
|