pulumi-kubernetes 4.17.0__py3-none-any.whl → 4.17.0a1723228048__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.

Files changed (83) hide show
  1. pulumi_kubernetes/__init__.py +2 -42
  2. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +17 -18
  3. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +17 -18
  4. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +17 -18
  5. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +17 -18
  6. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +17 -18
  7. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +17 -18
  8. pulumi_kubernetes/apiextensions/v1/_inputs.py +6 -6
  9. pulumi_kubernetes/apiextensions/v1/outputs.py +4 -4
  10. pulumi_kubernetes/apps/v1/_inputs.py +12 -12
  11. pulumi_kubernetes/apps/v1/outputs.py +8 -8
  12. pulumi_kubernetes/batch/v1/_inputs.py +27 -15
  13. pulumi_kubernetes/batch/v1/outputs.py +20 -12
  14. pulumi_kubernetes/coordination/__init__.py +0 -3
  15. pulumi_kubernetes/coordination/v1/_inputs.py +14 -94
  16. pulumi_kubernetes/coordination/v1/outputs.py +10 -62
  17. pulumi_kubernetes/core/v1/Service.py +22 -6
  18. pulumi_kubernetes/core/v1/ServicePatch.py +22 -6
  19. pulumi_kubernetes/core/v1/_inputs.py +206 -961
  20. pulumi_kubernetes/core/v1/outputs.py +163 -1038
  21. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +0 -2
  22. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +0 -2
  23. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +0 -2
  24. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +0 -2
  25. pulumi_kubernetes/networking/v1beta1/__init__.py +0 -6
  26. pulumi_kubernetes/networking/v1beta1/_inputs.py +0 -599
  27. pulumi_kubernetes/networking/v1beta1/outputs.py +0 -461
  28. pulumi_kubernetes/pulumi-plugin.json +1 -1
  29. pulumi_kubernetes/resource/__init__.py +0 -3
  30. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
  31. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
  32. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
  33. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
  34. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +0 -2
  35. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +0 -2
  36. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
  37. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
  38. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
  39. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
  40. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +0 -2
  41. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +0 -2
  42. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +0 -2
  43. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +0 -2
  44. pulumi_kubernetes/storage/v1beta1/__init__.py +0 -3
  45. pulumi_kubernetes/storage/v1beta1/_inputs.py +0 -123
  46. pulumi_kubernetes/storage/v1beta1/outputs.py +0 -94
  47. pulumi_kubernetes/yaml/yaml.py +0 -102
  48. {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/METADATA +1 -1
  49. {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/RECORD +51 -83
  50. {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/WHEEL +1 -1
  51. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +0 -214
  52. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +0 -215
  53. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +0 -226
  54. pulumi_kubernetes/coordination/v1alpha1/__init__.py +0 -12
  55. pulumi_kubernetes/coordination/v1alpha1/_inputs.py +0 -418
  56. pulumi_kubernetes/coordination/v1alpha1/outputs.py +0 -334
  57. pulumi_kubernetes/networking/v1beta1/IPAddress.py +0 -216
  58. pulumi_kubernetes/networking/v1beta1/IPAddressList.py +0 -215
  59. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +0 -228
  60. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +0 -226
  61. pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +0 -215
  62. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +0 -238
  63. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +0 -236
  64. pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +0 -216
  65. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +0 -247
  66. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +0 -231
  67. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +0 -215
  68. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +0 -242
  69. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +0 -232
  70. pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +0 -216
  71. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +0 -243
  72. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +0 -229
  73. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +0 -215
  74. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +0 -240
  75. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +0 -246
  76. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +0 -257
  77. pulumi_kubernetes/resource/v1alpha3/__init__.py +0 -23
  78. pulumi_kubernetes/resource/v1alpha3/_inputs.py +0 -3924
  79. pulumi_kubernetes/resource/v1alpha3/outputs.py +0 -3327
  80. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +0 -252
  81. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +0 -215
  82. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +0 -263
  83. {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/top_level.txt +0 -0
@@ -53,8 +53,6 @@ __all__ = [
53
53
  'VolumeAttachmentStatusArgsDict',
54
54
  'VolumeAttachmentArgs',
55
55
  'VolumeAttachmentArgsDict',
56
- 'VolumeAttributesClassArgs',
57
- 'VolumeAttributesClassArgsDict',
58
56
  'VolumeErrorArgs',
59
57
  'VolumeErrorArgsDict',
60
58
  'VolumeNodeResourcesPatchArgs',
@@ -1966,127 +1964,6 @@ class VolumeAttachmentArgs:
1966
1964
  pulumi.set(self, "status", value)
1967
1965
 
1968
1966
 
1969
- if not MYPY:
1970
- class VolumeAttributesClassArgsDict(TypedDict):
1971
- """
1972
- VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
1973
- """
1974
- driver_name: pulumi.Input[str]
1975
- """
1976
- Name of the CSI driver This field is immutable.
1977
- """
1978
- api_version: NotRequired[pulumi.Input[str]]
1979
- """
1980
- 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
1981
- """
1982
- kind: NotRequired[pulumi.Input[str]]
1983
- """
1984
- 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
1985
- """
1986
- metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1987
- """
1988
- Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1989
- """
1990
- parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1991
- """
1992
- parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.
1993
-
1994
- This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.
1995
- """
1996
- elif False:
1997
- VolumeAttributesClassArgsDict: TypeAlias = Mapping[str, Any]
1998
-
1999
- @pulumi.input_type
2000
- class VolumeAttributesClassArgs:
2001
- def __init__(__self__, *,
2002
- driver_name: pulumi.Input[str],
2003
- api_version: Optional[pulumi.Input[str]] = None,
2004
- kind: Optional[pulumi.Input[str]] = None,
2005
- metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
2006
- parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
2007
- """
2008
- VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
2009
- :param pulumi.Input[str] driver_name: Name of the CSI driver This field is immutable.
2010
- :param pulumi.Input[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
2011
- :param pulumi.Input[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
2012
- :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2013
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.
2014
-
2015
- This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.
2016
- """
2017
- pulumi.set(__self__, "driver_name", driver_name)
2018
- if api_version is not None:
2019
- pulumi.set(__self__, "api_version", 'storage.k8s.io/v1beta1')
2020
- if kind is not None:
2021
- pulumi.set(__self__, "kind", 'VolumeAttributesClass')
2022
- if metadata is not None:
2023
- pulumi.set(__self__, "metadata", metadata)
2024
- if parameters is not None:
2025
- pulumi.set(__self__, "parameters", parameters)
2026
-
2027
- @property
2028
- @pulumi.getter(name="driverName")
2029
- def driver_name(self) -> pulumi.Input[str]:
2030
- """
2031
- Name of the CSI driver This field is immutable.
2032
- """
2033
- return pulumi.get(self, "driver_name")
2034
-
2035
- @driver_name.setter
2036
- def driver_name(self, value: pulumi.Input[str]):
2037
- pulumi.set(self, "driver_name", value)
2038
-
2039
- @property
2040
- @pulumi.getter(name="apiVersion")
2041
- def api_version(self) -> Optional[pulumi.Input[str]]:
2042
- """
2043
- 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
2044
- """
2045
- return pulumi.get(self, "api_version")
2046
-
2047
- @api_version.setter
2048
- def api_version(self, value: Optional[pulumi.Input[str]]):
2049
- pulumi.set(self, "api_version", value)
2050
-
2051
- @property
2052
- @pulumi.getter
2053
- def kind(self) -> Optional[pulumi.Input[str]]:
2054
- """
2055
- 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
2056
- """
2057
- return pulumi.get(self, "kind")
2058
-
2059
- @kind.setter
2060
- def kind(self, value: Optional[pulumi.Input[str]]):
2061
- pulumi.set(self, "kind", value)
2062
-
2063
- @property
2064
- @pulumi.getter
2065
- def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
2066
- """
2067
- Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2068
- """
2069
- return pulumi.get(self, "metadata")
2070
-
2071
- @metadata.setter
2072
- def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
2073
- pulumi.set(self, "metadata", value)
2074
-
2075
- @property
2076
- @pulumi.getter
2077
- def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
2078
- """
2079
- parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.
2080
-
2081
- This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.
2082
- """
2083
- return pulumi.get(self, "parameters")
2084
-
2085
- @parameters.setter
2086
- def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
2087
- pulumi.set(self, "parameters", value)
2088
-
2089
-
2090
1967
  if not MYPY:
2091
1968
  class VolumeErrorArgsDict(TypedDict):
2092
1969
  """
@@ -37,7 +37,6 @@ __all__ = [
37
37
  'VolumeAttachmentSpecPatch',
38
38
  'VolumeAttachmentStatus',
39
39
  'VolumeAttachmentStatusPatch',
40
- 'VolumeAttributesClass',
41
40
  'VolumeError',
42
41
  'VolumeErrorPatch',
43
42
  'VolumeNodeResources',
@@ -1629,99 +1628,6 @@ class VolumeAttachmentStatusPatch(dict):
1629
1628
  return pulumi.get(self, "detach_error")
1630
1629
 
1631
1630
 
1632
- @pulumi.output_type
1633
- class VolumeAttributesClass(dict):
1634
- """
1635
- VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
1636
- """
1637
- @staticmethod
1638
- def __key_warning(key: str):
1639
- suggest = None
1640
- if key == "driverName":
1641
- suggest = "driver_name"
1642
- elif key == "apiVersion":
1643
- suggest = "api_version"
1644
-
1645
- if suggest:
1646
- pulumi.log.warn(f"Key '{key}' not found in VolumeAttributesClass. Access the value via the '{suggest}' property getter instead.")
1647
-
1648
- def __getitem__(self, key: str) -> Any:
1649
- VolumeAttributesClass.__key_warning(key)
1650
- return super().__getitem__(key)
1651
-
1652
- def get(self, key: str, default = None) -> Any:
1653
- VolumeAttributesClass.__key_warning(key)
1654
- return super().get(key, default)
1655
-
1656
- def __init__(__self__, *,
1657
- driver_name: str,
1658
- api_version: Optional[str] = None,
1659
- kind: Optional[str] = None,
1660
- metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
1661
- parameters: Optional[Mapping[str, str]] = None):
1662
- """
1663
- VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
1664
- :param str driver_name: Name of the CSI driver This field is immutable.
1665
- :param 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
1666
- :param 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
1667
- :param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1668
- :param Mapping[str, str] parameters: parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.
1669
-
1670
- This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.
1671
- """
1672
- pulumi.set(__self__, "driver_name", driver_name)
1673
- if api_version is not None:
1674
- pulumi.set(__self__, "api_version", 'storage.k8s.io/v1beta1')
1675
- if kind is not None:
1676
- pulumi.set(__self__, "kind", 'VolumeAttributesClass')
1677
- if metadata is not None:
1678
- pulumi.set(__self__, "metadata", metadata)
1679
- if parameters is not None:
1680
- pulumi.set(__self__, "parameters", parameters)
1681
-
1682
- @property
1683
- @pulumi.getter(name="driverName")
1684
- def driver_name(self) -> str:
1685
- """
1686
- Name of the CSI driver This field is immutable.
1687
- """
1688
- return pulumi.get(self, "driver_name")
1689
-
1690
- @property
1691
- @pulumi.getter(name="apiVersion")
1692
- def api_version(self) -> Optional[str]:
1693
- """
1694
- 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
1695
- """
1696
- return pulumi.get(self, "api_version")
1697
-
1698
- @property
1699
- @pulumi.getter
1700
- def kind(self) -> Optional[str]:
1701
- """
1702
- 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
1703
- """
1704
- return pulumi.get(self, "kind")
1705
-
1706
- @property
1707
- @pulumi.getter
1708
- def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
1709
- """
1710
- Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1711
- """
1712
- return pulumi.get(self, "metadata")
1713
-
1714
- @property
1715
- @pulumi.getter
1716
- def parameters(self) -> Optional[Mapping[str, str]]:
1717
- """
1718
- parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.
1719
-
1720
- This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.
1721
- """
1722
- return pulumi.get(self, "parameters")
1723
-
1724
-
1725
1631
  @pulumi.output_type
1726
1632
  class VolumeError(dict):
1727
1633
  """
@@ -968,18 +968,6 @@ def _parse_yaml_object(
968
968
  return [identifier.apply(
969
969
  lambda x: (f"coordination.k8s.io/v1/LeaseList:{x}",
970
970
  LeaseList(f"{x}", opts, **obj)))]
971
- if gvk == "coordination.k8s.io/v1alpha1/LeaseCandidate":
972
- # Import locally to avoid name collisions.
973
- from pulumi_kubernetes.coordination.v1alpha1 import LeaseCandidate
974
- return [identifier.apply(
975
- lambda x: (f"coordination.k8s.io/v1alpha1/LeaseCandidate:{x}",
976
- LeaseCandidate(f"{x}", opts, **obj)))]
977
- if gvk == "coordination.k8s.io/v1alpha1/LeaseCandidateList":
978
- # Import locally to avoid name collisions.
979
- from pulumi_kubernetes.coordination.v1alpha1 import LeaseCandidateList
980
- return [identifier.apply(
981
- lambda x: (f"coordination.k8s.io/v1alpha1/LeaseCandidateList:{x}",
982
- LeaseCandidateList(f"{x}", opts, **obj)))]
983
971
  if gvk == "coordination.k8s.io/v1beta1/Lease":
984
972
  # Import locally to avoid name collisions.
985
973
  from pulumi_kubernetes.coordination.v1beta1 import Lease
@@ -1496,18 +1484,6 @@ def _parse_yaml_object(
1496
1484
  return [identifier.apply(
1497
1485
  lambda x: (f"networking.k8s.io/v1alpha1/ServiceCIDRList:{x}",
1498
1486
  ServiceCIDRList(f"{x}", opts, **obj)))]
1499
- if gvk == "networking.k8s.io/v1beta1/IPAddress":
1500
- # Import locally to avoid name collisions.
1501
- from pulumi_kubernetes.networking.v1beta1 import IPAddress
1502
- return [identifier.apply(
1503
- lambda x: (f"networking.k8s.io/v1beta1/IPAddress:{x}",
1504
- IPAddress(f"{x}", opts, **obj)))]
1505
- if gvk == "networking.k8s.io/v1beta1/IPAddressList":
1506
- # Import locally to avoid name collisions.
1507
- from pulumi_kubernetes.networking.v1beta1 import IPAddressList
1508
- return [identifier.apply(
1509
- lambda x: (f"networking.k8s.io/v1beta1/IPAddressList:{x}",
1510
- IPAddressList(f"{x}", opts, **obj)))]
1511
1487
  if gvk == "networking.k8s.io/v1beta1/Ingress":
1512
1488
  # Import locally to avoid name collisions.
1513
1489
  from pulumi_kubernetes.networking.v1beta1 import Ingress
@@ -1532,18 +1508,6 @@ def _parse_yaml_object(
1532
1508
  return [identifier.apply(
1533
1509
  lambda x: (f"networking.k8s.io/v1beta1/IngressList:{x}",
1534
1510
  IngressList(f"{x}", opts, **obj)))]
1535
- if gvk == "networking.k8s.io/v1beta1/ServiceCIDR":
1536
- # Import locally to avoid name collisions.
1537
- from pulumi_kubernetes.networking.v1beta1 import ServiceCIDR
1538
- return [identifier.apply(
1539
- lambda x: (f"networking.k8s.io/v1beta1/ServiceCIDR:{x}",
1540
- ServiceCIDR(f"{x}", opts, **obj)))]
1541
- if gvk == "networking.k8s.io/v1beta1/ServiceCIDRList":
1542
- # Import locally to avoid name collisions.
1543
- from pulumi_kubernetes.networking.v1beta1 import ServiceCIDRList
1544
- return [identifier.apply(
1545
- lambda x: (f"networking.k8s.io/v1beta1/ServiceCIDRList:{x}",
1546
- ServiceCIDRList(f"{x}", opts, **obj)))]
1547
1511
  if gvk == "node.k8s.io/v1/RuntimeClass":
1548
1512
  # Import locally to avoid name collisions.
1549
1513
  from pulumi_kubernetes.node.v1 import RuntimeClass
@@ -1892,60 +1856,6 @@ def _parse_yaml_object(
1892
1856
  return [identifier.apply(
1893
1857
  lambda x: (f"resource.k8s.io/v1alpha2/ResourceSliceList:{x}",
1894
1858
  ResourceSliceList(f"{x}", opts, **obj)))]
1895
- if gvk == "resource.k8s.io/v1alpha3/DeviceClass":
1896
- # Import locally to avoid name collisions.
1897
- from pulumi_kubernetes.resource.v1alpha3 import DeviceClass
1898
- return [identifier.apply(
1899
- lambda x: (f"resource.k8s.io/v1alpha3/DeviceClass:{x}",
1900
- DeviceClass(f"{x}", opts, **obj)))]
1901
- if gvk == "resource.k8s.io/v1alpha3/DeviceClassList":
1902
- # Import locally to avoid name collisions.
1903
- from pulumi_kubernetes.resource.v1alpha3 import DeviceClassList
1904
- return [identifier.apply(
1905
- lambda x: (f"resource.k8s.io/v1alpha3/DeviceClassList:{x}",
1906
- DeviceClassList(f"{x}", opts, **obj)))]
1907
- if gvk == "resource.k8s.io/v1alpha3/PodSchedulingContext":
1908
- # Import locally to avoid name collisions.
1909
- from pulumi_kubernetes.resource.v1alpha3 import PodSchedulingContext
1910
- return [identifier.apply(
1911
- lambda x: (f"resource.k8s.io/v1alpha3/PodSchedulingContext:{x}",
1912
- PodSchedulingContext(f"{x}", opts, **obj)))]
1913
- if gvk == "resource.k8s.io/v1alpha3/PodSchedulingContextList":
1914
- # Import locally to avoid name collisions.
1915
- from pulumi_kubernetes.resource.v1alpha3 import PodSchedulingContextList
1916
- return [identifier.apply(
1917
- lambda x: (f"resource.k8s.io/v1alpha3/PodSchedulingContextList:{x}",
1918
- PodSchedulingContextList(f"{x}", opts, **obj)))]
1919
- if gvk == "resource.k8s.io/v1alpha3/ResourceClaim":
1920
- # Import locally to avoid name collisions.
1921
- from pulumi_kubernetes.resource.v1alpha3 import ResourceClaim
1922
- return [identifier.apply(
1923
- lambda x: (f"resource.k8s.io/v1alpha3/ResourceClaim:{x}",
1924
- ResourceClaim(f"{x}", opts, **obj)))]
1925
- if gvk == "resource.k8s.io/v1alpha3/ResourceClaimList":
1926
- # Import locally to avoid name collisions.
1927
- from pulumi_kubernetes.resource.v1alpha3 import ResourceClaimList
1928
- return [identifier.apply(
1929
- lambda x: (f"resource.k8s.io/v1alpha3/ResourceClaimList:{x}",
1930
- ResourceClaimList(f"{x}", opts, **obj)))]
1931
- if gvk == "resource.k8s.io/v1alpha3/ResourceClaimTemplate":
1932
- # Import locally to avoid name collisions.
1933
- from pulumi_kubernetes.resource.v1alpha3 import ResourceClaimTemplate
1934
- return [identifier.apply(
1935
- lambda x: (f"resource.k8s.io/v1alpha3/ResourceClaimTemplate:{x}",
1936
- ResourceClaimTemplate(f"{x}", opts, **obj)))]
1937
- if gvk == "resource.k8s.io/v1alpha3/ResourceClaimTemplateList":
1938
- # Import locally to avoid name collisions.
1939
- from pulumi_kubernetes.resource.v1alpha3 import ResourceClaimTemplateList
1940
- return [identifier.apply(
1941
- lambda x: (f"resource.k8s.io/v1alpha3/ResourceClaimTemplateList:{x}",
1942
- ResourceClaimTemplateList(f"{x}", opts, **obj)))]
1943
- if gvk == "resource.k8s.io/v1alpha3/ResourceSlice":
1944
- # Import locally to avoid name collisions.
1945
- from pulumi_kubernetes.resource.v1alpha3 import ResourceSlice
1946
- return [identifier.apply(
1947
- lambda x: (f"resource.k8s.io/v1alpha3/ResourceSlice:{x}",
1948
- ResourceSlice(f"{x}", opts, **obj)))]
1949
1859
  if gvk == "scheduling.k8s.io/v1/PriorityClass":
1950
1860
  # Import locally to avoid name collisions.
1951
1861
  from pulumi_kubernetes.scheduling.v1 import PriorityClass
@@ -2138,18 +2048,6 @@ def _parse_yaml_object(
2138
2048
  return [identifier.apply(
2139
2049
  lambda x: (f"storage.k8s.io/v1beta1/VolumeAttachmentList:{x}",
2140
2050
  VolumeAttachmentList(f"{x}", opts, **obj)))]
2141
- if gvk == "storage.k8s.io/v1beta1/VolumeAttributesClass":
2142
- # Import locally to avoid name collisions.
2143
- from pulumi_kubernetes.storage.v1beta1 import VolumeAttributesClass
2144
- return [identifier.apply(
2145
- lambda x: (f"storage.k8s.io/v1beta1/VolumeAttributesClass:{x}",
2146
- VolumeAttributesClass(f"{x}", opts, **obj)))]
2147
- if gvk == "storage.k8s.io/v1beta1/VolumeAttributesClassList":
2148
- # Import locally to avoid name collisions.
2149
- from pulumi_kubernetes.storage.v1beta1 import VolumeAttributesClassList
2150
- return [identifier.apply(
2151
- lambda x: (f"storage.k8s.io/v1beta1/VolumeAttributesClassList:{x}",
2152
- VolumeAttributesClassList(f"{x}", opts, **obj)))]
2153
2051
  if gvk == "storagemigration.k8s.io/v1alpha1/StorageVersionMigration":
2154
2052
  # Import locally to avoid name collisions.
2155
2053
  from pulumi_kubernetes.storagemigration.v1alpha1 import StorageVersionMigration
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_kubernetes
3
- Version: 4.17.0
3
+ Version: 4.17.0a1723228048
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