pulumi-kubernetes 4.12.0__py3-none-any.whl → 4.12.0a1__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-kubernetes might be problematic. Click here for more details.

@@ -572,14 +572,6 @@ _utilities.register(
572
572
  "kubernetes:helm.sh/v3:Release": "Release"
573
573
  }
574
574
  },
575
- {
576
- "pkg": "kubernetes",
577
- "mod": "helm.sh/v4",
578
- "fqn": "pulumi_kubernetes.helm.v4",
579
- "classes": {
580
- "kubernetes:helm.sh/v4:Chart": "Chart"
581
- }
582
- },
583
575
  {
584
576
  "pkg": "kubernetes",
585
577
  "mod": "meta/v1",
@@ -27,7 +27,7 @@ class HelmReleaseSettingsArgs:
27
27
  :param pulumi.Input[str] driver: The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
28
28
  :param pulumi.Input[str] plugins_path: The path to the helm plugins directory.
29
29
  :param pulumi.Input[str] registry_config_path: The path to the registry config file.
30
- :param pulumi.Input[str] repository_cache: The path to the directory containing cached repository indexes.
30
+ :param pulumi.Input[str] repository_cache: The path to the file containing cached repository indexes.
31
31
  :param pulumi.Input[str] repository_config_path: The path to the file containing repository names and URLs.
32
32
  """
33
33
  if driver is None:
@@ -91,7 +91,7 @@ class HelmReleaseSettingsArgs:
91
91
  @pulumi.getter(name="repositoryCache")
92
92
  def repository_cache(self) -> Optional[pulumi.Input[str]]:
93
93
  """
94
- The path to the directory containing cached repository indexes.
94
+ The path to the file containing cached repository indexes.
95
95
  """
96
96
  return pulumi.get(self, "repository_cache")
97
97
 
@@ -120,8 +120,8 @@ class KubeClientSettingsArgs:
120
120
  timeout: Optional[pulumi.Input[int]] = None):
121
121
  """
122
122
  Options for tuning the Kubernetes client used by a Provider.
123
- :param pulumi.Input[int] burst: Maximum burst for throttle. Default value is 120.
124
- :param pulumi.Input[float] qps: Maximum queries per second (QPS) to the API server from this client. Default value is 50.
123
+ :param pulumi.Input[int] burst: Maximum burst for throttle. Default value is 10.
124
+ :param pulumi.Input[float] qps: Maximum queries per second (QPS) to the API server from this client. Default value is 5.
125
125
  :param pulumi.Input[int] timeout: Maximum time in seconds to wait before cancelling a HTTP request to the Kubernetes server. Default value is 32.
126
126
  """
127
127
  if burst is None:
@@ -141,7 +141,7 @@ class KubeClientSettingsArgs:
141
141
  @pulumi.getter
142
142
  def burst(self) -> Optional[pulumi.Input[int]]:
143
143
  """
144
- Maximum burst for throttle. Default value is 120.
144
+ Maximum burst for throttle. Default value is 10.
145
145
  """
146
146
  return pulumi.get(self, "burst")
147
147
 
@@ -153,7 +153,7 @@ class KubeClientSettingsArgs:
153
153
  @pulumi.getter
154
154
  def qps(self) -> Optional[pulumi.Input[float]]:
155
155
  """
156
- Maximum queries per second (QPS) to the API server from this client. Default value is 50.
156
+ Maximum queries per second (QPS) to the API server from this client. Default value is 5.
157
157
  """
158
158
  return pulumi.get(self, "qps")
159
159
 
@@ -9,9 +9,6 @@ import typing
9
9
  if typing.TYPE_CHECKING:
10
10
  import pulumi_kubernetes.helm.v3 as __v3
11
11
  v3 = __v3
12
- import pulumi_kubernetes.helm.v4 as __v4
13
- v4 = __v4
14
12
  else:
15
13
  v3 = _utilities.lazy_import('pulumi_kubernetes.helm.v3')
16
- v4 = _utilities.lazy_import('pulumi_kubernetes.helm.v4')
17
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_kubernetes
3
- Version: 4.12.0
3
+ Version: 4.12.0a1
4
4
  Summary: A Pulumi package for creating and managing Kubernetes resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.com
@@ -1,5 +1,5 @@
1
- pulumi_kubernetes/__init__.py,sha256=wyeS6Ew8g50ILj_PY3FLqCCXcuOzeb2MEPK6JBYJChE,43599
2
- pulumi_kubernetes/_inputs.py,sha256=JpIZzADerqMF2xjEmSRTLy5b3y3TZfJ-pSuuHJ559KA,6946
1
+ pulumi_kubernetes/__init__.py,sha256=3cKJXCkEYDM3nhZeV7KdavMD7XZb5VLdESh9SdDq29k,43447
2
+ pulumi_kubernetes/_inputs.py,sha256=IAQfvCKezE9HUEaUuAq81IshNt2A9d_UAdvz2ZY-VX0,6932
3
3
  pulumi_kubernetes/_tables.py,sha256=3neJaK1ZuzFWWgLJKwl0jAR-Gymxn6CMeGwh1k4tcw4,40823
4
4
  pulumi_kubernetes/_utilities.py,sha256=12QARFhz3kG7KPxTM_w6DjHGOE3kmLh61QVWEs3aw5A,9217
5
5
  pulumi_kubernetes/outputs.py,sha256=YLfWOa1pqtMnI9hVe-nfOVDDjTDGeomctTClWqDX_Sw,1685
@@ -355,15 +355,12 @@ pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py,sha256=
355
355
  pulumi_kubernetes/flowcontrol/v1beta3/__init__.py,sha256=7je6qfxagzQQQo3o4ZNQjxydFNcoXGUgURF--h6b1a8,506
356
356
  pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py,sha256=O6KhWhdHEdkix1UDyr_jEgBqDywiqRY7RmrlEElpHdA,113327
357
357
  pulumi_kubernetes/flowcontrol/v1beta3/outputs.py,sha256=_ALwFhrXJm-PHBKX6tPpgyOkqzqVry68kMSnQAHJ0ZA,122994
358
- pulumi_kubernetes/helm/__init__.py,sha256=EbPhjk2cF8npPznWJKTx1U2YCnHyxst3CawQk6MppxE,497
358
+ pulumi_kubernetes/helm/__init__.py,sha256=RPGfs1HQlANEK6c1StTi0uwYqdavVW5YT40RNdgGsAw,377
359
359
  pulumi_kubernetes/helm/v3/Release.py,sha256=vLXT2ApGqLnDyjX1HRCrbxh0fZA5jP9QcrFlcIL_adg,61450
360
360
  pulumi_kubernetes/helm/v3/__init__.py,sha256=OZvXgccpPzl_hsRWYo8qyYhsZ6FOsm5FDfuaVsE8GSM,327
361
361
  pulumi_kubernetes/helm/v3/_inputs.py,sha256=FQ4gDDn14vP6P3ioeUFUpP0iC7z2X1LLcIhGJ8p6pCc,3999
362
362
  pulumi_kubernetes/helm/v3/helm.py,sha256=jzuI3naCi_tLSTVtTMbgsdjdjBy_YukBtVIXv8X7kh4,28219
363
363
  pulumi_kubernetes/helm/v3/outputs.py,sha256=CedVfGZN9bv95C84F_uSk7LIL0L2EsOqgJXDfkQJXTc,7187
364
- pulumi_kubernetes/helm/v4/Chart.py,sha256=6wK7EScrQE02sKvQ-woT4996bv4WtR98vfZkDal1YbU,34219
365
- pulumi_kubernetes/helm/v4/__init__.py,sha256=85KWAru_ONeUv70Qx1R1DAuhvJnHwL03OP8ERal20FI,283
366
- pulumi_kubernetes/helm/v4/_inputs.py,sha256=dFoePq70UP2Fn8jAlkTcVMa21mpgEnnsNZGP0tqp3_k,5709
367
364
  pulumi_kubernetes/kustomize/__init__.py,sha256=_EW5Ur0b8HoLVcOLKmfgKrMdBU44S63IH6KCD1icuAE,263
368
365
  pulumi_kubernetes/kustomize/kustomize.py,sha256=a89dnJ0qkrpCmrYz_ARDKE6u10M5XoK1ZHoE-wB8itA,6828
369
366
  pulumi_kubernetes/meta/__init__.py,sha256=btipGxIj4uNIPXKfCOZbJgimhmPzT9rlVHpoEF172ig,377
@@ -611,7 +608,7 @@ pulumi_kubernetes/yaml/yaml.py,sha256=IPMjUz2l0B2_flS34a3GbQuWZmT3NVLBj9PLejhIIj
611
608
  pulumi_kubernetes/yaml/v2/ConfigFile.py,sha256=aVv7U-NlRma2hRfC53lDwxq4Fn3tr89SVrJnEWZv_NY,10738
612
609
  pulumi_kubernetes/yaml/v2/ConfigGroup.py,sha256=clKHtWi0JnIgn16f7pECYQdGOiOeDa_DCY8_MImlglg,15528
613
610
  pulumi_kubernetes/yaml/v2/__init__.py,sha256=5S6M8sncwfHm2sXPUBAjROBlGQWwFFedOQ8z1f5SB3U,292
614
- pulumi_kubernetes-4.12.0.dist-info/METADATA,sha256=Qj6nq6H0IUDnsJ8hgB9Pzeb13y5-VIyYM3N5jm3wdOo,9350
615
- pulumi_kubernetes-4.12.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
616
- pulumi_kubernetes-4.12.0.dist-info/top_level.txt,sha256=xoTPI88GpKE_G1dcKvsjaA1qV3yO4NCn2ZpXq4byqNc,18
617
- pulumi_kubernetes-4.12.0.dist-info/RECORD,,
611
+ pulumi_kubernetes-4.12.0a1.dist-info/METADATA,sha256=I7-6n0yfjKdD9V49MpIdAYQUchyDif2qPxRWowuaqbg,9352
612
+ pulumi_kubernetes-4.12.0a1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
613
+ pulumi_kubernetes-4.12.0a1.dist-info/top_level.txt,sha256=xoTPI88GpKE_G1dcKvsjaA1qV3yO4NCn2ZpXq4byqNc,18
614
+ pulumi_kubernetes-4.12.0a1.dist-info/RECORD,,
@@ -1,706 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by pulumigen. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from ... import _utilities
11
- from ._inputs import *
12
-
13
- __all__ = ['ChartArgs', 'Chart']
14
-
15
- @pulumi.input_type
16
- class ChartArgs:
17
- def __init__(__self__, *,
18
- chart: pulumi.Input[str],
19
- dependency_update: Optional[pulumi.Input[bool]] = None,
20
- devel: Optional[pulumi.Input[bool]] = None,
21
- keyring: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]] = None,
22
- name: Optional[pulumi.Input[str]] = None,
23
- namespace: Optional[pulumi.Input[str]] = None,
24
- post_renderer: Optional[pulumi.Input['PostRendererArgs']] = None,
25
- repository_opts: Optional[pulumi.Input['RepositoryOptsArgs']] = None,
26
- resource_prefix: Optional[pulumi.Input[str]] = None,
27
- skip_await: Optional[pulumi.Input[bool]] = None,
28
- skip_crds: Optional[pulumi.Input[bool]] = None,
29
- value_yaml_files: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]]] = None,
30
- values: Optional[pulumi.Input[Mapping[str, Any]]] = None,
31
- verify: Optional[pulumi.Input[bool]] = None,
32
- version: Optional[pulumi.Input[str]] = None):
33
- """
34
- The set of arguments for constructing a Chart resource.
35
- :param pulumi.Input[str] chart: Chart name to be installed. A path may be used.
36
- :param pulumi.Input[bool] dependency_update: Run helm dependency update before installing the chart.
37
- :param pulumi.Input[bool] devel: Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored.
38
- :param pulumi.Input[Union[pulumi.Asset, pulumi.Archive]] keyring: Location of public keys used for verification. Used only if `verify` is true
39
- :param pulumi.Input[str] name: Release name.
40
- :param pulumi.Input[str] namespace: Namespace for the release.
41
- :param pulumi.Input['PostRendererArgs'] post_renderer: Specification defining the post-renderer to use.
42
- :param pulumi.Input['RepositoryOptsArgs'] repository_opts: Specification defining the Helm chart repository to use.
43
- :param pulumi.Input[str] resource_prefix: An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo:resourceName".
44
- :param pulumi.Input[bool] skip_await: By default, the provider waits until all resources are in a ready state before marking the release as successful. Setting this to true will skip such await logic.
45
- :param pulumi.Input[bool] skip_crds: If set, no CRDs will be installed. By default, CRDs are installed if not already present.
46
- :param pulumi.Input[Sequence[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]] value_yaml_files: List of assets (raw yaml files). Content is read and merged with values.
47
- :param pulumi.Input[Mapping[str, Any]] values: Custom values set for the release.
48
- :param pulumi.Input[bool] verify: Verify the chart's integrity.
49
- :param pulumi.Input[str] version: Specify the chart version to install. If this is not specified, the latest version is installed.
50
- """
51
- pulumi.set(__self__, "chart", chart)
52
- if dependency_update is not None:
53
- pulumi.set(__self__, "dependency_update", dependency_update)
54
- if devel is not None:
55
- pulumi.set(__self__, "devel", devel)
56
- if keyring is not None:
57
- pulumi.set(__self__, "keyring", keyring)
58
- if name is not None:
59
- pulumi.set(__self__, "name", name)
60
- if namespace is not None:
61
- pulumi.set(__self__, "namespace", namespace)
62
- if post_renderer is not None:
63
- pulumi.set(__self__, "post_renderer", post_renderer)
64
- if repository_opts is not None:
65
- pulumi.set(__self__, "repository_opts", repository_opts)
66
- if resource_prefix is not None:
67
- pulumi.set(__self__, "resource_prefix", resource_prefix)
68
- if skip_await is not None:
69
- pulumi.set(__self__, "skip_await", skip_await)
70
- if skip_crds is not None:
71
- pulumi.set(__self__, "skip_crds", skip_crds)
72
- if value_yaml_files is not None:
73
- pulumi.set(__self__, "value_yaml_files", value_yaml_files)
74
- if values is not None:
75
- pulumi.set(__self__, "values", values)
76
- if verify is not None:
77
- pulumi.set(__self__, "verify", verify)
78
- if version is not None:
79
- pulumi.set(__self__, "version", version)
80
-
81
- @property
82
- @pulumi.getter
83
- def chart(self) -> pulumi.Input[str]:
84
- """
85
- Chart name to be installed. A path may be used.
86
- """
87
- return pulumi.get(self, "chart")
88
-
89
- @chart.setter
90
- def chart(self, value: pulumi.Input[str]):
91
- pulumi.set(self, "chart", value)
92
-
93
- @property
94
- @pulumi.getter(name="dependencyUpdate")
95
- def dependency_update(self) -> Optional[pulumi.Input[bool]]:
96
- """
97
- Run helm dependency update before installing the chart.
98
- """
99
- return pulumi.get(self, "dependency_update")
100
-
101
- @dependency_update.setter
102
- def dependency_update(self, value: Optional[pulumi.Input[bool]]):
103
- pulumi.set(self, "dependency_update", value)
104
-
105
- @property
106
- @pulumi.getter
107
- def devel(self) -> Optional[pulumi.Input[bool]]:
108
- """
109
- Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored.
110
- """
111
- return pulumi.get(self, "devel")
112
-
113
- @devel.setter
114
- def devel(self, value: Optional[pulumi.Input[bool]]):
115
- pulumi.set(self, "devel", value)
116
-
117
- @property
118
- @pulumi.getter
119
- def keyring(self) -> Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]:
120
- """
121
- Location of public keys used for verification. Used only if `verify` is true
122
- """
123
- return pulumi.get(self, "keyring")
124
-
125
- @keyring.setter
126
- def keyring(self, value: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]):
127
- pulumi.set(self, "keyring", value)
128
-
129
- @property
130
- @pulumi.getter
131
- def name(self) -> Optional[pulumi.Input[str]]:
132
- """
133
- Release name.
134
- """
135
- return pulumi.get(self, "name")
136
-
137
- @name.setter
138
- def name(self, value: Optional[pulumi.Input[str]]):
139
- pulumi.set(self, "name", value)
140
-
141
- @property
142
- @pulumi.getter
143
- def namespace(self) -> Optional[pulumi.Input[str]]:
144
- """
145
- Namespace for the release.
146
- """
147
- return pulumi.get(self, "namespace")
148
-
149
- @namespace.setter
150
- def namespace(self, value: Optional[pulumi.Input[str]]):
151
- pulumi.set(self, "namespace", value)
152
-
153
- @property
154
- @pulumi.getter(name="postRenderer")
155
- def post_renderer(self) -> Optional[pulumi.Input['PostRendererArgs']]:
156
- """
157
- Specification defining the post-renderer to use.
158
- """
159
- return pulumi.get(self, "post_renderer")
160
-
161
- @post_renderer.setter
162
- def post_renderer(self, value: Optional[pulumi.Input['PostRendererArgs']]):
163
- pulumi.set(self, "post_renderer", value)
164
-
165
- @property
166
- @pulumi.getter(name="repositoryOpts")
167
- def repository_opts(self) -> Optional[pulumi.Input['RepositoryOptsArgs']]:
168
- """
169
- Specification defining the Helm chart repository to use.
170
- """
171
- return pulumi.get(self, "repository_opts")
172
-
173
- @repository_opts.setter
174
- def repository_opts(self, value: Optional[pulumi.Input['RepositoryOptsArgs']]):
175
- pulumi.set(self, "repository_opts", value)
176
-
177
- @property
178
- @pulumi.getter(name="resourcePrefix")
179
- def resource_prefix(self) -> Optional[pulumi.Input[str]]:
180
- """
181
- An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo:resourceName".
182
- """
183
- return pulumi.get(self, "resource_prefix")
184
-
185
- @resource_prefix.setter
186
- def resource_prefix(self, value: Optional[pulumi.Input[str]]):
187
- pulumi.set(self, "resource_prefix", value)
188
-
189
- @property
190
- @pulumi.getter(name="skipAwait")
191
- def skip_await(self) -> Optional[pulumi.Input[bool]]:
192
- """
193
- By default, the provider waits until all resources are in a ready state before marking the release as successful. Setting this to true will skip such await logic.
194
- """
195
- return pulumi.get(self, "skip_await")
196
-
197
- @skip_await.setter
198
- def skip_await(self, value: Optional[pulumi.Input[bool]]):
199
- pulumi.set(self, "skip_await", value)
200
-
201
- @property
202
- @pulumi.getter(name="skipCrds")
203
- def skip_crds(self) -> Optional[pulumi.Input[bool]]:
204
- """
205
- If set, no CRDs will be installed. By default, CRDs are installed if not already present.
206
- """
207
- return pulumi.get(self, "skip_crds")
208
-
209
- @skip_crds.setter
210
- def skip_crds(self, value: Optional[pulumi.Input[bool]]):
211
- pulumi.set(self, "skip_crds", value)
212
-
213
- @property
214
- @pulumi.getter(name="valueYamlFiles")
215
- def value_yaml_files(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]]]:
216
- """
217
- List of assets (raw yaml files). Content is read and merged with values.
218
- """
219
- return pulumi.get(self, "value_yaml_files")
220
-
221
- @value_yaml_files.setter
222
- def value_yaml_files(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]]]):
223
- pulumi.set(self, "value_yaml_files", value)
224
-
225
- @property
226
- @pulumi.getter
227
- def values(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
228
- """
229
- Custom values set for the release.
230
- """
231
- return pulumi.get(self, "values")
232
-
233
- @values.setter
234
- def values(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
235
- pulumi.set(self, "values", value)
236
-
237
- @property
238
- @pulumi.getter
239
- def verify(self) -> Optional[pulumi.Input[bool]]:
240
- """
241
- Verify the chart's integrity.
242
- """
243
- return pulumi.get(self, "verify")
244
-
245
- @verify.setter
246
- def verify(self, value: Optional[pulumi.Input[bool]]):
247
- pulumi.set(self, "verify", value)
248
-
249
- @property
250
- @pulumi.getter
251
- def version(self) -> Optional[pulumi.Input[str]]:
252
- """
253
- Specify the chart version to install. If this is not specified, the latest version is installed.
254
- """
255
- return pulumi.get(self, "version")
256
-
257
- @version.setter
258
- def version(self, value: Optional[pulumi.Input[str]]):
259
- pulumi.set(self, "version", value)
260
-
261
-
262
- class Chart(pulumi.ComponentResource):
263
- @overload
264
- def __init__(__self__,
265
- resource_name: str,
266
- opts: Optional[pulumi.ResourceOptions] = None,
267
- chart: Optional[pulumi.Input[str]] = None,
268
- dependency_update: Optional[pulumi.Input[bool]] = None,
269
- devel: Optional[pulumi.Input[bool]] = None,
270
- keyring: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]] = None,
271
- name: Optional[pulumi.Input[str]] = None,
272
- namespace: Optional[pulumi.Input[str]] = None,
273
- post_renderer: Optional[pulumi.Input[pulumi.InputType['PostRendererArgs']]] = None,
274
- repository_opts: Optional[pulumi.Input[pulumi.InputType['RepositoryOptsArgs']]] = None,
275
- resource_prefix: Optional[pulumi.Input[str]] = None,
276
- skip_await: Optional[pulumi.Input[bool]] = None,
277
- skip_crds: Optional[pulumi.Input[bool]] = None,
278
- value_yaml_files: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]]] = None,
279
- values: Optional[pulumi.Input[Mapping[str, Any]]] = None,
280
- verify: Optional[pulumi.Input[bool]] = None,
281
- version: Optional[pulumi.Input[str]] = None,
282
- __props__=None):
283
- """
284
- Chart is a component representing a collection of resources described by a Helm Chart.
285
- Helm charts are a popular packaging format for Kubernetes applications, and published
286
- to registries such as [Artifact Hub](https://artifacthub.io/packages/search?kind=0&sort=relevance&page=1).
287
-
288
- Chart does not use Tiller or create a Helm Release; the semantics are equivalent to
289
- running `helm template --dry-run=server` and then using Pulumi to deploy the resulting YAML manifests.
290
- This allows you to apply [Pulumi Transformations](https://www.pulumi.com/docs/concepts/options/transformations/) and
291
- [Pulumi Policies](https://www.pulumi.com/docs/using-pulumi/crossguard/) to the Kubernetes resources.
292
-
293
- You may also want to consider the `Release` resource as an alternative method for managing helm charts. For more
294
- information about the trade-offs between these options, see: [Choosing the right Helm resource for your use case](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/choosing-the-right-helm-resource-for-your-use-case).
295
-
296
- ### Chart Resolution
297
-
298
- The Helm Chart can be fetched from any source that is accessible to the `helm` command line.
299
- The following variations are supported:
300
-
301
- 1. By chart reference with repo prefix: `chart: "example/mariadb"`
302
- 2. By path to a packaged chart: `chart: "./nginx-1.2.3.tgz"`
303
- 3. By path to an unpacked chart directory: `chart: "./nginx"`
304
- 4. By absolute URL: `chart: "https://example.com/charts/nginx-1.2.3.tgz"`
305
- 5. By chart reference with repo URL: `chart: "nginx", repositoryOpts: { repo: "https://example.com/charts/" }`
306
- 6. By OCI registry: `chart: "oci://example.com/charts/nginx", version: "1.2.3"`
307
-
308
- A chart reference is a convenient way of referencing a chart in a chart repository.
309
-
310
- When you use a chart reference with a repo prefix (`example/mariadb`), Pulumi will look in Helm's local configuration
311
- for a chart repository named `example`, and will then look for a chart in that repository whose name is `mariadb`.
312
- It will install the latest stable version of that chart, unless you specify `devel` to also include
313
- development versions (alpha, beta, and release candidate releases), or supply a version number with `version`.
314
-
315
- Use the `verify` and optional `keyring` inputs to enable Chart verification.
316
- By default, Pulumi uses the keyring at `$HOME/.gnupg/pubring.gpg`. See: [Helm Provenance and Integrity](https://helm.sh/docs/topics/provenance/).
317
-
318
- ### Chart Values
319
-
320
- [Values files](https://helm.sh/docs/chart_template_guide/values_files/#helm) (`values.yaml`) may be supplied
321
- with the `valueYamlFiles` input, accepting [Pulumi Assets](https://www.pulumi.com/docs/concepts/assets-archives/#assets).
322
-
323
- A map of chart values may also be supplied with the `values` input, with highest precedence. You're able to use literals,
324
- nested maps, [Pulumi outputs](https://www.pulumi.com/docs/concepts/inputs-outputs/), and Pulumi assets as values.
325
- Assets are automatically opened and converted to a string.
326
-
327
- Note that the use of expressions (e.g. `--set service.type`) is not supported.
328
-
329
- ### Chart Dependency Resolution
330
-
331
- For unpacked chart directories, Pulumi automatically rebuilds the dependencies if dependencies are missing
332
- and a `Chart.lock` file is present (see: [Helm Dependency Build](https://helm.sh/docs/helm/helm_dependency_build/)).
333
- Use the `dependencyUpdate` input to have Pulumi update the dependencies (see: [Helm Dependency Update](https://helm.sh/docs/helm/helm_dependency_update/)).
334
-
335
- ### Templating
336
-
337
- The `Chart` resource renders the templates from your chart and then manages the resources directly with the
338
- Pulumi Kubernetes provider. A default namespace is applied based on the `namespace` input, the provider's
339
- configured namespace, and the active Kubernetes context. Use the `skipCrds` option to skip installing the
340
- Custom Resource Definition (CRD) objects located in the chart's `crds/` special directory.
341
-
342
- Use the `postRenderer` input to pipe the rendered manifest through a [post-rendering command](https://helm.sh/docs/topics/advanced/#post-rendering).
343
-
344
- ### Resource Ordering
345
-
346
- Sometimes resources must be applied in a specific order. For example, a namespace resource must be
347
- created before any namespaced resources, or a Custom Resource Definition (CRD) must be pre-installed.
348
-
349
- Pulumi uses heuristics to determine which order to apply and delete objects within the Chart. Pulumi also
350
- waits for each object to be fully reconciled, unless `skipAwait` is enabled.
351
-
352
- Pulumi supports the `config.kubernetes.io/depends-on` annotation to declare an explicit dependency on a given resource.
353
- The annotation accepts a list of resource references, delimited by commas.
354
-
355
- Note that references to resources outside the Chart aren't supported.
356
-
357
- **Resource reference**
358
-
359
- A resource reference is a string that uniquely identifies a resource.
360
-
361
- It consists of the group, kind, name, and optionally the namespace, delimited by forward slashes.
362
-
363
- | Resource Scope | Format |
364
- | :--------------- | :--------------------------------------------- |
365
- | namespace-scoped | `<group>/namespaces/<namespace>/<kind>/<name>` |
366
- | cluster-scoped | `<group>/<kind>/<name>` |
367
-
368
- For resources in the “core” group, the empty string is used instead (for example: `/namespaces/test/Pod/pod-a`).
369
-
370
- ## Example Usage
371
- ### Local Chart Directory
372
- ```python
373
- import pulumi
374
- from pulumi_kubernetes.helm.v4 import Chart
375
-
376
- nginx = Chart("nginx",
377
- chart="./nginx"
378
- )
379
- ```
380
- ### Repository Chart
381
- ```python
382
- import pulumi
383
- from pulumi_kubernetes.helm.v4 import Chart,RepositoryOptsArgs
384
-
385
- nginx = Chart("nginx",
386
- chart="nginx",
387
- repository_opts=RepositoryOptsArgs(
388
- repo="https://charts.bitnami.com/bitnami",
389
- )
390
- )
391
- ```
392
- ### OCI Chart
393
- ```python
394
- import pulumi
395
- from pulumi_kubernetes.helm.v4 import Chart
396
-
397
- nginx = Chart("nginx",
398
- chart="oci://registry-1.docker.io/bitnamicharts/nginx",
399
- version="16.0.7",
400
- )
401
- ```
402
- ### Chart Values
403
- ```python
404
- \"\"\"A Kubernetes Python Pulumi program\"\"\"
405
-
406
- import pulumi
407
- from pulumi_kubernetes.helm.v4 import Chart,RepositoryOptsArgs
408
-
409
- nginx = Chart("nginx",
410
- chart="nginx",
411
- repository_opts=RepositoryOptsArgs(
412
- repo="https://charts.bitnami.com/bitnami"
413
- ),
414
- value_yaml_files=[
415
- pulumi.FileAsset("./values.yaml")
416
- ],
417
- values={
418
- "service": {
419
- "type": "ClusterIP"
420
- },
421
- "notes": pulumi.FileAsset("./notes.txt")
422
- }
423
- )
424
- ```
425
- ### Chart Namespace
426
- ```python
427
- import pulumi
428
- from pulumi_kubernetes.meta.v1 import ObjectMetaArgs
429
- from pulumi_kubernetes.core.v1 import Namespace
430
- from pulumi_kubernetes.helm.v4 import Chart,RepositoryOptsArgs
431
-
432
- ns = Namespace("nginx",
433
- metadata=ObjectMetaArgs(
434
- name="nginx",
435
- )
436
- )
437
- nginx = Chart("nginx",
438
- namespace=ns.metadata.name,
439
- chart="nginx",
440
- repository_opts=RepositoryOptsArgs(
441
- repo="https://charts.bitnami.com/bitnami",
442
- )
443
- )
444
- ```
445
-
446
- :param str resource_name: The name of the resource.
447
- :param pulumi.ResourceOptions opts: Options for the resource.
448
- :param pulumi.Input[str] chart: Chart name to be installed. A path may be used.
449
- :param pulumi.Input[bool] dependency_update: Run helm dependency update before installing the chart.
450
- :param pulumi.Input[bool] devel: Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored.
451
- :param pulumi.Input[Union[pulumi.Asset, pulumi.Archive]] keyring: Location of public keys used for verification. Used only if `verify` is true
452
- :param pulumi.Input[str] name: Release name.
453
- :param pulumi.Input[str] namespace: Namespace for the release.
454
- :param pulumi.Input[pulumi.InputType['PostRendererArgs']] post_renderer: Specification defining the post-renderer to use.
455
- :param pulumi.Input[pulumi.InputType['RepositoryOptsArgs']] repository_opts: Specification defining the Helm chart repository to use.
456
- :param pulumi.Input[str] resource_prefix: An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo:resourceName".
457
- :param pulumi.Input[bool] skip_await: By default, the provider waits until all resources are in a ready state before marking the release as successful. Setting this to true will skip such await logic.
458
- :param pulumi.Input[bool] skip_crds: If set, no CRDs will be installed. By default, CRDs are installed if not already present.
459
- :param pulumi.Input[Sequence[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]] value_yaml_files: List of assets (raw yaml files). Content is read and merged with values.
460
- :param pulumi.Input[Mapping[str, Any]] values: Custom values set for the release.
461
- :param pulumi.Input[bool] verify: Verify the chart's integrity.
462
- :param pulumi.Input[str] version: Specify the chart version to install. If this is not specified, the latest version is installed.
463
- """
464
- ...
465
- @overload
466
- def __init__(__self__,
467
- resource_name: str,
468
- args: ChartArgs,
469
- opts: Optional[pulumi.ResourceOptions] = None):
470
- """
471
- Chart is a component representing a collection of resources described by a Helm Chart.
472
- Helm charts are a popular packaging format for Kubernetes applications, and published
473
- to registries such as [Artifact Hub](https://artifacthub.io/packages/search?kind=0&sort=relevance&page=1).
474
-
475
- Chart does not use Tiller or create a Helm Release; the semantics are equivalent to
476
- running `helm template --dry-run=server` and then using Pulumi to deploy the resulting YAML manifests.
477
- This allows you to apply [Pulumi Transformations](https://www.pulumi.com/docs/concepts/options/transformations/) and
478
- [Pulumi Policies](https://www.pulumi.com/docs/using-pulumi/crossguard/) to the Kubernetes resources.
479
-
480
- You may also want to consider the `Release` resource as an alternative method for managing helm charts. For more
481
- information about the trade-offs between these options, see: [Choosing the right Helm resource for your use case](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/choosing-the-right-helm-resource-for-your-use-case).
482
-
483
- ### Chart Resolution
484
-
485
- The Helm Chart can be fetched from any source that is accessible to the `helm` command line.
486
- The following variations are supported:
487
-
488
- 1. By chart reference with repo prefix: `chart: "example/mariadb"`
489
- 2. By path to a packaged chart: `chart: "./nginx-1.2.3.tgz"`
490
- 3. By path to an unpacked chart directory: `chart: "./nginx"`
491
- 4. By absolute URL: `chart: "https://example.com/charts/nginx-1.2.3.tgz"`
492
- 5. By chart reference with repo URL: `chart: "nginx", repositoryOpts: { repo: "https://example.com/charts/" }`
493
- 6. By OCI registry: `chart: "oci://example.com/charts/nginx", version: "1.2.3"`
494
-
495
- A chart reference is a convenient way of referencing a chart in a chart repository.
496
-
497
- When you use a chart reference with a repo prefix (`example/mariadb`), Pulumi will look in Helm's local configuration
498
- for a chart repository named `example`, and will then look for a chart in that repository whose name is `mariadb`.
499
- It will install the latest stable version of that chart, unless you specify `devel` to also include
500
- development versions (alpha, beta, and release candidate releases), or supply a version number with `version`.
501
-
502
- Use the `verify` and optional `keyring` inputs to enable Chart verification.
503
- By default, Pulumi uses the keyring at `$HOME/.gnupg/pubring.gpg`. See: [Helm Provenance and Integrity](https://helm.sh/docs/topics/provenance/).
504
-
505
- ### Chart Values
506
-
507
- [Values files](https://helm.sh/docs/chart_template_guide/values_files/#helm) (`values.yaml`) may be supplied
508
- with the `valueYamlFiles` input, accepting [Pulumi Assets](https://www.pulumi.com/docs/concepts/assets-archives/#assets).
509
-
510
- A map of chart values may also be supplied with the `values` input, with highest precedence. You're able to use literals,
511
- nested maps, [Pulumi outputs](https://www.pulumi.com/docs/concepts/inputs-outputs/), and Pulumi assets as values.
512
- Assets are automatically opened and converted to a string.
513
-
514
- Note that the use of expressions (e.g. `--set service.type`) is not supported.
515
-
516
- ### Chart Dependency Resolution
517
-
518
- For unpacked chart directories, Pulumi automatically rebuilds the dependencies if dependencies are missing
519
- and a `Chart.lock` file is present (see: [Helm Dependency Build](https://helm.sh/docs/helm/helm_dependency_build/)).
520
- Use the `dependencyUpdate` input to have Pulumi update the dependencies (see: [Helm Dependency Update](https://helm.sh/docs/helm/helm_dependency_update/)).
521
-
522
- ### Templating
523
-
524
- The `Chart` resource renders the templates from your chart and then manages the resources directly with the
525
- Pulumi Kubernetes provider. A default namespace is applied based on the `namespace` input, the provider's
526
- configured namespace, and the active Kubernetes context. Use the `skipCrds` option to skip installing the
527
- Custom Resource Definition (CRD) objects located in the chart's `crds/` special directory.
528
-
529
- Use the `postRenderer` input to pipe the rendered manifest through a [post-rendering command](https://helm.sh/docs/topics/advanced/#post-rendering).
530
-
531
- ### Resource Ordering
532
-
533
- Sometimes resources must be applied in a specific order. For example, a namespace resource must be
534
- created before any namespaced resources, or a Custom Resource Definition (CRD) must be pre-installed.
535
-
536
- Pulumi uses heuristics to determine which order to apply and delete objects within the Chart. Pulumi also
537
- waits for each object to be fully reconciled, unless `skipAwait` is enabled.
538
-
539
- Pulumi supports the `config.kubernetes.io/depends-on` annotation to declare an explicit dependency on a given resource.
540
- The annotation accepts a list of resource references, delimited by commas.
541
-
542
- Note that references to resources outside the Chart aren't supported.
543
-
544
- **Resource reference**
545
-
546
- A resource reference is a string that uniquely identifies a resource.
547
-
548
- It consists of the group, kind, name, and optionally the namespace, delimited by forward slashes.
549
-
550
- | Resource Scope | Format |
551
- | :--------------- | :--------------------------------------------- |
552
- | namespace-scoped | `<group>/namespaces/<namespace>/<kind>/<name>` |
553
- | cluster-scoped | `<group>/<kind>/<name>` |
554
-
555
- For resources in the “core” group, the empty string is used instead (for example: `/namespaces/test/Pod/pod-a`).
556
-
557
- ## Example Usage
558
- ### Local Chart Directory
559
- ```python
560
- import pulumi
561
- from pulumi_kubernetes.helm.v4 import Chart
562
-
563
- nginx = Chart("nginx",
564
- chart="./nginx"
565
- )
566
- ```
567
- ### Repository Chart
568
- ```python
569
- import pulumi
570
- from pulumi_kubernetes.helm.v4 import Chart,RepositoryOptsArgs
571
-
572
- nginx = Chart("nginx",
573
- chart="nginx",
574
- repository_opts=RepositoryOptsArgs(
575
- repo="https://charts.bitnami.com/bitnami",
576
- )
577
- )
578
- ```
579
- ### OCI Chart
580
- ```python
581
- import pulumi
582
- from pulumi_kubernetes.helm.v4 import Chart
583
-
584
- nginx = Chart("nginx",
585
- chart="oci://registry-1.docker.io/bitnamicharts/nginx",
586
- version="16.0.7",
587
- )
588
- ```
589
- ### Chart Values
590
- ```python
591
- \"\"\"A Kubernetes Python Pulumi program\"\"\"
592
-
593
- import pulumi
594
- from pulumi_kubernetes.helm.v4 import Chart,RepositoryOptsArgs
595
-
596
- nginx = Chart("nginx",
597
- chart="nginx",
598
- repository_opts=RepositoryOptsArgs(
599
- repo="https://charts.bitnami.com/bitnami"
600
- ),
601
- value_yaml_files=[
602
- pulumi.FileAsset("./values.yaml")
603
- ],
604
- values={
605
- "service": {
606
- "type": "ClusterIP"
607
- },
608
- "notes": pulumi.FileAsset("./notes.txt")
609
- }
610
- )
611
- ```
612
- ### Chart Namespace
613
- ```python
614
- import pulumi
615
- from pulumi_kubernetes.meta.v1 import ObjectMetaArgs
616
- from pulumi_kubernetes.core.v1 import Namespace
617
- from pulumi_kubernetes.helm.v4 import Chart,RepositoryOptsArgs
618
-
619
- ns = Namespace("nginx",
620
- metadata=ObjectMetaArgs(
621
- name="nginx",
622
- )
623
- )
624
- nginx = Chart("nginx",
625
- namespace=ns.metadata.name,
626
- chart="nginx",
627
- repository_opts=RepositoryOptsArgs(
628
- repo="https://charts.bitnami.com/bitnami",
629
- )
630
- )
631
- ```
632
-
633
- :param str resource_name: The name of the resource.
634
- :param ChartArgs args: The arguments to use to populate this resource's properties.
635
- :param pulumi.ResourceOptions opts: Options for the resource.
636
- """
637
- ...
638
- def __init__(__self__, resource_name: str, *args, **kwargs):
639
- resource_args, opts = _utilities.get_resource_args_opts(ChartArgs, pulumi.ResourceOptions, *args, **kwargs)
640
- if resource_args is not None:
641
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
642
- else:
643
- __self__._internal_init(resource_name, *args, **kwargs)
644
-
645
- def _internal_init(__self__,
646
- resource_name: str,
647
- opts: Optional[pulumi.ResourceOptions] = None,
648
- chart: Optional[pulumi.Input[str]] = None,
649
- dependency_update: Optional[pulumi.Input[bool]] = None,
650
- devel: Optional[pulumi.Input[bool]] = None,
651
- keyring: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]] = None,
652
- name: Optional[pulumi.Input[str]] = None,
653
- namespace: Optional[pulumi.Input[str]] = None,
654
- post_renderer: Optional[pulumi.Input[pulumi.InputType['PostRendererArgs']]] = None,
655
- repository_opts: Optional[pulumi.Input[pulumi.InputType['RepositoryOptsArgs']]] = None,
656
- resource_prefix: Optional[pulumi.Input[str]] = None,
657
- skip_await: Optional[pulumi.Input[bool]] = None,
658
- skip_crds: Optional[pulumi.Input[bool]] = None,
659
- value_yaml_files: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]]] = None,
660
- values: Optional[pulumi.Input[Mapping[str, Any]]] = None,
661
- verify: Optional[pulumi.Input[bool]] = None,
662
- version: Optional[pulumi.Input[str]] = None,
663
- __props__=None):
664
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
665
- if not isinstance(opts, pulumi.ResourceOptions):
666
- raise TypeError('Expected resource options to be a ResourceOptions instance')
667
- if opts.id is not None:
668
- raise ValueError('ComponentResource classes do not support opts.id')
669
- else:
670
- if __props__ is not None:
671
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
672
- __props__ = ChartArgs.__new__(ChartArgs)
673
-
674
- if chart is None and not opts.urn:
675
- raise TypeError("Missing required property 'chart'")
676
- __props__.__dict__["chart"] = chart
677
- __props__.__dict__["dependency_update"] = dependency_update
678
- __props__.__dict__["devel"] = devel
679
- __props__.__dict__["keyring"] = keyring
680
- __props__.__dict__["name"] = name
681
- __props__.__dict__["namespace"] = namespace
682
- __props__.__dict__["post_renderer"] = post_renderer
683
- __props__.__dict__["repository_opts"] = repository_opts
684
- __props__.__dict__["resource_prefix"] = resource_prefix
685
- __props__.__dict__["skip_await"] = skip_await
686
- __props__.__dict__["skip_crds"] = skip_crds
687
- __props__.__dict__["value_yaml_files"] = value_yaml_files
688
- __props__.__dict__["values"] = values
689
- __props__.__dict__["verify"] = verify
690
- __props__.__dict__["version"] = version
691
- __props__.__dict__["resources"] = None
692
- super(Chart, __self__).__init__(
693
- 'kubernetes:helm.sh/v4:Chart',
694
- resource_name,
695
- __props__,
696
- opts,
697
- remote=True)
698
-
699
- @property
700
- @pulumi.getter
701
- def resources(self) -> pulumi.Output[Optional[Sequence[Any]]]:
702
- """
703
- Resources created by the Chart.
704
- """
705
- return pulumi.get(self, "resources")
706
-
@@ -1,9 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by pulumigen. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- from ... import _utilities
6
- import typing
7
- # Export this package's modules as members:
8
- from .Chart import *
9
- from ._inputs import *
@@ -1,159 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by pulumigen. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from ... import _utilities
11
-
12
- __all__ = [
13
- 'PostRendererArgs',
14
- 'RepositoryOptsArgs',
15
- ]
16
-
17
- @pulumi.input_type
18
- class PostRendererArgs:
19
- def __init__(__self__, *,
20
- command: pulumi.Input[str],
21
- args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
22
- """
23
- Specification defining the post-renderer to use.
24
- :param pulumi.Input[str] command: Path to an executable to be used for post rendering.
25
- :param pulumi.Input[Sequence[pulumi.Input[str]]] args: Arguments to pass to the post-renderer command.
26
- """
27
- pulumi.set(__self__, "command", command)
28
- if args is not None:
29
- pulumi.set(__self__, "args", args)
30
-
31
- @property
32
- @pulumi.getter
33
- def command(self) -> pulumi.Input[str]:
34
- """
35
- Path to an executable to be used for post rendering.
36
- """
37
- return pulumi.get(self, "command")
38
-
39
- @command.setter
40
- def command(self, value: pulumi.Input[str]):
41
- pulumi.set(self, "command", value)
42
-
43
- @property
44
- @pulumi.getter
45
- def args(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
46
- """
47
- Arguments to pass to the post-renderer command.
48
- """
49
- return pulumi.get(self, "args")
50
-
51
- @args.setter
52
- def args(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
53
- pulumi.set(self, "args", value)
54
-
55
-
56
- @pulumi.input_type
57
- class RepositoryOptsArgs:
58
- def __init__(__self__, *,
59
- ca_file: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]] = None,
60
- cert_file: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]] = None,
61
- key_file: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]] = None,
62
- password: Optional[pulumi.Input[str]] = None,
63
- repo: Optional[pulumi.Input[str]] = None,
64
- username: Optional[pulumi.Input[str]] = None):
65
- """
66
- Specification defining the Helm chart repository to use.
67
- :param pulumi.Input[Union[pulumi.Asset, pulumi.Archive]] ca_file: The Repository's CA File
68
- :param pulumi.Input[Union[pulumi.Asset, pulumi.Archive]] cert_file: The repository's cert file
69
- :param pulumi.Input[Union[pulumi.Asset, pulumi.Archive]] key_file: The repository's cert key file
70
- :param pulumi.Input[str] password: Password for HTTP basic authentication
71
- :param pulumi.Input[str] repo: Repository where to locate the requested chart. If is a URL the chart is installed without installing the repository.
72
- :param pulumi.Input[str] username: Username for HTTP basic authentication
73
- """
74
- if ca_file is not None:
75
- pulumi.set(__self__, "ca_file", ca_file)
76
- if cert_file is not None:
77
- pulumi.set(__self__, "cert_file", cert_file)
78
- if key_file is not None:
79
- pulumi.set(__self__, "key_file", key_file)
80
- if password is not None:
81
- pulumi.set(__self__, "password", password)
82
- if repo is not None:
83
- pulumi.set(__self__, "repo", repo)
84
- if username is not None:
85
- pulumi.set(__self__, "username", username)
86
-
87
- @property
88
- @pulumi.getter(name="caFile")
89
- def ca_file(self) -> Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]:
90
- """
91
- The Repository's CA File
92
- """
93
- return pulumi.get(self, "ca_file")
94
-
95
- @ca_file.setter
96
- def ca_file(self, value: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]):
97
- pulumi.set(self, "ca_file", value)
98
-
99
- @property
100
- @pulumi.getter(name="certFile")
101
- def cert_file(self) -> Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]:
102
- """
103
- The repository's cert file
104
- """
105
- return pulumi.get(self, "cert_file")
106
-
107
- @cert_file.setter
108
- def cert_file(self, value: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]):
109
- pulumi.set(self, "cert_file", value)
110
-
111
- @property
112
- @pulumi.getter(name="keyFile")
113
- def key_file(self) -> Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]:
114
- """
115
- The repository's cert key file
116
- """
117
- return pulumi.get(self, "key_file")
118
-
119
- @key_file.setter
120
- def key_file(self, value: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]]):
121
- pulumi.set(self, "key_file", value)
122
-
123
- @property
124
- @pulumi.getter
125
- def password(self) -> Optional[pulumi.Input[str]]:
126
- """
127
- Password for HTTP basic authentication
128
- """
129
- return pulumi.get(self, "password")
130
-
131
- @password.setter
132
- def password(self, value: Optional[pulumi.Input[str]]):
133
- pulumi.set(self, "password", value)
134
-
135
- @property
136
- @pulumi.getter
137
- def repo(self) -> Optional[pulumi.Input[str]]:
138
- """
139
- Repository where to locate the requested chart. If is a URL the chart is installed without installing the repository.
140
- """
141
- return pulumi.get(self, "repo")
142
-
143
- @repo.setter
144
- def repo(self, value: Optional[pulumi.Input[str]]):
145
- pulumi.set(self, "repo", value)
146
-
147
- @property
148
- @pulumi.getter
149
- def username(self) -> Optional[pulumi.Input[str]]:
150
- """
151
- Username for HTTP basic authentication
152
- """
153
- return pulumi.get(self, "username")
154
-
155
- @username.setter
156
- def username(self, value: Optional[pulumi.Input[str]]):
157
- pulumi.set(self, "username", value)
158
-
159
-