pulumi-kubernetes 4.23.0a1746129859__py3-none-any.whl → 4.23.0a1746138483__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/__init__.py +36 -2
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +30 -30
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +20 -20
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +4 -4
- pulumi_kubernetes/apps/v1/_inputs.py +109 -56
- pulumi_kubernetes/apps/v1/outputs.py +129 -56
- pulumi_kubernetes/autoscaling/v2/_inputs.py +92 -12
- pulumi_kubernetes/autoscaling/v2/outputs.py +66 -10
- pulumi_kubernetes/batch/v1/_inputs.py +12 -42
- pulumi_kubernetes/batch/v1/outputs.py +8 -32
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +2 -0
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +2 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +229 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +219 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +240 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +3 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +292 -0
- pulumi_kubernetes/certificates/v1beta1/outputs.py +241 -0
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +6 -6
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +4 -4
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +220 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +219 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +232 -0
- pulumi_kubernetes/coordination/v1beta1/__init__.py +3 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +371 -0
- pulumi_kubernetes/coordination/v1beta1/outputs.py +292 -0
- pulumi_kubernetes/core/v1/Endpoints.py +8 -0
- pulumi_kubernetes/core/v1/EndpointsList.py +2 -2
- pulumi_kubernetes/core/v1/EndpointsPatch.py +8 -0
- pulumi_kubernetes/core/v1/_inputs.py +240 -66
- pulumi_kubernetes/core/v1/outputs.py +251 -51
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +10 -10
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +10 -10
- pulumi_kubernetes/discovery/v1/_inputs.py +159 -44
- pulumi_kubernetes/discovery/v1/outputs.py +107 -32
- pulumi_kubernetes/networking/v1/IPAddress.py +220 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +219 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +232 -0
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +230 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +219 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +242 -0
- pulumi_kubernetes/networking/v1/__init__.py +6 -0
- pulumi_kubernetes/networking/v1/_inputs.py +599 -0
- pulumi_kubernetes/networking/v1/outputs.py +461 -0
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +1 -1
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +1 -1
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +1 -1
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +1 -1
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +0 -12
- pulumi_kubernetes/policy/v1/outputs.py +0 -8
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/resource/__init__.py +3 -0
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +227 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +219 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +238 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/__init__.py +3 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +2559 -213
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2037 -256
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +1 -1
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +1 -1
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +2044 -176
- pulumi_kubernetes/resource/v1beta1/outputs.py +1536 -134
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +241 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +219 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +252 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +236 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +220 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +247 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +233 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +219 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +244 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +250 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +220 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +261 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
- pulumi_kubernetes/storage/v1/_inputs.py +90 -0
- pulumi_kubernetes/storage/v1/outputs.py +110 -0
- pulumi_kubernetes/yaml/yaml.py +108 -0
- {pulumi_kubernetes-4.23.0a1746129859.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/METADATA +1 -1
- {pulumi_kubernetes-4.23.0a1746129859.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/RECORD +116 -86
- {pulumi_kubernetes-4.23.0a1746129859.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.23.0a1746129859.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/top_level.txt +0 -0
|
@@ -23,6 +23,9 @@ __all__ = [
|
|
|
23
23
|
'HTTPIngressPathPatch',
|
|
24
24
|
'HTTPIngressRuleValue',
|
|
25
25
|
'HTTPIngressRuleValuePatch',
|
|
26
|
+
'IPAddress',
|
|
27
|
+
'IPAddressSpec',
|
|
28
|
+
'IPAddressSpecPatch',
|
|
26
29
|
'IPBlock',
|
|
27
30
|
'IPBlockPatch',
|
|
28
31
|
'Ingress',
|
|
@@ -62,8 +65,15 @@ __all__ = [
|
|
|
62
65
|
'NetworkPolicySpecPatch',
|
|
63
66
|
'NetworkPolicyStatus',
|
|
64
67
|
'NetworkPolicyStatusPatch',
|
|
68
|
+
'ParentReference',
|
|
69
|
+
'ParentReferencePatch',
|
|
65
70
|
'ServiceBackendPort',
|
|
66
71
|
'ServiceBackendPortPatch',
|
|
72
|
+
'ServiceCIDR',
|
|
73
|
+
'ServiceCIDRSpec',
|
|
74
|
+
'ServiceCIDRSpecPatch',
|
|
75
|
+
'ServiceCIDRStatus',
|
|
76
|
+
'ServiceCIDRStatusPatch',
|
|
67
77
|
]
|
|
68
78
|
|
|
69
79
|
@pulumi.output_type
|
|
@@ -277,6 +287,161 @@ class HTTPIngressRuleValuePatch(dict):
|
|
|
277
287
|
return pulumi.get(self, "paths")
|
|
278
288
|
|
|
279
289
|
|
|
290
|
+
@pulumi.output_type
|
|
291
|
+
class IPAddress(dict):
|
|
292
|
+
"""
|
|
293
|
+
IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
|
|
294
|
+
"""
|
|
295
|
+
@staticmethod
|
|
296
|
+
def __key_warning(key: str):
|
|
297
|
+
suggest = None
|
|
298
|
+
if key == "apiVersion":
|
|
299
|
+
suggest = "api_version"
|
|
300
|
+
|
|
301
|
+
if suggest:
|
|
302
|
+
pulumi.log.warn(f"Key '{key}' not found in IPAddress. Access the value via the '{suggest}' property getter instead.")
|
|
303
|
+
|
|
304
|
+
def __getitem__(self, key: str) -> Any:
|
|
305
|
+
IPAddress.__key_warning(key)
|
|
306
|
+
return super().__getitem__(key)
|
|
307
|
+
|
|
308
|
+
def get(self, key: str, default = None) -> Any:
|
|
309
|
+
IPAddress.__key_warning(key)
|
|
310
|
+
return super().get(key, default)
|
|
311
|
+
|
|
312
|
+
def __init__(__self__, *,
|
|
313
|
+
api_version: Optional[builtins.str] = None,
|
|
314
|
+
kind: Optional[builtins.str] = None,
|
|
315
|
+
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
316
|
+
spec: Optional['outputs.IPAddressSpec'] = None):
|
|
317
|
+
"""
|
|
318
|
+
IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
|
|
319
|
+
:param builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
320
|
+
:param builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
321
|
+
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
322
|
+
:param 'IPAddressSpecArgs' spec: spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
323
|
+
"""
|
|
324
|
+
if api_version is not None:
|
|
325
|
+
pulumi.set(__self__, "api_version", 'networking.k8s.io/v1')
|
|
326
|
+
if kind is not None:
|
|
327
|
+
pulumi.set(__self__, "kind", 'IPAddress')
|
|
328
|
+
if metadata is not None:
|
|
329
|
+
pulumi.set(__self__, "metadata", metadata)
|
|
330
|
+
if spec is not None:
|
|
331
|
+
pulumi.set(__self__, "spec", spec)
|
|
332
|
+
|
|
333
|
+
@property
|
|
334
|
+
@pulumi.getter(name="apiVersion")
|
|
335
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
336
|
+
"""
|
|
337
|
+
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
338
|
+
"""
|
|
339
|
+
return pulumi.get(self, "api_version")
|
|
340
|
+
|
|
341
|
+
@property
|
|
342
|
+
@pulumi.getter
|
|
343
|
+
def kind(self) -> Optional[builtins.str]:
|
|
344
|
+
"""
|
|
345
|
+
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
346
|
+
"""
|
|
347
|
+
return pulumi.get(self, "kind")
|
|
348
|
+
|
|
349
|
+
@property
|
|
350
|
+
@pulumi.getter
|
|
351
|
+
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
352
|
+
"""
|
|
353
|
+
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
354
|
+
"""
|
|
355
|
+
return pulumi.get(self, "metadata")
|
|
356
|
+
|
|
357
|
+
@property
|
|
358
|
+
@pulumi.getter
|
|
359
|
+
def spec(self) -> Optional['outputs.IPAddressSpec']:
|
|
360
|
+
"""
|
|
361
|
+
spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
362
|
+
"""
|
|
363
|
+
return pulumi.get(self, "spec")
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
@pulumi.output_type
|
|
367
|
+
class IPAddressSpec(dict):
|
|
368
|
+
"""
|
|
369
|
+
IPAddressSpec describe the attributes in an IP Address.
|
|
370
|
+
"""
|
|
371
|
+
@staticmethod
|
|
372
|
+
def __key_warning(key: str):
|
|
373
|
+
suggest = None
|
|
374
|
+
if key == "parentRef":
|
|
375
|
+
suggest = "parent_ref"
|
|
376
|
+
|
|
377
|
+
if suggest:
|
|
378
|
+
pulumi.log.warn(f"Key '{key}' not found in IPAddressSpec. Access the value via the '{suggest}' property getter instead.")
|
|
379
|
+
|
|
380
|
+
def __getitem__(self, key: str) -> Any:
|
|
381
|
+
IPAddressSpec.__key_warning(key)
|
|
382
|
+
return super().__getitem__(key)
|
|
383
|
+
|
|
384
|
+
def get(self, key: str, default = None) -> Any:
|
|
385
|
+
IPAddressSpec.__key_warning(key)
|
|
386
|
+
return super().get(key, default)
|
|
387
|
+
|
|
388
|
+
def __init__(__self__, *,
|
|
389
|
+
parent_ref: 'outputs.ParentReference'):
|
|
390
|
+
"""
|
|
391
|
+
IPAddressSpec describe the attributes in an IP Address.
|
|
392
|
+
:param 'ParentReferenceArgs' parent_ref: ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
|
|
393
|
+
"""
|
|
394
|
+
pulumi.set(__self__, "parent_ref", parent_ref)
|
|
395
|
+
|
|
396
|
+
@property
|
|
397
|
+
@pulumi.getter(name="parentRef")
|
|
398
|
+
def parent_ref(self) -> 'outputs.ParentReference':
|
|
399
|
+
"""
|
|
400
|
+
ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
|
|
401
|
+
"""
|
|
402
|
+
return pulumi.get(self, "parent_ref")
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
@pulumi.output_type
|
|
406
|
+
class IPAddressSpecPatch(dict):
|
|
407
|
+
"""
|
|
408
|
+
IPAddressSpec describe the attributes in an IP Address.
|
|
409
|
+
"""
|
|
410
|
+
@staticmethod
|
|
411
|
+
def __key_warning(key: str):
|
|
412
|
+
suggest = None
|
|
413
|
+
if key == "parentRef":
|
|
414
|
+
suggest = "parent_ref"
|
|
415
|
+
|
|
416
|
+
if suggest:
|
|
417
|
+
pulumi.log.warn(f"Key '{key}' not found in IPAddressSpecPatch. Access the value via the '{suggest}' property getter instead.")
|
|
418
|
+
|
|
419
|
+
def __getitem__(self, key: str) -> Any:
|
|
420
|
+
IPAddressSpecPatch.__key_warning(key)
|
|
421
|
+
return super().__getitem__(key)
|
|
422
|
+
|
|
423
|
+
def get(self, key: str, default = None) -> Any:
|
|
424
|
+
IPAddressSpecPatch.__key_warning(key)
|
|
425
|
+
return super().get(key, default)
|
|
426
|
+
|
|
427
|
+
def __init__(__self__, *,
|
|
428
|
+
parent_ref: Optional['outputs.ParentReferencePatch'] = None):
|
|
429
|
+
"""
|
|
430
|
+
IPAddressSpec describe the attributes in an IP Address.
|
|
431
|
+
:param 'ParentReferencePatchArgs' parent_ref: ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
|
|
432
|
+
"""
|
|
433
|
+
if parent_ref is not None:
|
|
434
|
+
pulumi.set(__self__, "parent_ref", parent_ref)
|
|
435
|
+
|
|
436
|
+
@property
|
|
437
|
+
@pulumi.getter(name="parentRef")
|
|
438
|
+
def parent_ref(self) -> Optional['outputs.ParentReferencePatch']:
|
|
439
|
+
"""
|
|
440
|
+
ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
|
|
441
|
+
"""
|
|
442
|
+
return pulumi.get(self, "parent_ref")
|
|
443
|
+
|
|
444
|
+
|
|
280
445
|
@pulumi.output_type
|
|
281
446
|
class IPBlock(dict):
|
|
282
447
|
"""
|
|
@@ -2372,6 +2537,122 @@ class NetworkPolicyStatusPatch(dict):
|
|
|
2372
2537
|
return pulumi.get(self, "conditions")
|
|
2373
2538
|
|
|
2374
2539
|
|
|
2540
|
+
@pulumi.output_type
|
|
2541
|
+
class ParentReference(dict):
|
|
2542
|
+
"""
|
|
2543
|
+
ParentReference describes a reference to a parent object.
|
|
2544
|
+
"""
|
|
2545
|
+
def __init__(__self__, *,
|
|
2546
|
+
name: builtins.str,
|
|
2547
|
+
resource: builtins.str,
|
|
2548
|
+
group: Optional[builtins.str] = None,
|
|
2549
|
+
namespace: Optional[builtins.str] = None):
|
|
2550
|
+
"""
|
|
2551
|
+
ParentReference describes a reference to a parent object.
|
|
2552
|
+
:param builtins.str name: Name is the name of the object being referenced.
|
|
2553
|
+
:param builtins.str resource: Resource is the resource of the object being referenced.
|
|
2554
|
+
:param builtins.str group: Group is the group of the object being referenced.
|
|
2555
|
+
:param builtins.str namespace: Namespace is the namespace of the object being referenced.
|
|
2556
|
+
"""
|
|
2557
|
+
pulumi.set(__self__, "name", name)
|
|
2558
|
+
pulumi.set(__self__, "resource", resource)
|
|
2559
|
+
if group is not None:
|
|
2560
|
+
pulumi.set(__self__, "group", group)
|
|
2561
|
+
if namespace is not None:
|
|
2562
|
+
pulumi.set(__self__, "namespace", namespace)
|
|
2563
|
+
|
|
2564
|
+
@property
|
|
2565
|
+
@pulumi.getter
|
|
2566
|
+
def name(self) -> builtins.str:
|
|
2567
|
+
"""
|
|
2568
|
+
Name is the name of the object being referenced.
|
|
2569
|
+
"""
|
|
2570
|
+
return pulumi.get(self, "name")
|
|
2571
|
+
|
|
2572
|
+
@property
|
|
2573
|
+
@pulumi.getter
|
|
2574
|
+
def resource(self) -> builtins.str:
|
|
2575
|
+
"""
|
|
2576
|
+
Resource is the resource of the object being referenced.
|
|
2577
|
+
"""
|
|
2578
|
+
return pulumi.get(self, "resource")
|
|
2579
|
+
|
|
2580
|
+
@property
|
|
2581
|
+
@pulumi.getter
|
|
2582
|
+
def group(self) -> Optional[builtins.str]:
|
|
2583
|
+
"""
|
|
2584
|
+
Group is the group of the object being referenced.
|
|
2585
|
+
"""
|
|
2586
|
+
return pulumi.get(self, "group")
|
|
2587
|
+
|
|
2588
|
+
@property
|
|
2589
|
+
@pulumi.getter
|
|
2590
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
2591
|
+
"""
|
|
2592
|
+
Namespace is the namespace of the object being referenced.
|
|
2593
|
+
"""
|
|
2594
|
+
return pulumi.get(self, "namespace")
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
@pulumi.output_type
|
|
2598
|
+
class ParentReferencePatch(dict):
|
|
2599
|
+
"""
|
|
2600
|
+
ParentReference describes a reference to a parent object.
|
|
2601
|
+
"""
|
|
2602
|
+
def __init__(__self__, *,
|
|
2603
|
+
group: Optional[builtins.str] = None,
|
|
2604
|
+
name: Optional[builtins.str] = None,
|
|
2605
|
+
namespace: Optional[builtins.str] = None,
|
|
2606
|
+
resource: Optional[builtins.str] = None):
|
|
2607
|
+
"""
|
|
2608
|
+
ParentReference describes a reference to a parent object.
|
|
2609
|
+
:param builtins.str group: Group is the group of the object being referenced.
|
|
2610
|
+
:param builtins.str name: Name is the name of the object being referenced.
|
|
2611
|
+
:param builtins.str namespace: Namespace is the namespace of the object being referenced.
|
|
2612
|
+
:param builtins.str resource: Resource is the resource of the object being referenced.
|
|
2613
|
+
"""
|
|
2614
|
+
if group is not None:
|
|
2615
|
+
pulumi.set(__self__, "group", group)
|
|
2616
|
+
if name is not None:
|
|
2617
|
+
pulumi.set(__self__, "name", name)
|
|
2618
|
+
if namespace is not None:
|
|
2619
|
+
pulumi.set(__self__, "namespace", namespace)
|
|
2620
|
+
if resource is not None:
|
|
2621
|
+
pulumi.set(__self__, "resource", resource)
|
|
2622
|
+
|
|
2623
|
+
@property
|
|
2624
|
+
@pulumi.getter
|
|
2625
|
+
def group(self) -> Optional[builtins.str]:
|
|
2626
|
+
"""
|
|
2627
|
+
Group is the group of the object being referenced.
|
|
2628
|
+
"""
|
|
2629
|
+
return pulumi.get(self, "group")
|
|
2630
|
+
|
|
2631
|
+
@property
|
|
2632
|
+
@pulumi.getter
|
|
2633
|
+
def name(self) -> Optional[builtins.str]:
|
|
2634
|
+
"""
|
|
2635
|
+
Name is the name of the object being referenced.
|
|
2636
|
+
"""
|
|
2637
|
+
return pulumi.get(self, "name")
|
|
2638
|
+
|
|
2639
|
+
@property
|
|
2640
|
+
@pulumi.getter
|
|
2641
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
2642
|
+
"""
|
|
2643
|
+
Namespace is the namespace of the object being referenced.
|
|
2644
|
+
"""
|
|
2645
|
+
return pulumi.get(self, "namespace")
|
|
2646
|
+
|
|
2647
|
+
@property
|
|
2648
|
+
@pulumi.getter
|
|
2649
|
+
def resource(self) -> Optional[builtins.str]:
|
|
2650
|
+
"""
|
|
2651
|
+
Resource is the resource of the object being referenced.
|
|
2652
|
+
"""
|
|
2653
|
+
return pulumi.get(self, "resource")
|
|
2654
|
+
|
|
2655
|
+
|
|
2375
2656
|
@pulumi.output_type
|
|
2376
2657
|
class ServiceBackendPort(dict):
|
|
2377
2658
|
"""
|
|
@@ -2442,3 +2723,183 @@ class ServiceBackendPortPatch(dict):
|
|
|
2442
2723
|
return pulumi.get(self, "number")
|
|
2443
2724
|
|
|
2444
2725
|
|
|
2726
|
+
@pulumi.output_type
|
|
2727
|
+
class ServiceCIDR(dict):
|
|
2728
|
+
"""
|
|
2729
|
+
ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.
|
|
2730
|
+
"""
|
|
2731
|
+
@staticmethod
|
|
2732
|
+
def __key_warning(key: str):
|
|
2733
|
+
suggest = None
|
|
2734
|
+
if key == "apiVersion":
|
|
2735
|
+
suggest = "api_version"
|
|
2736
|
+
|
|
2737
|
+
if suggest:
|
|
2738
|
+
pulumi.log.warn(f"Key '{key}' not found in ServiceCIDR. Access the value via the '{suggest}' property getter instead.")
|
|
2739
|
+
|
|
2740
|
+
def __getitem__(self, key: str) -> Any:
|
|
2741
|
+
ServiceCIDR.__key_warning(key)
|
|
2742
|
+
return super().__getitem__(key)
|
|
2743
|
+
|
|
2744
|
+
def get(self, key: str, default = None) -> Any:
|
|
2745
|
+
ServiceCIDR.__key_warning(key)
|
|
2746
|
+
return super().get(key, default)
|
|
2747
|
+
|
|
2748
|
+
def __init__(__self__, *,
|
|
2749
|
+
api_version: Optional[builtins.str] = None,
|
|
2750
|
+
kind: Optional[builtins.str] = None,
|
|
2751
|
+
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2752
|
+
spec: Optional['outputs.ServiceCIDRSpec'] = None,
|
|
2753
|
+
status: Optional['outputs.ServiceCIDRStatus'] = None):
|
|
2754
|
+
"""
|
|
2755
|
+
ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.
|
|
2756
|
+
:param builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2757
|
+
:param builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2758
|
+
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
2759
|
+
:param 'ServiceCIDRSpecArgs' spec: spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
2760
|
+
:param 'ServiceCIDRStatusArgs' status: status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
2761
|
+
"""
|
|
2762
|
+
if api_version is not None:
|
|
2763
|
+
pulumi.set(__self__, "api_version", 'networking.k8s.io/v1')
|
|
2764
|
+
if kind is not None:
|
|
2765
|
+
pulumi.set(__self__, "kind", 'ServiceCIDR')
|
|
2766
|
+
if metadata is not None:
|
|
2767
|
+
pulumi.set(__self__, "metadata", metadata)
|
|
2768
|
+
if spec is not None:
|
|
2769
|
+
pulumi.set(__self__, "spec", spec)
|
|
2770
|
+
if status is not None:
|
|
2771
|
+
pulumi.set(__self__, "status", status)
|
|
2772
|
+
|
|
2773
|
+
@property
|
|
2774
|
+
@pulumi.getter(name="apiVersion")
|
|
2775
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
2776
|
+
"""
|
|
2777
|
+
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2778
|
+
"""
|
|
2779
|
+
return pulumi.get(self, "api_version")
|
|
2780
|
+
|
|
2781
|
+
@property
|
|
2782
|
+
@pulumi.getter
|
|
2783
|
+
def kind(self) -> Optional[builtins.str]:
|
|
2784
|
+
"""
|
|
2785
|
+
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2786
|
+
"""
|
|
2787
|
+
return pulumi.get(self, "kind")
|
|
2788
|
+
|
|
2789
|
+
@property
|
|
2790
|
+
@pulumi.getter
|
|
2791
|
+
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
2792
|
+
"""
|
|
2793
|
+
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
2794
|
+
"""
|
|
2795
|
+
return pulumi.get(self, "metadata")
|
|
2796
|
+
|
|
2797
|
+
@property
|
|
2798
|
+
@pulumi.getter
|
|
2799
|
+
def spec(self) -> Optional['outputs.ServiceCIDRSpec']:
|
|
2800
|
+
"""
|
|
2801
|
+
spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
2802
|
+
"""
|
|
2803
|
+
return pulumi.get(self, "spec")
|
|
2804
|
+
|
|
2805
|
+
@property
|
|
2806
|
+
@pulumi.getter
|
|
2807
|
+
def status(self) -> Optional['outputs.ServiceCIDRStatus']:
|
|
2808
|
+
"""
|
|
2809
|
+
status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
2810
|
+
"""
|
|
2811
|
+
return pulumi.get(self, "status")
|
|
2812
|
+
|
|
2813
|
+
|
|
2814
|
+
@pulumi.output_type
|
|
2815
|
+
class ServiceCIDRSpec(dict):
|
|
2816
|
+
"""
|
|
2817
|
+
ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
|
|
2818
|
+
"""
|
|
2819
|
+
def __init__(__self__, *,
|
|
2820
|
+
cidrs: Optional[Sequence[builtins.str]] = None):
|
|
2821
|
+
"""
|
|
2822
|
+
ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
|
|
2823
|
+
:param Sequence[builtins.str] cidrs: CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
|
|
2824
|
+
"""
|
|
2825
|
+
if cidrs is not None:
|
|
2826
|
+
pulumi.set(__self__, "cidrs", cidrs)
|
|
2827
|
+
|
|
2828
|
+
@property
|
|
2829
|
+
@pulumi.getter
|
|
2830
|
+
def cidrs(self) -> Optional[Sequence[builtins.str]]:
|
|
2831
|
+
"""
|
|
2832
|
+
CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
|
|
2833
|
+
"""
|
|
2834
|
+
return pulumi.get(self, "cidrs")
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
@pulumi.output_type
|
|
2838
|
+
class ServiceCIDRSpecPatch(dict):
|
|
2839
|
+
"""
|
|
2840
|
+
ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
|
|
2841
|
+
"""
|
|
2842
|
+
def __init__(__self__, *,
|
|
2843
|
+
cidrs: Optional[Sequence[builtins.str]] = None):
|
|
2844
|
+
"""
|
|
2845
|
+
ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
|
|
2846
|
+
:param Sequence[builtins.str] cidrs: CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
|
|
2847
|
+
"""
|
|
2848
|
+
if cidrs is not None:
|
|
2849
|
+
pulumi.set(__self__, "cidrs", cidrs)
|
|
2850
|
+
|
|
2851
|
+
@property
|
|
2852
|
+
@pulumi.getter
|
|
2853
|
+
def cidrs(self) -> Optional[Sequence[builtins.str]]:
|
|
2854
|
+
"""
|
|
2855
|
+
CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
|
|
2856
|
+
"""
|
|
2857
|
+
return pulumi.get(self, "cidrs")
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
@pulumi.output_type
|
|
2861
|
+
class ServiceCIDRStatus(dict):
|
|
2862
|
+
"""
|
|
2863
|
+
ServiceCIDRStatus describes the current state of the ServiceCIDR.
|
|
2864
|
+
"""
|
|
2865
|
+
def __init__(__self__, *,
|
|
2866
|
+
conditions: Optional[Sequence['_meta.v1.outputs.Condition']] = None):
|
|
2867
|
+
"""
|
|
2868
|
+
ServiceCIDRStatus describes the current state of the ServiceCIDR.
|
|
2869
|
+
:param Sequence['_meta.v1.ConditionArgs'] conditions: conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
|
|
2870
|
+
"""
|
|
2871
|
+
if conditions is not None:
|
|
2872
|
+
pulumi.set(__self__, "conditions", conditions)
|
|
2873
|
+
|
|
2874
|
+
@property
|
|
2875
|
+
@pulumi.getter
|
|
2876
|
+
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.Condition']]:
|
|
2877
|
+
"""
|
|
2878
|
+
conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
|
|
2879
|
+
"""
|
|
2880
|
+
return pulumi.get(self, "conditions")
|
|
2881
|
+
|
|
2882
|
+
|
|
2883
|
+
@pulumi.output_type
|
|
2884
|
+
class ServiceCIDRStatusPatch(dict):
|
|
2885
|
+
"""
|
|
2886
|
+
ServiceCIDRStatus describes the current state of the ServiceCIDR.
|
|
2887
|
+
"""
|
|
2888
|
+
def __init__(__self__, *,
|
|
2889
|
+
conditions: Optional[Sequence['_meta.v1.outputs.ConditionPatch']] = None):
|
|
2890
|
+
"""
|
|
2891
|
+
ServiceCIDRStatus describes the current state of the ServiceCIDR.
|
|
2892
|
+
:param Sequence['_meta.v1.ConditionPatchArgs'] conditions: conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
|
|
2893
|
+
"""
|
|
2894
|
+
if conditions is not None:
|
|
2895
|
+
pulumi.set(__self__, "conditions", conditions)
|
|
2896
|
+
|
|
2897
|
+
@property
|
|
2898
|
+
@pulumi.getter
|
|
2899
|
+
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.ConditionPatch']]:
|
|
2900
|
+
"""
|
|
2901
|
+
conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
|
|
2902
|
+
"""
|
|
2903
|
+
return pulumi.get(self, "conditions")
|
|
2904
|
+
|
|
2905
|
+
|
|
@@ -156,7 +156,7 @@ class IPAddress(pulumi.CustomResource):
|
|
|
156
156
|
__props__.__dict__["kind"] = 'IPAddress'
|
|
157
157
|
__props__.__dict__["metadata"] = metadata
|
|
158
158
|
__props__.__dict__["spec"] = spec
|
|
159
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:IPAddress")])
|
|
159
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1:IPAddress"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:IPAddress")])
|
|
160
160
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
161
161
|
super(IPAddress, __self__).__init__(
|
|
162
162
|
'kubernetes:networking.k8s.io/v1alpha1:IPAddress',
|
|
@@ -168,7 +168,7 @@ class IPAddressPatch(pulumi.CustomResource):
|
|
|
168
168
|
__props__.__dict__["kind"] = 'IPAddress'
|
|
169
169
|
__props__.__dict__["metadata"] = metadata
|
|
170
170
|
__props__.__dict__["spec"] = spec
|
|
171
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:IPAddressPatch")])
|
|
171
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1:IPAddressPatch"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:IPAddressPatch")])
|
|
172
172
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
173
173
|
super(IPAddressPatch, __self__).__init__(
|
|
174
174
|
'kubernetes:networking.k8s.io/v1alpha1:IPAddressPatch',
|
|
@@ -157,7 +157,7 @@ class ServiceCIDR(pulumi.CustomResource):
|
|
|
157
157
|
__props__.__dict__["metadata"] = metadata
|
|
158
158
|
__props__.__dict__["spec"] = spec
|
|
159
159
|
__props__.__dict__["status"] = None
|
|
160
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:ServiceCIDR")])
|
|
160
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1:ServiceCIDR"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:ServiceCIDR")])
|
|
161
161
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
162
162
|
super(ServiceCIDR, __self__).__init__(
|
|
163
163
|
'kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR',
|
|
@@ -169,7 +169,7 @@ class ServiceCIDRPatch(pulumi.CustomResource):
|
|
|
169
169
|
__props__.__dict__["metadata"] = metadata
|
|
170
170
|
__props__.__dict__["spec"] = spec
|
|
171
171
|
__props__.__dict__["status"] = None
|
|
172
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:ServiceCIDRPatch")])
|
|
172
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1:ServiceCIDRPatch"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:ServiceCIDRPatch")])
|
|
173
173
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
174
174
|
super(ServiceCIDRPatch, __self__).__init__(
|
|
175
175
|
'kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRPatch',
|
|
@@ -156,7 +156,7 @@ class IPAddress(pulumi.CustomResource):
|
|
|
156
156
|
__props__.__dict__["kind"] = 'IPAddress'
|
|
157
157
|
__props__.__dict__["metadata"] = metadata
|
|
158
158
|
__props__.__dict__["spec"] = spec
|
|
159
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:IPAddress")])
|
|
159
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1:IPAddress"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:IPAddress")])
|
|
160
160
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
161
161
|
super(IPAddress, __self__).__init__(
|
|
162
162
|
'kubernetes:networking.k8s.io/v1beta1:IPAddress',
|
|
@@ -168,7 +168,7 @@ class IPAddressPatch(pulumi.CustomResource):
|
|
|
168
168
|
__props__.__dict__["kind"] = 'IPAddress'
|
|
169
169
|
__props__.__dict__["metadata"] = metadata
|
|
170
170
|
__props__.__dict__["spec"] = spec
|
|
171
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:IPAddressPatch")])
|
|
171
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1:IPAddressPatch"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:IPAddressPatch")])
|
|
172
172
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
173
173
|
super(IPAddressPatch, __self__).__init__(
|
|
174
174
|
'kubernetes:networking.k8s.io/v1beta1:IPAddressPatch',
|
|
@@ -157,7 +157,7 @@ class ServiceCIDR(pulumi.CustomResource):
|
|
|
157
157
|
__props__.__dict__["metadata"] = metadata
|
|
158
158
|
__props__.__dict__["spec"] = spec
|
|
159
159
|
__props__.__dict__["status"] = None
|
|
160
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR")])
|
|
160
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1:ServiceCIDR"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR")])
|
|
161
161
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
162
162
|
super(ServiceCIDR, __self__).__init__(
|
|
163
163
|
'kubernetes:networking.k8s.io/v1beta1:ServiceCIDR',
|
|
@@ -169,7 +169,7 @@ class ServiceCIDRPatch(pulumi.CustomResource):
|
|
|
169
169
|
__props__.__dict__["metadata"] = metadata
|
|
170
170
|
__props__.__dict__["spec"] = spec
|
|
171
171
|
__props__.__dict__["status"] = None
|
|
172
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRPatch")])
|
|
172
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1:ServiceCIDRPatch"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:ServiceCIDRPatch")])
|
|
173
173
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
174
174
|
super(ServiceCIDRPatch, __self__).__init__(
|
|
175
175
|
'kubernetes:networking.k8s.io/v1beta1:ServiceCIDRPatch',
|
|
@@ -57,8 +57,6 @@ if not MYPY:
|
|
|
57
57
|
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
|
|
58
58
|
|
|
59
59
|
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
|
|
60
|
-
|
|
61
|
-
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
|
|
62
60
|
"""
|
|
63
61
|
elif False:
|
|
64
62
|
PodDisruptionBudgetSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -84,8 +82,6 @@ class PodDisruptionBudgetSpecPatchArgs:
|
|
|
84
82
|
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
|
|
85
83
|
|
|
86
84
|
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
|
|
87
|
-
|
|
88
|
-
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
|
|
89
85
|
"""
|
|
90
86
|
if max_unavailable is not None:
|
|
91
87
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
@@ -145,8 +141,6 @@ class PodDisruptionBudgetSpecPatchArgs:
|
|
|
145
141
|
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
|
|
146
142
|
|
|
147
143
|
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
|
|
148
|
-
|
|
149
|
-
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
|
|
150
144
|
"""
|
|
151
145
|
return pulumi.get(self, "unhealthy_pod_eviction_policy")
|
|
152
146
|
|
|
@@ -183,8 +177,6 @@ if not MYPY:
|
|
|
183
177
|
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
|
|
184
178
|
|
|
185
179
|
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
|
|
186
|
-
|
|
187
|
-
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
|
|
188
180
|
"""
|
|
189
181
|
elif False:
|
|
190
182
|
PodDisruptionBudgetSpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -210,8 +202,6 @@ class PodDisruptionBudgetSpecArgs:
|
|
|
210
202
|
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
|
|
211
203
|
|
|
212
204
|
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
|
|
213
|
-
|
|
214
|
-
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
|
|
215
205
|
"""
|
|
216
206
|
if max_unavailable is not None:
|
|
217
207
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
@@ -271,8 +261,6 @@ class PodDisruptionBudgetSpecArgs:
|
|
|
271
261
|
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
|
|
272
262
|
|
|
273
263
|
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
|
|
274
|
-
|
|
275
|
-
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
|
|
276
264
|
"""
|
|
277
265
|
return pulumi.get(self, "unhealthy_pod_eviction_policy")
|
|
278
266
|
|