pulumi-kubernetes 4.19.0a1733851946__py3-none-any.whl → 4.19.0a1733970382__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 (87) hide show
  1. pulumi_kubernetes/__init__.py +36 -0
  2. pulumi_kubernetes/admissionregistration/v1/_inputs.py +6 -6
  3. pulumi_kubernetes/admissionregistration/v1/outputs.py +4 -4
  4. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +214 -0
  5. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +222 -0
  6. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +215 -0
  7. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +234 -0
  8. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +215 -0
  9. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +226 -0
  10. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +0 -8
  11. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +0 -8
  12. pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +6 -0
  13. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +1818 -315
  14. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1365 -246
  15. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +6 -6
  16. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +4 -4
  17. pulumi_kubernetes/apiextensions/v1/_inputs.py +6 -6
  18. pulumi_kubernetes/apiextensions/v1/outputs.py +4 -4
  19. pulumi_kubernetes/apps/v1/_inputs.py +6 -6
  20. pulumi_kubernetes/apps/v1/outputs.py +4 -4
  21. pulumi_kubernetes/autoscaling/v2/_inputs.py +15 -15
  22. pulumi_kubernetes/autoscaling/v2/outputs.py +12 -12
  23. pulumi_kubernetes/batch/v1/_inputs.py +6 -6
  24. pulumi_kubernetes/batch/v1/outputs.py +4 -4
  25. pulumi_kubernetes/coordination/__init__.py +3 -0
  26. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +2 -0
  27. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +2 -0
  28. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +216 -0
  29. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +215 -0
  30. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +228 -0
  31. pulumi_kubernetes/coordination/v1alpha2/__init__.py +12 -0
  32. pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
  33. pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
  34. pulumi_kubernetes/core/v1/Binding.py +2 -2
  35. pulumi_kubernetes/core/v1/BindingPatch.py +2 -2
  36. pulumi_kubernetes/core/v1/ServiceAccount.py +4 -4
  37. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +4 -4
  38. pulumi_kubernetes/core/v1/_inputs.py +564 -313
  39. pulumi_kubernetes/core/v1/outputs.py +418 -230
  40. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +12 -12
  41. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +8 -8
  42. pulumi_kubernetes/pulumi-plugin.json +1 -1
  43. pulumi_kubernetes/resource/__init__.py +3 -0
  44. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
  45. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
  46. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
  47. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
  48. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
  49. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
  50. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
  51. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
  52. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +1 -1
  53. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +1 -1
  54. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +2 -0
  55. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +2 -0
  56. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +1 -1
  57. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +1 -1
  58. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +1 -1
  59. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +1 -1
  60. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +8 -8
  61. pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +245 -0
  62. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +1 -1
  63. pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -0
  64. pulumi_kubernetes/resource/v1alpha3/_inputs.py +455 -7
  65. pulumi_kubernetes/resource/v1alpha3/outputs.py +592 -5
  66. pulumi_kubernetes/resource/v1beta1/DeviceClass.py +237 -0
  67. pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +215 -0
  68. pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +248 -0
  69. pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +232 -0
  70. pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +216 -0
  71. pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +243 -0
  72. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +229 -0
  73. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +215 -0
  74. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +240 -0
  75. pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +246 -0
  76. pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +216 -0
  77. pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +257 -0
  78. pulumi_kubernetes/resource/v1beta1/__init__.py +21 -0
  79. pulumi_kubernetes/resource/v1beta1/_inputs.py +3867 -0
  80. pulumi_kubernetes/resource/v1beta1/outputs.py +3334 -0
  81. pulumi_kubernetes/storage/v1/_inputs.py +4 -4
  82. pulumi_kubernetes/storage/v1/outputs.py +4 -4
  83. pulumi_kubernetes/yaml/yaml.py +90 -0
  84. {pulumi_kubernetes-4.19.0a1733851946.dist-info → pulumi_kubernetes-4.19.0a1733970382.dist-info}/METADATA +1 -1
  85. {pulumi_kubernetes-4.19.0a1733851946.dist-info → pulumi_kubernetes-4.19.0a1733970382.dist-info}/RECORD +87 -59
  86. {pulumi_kubernetes-4.19.0a1733851946.dist-info → pulumi_kubernetes-4.19.0a1733970382.dist-info}/WHEEL +0 -0
  87. {pulumi_kubernetes-4.19.0a1733851946.dist-info → pulumi_kubernetes-4.19.0a1733970382.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,313 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumigen. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from ... import _utilities
16
+ from . import outputs
17
+ from ... import meta as _meta
18
+
19
+ __all__ = [
20
+ 'LeaseCandidate',
21
+ 'LeaseCandidateSpec',
22
+ 'LeaseCandidateSpecPatch',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class LeaseCandidate(dict):
27
+ """
28
+ LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
29
+ """
30
+ @staticmethod
31
+ def __key_warning(key: str):
32
+ suggest = None
33
+ if key == "apiVersion":
34
+ suggest = "api_version"
35
+
36
+ if suggest:
37
+ pulumi.log.warn(f"Key '{key}' not found in LeaseCandidate. Access the value via the '{suggest}' property getter instead.")
38
+
39
+ def __getitem__(self, key: str) -> Any:
40
+ LeaseCandidate.__key_warning(key)
41
+ return super().__getitem__(key)
42
+
43
+ def get(self, key: str, default = None) -> Any:
44
+ LeaseCandidate.__key_warning(key)
45
+ return super().get(key, default)
46
+
47
+ def __init__(__self__, *,
48
+ api_version: Optional[str] = None,
49
+ kind: Optional[str] = None,
50
+ metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
51
+ spec: Optional['outputs.LeaseCandidateSpec'] = None):
52
+ """
53
+ LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
54
+ :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
55
+ :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
56
+ :param '_meta.v1.ObjectMetaArgs' metadata: More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
57
+ :param 'LeaseCandidateSpecArgs' spec: spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
58
+ """
59
+ if api_version is not None:
60
+ pulumi.set(__self__, "api_version", 'coordination.k8s.io/v1alpha2')
61
+ if kind is not None:
62
+ pulumi.set(__self__, "kind", 'LeaseCandidate')
63
+ if metadata is not None:
64
+ pulumi.set(__self__, "metadata", metadata)
65
+ if spec is not None:
66
+ pulumi.set(__self__, "spec", spec)
67
+
68
+ @property
69
+ @pulumi.getter(name="apiVersion")
70
+ def api_version(self) -> Optional[str]:
71
+ """
72
+ 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
73
+ """
74
+ return pulumi.get(self, "api_version")
75
+
76
+ @property
77
+ @pulumi.getter
78
+ def kind(self) -> Optional[str]:
79
+ """
80
+ 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
81
+ """
82
+ return pulumi.get(self, "kind")
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
87
+ """
88
+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
89
+ """
90
+ return pulumi.get(self, "metadata")
91
+
92
+ @property
93
+ @pulumi.getter
94
+ def spec(self) -> Optional['outputs.LeaseCandidateSpec']:
95
+ """
96
+ spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
97
+ """
98
+ return pulumi.get(self, "spec")
99
+
100
+
101
+ @pulumi.output_type
102
+ class LeaseCandidateSpec(dict):
103
+ """
104
+ LeaseCandidateSpec is a specification of a Lease.
105
+ """
106
+ @staticmethod
107
+ def __key_warning(key: str):
108
+ suggest = None
109
+ if key == "binaryVersion":
110
+ suggest = "binary_version"
111
+ elif key == "leaseName":
112
+ suggest = "lease_name"
113
+ elif key == "emulationVersion":
114
+ suggest = "emulation_version"
115
+ elif key == "pingTime":
116
+ suggest = "ping_time"
117
+ elif key == "renewTime":
118
+ suggest = "renew_time"
119
+
120
+ if suggest:
121
+ pulumi.log.warn(f"Key '{key}' not found in LeaseCandidateSpec. Access the value via the '{suggest}' property getter instead.")
122
+
123
+ def __getitem__(self, key: str) -> Any:
124
+ LeaseCandidateSpec.__key_warning(key)
125
+ return super().__getitem__(key)
126
+
127
+ def get(self, key: str, default = None) -> Any:
128
+ LeaseCandidateSpec.__key_warning(key)
129
+ return super().get(key, default)
130
+
131
+ def __init__(__self__, *,
132
+ binary_version: str,
133
+ lease_name: str,
134
+ strategy: str,
135
+ emulation_version: Optional[str] = None,
136
+ ping_time: Optional[str] = None,
137
+ renew_time: Optional[str] = None):
138
+ """
139
+ LeaseCandidateSpec is a specification of a Lease.
140
+ :param str binary_version: BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
141
+ :param str lease_name: LeaseName is the name of the lease for which this candidate is contending. This field is immutable.
142
+ :param str strategy: Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
143
+ :param str emulation_version: EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
144
+ :param str ping_time: PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
145
+ :param str renew_time: RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
146
+ """
147
+ pulumi.set(__self__, "binary_version", binary_version)
148
+ pulumi.set(__self__, "lease_name", lease_name)
149
+ pulumi.set(__self__, "strategy", strategy)
150
+ if emulation_version is not None:
151
+ pulumi.set(__self__, "emulation_version", emulation_version)
152
+ if ping_time is not None:
153
+ pulumi.set(__self__, "ping_time", ping_time)
154
+ if renew_time is not None:
155
+ pulumi.set(__self__, "renew_time", renew_time)
156
+
157
+ @property
158
+ @pulumi.getter(name="binaryVersion")
159
+ def binary_version(self) -> str:
160
+ """
161
+ BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
162
+ """
163
+ return pulumi.get(self, "binary_version")
164
+
165
+ @property
166
+ @pulumi.getter(name="leaseName")
167
+ def lease_name(self) -> str:
168
+ """
169
+ LeaseName is the name of the lease for which this candidate is contending. This field is immutable.
170
+ """
171
+ return pulumi.get(self, "lease_name")
172
+
173
+ @property
174
+ @pulumi.getter
175
+ def strategy(self) -> str:
176
+ """
177
+ Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
178
+ """
179
+ return pulumi.get(self, "strategy")
180
+
181
+ @property
182
+ @pulumi.getter(name="emulationVersion")
183
+ def emulation_version(self) -> Optional[str]:
184
+ """
185
+ EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
186
+ """
187
+ return pulumi.get(self, "emulation_version")
188
+
189
+ @property
190
+ @pulumi.getter(name="pingTime")
191
+ def ping_time(self) -> Optional[str]:
192
+ """
193
+ PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
194
+ """
195
+ return pulumi.get(self, "ping_time")
196
+
197
+ @property
198
+ @pulumi.getter(name="renewTime")
199
+ def renew_time(self) -> Optional[str]:
200
+ """
201
+ RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
202
+ """
203
+ return pulumi.get(self, "renew_time")
204
+
205
+
206
+ @pulumi.output_type
207
+ class LeaseCandidateSpecPatch(dict):
208
+ """
209
+ LeaseCandidateSpec is a specification of a Lease.
210
+ """
211
+ @staticmethod
212
+ def __key_warning(key: str):
213
+ suggest = None
214
+ if key == "binaryVersion":
215
+ suggest = "binary_version"
216
+ elif key == "emulationVersion":
217
+ suggest = "emulation_version"
218
+ elif key == "leaseName":
219
+ suggest = "lease_name"
220
+ elif key == "pingTime":
221
+ suggest = "ping_time"
222
+ elif key == "renewTime":
223
+ suggest = "renew_time"
224
+
225
+ if suggest:
226
+ pulumi.log.warn(f"Key '{key}' not found in LeaseCandidateSpecPatch. Access the value via the '{suggest}' property getter instead.")
227
+
228
+ def __getitem__(self, key: str) -> Any:
229
+ LeaseCandidateSpecPatch.__key_warning(key)
230
+ return super().__getitem__(key)
231
+
232
+ def get(self, key: str, default = None) -> Any:
233
+ LeaseCandidateSpecPatch.__key_warning(key)
234
+ return super().get(key, default)
235
+
236
+ def __init__(__self__, *,
237
+ binary_version: Optional[str] = None,
238
+ emulation_version: Optional[str] = None,
239
+ lease_name: Optional[str] = None,
240
+ ping_time: Optional[str] = None,
241
+ renew_time: Optional[str] = None,
242
+ strategy: Optional[str] = None):
243
+ """
244
+ LeaseCandidateSpec is a specification of a Lease.
245
+ :param str binary_version: BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
246
+ :param str emulation_version: EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
247
+ :param str lease_name: LeaseName is the name of the lease for which this candidate is contending. This field is immutable.
248
+ :param str ping_time: PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
249
+ :param str renew_time: RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
250
+ :param str strategy: Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
251
+ """
252
+ if binary_version is not None:
253
+ pulumi.set(__self__, "binary_version", binary_version)
254
+ if emulation_version is not None:
255
+ pulumi.set(__self__, "emulation_version", emulation_version)
256
+ if lease_name is not None:
257
+ pulumi.set(__self__, "lease_name", lease_name)
258
+ if ping_time is not None:
259
+ pulumi.set(__self__, "ping_time", ping_time)
260
+ if renew_time is not None:
261
+ pulumi.set(__self__, "renew_time", renew_time)
262
+ if strategy is not None:
263
+ pulumi.set(__self__, "strategy", strategy)
264
+
265
+ @property
266
+ @pulumi.getter(name="binaryVersion")
267
+ def binary_version(self) -> Optional[str]:
268
+ """
269
+ BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
270
+ """
271
+ return pulumi.get(self, "binary_version")
272
+
273
+ @property
274
+ @pulumi.getter(name="emulationVersion")
275
+ def emulation_version(self) -> Optional[str]:
276
+ """
277
+ EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
278
+ """
279
+ return pulumi.get(self, "emulation_version")
280
+
281
+ @property
282
+ @pulumi.getter(name="leaseName")
283
+ def lease_name(self) -> Optional[str]:
284
+ """
285
+ LeaseName is the name of the lease for which this candidate is contending. This field is immutable.
286
+ """
287
+ return pulumi.get(self, "lease_name")
288
+
289
+ @property
290
+ @pulumi.getter(name="pingTime")
291
+ def ping_time(self) -> Optional[str]:
292
+ """
293
+ PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
294
+ """
295
+ return pulumi.get(self, "ping_time")
296
+
297
+ @property
298
+ @pulumi.getter(name="renewTime")
299
+ def renew_time(self) -> Optional[str]:
300
+ """
301
+ RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
302
+ """
303
+ return pulumi.get(self, "renew_time")
304
+
305
+ @property
306
+ @pulumi.getter
307
+ def strategy(self) -> Optional[str]:
308
+ """
309
+ Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
310
+ """
311
+ return pulumi.get(self, "strategy")
312
+
313
+
@@ -101,7 +101,7 @@ class Binding(pulumi.CustomResource):
101
101
  target: Optional[pulumi.Input[Union['ObjectReferenceArgs', 'ObjectReferenceArgsDict']]] = None,
102
102
  __props__=None):
103
103
  """
104
- Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.
104
+ Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
105
105
 
106
106
  :param str resource_name: The name of the resource.
107
107
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -117,7 +117,7 @@ class Binding(pulumi.CustomResource):
117
117
  args: BindingArgs,
118
118
  opts: Optional[pulumi.ResourceOptions] = None):
119
119
  """
120
- Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.
120
+ Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
121
121
 
122
122
  :param str resource_name: The name of the resource.
123
123
  :param BindingArgs args: The arguments to use to populate this resource's properties.
@@ -108,7 +108,7 @@ class BindingPatch(pulumi.CustomResource):
108
108
  Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
109
109
  [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
110
110
  additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
111
- Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.
111
+ Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
112
112
 
113
113
  :param str resource_name: The name of the resource.
114
114
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -130,7 +130,7 @@ class BindingPatch(pulumi.CustomResource):
130
130
  Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
131
131
  [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
132
132
  additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
133
- Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.
133
+ Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
134
134
 
135
135
  :param str resource_name: The name of the resource.
136
136
  :param BindingPatchArgs args: The arguments to use to populate this resource's properties.
@@ -35,7 +35,7 @@ class ServiceAccountInitArgs:
35
35
  :param pulumi.Input[Sequence[pulumi.Input['LocalObjectReferenceArgs']]] image_pull_secrets: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
36
36
  :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
37
37
  :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
38
- :param pulumi.Input[Sequence[pulumi.Input['ObjectReferenceArgs']]] secrets: Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
38
+ :param pulumi.Input[Sequence[pulumi.Input['ObjectReferenceArgs']]] secrets: Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
39
39
  """
40
40
  if api_version is not None:
41
41
  pulumi.set(__self__, "api_version", 'v1')
@@ -114,7 +114,7 @@ class ServiceAccountInitArgs:
114
114
  @pulumi.getter
115
115
  def secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObjectReferenceArgs']]]]:
116
116
  """
117
- Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
117
+ Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
118
118
  """
119
119
  return pulumi.get(self, "secrets")
120
120
 
@@ -145,7 +145,7 @@ class ServiceAccount(pulumi.CustomResource):
145
145
  :param pulumi.Input[Sequence[pulumi.Input[Union['LocalObjectReferenceArgs', 'LocalObjectReferenceArgsDict']]]] image_pull_secrets: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
146
146
  :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
147
147
  :param pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
148
- :param pulumi.Input[Sequence[pulumi.Input[Union['ObjectReferenceArgs', 'ObjectReferenceArgsDict']]]] secrets: Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
148
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ObjectReferenceArgs', 'ObjectReferenceArgsDict']]]] secrets: Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
149
149
  """
150
150
  ...
151
151
  @overload
@@ -266,7 +266,7 @@ class ServiceAccount(pulumi.CustomResource):
266
266
  @pulumi.getter
267
267
  def secrets(self) -> pulumi.Output[Sequence['outputs.ObjectReference']]:
268
268
  """
269
- Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
269
+ Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
270
270
  """
271
271
  return pulumi.get(self, "secrets")
272
272
 
@@ -35,7 +35,7 @@ class ServiceAccountPatchArgs:
35
35
  :param pulumi.Input[Sequence[pulumi.Input['LocalObjectReferencePatchArgs']]] image_pull_secrets: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
36
36
  :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
37
37
  :param pulumi.Input['_meta.v1.ObjectMetaPatchArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
38
- :param pulumi.Input[Sequence[pulumi.Input['ObjectReferencePatchArgs']]] secrets: Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
38
+ :param pulumi.Input[Sequence[pulumi.Input['ObjectReferencePatchArgs']]] secrets: Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
39
39
  """
40
40
  if api_version is not None:
41
41
  pulumi.set(__self__, "api_version", 'v1')
@@ -114,7 +114,7 @@ class ServiceAccountPatchArgs:
114
114
  @pulumi.getter
115
115
  def secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObjectReferencePatchArgs']]]]:
116
116
  """
117
- Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
117
+ Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
118
118
  """
119
119
  return pulumi.get(self, "secrets")
120
120
 
@@ -151,7 +151,7 @@ class ServiceAccountPatch(pulumi.CustomResource):
151
151
  :param pulumi.Input[Sequence[pulumi.Input[Union['LocalObjectReferencePatchArgs', 'LocalObjectReferencePatchArgsDict']]]] image_pull_secrets: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
152
152
  :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
153
153
  :param pulumi.Input[Union['_meta.v1.ObjectMetaPatchArgs', '_meta.v1.ObjectMetaPatchArgsDict']] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
154
- :param pulumi.Input[Sequence[pulumi.Input[Union['ObjectReferencePatchArgs', 'ObjectReferencePatchArgsDict']]]] secrets: Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
154
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ObjectReferencePatchArgs', 'ObjectReferencePatchArgsDict']]]] secrets: Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
155
155
  """
156
156
  ...
157
157
  @overload
@@ -278,7 +278,7 @@ class ServiceAccountPatch(pulumi.CustomResource):
278
278
  @pulumi.getter
279
279
  def secrets(self) -> pulumi.Output[Optional[Sequence['outputs.ObjectReferencePatch']]]:
280
280
  """
281
- Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
281
+ Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
282
282
  """
283
283
  return pulumi.get(self, "secrets")
284
284