pulumi-kubernetes 4.23.0a1746131759__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.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/METADATA +1 -1
- {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/RECORD +116 -86
- {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/top_level.txt +0 -0
|
@@ -83,6 +83,14 @@ if not MYPY:
|
|
|
83
83
|
|
|
84
84
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
85
85
|
"""
|
|
86
|
+
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
87
|
+
"""
|
|
88
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
89
|
+
|
|
90
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
91
|
+
|
|
92
|
+
This field is mutable.
|
|
93
|
+
"""
|
|
86
94
|
pod_info_on_mount: NotRequired[pulumi.Input[builtins.bool]]
|
|
87
95
|
"""
|
|
88
96
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
@@ -152,6 +160,7 @@ class CSIDriverSpecPatchArgs:
|
|
|
152
160
|
def __init__(__self__, *,
|
|
153
161
|
attach_required: Optional[pulumi.Input[builtins.bool]] = None,
|
|
154
162
|
fs_group_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
163
|
+
node_allocatable_update_period_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
155
164
|
pod_info_on_mount: Optional[pulumi.Input[builtins.bool]] = None,
|
|
156
165
|
requires_republish: Optional[pulumi.Input[builtins.bool]] = None,
|
|
157
166
|
se_linux_mount: Optional[pulumi.Input[builtins.bool]] = None,
|
|
@@ -168,6 +177,11 @@ class CSIDriverSpecPatchArgs:
|
|
|
168
177
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
169
178
|
|
|
170
179
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
180
|
+
:param pulumi.Input[builtins.int] node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
181
|
+
|
|
182
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
183
|
+
|
|
184
|
+
This field is mutable.
|
|
171
185
|
:param pulumi.Input[builtins.bool] pod_info_on_mount: podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
172
186
|
|
|
173
187
|
The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.
|
|
@@ -216,6 +230,8 @@ class CSIDriverSpecPatchArgs:
|
|
|
216
230
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
217
231
|
if fs_group_policy is not None:
|
|
218
232
|
pulumi.set(__self__, "fs_group_policy", fs_group_policy)
|
|
233
|
+
if node_allocatable_update_period_seconds is not None:
|
|
234
|
+
pulumi.set(__self__, "node_allocatable_update_period_seconds", node_allocatable_update_period_seconds)
|
|
219
235
|
if pod_info_on_mount is not None:
|
|
220
236
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
221
237
|
if requires_republish is not None:
|
|
@@ -259,6 +275,22 @@ class CSIDriverSpecPatchArgs:
|
|
|
259
275
|
def fs_group_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
260
276
|
pulumi.set(self, "fs_group_policy", value)
|
|
261
277
|
|
|
278
|
+
@property
|
|
279
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
280
|
+
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
281
|
+
"""
|
|
282
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
283
|
+
|
|
284
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
285
|
+
|
|
286
|
+
This field is mutable.
|
|
287
|
+
"""
|
|
288
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
289
|
+
|
|
290
|
+
@node_allocatable_update_period_seconds.setter
|
|
291
|
+
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
292
|
+
pulumi.set(self, "node_allocatable_update_period_seconds", value)
|
|
293
|
+
|
|
262
294
|
@property
|
|
263
295
|
@pulumi.getter(name="podInfoOnMount")
|
|
264
296
|
def pod_info_on_mount(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -388,6 +420,14 @@ if not MYPY:
|
|
|
388
420
|
|
|
389
421
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
390
422
|
"""
|
|
423
|
+
node_allocatable_update_period_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
424
|
+
"""
|
|
425
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
426
|
+
|
|
427
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
428
|
+
|
|
429
|
+
This field is mutable.
|
|
430
|
+
"""
|
|
391
431
|
pod_info_on_mount: NotRequired[pulumi.Input[builtins.bool]]
|
|
392
432
|
"""
|
|
393
433
|
podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
@@ -457,6 +497,7 @@ class CSIDriverSpecArgs:
|
|
|
457
497
|
def __init__(__self__, *,
|
|
458
498
|
attach_required: Optional[pulumi.Input[builtins.bool]] = None,
|
|
459
499
|
fs_group_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
500
|
+
node_allocatable_update_period_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
460
501
|
pod_info_on_mount: Optional[pulumi.Input[builtins.bool]] = None,
|
|
461
502
|
requires_republish: Optional[pulumi.Input[builtins.bool]] = None,
|
|
462
503
|
se_linux_mount: Optional[pulumi.Input[builtins.bool]] = None,
|
|
@@ -473,6 +514,11 @@ class CSIDriverSpecArgs:
|
|
|
473
514
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
474
515
|
|
|
475
516
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
517
|
+
:param pulumi.Input[builtins.int] node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
518
|
+
|
|
519
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
520
|
+
|
|
521
|
+
This field is mutable.
|
|
476
522
|
:param pulumi.Input[builtins.bool] pod_info_on_mount: podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
477
523
|
|
|
478
524
|
The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.
|
|
@@ -521,6 +567,8 @@ class CSIDriverSpecArgs:
|
|
|
521
567
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
522
568
|
if fs_group_policy is not None:
|
|
523
569
|
pulumi.set(__self__, "fs_group_policy", fs_group_policy)
|
|
570
|
+
if node_allocatable_update_period_seconds is not None:
|
|
571
|
+
pulumi.set(__self__, "node_allocatable_update_period_seconds", node_allocatable_update_period_seconds)
|
|
524
572
|
if pod_info_on_mount is not None:
|
|
525
573
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
526
574
|
if requires_republish is not None:
|
|
@@ -564,6 +612,22 @@ class CSIDriverSpecArgs:
|
|
|
564
612
|
def fs_group_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
565
613
|
pulumi.set(self, "fs_group_policy", value)
|
|
566
614
|
|
|
615
|
+
@property
|
|
616
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
617
|
+
def node_allocatable_update_period_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
618
|
+
"""
|
|
619
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
620
|
+
|
|
621
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
622
|
+
|
|
623
|
+
This field is mutable.
|
|
624
|
+
"""
|
|
625
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
626
|
+
|
|
627
|
+
@node_allocatable_update_period_seconds.setter
|
|
628
|
+
def node_allocatable_update_period_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
629
|
+
pulumi.set(self, "node_allocatable_update_period_seconds", value)
|
|
630
|
+
|
|
567
631
|
@property
|
|
568
632
|
@pulumi.getter(name="podInfoOnMount")
|
|
569
633
|
def pod_info_on_mount(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -2130,6 +2194,12 @@ if not MYPY:
|
|
|
2130
2194
|
"""
|
|
2131
2195
|
VolumeError captures an error encountered during a volume operation.
|
|
2132
2196
|
"""
|
|
2197
|
+
error_code: NotRequired[pulumi.Input[builtins.int]]
|
|
2198
|
+
"""
|
|
2199
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2200
|
+
|
|
2201
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2202
|
+
"""
|
|
2133
2203
|
message: NotRequired[pulumi.Input[builtins.str]]
|
|
2134
2204
|
"""
|
|
2135
2205
|
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
@@ -2144,18 +2214,38 @@ elif False:
|
|
|
2144
2214
|
@pulumi.input_type
|
|
2145
2215
|
class VolumeErrorArgs:
|
|
2146
2216
|
def __init__(__self__, *,
|
|
2217
|
+
error_code: Optional[pulumi.Input[builtins.int]] = None,
|
|
2147
2218
|
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
2148
2219
|
time: Optional[pulumi.Input[builtins.str]] = None):
|
|
2149
2220
|
"""
|
|
2150
2221
|
VolumeError captures an error encountered during a volume operation.
|
|
2222
|
+
:param pulumi.Input[builtins.int] error_code: errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2223
|
+
|
|
2224
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2151
2225
|
:param pulumi.Input[builtins.str] message: message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
2152
2226
|
:param pulumi.Input[builtins.str] time: time represents the time the error was encountered.
|
|
2153
2227
|
"""
|
|
2228
|
+
if error_code is not None:
|
|
2229
|
+
pulumi.set(__self__, "error_code", error_code)
|
|
2154
2230
|
if message is not None:
|
|
2155
2231
|
pulumi.set(__self__, "message", message)
|
|
2156
2232
|
if time is not None:
|
|
2157
2233
|
pulumi.set(__self__, "time", time)
|
|
2158
2234
|
|
|
2235
|
+
@property
|
|
2236
|
+
@pulumi.getter(name="errorCode")
|
|
2237
|
+
def error_code(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2238
|
+
"""
|
|
2239
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
2240
|
+
|
|
2241
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
2242
|
+
"""
|
|
2243
|
+
return pulumi.get(self, "error_code")
|
|
2244
|
+
|
|
2245
|
+
@error_code.setter
|
|
2246
|
+
def error_code(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2247
|
+
pulumi.set(self, "error_code", value)
|
|
2248
|
+
|
|
2159
2249
|
@property
|
|
2160
2250
|
@pulumi.getter
|
|
2161
2251
|
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -131,6 +131,8 @@ class CSIDriverSpec(dict):
|
|
|
131
131
|
suggest = "attach_required"
|
|
132
132
|
elif key == "fsGroupPolicy":
|
|
133
133
|
suggest = "fs_group_policy"
|
|
134
|
+
elif key == "nodeAllocatableUpdatePeriodSeconds":
|
|
135
|
+
suggest = "node_allocatable_update_period_seconds"
|
|
134
136
|
elif key == "podInfoOnMount":
|
|
135
137
|
suggest = "pod_info_on_mount"
|
|
136
138
|
elif key == "requiresRepublish":
|
|
@@ -158,6 +160,7 @@ class CSIDriverSpec(dict):
|
|
|
158
160
|
def __init__(__self__, *,
|
|
159
161
|
attach_required: Optional[builtins.bool] = None,
|
|
160
162
|
fs_group_policy: Optional[builtins.str] = None,
|
|
163
|
+
node_allocatable_update_period_seconds: Optional[builtins.int] = None,
|
|
161
164
|
pod_info_on_mount: Optional[builtins.bool] = None,
|
|
162
165
|
requires_republish: Optional[builtins.bool] = None,
|
|
163
166
|
se_linux_mount: Optional[builtins.bool] = None,
|
|
@@ -174,6 +177,11 @@ class CSIDriverSpec(dict):
|
|
|
174
177
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
175
178
|
|
|
176
179
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
180
|
+
:param builtins.int node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
181
|
+
|
|
182
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
183
|
+
|
|
184
|
+
This field is mutable.
|
|
177
185
|
:param builtins.bool pod_info_on_mount: podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
178
186
|
|
|
179
187
|
The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.
|
|
@@ -222,6 +230,8 @@ class CSIDriverSpec(dict):
|
|
|
222
230
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
223
231
|
if fs_group_policy is not None:
|
|
224
232
|
pulumi.set(__self__, "fs_group_policy", fs_group_policy)
|
|
233
|
+
if node_allocatable_update_period_seconds is not None:
|
|
234
|
+
pulumi.set(__self__, "node_allocatable_update_period_seconds", node_allocatable_update_period_seconds)
|
|
225
235
|
if pod_info_on_mount is not None:
|
|
226
236
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
227
237
|
if requires_republish is not None:
|
|
@@ -257,6 +267,18 @@ class CSIDriverSpec(dict):
|
|
|
257
267
|
"""
|
|
258
268
|
return pulumi.get(self, "fs_group_policy")
|
|
259
269
|
|
|
270
|
+
@property
|
|
271
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
272
|
+
def node_allocatable_update_period_seconds(self) -> Optional[builtins.int]:
|
|
273
|
+
"""
|
|
274
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
275
|
+
|
|
276
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
277
|
+
|
|
278
|
+
This field is mutable.
|
|
279
|
+
"""
|
|
280
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
281
|
+
|
|
260
282
|
@property
|
|
261
283
|
@pulumi.getter(name="podInfoOnMount")
|
|
262
284
|
def pod_info_on_mount(self) -> Optional[builtins.bool]:
|
|
@@ -355,6 +377,8 @@ class CSIDriverSpecPatch(dict):
|
|
|
355
377
|
suggest = "attach_required"
|
|
356
378
|
elif key == "fsGroupPolicy":
|
|
357
379
|
suggest = "fs_group_policy"
|
|
380
|
+
elif key == "nodeAllocatableUpdatePeriodSeconds":
|
|
381
|
+
suggest = "node_allocatable_update_period_seconds"
|
|
358
382
|
elif key == "podInfoOnMount":
|
|
359
383
|
suggest = "pod_info_on_mount"
|
|
360
384
|
elif key == "requiresRepublish":
|
|
@@ -382,6 +406,7 @@ class CSIDriverSpecPatch(dict):
|
|
|
382
406
|
def __init__(__self__, *,
|
|
383
407
|
attach_required: Optional[builtins.bool] = None,
|
|
384
408
|
fs_group_policy: Optional[builtins.str] = None,
|
|
409
|
+
node_allocatable_update_period_seconds: Optional[builtins.int] = None,
|
|
385
410
|
pod_info_on_mount: Optional[builtins.bool] = None,
|
|
386
411
|
requires_republish: Optional[builtins.bool] = None,
|
|
387
412
|
se_linux_mount: Optional[builtins.bool] = None,
|
|
@@ -398,6 +423,11 @@ class CSIDriverSpecPatch(dict):
|
|
|
398
423
|
This field was immutable in Kubernetes < 1.29 and now is mutable.
|
|
399
424
|
|
|
400
425
|
Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.
|
|
426
|
+
:param builtins.int node_allocatable_update_period_seconds: nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
427
|
+
|
|
428
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
429
|
+
|
|
430
|
+
This field is mutable.
|
|
401
431
|
:param builtins.bool pod_info_on_mount: podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.
|
|
402
432
|
|
|
403
433
|
The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.
|
|
@@ -446,6 +476,8 @@ class CSIDriverSpecPatch(dict):
|
|
|
446
476
|
pulumi.set(__self__, "attach_required", attach_required)
|
|
447
477
|
if fs_group_policy is not None:
|
|
448
478
|
pulumi.set(__self__, "fs_group_policy", fs_group_policy)
|
|
479
|
+
if node_allocatable_update_period_seconds is not None:
|
|
480
|
+
pulumi.set(__self__, "node_allocatable_update_period_seconds", node_allocatable_update_period_seconds)
|
|
449
481
|
if pod_info_on_mount is not None:
|
|
450
482
|
pulumi.set(__self__, "pod_info_on_mount", pod_info_on_mount)
|
|
451
483
|
if requires_republish is not None:
|
|
@@ -481,6 +513,18 @@ class CSIDriverSpecPatch(dict):
|
|
|
481
513
|
"""
|
|
482
514
|
return pulumi.get(self, "fs_group_policy")
|
|
483
515
|
|
|
516
|
+
@property
|
|
517
|
+
@pulumi.getter(name="nodeAllocatableUpdatePeriodSeconds")
|
|
518
|
+
def node_allocatable_update_period_seconds(self) -> Optional[builtins.int]:
|
|
519
|
+
"""
|
|
520
|
+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
|
|
521
|
+
|
|
522
|
+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
|
|
523
|
+
|
|
524
|
+
This field is mutable.
|
|
525
|
+
"""
|
|
526
|
+
return pulumi.get(self, "node_allocatable_update_period_seconds")
|
|
527
|
+
|
|
484
528
|
@property
|
|
485
529
|
@pulumi.getter(name="podInfoOnMount")
|
|
486
530
|
def pod_info_on_mount(self) -> Optional[builtins.bool]:
|
|
@@ -1742,19 +1786,52 @@ class VolumeError(dict):
|
|
|
1742
1786
|
"""
|
|
1743
1787
|
VolumeError captures an error encountered during a volume operation.
|
|
1744
1788
|
"""
|
|
1789
|
+
@staticmethod
|
|
1790
|
+
def __key_warning(key: str):
|
|
1791
|
+
suggest = None
|
|
1792
|
+
if key == "errorCode":
|
|
1793
|
+
suggest = "error_code"
|
|
1794
|
+
|
|
1795
|
+
if suggest:
|
|
1796
|
+
pulumi.log.warn(f"Key '{key}' not found in VolumeError. Access the value via the '{suggest}' property getter instead.")
|
|
1797
|
+
|
|
1798
|
+
def __getitem__(self, key: str) -> Any:
|
|
1799
|
+
VolumeError.__key_warning(key)
|
|
1800
|
+
return super().__getitem__(key)
|
|
1801
|
+
|
|
1802
|
+
def get(self, key: str, default = None) -> Any:
|
|
1803
|
+
VolumeError.__key_warning(key)
|
|
1804
|
+
return super().get(key, default)
|
|
1805
|
+
|
|
1745
1806
|
def __init__(__self__, *,
|
|
1807
|
+
error_code: Optional[builtins.int] = None,
|
|
1746
1808
|
message: Optional[builtins.str] = None,
|
|
1747
1809
|
time: Optional[builtins.str] = None):
|
|
1748
1810
|
"""
|
|
1749
1811
|
VolumeError captures an error encountered during a volume operation.
|
|
1812
|
+
:param builtins.int error_code: errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
1813
|
+
|
|
1814
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
1750
1815
|
:param builtins.str message: message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
1751
1816
|
:param builtins.str time: time represents the time the error was encountered.
|
|
1752
1817
|
"""
|
|
1818
|
+
if error_code is not None:
|
|
1819
|
+
pulumi.set(__self__, "error_code", error_code)
|
|
1753
1820
|
if message is not None:
|
|
1754
1821
|
pulumi.set(__self__, "message", message)
|
|
1755
1822
|
if time is not None:
|
|
1756
1823
|
pulumi.set(__self__, "time", time)
|
|
1757
1824
|
|
|
1825
|
+
@property
|
|
1826
|
+
@pulumi.getter(name="errorCode")
|
|
1827
|
+
def error_code(self) -> Optional[builtins.int]:
|
|
1828
|
+
"""
|
|
1829
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
1830
|
+
|
|
1831
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
1832
|
+
"""
|
|
1833
|
+
return pulumi.get(self, "error_code")
|
|
1834
|
+
|
|
1758
1835
|
@property
|
|
1759
1836
|
@pulumi.getter
|
|
1760
1837
|
def message(self) -> Optional[builtins.str]:
|
|
@@ -1777,19 +1854,52 @@ class VolumeErrorPatch(dict):
|
|
|
1777
1854
|
"""
|
|
1778
1855
|
VolumeError captures an error encountered during a volume operation.
|
|
1779
1856
|
"""
|
|
1857
|
+
@staticmethod
|
|
1858
|
+
def __key_warning(key: str):
|
|
1859
|
+
suggest = None
|
|
1860
|
+
if key == "errorCode":
|
|
1861
|
+
suggest = "error_code"
|
|
1862
|
+
|
|
1863
|
+
if suggest:
|
|
1864
|
+
pulumi.log.warn(f"Key '{key}' not found in VolumeErrorPatch. Access the value via the '{suggest}' property getter instead.")
|
|
1865
|
+
|
|
1866
|
+
def __getitem__(self, key: str) -> Any:
|
|
1867
|
+
VolumeErrorPatch.__key_warning(key)
|
|
1868
|
+
return super().__getitem__(key)
|
|
1869
|
+
|
|
1870
|
+
def get(self, key: str, default = None) -> Any:
|
|
1871
|
+
VolumeErrorPatch.__key_warning(key)
|
|
1872
|
+
return super().get(key, default)
|
|
1873
|
+
|
|
1780
1874
|
def __init__(__self__, *,
|
|
1875
|
+
error_code: Optional[builtins.int] = None,
|
|
1781
1876
|
message: Optional[builtins.str] = None,
|
|
1782
1877
|
time: Optional[builtins.str] = None):
|
|
1783
1878
|
"""
|
|
1784
1879
|
VolumeError captures an error encountered during a volume operation.
|
|
1880
|
+
:param builtins.int error_code: errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
1881
|
+
|
|
1882
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
1785
1883
|
:param builtins.str message: message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
|
|
1786
1884
|
:param builtins.str time: time represents the time the error was encountered.
|
|
1787
1885
|
"""
|
|
1886
|
+
if error_code is not None:
|
|
1887
|
+
pulumi.set(__self__, "error_code", error_code)
|
|
1788
1888
|
if message is not None:
|
|
1789
1889
|
pulumi.set(__self__, "message", message)
|
|
1790
1890
|
if time is not None:
|
|
1791
1891
|
pulumi.set(__self__, "time", time)
|
|
1792
1892
|
|
|
1893
|
+
@property
|
|
1894
|
+
@pulumi.getter(name="errorCode")
|
|
1895
|
+
def error_code(self) -> Optional[builtins.int]:
|
|
1896
|
+
"""
|
|
1897
|
+
errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
|
|
1898
|
+
|
|
1899
|
+
This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
|
|
1900
|
+
"""
|
|
1901
|
+
return pulumi.get(self, "error_code")
|
|
1902
|
+
|
|
1793
1903
|
@property
|
|
1794
1904
|
@pulumi.getter
|
|
1795
1905
|
def message(self) -> Optional[builtins.str]:
|
pulumi_kubernetes/yaml/yaml.py
CHANGED
|
@@ -980,6 +980,18 @@ def _parse_yaml_object(
|
|
|
980
980
|
return [identifier.apply(
|
|
981
981
|
lambda x: (f"certificates.k8s.io/v1beta1/CertificateSigningRequestList:{x}",
|
|
982
982
|
CertificateSigningRequestList(f"{x}", opts, **obj)))]
|
|
983
|
+
if gvk == "certificates.k8s.io/v1beta1/ClusterTrustBundle":
|
|
984
|
+
# Import locally to avoid name collisions.
|
|
985
|
+
from pulumi_kubernetes.certificates.v1beta1 import ClusterTrustBundle
|
|
986
|
+
return [identifier.apply(
|
|
987
|
+
lambda x: (f"certificates.k8s.io/v1beta1/ClusterTrustBundle:{x}",
|
|
988
|
+
ClusterTrustBundle(f"{x}", opts, **obj)))]
|
|
989
|
+
if gvk == "certificates.k8s.io/v1beta1/ClusterTrustBundleList":
|
|
990
|
+
# Import locally to avoid name collisions.
|
|
991
|
+
from pulumi_kubernetes.certificates.v1beta1 import ClusterTrustBundleList
|
|
992
|
+
return [identifier.apply(
|
|
993
|
+
lambda x: (f"certificates.k8s.io/v1beta1/ClusterTrustBundleList:{x}",
|
|
994
|
+
ClusterTrustBundleList(f"{x}", opts, **obj)))]
|
|
983
995
|
if gvk == "coordination.k8s.io/v1/Lease":
|
|
984
996
|
# Import locally to avoid name collisions.
|
|
985
997
|
from pulumi_kubernetes.coordination.v1 import Lease
|
|
@@ -1022,6 +1034,18 @@ def _parse_yaml_object(
|
|
|
1022
1034
|
return [identifier.apply(
|
|
1023
1035
|
lambda x: (f"coordination.k8s.io/v1beta1/Lease:{x}",
|
|
1024
1036
|
Lease(f"{x}", opts, **obj)))]
|
|
1037
|
+
if gvk == "coordination.k8s.io/v1beta1/LeaseCandidate":
|
|
1038
|
+
# Import locally to avoid name collisions.
|
|
1039
|
+
from pulumi_kubernetes.coordination.v1beta1 import LeaseCandidate
|
|
1040
|
+
return [identifier.apply(
|
|
1041
|
+
lambda x: (f"coordination.k8s.io/v1beta1/LeaseCandidate:{x}",
|
|
1042
|
+
LeaseCandidate(f"{x}", opts, **obj)))]
|
|
1043
|
+
if gvk == "coordination.k8s.io/v1beta1/LeaseCandidateList":
|
|
1044
|
+
# Import locally to avoid name collisions.
|
|
1045
|
+
from pulumi_kubernetes.coordination.v1beta1 import LeaseCandidateList
|
|
1046
|
+
return [identifier.apply(
|
|
1047
|
+
lambda x: (f"coordination.k8s.io/v1beta1/LeaseCandidateList:{x}",
|
|
1048
|
+
LeaseCandidateList(f"{x}", opts, **obj)))]
|
|
1025
1049
|
if gvk == "coordination.k8s.io/v1beta1/LeaseList":
|
|
1026
1050
|
# Import locally to avoid name collisions.
|
|
1027
1051
|
from pulumi_kubernetes.coordination.v1beta1 import LeaseList
|
|
@@ -1460,6 +1484,18 @@ def _parse_yaml_object(
|
|
|
1460
1484
|
return [identifier.apply(
|
|
1461
1485
|
lambda x: (f"meta/v1/Status:{x}",
|
|
1462
1486
|
Status(f"{x}", opts, **obj)))]
|
|
1487
|
+
if gvk == "networking.k8s.io/v1/IPAddress":
|
|
1488
|
+
# Import locally to avoid name collisions.
|
|
1489
|
+
from pulumi_kubernetes.networking.v1 import IPAddress
|
|
1490
|
+
return [identifier.apply(
|
|
1491
|
+
lambda x: (f"networking.k8s.io/v1/IPAddress:{x}",
|
|
1492
|
+
IPAddress(f"{x}", opts, **obj)))]
|
|
1493
|
+
if gvk == "networking.k8s.io/v1/IPAddressList":
|
|
1494
|
+
# Import locally to avoid name collisions.
|
|
1495
|
+
from pulumi_kubernetes.networking.v1 import IPAddressList
|
|
1496
|
+
return [identifier.apply(
|
|
1497
|
+
lambda x: (f"networking.k8s.io/v1/IPAddressList:{x}",
|
|
1498
|
+
IPAddressList(f"{x}", opts, **obj)))]
|
|
1463
1499
|
if gvk == "networking.k8s.io/v1/Ingress":
|
|
1464
1500
|
# Import locally to avoid name collisions.
|
|
1465
1501
|
from pulumi_kubernetes.networking.v1 import Ingress
|
|
@@ -1496,6 +1532,18 @@ def _parse_yaml_object(
|
|
|
1496
1532
|
return [identifier.apply(
|
|
1497
1533
|
lambda x: (f"networking.k8s.io/v1/NetworkPolicyList:{x}",
|
|
1498
1534
|
NetworkPolicyList(f"{x}", opts, **obj)))]
|
|
1535
|
+
if gvk == "networking.k8s.io/v1/ServiceCIDR":
|
|
1536
|
+
# Import locally to avoid name collisions.
|
|
1537
|
+
from pulumi_kubernetes.networking.v1 import ServiceCIDR
|
|
1538
|
+
return [identifier.apply(
|
|
1539
|
+
lambda x: (f"networking.k8s.io/v1/ServiceCIDR:{x}",
|
|
1540
|
+
ServiceCIDR(f"{x}", opts, **obj)))]
|
|
1541
|
+
if gvk == "networking.k8s.io/v1/ServiceCIDRList":
|
|
1542
|
+
# Import locally to avoid name collisions.
|
|
1543
|
+
from pulumi_kubernetes.networking.v1 import ServiceCIDRList
|
|
1544
|
+
return [identifier.apply(
|
|
1545
|
+
lambda x: (f"networking.k8s.io/v1/ServiceCIDRList:{x}",
|
|
1546
|
+
ServiceCIDRList(f"{x}", opts, **obj)))]
|
|
1499
1547
|
if gvk == "networking.k8s.io/v1alpha1/ClusterCIDR":
|
|
1500
1548
|
# Import locally to avoid name collisions.
|
|
1501
1549
|
from pulumi_kubernetes.networking.v1alpha1 import ClusterCIDR
|
|
@@ -1940,6 +1988,18 @@ def _parse_yaml_object(
|
|
|
1940
1988
|
return [identifier.apply(
|
|
1941
1989
|
lambda x: (f"resource.k8s.io/v1alpha3/DeviceClassList:{x}",
|
|
1942
1990
|
DeviceClassList(f"{x}", opts, **obj)))]
|
|
1991
|
+
if gvk == "resource.k8s.io/v1alpha3/DeviceTaintRule":
|
|
1992
|
+
# Import locally to avoid name collisions.
|
|
1993
|
+
from pulumi_kubernetes.resource.v1alpha3 import DeviceTaintRule
|
|
1994
|
+
return [identifier.apply(
|
|
1995
|
+
lambda x: (f"resource.k8s.io/v1alpha3/DeviceTaintRule:{x}",
|
|
1996
|
+
DeviceTaintRule(f"{x}", opts, **obj)))]
|
|
1997
|
+
if gvk == "resource.k8s.io/v1alpha3/DeviceTaintRuleList":
|
|
1998
|
+
# Import locally to avoid name collisions.
|
|
1999
|
+
from pulumi_kubernetes.resource.v1alpha3 import DeviceTaintRuleList
|
|
2000
|
+
return [identifier.apply(
|
|
2001
|
+
lambda x: (f"resource.k8s.io/v1alpha3/DeviceTaintRuleList:{x}",
|
|
2002
|
+
DeviceTaintRuleList(f"{x}", opts, **obj)))]
|
|
1943
2003
|
if gvk == "resource.k8s.io/v1alpha3/PodSchedulingContext":
|
|
1944
2004
|
# Import locally to avoid name collisions.
|
|
1945
2005
|
from pulumi_kubernetes.resource.v1alpha3 import PodSchedulingContext
|
|
@@ -2036,6 +2096,54 @@ def _parse_yaml_object(
|
|
|
2036
2096
|
return [identifier.apply(
|
|
2037
2097
|
lambda x: (f"resource.k8s.io/v1beta1/ResourceSliceList:{x}",
|
|
2038
2098
|
ResourceSliceList(f"{x}", opts, **obj)))]
|
|
2099
|
+
if gvk == "resource.k8s.io/v1beta2/DeviceClass":
|
|
2100
|
+
# Import locally to avoid name collisions.
|
|
2101
|
+
from pulumi_kubernetes.resource.v1beta2 import DeviceClass
|
|
2102
|
+
return [identifier.apply(
|
|
2103
|
+
lambda x: (f"resource.k8s.io/v1beta2/DeviceClass:{x}",
|
|
2104
|
+
DeviceClass(f"{x}", opts, **obj)))]
|
|
2105
|
+
if gvk == "resource.k8s.io/v1beta2/DeviceClassList":
|
|
2106
|
+
# Import locally to avoid name collisions.
|
|
2107
|
+
from pulumi_kubernetes.resource.v1beta2 import DeviceClassList
|
|
2108
|
+
return [identifier.apply(
|
|
2109
|
+
lambda x: (f"resource.k8s.io/v1beta2/DeviceClassList:{x}",
|
|
2110
|
+
DeviceClassList(f"{x}", opts, **obj)))]
|
|
2111
|
+
if gvk == "resource.k8s.io/v1beta2/ResourceClaim":
|
|
2112
|
+
# Import locally to avoid name collisions.
|
|
2113
|
+
from pulumi_kubernetes.resource.v1beta2 import ResourceClaim
|
|
2114
|
+
return [identifier.apply(
|
|
2115
|
+
lambda x: (f"resource.k8s.io/v1beta2/ResourceClaim:{x}",
|
|
2116
|
+
ResourceClaim(f"{x}", opts, **obj)))]
|
|
2117
|
+
if gvk == "resource.k8s.io/v1beta2/ResourceClaimList":
|
|
2118
|
+
# Import locally to avoid name collisions.
|
|
2119
|
+
from pulumi_kubernetes.resource.v1beta2 import ResourceClaimList
|
|
2120
|
+
return [identifier.apply(
|
|
2121
|
+
lambda x: (f"resource.k8s.io/v1beta2/ResourceClaimList:{x}",
|
|
2122
|
+
ResourceClaimList(f"{x}", opts, **obj)))]
|
|
2123
|
+
if gvk == "resource.k8s.io/v1beta2/ResourceClaimTemplate":
|
|
2124
|
+
# Import locally to avoid name collisions.
|
|
2125
|
+
from pulumi_kubernetes.resource.v1beta2 import ResourceClaimTemplate
|
|
2126
|
+
return [identifier.apply(
|
|
2127
|
+
lambda x: (f"resource.k8s.io/v1beta2/ResourceClaimTemplate:{x}",
|
|
2128
|
+
ResourceClaimTemplate(f"{x}", opts, **obj)))]
|
|
2129
|
+
if gvk == "resource.k8s.io/v1beta2/ResourceClaimTemplateList":
|
|
2130
|
+
# Import locally to avoid name collisions.
|
|
2131
|
+
from pulumi_kubernetes.resource.v1beta2 import ResourceClaimTemplateList
|
|
2132
|
+
return [identifier.apply(
|
|
2133
|
+
lambda x: (f"resource.k8s.io/v1beta2/ResourceClaimTemplateList:{x}",
|
|
2134
|
+
ResourceClaimTemplateList(f"{x}", opts, **obj)))]
|
|
2135
|
+
if gvk == "resource.k8s.io/v1beta2/ResourceSlice":
|
|
2136
|
+
# Import locally to avoid name collisions.
|
|
2137
|
+
from pulumi_kubernetes.resource.v1beta2 import ResourceSlice
|
|
2138
|
+
return [identifier.apply(
|
|
2139
|
+
lambda x: (f"resource.k8s.io/v1beta2/ResourceSlice:{x}",
|
|
2140
|
+
ResourceSlice(f"{x}", opts, **obj)))]
|
|
2141
|
+
if gvk == "resource.k8s.io/v1beta2/ResourceSliceList":
|
|
2142
|
+
# Import locally to avoid name collisions.
|
|
2143
|
+
from pulumi_kubernetes.resource.v1beta2 import ResourceSliceList
|
|
2144
|
+
return [identifier.apply(
|
|
2145
|
+
lambda x: (f"resource.k8s.io/v1beta2/ResourceSliceList:{x}",
|
|
2146
|
+
ResourceSliceList(f"{x}", opts, **obj)))]
|
|
2039
2147
|
if gvk == "scheduling.k8s.io/v1/PriorityClass":
|
|
2040
2148
|
# Import locally to avoid name collisions.
|
|
2041
2149
|
from pulumi_kubernetes.scheduling.v1 import PriorityClass
|