pulumi-kubernetes 4.16.0__py3-none-any.whl → 4.16.0a1721066797__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.
- pulumi_kubernetes/_utilities.py +0 -2
- pulumi_kubernetes/provider.py +0 -32
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- {pulumi_kubernetes-4.16.0.dist-info → pulumi_kubernetes-4.16.0a1721066797.dist-info}/METADATA +1 -1
- {pulumi_kubernetes-4.16.0.dist-info → pulumi_kubernetes-4.16.0a1721066797.dist-info}/RECORD +7 -7
- {pulumi_kubernetes-4.16.0.dist-info → pulumi_kubernetes-4.16.0a1721066797.dist-info}/WHEEL +1 -1
- {pulumi_kubernetes-4.16.0.dist-info → pulumi_kubernetes-4.16.0a1721066797.dist-info}/top_level.txt +0 -0
pulumi_kubernetes/_utilities.py
CHANGED
|
@@ -13,12 +13,10 @@ import os
|
|
|
13
13
|
import sys
|
|
14
14
|
import typing
|
|
15
15
|
import warnings
|
|
16
|
-
import base64
|
|
17
16
|
|
|
18
17
|
import pulumi
|
|
19
18
|
import pulumi.runtime
|
|
20
19
|
from pulumi.runtime.sync_await import _sync_await
|
|
21
|
-
from pulumi.runtime.proto import resource_pb2
|
|
22
20
|
|
|
23
21
|
from semver import VersionInfo as SemverVersion
|
|
24
22
|
from parver import Version as PEP440Version
|
pulumi_kubernetes/provider.py
CHANGED
|
@@ -21,7 +21,6 @@ __all__ = ['ProviderArgs', 'Provider']
|
|
|
21
21
|
class ProviderArgs:
|
|
22
22
|
def __init__(__self__, *,
|
|
23
23
|
cluster: Optional[pulumi.Input[str]] = None,
|
|
24
|
-
cluster_identifier: Optional[pulumi.Input[str]] = None,
|
|
25
24
|
context: Optional[pulumi.Input[str]] = None,
|
|
26
25
|
delete_unreachable: Optional[pulumi.Input[bool]] = None,
|
|
27
26
|
enable_config_map_mutable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -37,11 +36,6 @@ class ProviderArgs:
|
|
|
37
36
|
"""
|
|
38
37
|
The set of arguments for constructing a Provider resource.
|
|
39
38
|
:param pulumi.Input[str] cluster: If present, the name of the kubeconfig cluster to use.
|
|
40
|
-
:param pulumi.Input[str] cluster_identifier: If present, this value will control the provider's replacement behavior. In particular, the provider will _only_ be replaced when `clusterIdentifier` changes; all other changes to provider configuration will be treated as updates.
|
|
41
|
-
|
|
42
|
-
Kubernetes does not yet offer an API for cluster identification, so Pulumi uses heuristics to decide when a provider resource should be replaced or updated. These heuristics can sometimes lead to destructive replace operations when an update would be more appropriate, or vice versa.
|
|
43
|
-
|
|
44
|
-
Use `clusterIdentifier` for more fine-grained control of the provider resource's lifecycle.
|
|
45
39
|
:param pulumi.Input[str] context: If present, the name of the kubeconfig context to use.
|
|
46
40
|
:param pulumi.Input[bool] delete_unreachable: If present and set to true, the provider will delete resources associated with an unreachable Kubernetes cluster from Pulumi state
|
|
47
41
|
:param pulumi.Input[bool] enable_config_map_mutable: BETA FEATURE - If present and set to true, allow ConfigMaps to be mutated.
|
|
@@ -75,8 +69,6 @@ class ProviderArgs:
|
|
|
75
69
|
"""
|
|
76
70
|
if cluster is not None:
|
|
77
71
|
pulumi.set(__self__, "cluster", cluster)
|
|
78
|
-
if cluster_identifier is not None:
|
|
79
|
-
pulumi.set(__self__, "cluster_identifier", cluster_identifier)
|
|
80
72
|
if context is not None:
|
|
81
73
|
pulumi.set(__self__, "context", context)
|
|
82
74
|
if delete_unreachable is None:
|
|
@@ -128,22 +120,6 @@ class ProviderArgs:
|
|
|
128
120
|
def cluster(self, value: Optional[pulumi.Input[str]]):
|
|
129
121
|
pulumi.set(self, "cluster", value)
|
|
130
122
|
|
|
131
|
-
@property
|
|
132
|
-
@pulumi.getter(name="clusterIdentifier")
|
|
133
|
-
def cluster_identifier(self) -> Optional[pulumi.Input[str]]:
|
|
134
|
-
"""
|
|
135
|
-
If present, this value will control the provider's replacement behavior. In particular, the provider will _only_ be replaced when `clusterIdentifier` changes; all other changes to provider configuration will be treated as updates.
|
|
136
|
-
|
|
137
|
-
Kubernetes does not yet offer an API for cluster identification, so Pulumi uses heuristics to decide when a provider resource should be replaced or updated. These heuristics can sometimes lead to destructive replace operations when an update would be more appropriate, or vice versa.
|
|
138
|
-
|
|
139
|
-
Use `clusterIdentifier` for more fine-grained control of the provider resource's lifecycle.
|
|
140
|
-
"""
|
|
141
|
-
return pulumi.get(self, "cluster_identifier")
|
|
142
|
-
|
|
143
|
-
@cluster_identifier.setter
|
|
144
|
-
def cluster_identifier(self, value: Optional[pulumi.Input[str]]):
|
|
145
|
-
pulumi.set(self, "cluster_identifier", value)
|
|
146
|
-
|
|
147
123
|
@property
|
|
148
124
|
@pulumi.getter
|
|
149
125
|
def context(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -313,7 +289,6 @@ class Provider(pulumi.ProviderResource):
|
|
|
313
289
|
resource_name: str,
|
|
314
290
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
315
291
|
cluster: Optional[pulumi.Input[str]] = None,
|
|
316
|
-
cluster_identifier: Optional[pulumi.Input[str]] = None,
|
|
317
292
|
context: Optional[pulumi.Input[str]] = None,
|
|
318
293
|
delete_unreachable: Optional[pulumi.Input[bool]] = None,
|
|
319
294
|
enable_config_map_mutable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -333,11 +308,6 @@ class Provider(pulumi.ProviderResource):
|
|
|
333
308
|
:param str resource_name: The name of the resource.
|
|
334
309
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
335
310
|
:param pulumi.Input[str] cluster: If present, the name of the kubeconfig cluster to use.
|
|
336
|
-
:param pulumi.Input[str] cluster_identifier: If present, this value will control the provider's replacement behavior. In particular, the provider will _only_ be replaced when `clusterIdentifier` changes; all other changes to provider configuration will be treated as updates.
|
|
337
|
-
|
|
338
|
-
Kubernetes does not yet offer an API for cluster identification, so Pulumi uses heuristics to decide when a provider resource should be replaced or updated. These heuristics can sometimes lead to destructive replace operations when an update would be more appropriate, or vice versa.
|
|
339
|
-
|
|
340
|
-
Use `clusterIdentifier` for more fine-grained control of the provider resource's lifecycle.
|
|
341
311
|
:param pulumi.Input[str] context: If present, the name of the kubeconfig context to use.
|
|
342
312
|
:param pulumi.Input[bool] delete_unreachable: If present and set to true, the provider will delete resources associated with an unreachable Kubernetes cluster from Pulumi state
|
|
343
313
|
:param pulumi.Input[bool] enable_config_map_mutable: BETA FEATURE - If present and set to true, allow ConfigMaps to be mutated.
|
|
@@ -394,7 +364,6 @@ class Provider(pulumi.ProviderResource):
|
|
|
394
364
|
resource_name: str,
|
|
395
365
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
396
366
|
cluster: Optional[pulumi.Input[str]] = None,
|
|
397
|
-
cluster_identifier: Optional[pulumi.Input[str]] = None,
|
|
398
367
|
context: Optional[pulumi.Input[str]] = None,
|
|
399
368
|
delete_unreachable: Optional[pulumi.Input[bool]] = None,
|
|
400
369
|
enable_config_map_mutable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -417,7 +386,6 @@ class Provider(pulumi.ProviderResource):
|
|
|
417
386
|
__props__ = ProviderArgs.__new__(ProviderArgs)
|
|
418
387
|
|
|
419
388
|
__props__.__dict__["cluster"] = cluster
|
|
420
|
-
__props__.__dict__["cluster_identifier"] = cluster_identifier
|
|
421
389
|
__props__.__dict__["context"] = context
|
|
422
390
|
if delete_unreachable is None:
|
|
423
391
|
delete_unreachable = _utilities.get_env_bool('PULUMI_K8S_DELETE_UNREACHABLE')
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
pulumi_kubernetes/__init__.py,sha256=ylottGUcXwigCluFWgMCi1jb0iHllvMZz-I2UgQT5Ko,43768
|
|
2
2
|
pulumi_kubernetes/_inputs.py,sha256=tEtSSFnBN33_kq4jRZblxlWKKOcYVl7fzIrLijcg2ew,8863
|
|
3
3
|
pulumi_kubernetes/_tables.py,sha256=3neJaK1ZuzFWWgLJKwl0jAR-Gymxn6CMeGwh1k4tcw4,40823
|
|
4
|
-
pulumi_kubernetes/_utilities.py,sha256=
|
|
4
|
+
pulumi_kubernetes/_utilities.py,sha256=raAGDIIF_PJMc5bVurACaepJZ-sNZO18WDtPA-KGVbY,10415
|
|
5
5
|
pulumi_kubernetes/outputs.py,sha256=YLfWOa1pqtMnI9hVe-nfOVDDjTDGeomctTClWqDX_Sw,1685
|
|
6
|
-
pulumi_kubernetes/provider.py,sha256=
|
|
7
|
-
pulumi_kubernetes/pulumi-plugin.json,sha256=
|
|
6
|
+
pulumi_kubernetes/provider.py,sha256=ENW7wQbkzPcdHD9YSgY1F4NsxYK6DZnm6y5KcYKFimg,24986
|
|
7
|
+
pulumi_kubernetes/pulumi-plugin.json,sha256=JyEk61G3831UqgxnhpnkWziREy9204rGmKAzXd0hBgc,87
|
|
8
8
|
pulumi_kubernetes/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
pulumi_kubernetes/admissionregistration/__init__.py,sha256=85XpZ49dreIz2jkQcun5WDfJfI5ao85E6njlB8A8y_k,785
|
|
10
10
|
pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py,sha256=oCfW2vqC_yrazTudFFz1fnJDhuYsqV8p6HVuKZeE-Ec,12104
|
|
@@ -613,7 +613,7 @@ pulumi_kubernetes/yaml/yaml.py,sha256=IPMjUz2l0B2_flS34a3GbQuWZmT3NVLBj9PLejhIIj
|
|
|
613
613
|
pulumi_kubernetes/yaml/v2/ConfigFile.py,sha256=EPQ7Bg9yiCnLHqoe6NgK4XScFji8ecTGM_Ko8CZ0VTM,10912
|
|
614
614
|
pulumi_kubernetes/yaml/v2/ConfigGroup.py,sha256=GoDGxpAemfjEHcYiOexM1fxmKqu4uWBzTB1Fbqy4Ips,15702
|
|
615
615
|
pulumi_kubernetes/yaml/v2/__init__.py,sha256=5S6M8sncwfHm2sXPUBAjROBlGQWwFFedOQ8z1f5SB3U,292
|
|
616
|
-
pulumi_kubernetes-4.16.
|
|
617
|
-
pulumi_kubernetes-4.16.
|
|
618
|
-
pulumi_kubernetes-4.16.
|
|
619
|
-
pulumi_kubernetes-4.16.
|
|
616
|
+
pulumi_kubernetes-4.16.0a1721066797.dist-info/METADATA,sha256=lFCTUrWFfYUGGqrZD_Db2aW7TMDqwmoid6RlcNBl0-Y,9427
|
|
617
|
+
pulumi_kubernetes-4.16.0a1721066797.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
|
618
|
+
pulumi_kubernetes-4.16.0a1721066797.dist-info/top_level.txt,sha256=xoTPI88GpKE_G1dcKvsjaA1qV3yO4NCn2ZpXq4byqNc,18
|
|
619
|
+
pulumi_kubernetes-4.16.0a1721066797.dist-info/RECORD,,
|
{pulumi_kubernetes-4.16.0.dist-info → pulumi_kubernetes-4.16.0a1721066797.dist-info}/top_level.txt
RENAMED
|
File without changes
|