pulumi-kubernetes 4.19.0__py3-none-any.whl → 4.19.0a1726165047__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 (92) hide show
  1. pulumi_kubernetes/__init__.py +0 -36
  2. pulumi_kubernetes/_utilities.py +1 -1
  3. pulumi_kubernetes/admissionregistration/v1/_inputs.py +6 -6
  4. pulumi_kubernetes/admissionregistration/v1/outputs.py +4 -4
  5. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +8 -0
  6. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +8 -0
  7. pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +0 -6
  8. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +321 -1824
  9. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +248 -1367
  10. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +6 -6
  11. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +4 -4
  12. pulumi_kubernetes/apiextensions/v1/_inputs.py +6 -6
  13. pulumi_kubernetes/apiextensions/v1/outputs.py +4 -4
  14. pulumi_kubernetes/apps/v1/_inputs.py +6 -6
  15. pulumi_kubernetes/apps/v1/outputs.py +4 -4
  16. pulumi_kubernetes/autoscaling/v2/_inputs.py +15 -15
  17. pulumi_kubernetes/autoscaling/v2/outputs.py +12 -12
  18. pulumi_kubernetes/batch/v1/_inputs.py +6 -6
  19. pulumi_kubernetes/batch/v1/outputs.py +4 -4
  20. pulumi_kubernetes/coordination/__init__.py +0 -3
  21. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +0 -2
  22. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +0 -2
  23. pulumi_kubernetes/core/v1/Binding.py +2 -2
  24. pulumi_kubernetes/core/v1/BindingPatch.py +2 -2
  25. pulumi_kubernetes/core/v1/ServiceAccount.py +4 -4
  26. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +4 -4
  27. pulumi_kubernetes/core/v1/_inputs.py +313 -564
  28. pulumi_kubernetes/core/v1/outputs.py +230 -418
  29. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +12 -12
  30. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +8 -8
  31. pulumi_kubernetes/helm/v3/_inputs.py +3 -3
  32. pulumi_kubernetes/helm/v3/outputs.py +2 -2
  33. pulumi_kubernetes/helm/v4/Chart.py +0 -6
  34. pulumi_kubernetes/helm/v4/_inputs.py +3 -3
  35. pulumi_kubernetes/pulumi-plugin.json +1 -1
  36. pulumi_kubernetes/resource/__init__.py +0 -3
  37. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
  38. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
  39. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
  40. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
  41. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
  42. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
  43. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
  44. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
  45. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +1 -1
  46. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +1 -1
  47. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +0 -2
  48. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +0 -2
  49. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +1 -1
  50. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +1 -1
  51. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +1 -1
  52. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +1 -1
  53. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +8 -8
  54. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +1 -1
  55. pulumi_kubernetes/resource/v1alpha3/__init__.py +0 -1
  56. pulumi_kubernetes/resource/v1alpha3/_inputs.py +7 -455
  57. pulumi_kubernetes/resource/v1alpha3/outputs.py +5 -592
  58. pulumi_kubernetes/storage/v1/_inputs.py +4 -4
  59. pulumi_kubernetes/storage/v1/outputs.py +4 -4
  60. pulumi_kubernetes/yaml/yaml.py +0 -90
  61. {pulumi_kubernetes-4.19.0.dist-info → pulumi_kubernetes-4.19.0a1726165047.dist-info}/METADATA +6 -6
  62. {pulumi_kubernetes-4.19.0.dist-info → pulumi_kubernetes-4.19.0a1726165047.dist-info}/RECORD +64 -92
  63. {pulumi_kubernetes-4.19.0.dist-info → pulumi_kubernetes-4.19.0a1726165047.dist-info}/WHEEL +1 -1
  64. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +0 -214
  65. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +0 -222
  66. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +0 -215
  67. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +0 -234
  68. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +0 -215
  69. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +0 -226
  70. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +0 -216
  71. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +0 -215
  72. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +0 -228
  73. pulumi_kubernetes/coordination/v1alpha2/__init__.py +0 -12
  74. pulumi_kubernetes/coordination/v1alpha2/_inputs.py +0 -393
  75. pulumi_kubernetes/coordination/v1alpha2/outputs.py +0 -313
  76. pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +0 -245
  77. pulumi_kubernetes/resource/v1beta1/DeviceClass.py +0 -237
  78. pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +0 -215
  79. pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +0 -248
  80. pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +0 -232
  81. pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +0 -216
  82. pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +0 -243
  83. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +0 -229
  84. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +0 -215
  85. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +0 -240
  86. pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +0 -246
  87. pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +0 -216
  88. pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +0 -257
  89. pulumi_kubernetes/resource/v1beta1/__init__.py +0 -21
  90. pulumi_kubernetes/resource/v1beta1/_inputs.py +0 -3867
  91. pulumi_kubernetes/resource/v1beta1/outputs.py +0 -3334
  92. {pulumi_kubernetes-4.19.0.dist-info → pulumi_kubernetes-4.19.0a1726165047.dist-info}/top_level.txt +0 -0
@@ -1644,8 +1644,8 @@ class MetricSpec(dict):
1644
1644
  resource: Optional['outputs.ResourceMetricSource'] = None):
1645
1645
  """
1646
1646
  MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1647
- :param str type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1648
- :param 'ContainerResourceMetricSourceArgs' container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1647
+ :param str type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1648
+ :param 'ContainerResourceMetricSourceArgs' container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
1649
1649
  :param 'ExternalMetricSourceArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
1650
1650
  :param 'ObjectMetricSourceArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1651
1651
  :param 'PodsMetricSourceArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
@@ -1667,7 +1667,7 @@ class MetricSpec(dict):
1667
1667
  @pulumi.getter
1668
1668
  def type(self) -> str:
1669
1669
  """
1670
- type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1670
+ type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1671
1671
  """
1672
1672
  return pulumi.get(self, "type")
1673
1673
 
@@ -1675,7 +1675,7 @@ class MetricSpec(dict):
1675
1675
  @pulumi.getter(name="containerResource")
1676
1676
  def container_resource(self) -> Optional['outputs.ContainerResourceMetricSource']:
1677
1677
  """
1678
- containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1678
+ containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
1679
1679
  """
1680
1680
  return pulumi.get(self, "container_resource")
1681
1681
 
@@ -1743,12 +1743,12 @@ class MetricSpecPatch(dict):
1743
1743
  type: Optional[str] = None):
1744
1744
  """
1745
1745
  MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1746
- :param 'ContainerResourceMetricSourcePatchArgs' container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1746
+ :param 'ContainerResourceMetricSourcePatchArgs' container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
1747
1747
  :param 'ExternalMetricSourcePatchArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
1748
1748
  :param 'ObjectMetricSourcePatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1749
1749
  :param 'PodsMetricSourcePatchArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
1750
1750
  :param 'ResourceMetricSourcePatchArgs' resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1751
- :param str type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1751
+ :param str type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1752
1752
  """
1753
1753
  if container_resource is not None:
1754
1754
  pulumi.set(__self__, "container_resource", container_resource)
@@ -1767,7 +1767,7 @@ class MetricSpecPatch(dict):
1767
1767
  @pulumi.getter(name="containerResource")
1768
1768
  def container_resource(self) -> Optional['outputs.ContainerResourceMetricSourcePatch']:
1769
1769
  """
1770
- containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1770
+ containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
1771
1771
  """
1772
1772
  return pulumi.get(self, "container_resource")
1773
1773
 
@@ -1807,7 +1807,7 @@ class MetricSpecPatch(dict):
1807
1807
  @pulumi.getter
1808
1808
  def type(self) -> Optional[str]:
1809
1809
  """
1810
- type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1810
+ type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1811
1811
  """
1812
1812
  return pulumi.get(self, "type")
1813
1813
 
@@ -1843,7 +1843,7 @@ class MetricStatus(dict):
1843
1843
  resource: Optional['outputs.ResourceMetricStatus'] = None):
1844
1844
  """
1845
1845
  MetricStatus describes the last-read state of a single metric.
1846
- :param str type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
1846
+ :param str type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1847
1847
  :param 'ContainerResourceMetricStatusArgs' container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1848
1848
  :param 'ExternalMetricStatusArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
1849
1849
  :param 'ObjectMetricStatusArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
@@ -1866,7 +1866,7 @@ class MetricStatus(dict):
1866
1866
  @pulumi.getter
1867
1867
  def type(self) -> str:
1868
1868
  """
1869
- type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
1869
+ type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1870
1870
  """
1871
1871
  return pulumi.get(self, "type")
1872
1872
 
@@ -1947,7 +1947,7 @@ class MetricStatusPatch(dict):
1947
1947
  :param 'ObjectMetricStatusPatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1948
1948
  :param 'PodsMetricStatusPatchArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
1949
1949
  :param 'ResourceMetricStatusPatchArgs' resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1950
- :param str type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
1950
+ :param str type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1951
1951
  """
1952
1952
  if container_resource is not None:
1953
1953
  pulumi.set(__self__, "container_resource", container_resource)
@@ -2006,7 +2006,7 @@ class MetricStatusPatch(dict):
2006
2006
  @pulumi.getter
2007
2007
  def type(self) -> Optional[str]:
2008
2008
  """
2009
- type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
2009
+ type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
2010
2010
  """
2011
2011
  return pulumi.get(self, "type")
2012
2012
 
@@ -792,7 +792,7 @@ if not MYPY:
792
792
  """
793
793
  ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
794
794
 
795
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
795
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
796
796
  """
797
797
  manual_selector: NotRequired[pulumi.Input[bool]]
798
798
  """
@@ -878,7 +878,7 @@ class JobSpecPatchArgs:
878
878
  :param pulumi.Input[int] completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
879
879
  :param pulumi.Input[str] managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
880
880
 
881
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
881
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
882
882
  :param pulumi.Input[bool] manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
883
883
  :param pulumi.Input[int] max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
884
884
  :param pulumi.Input[int] parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
@@ -1002,7 +1002,7 @@ class JobSpecPatchArgs:
1002
1002
  """
1003
1003
  ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1004
1004
 
1005
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1005
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1006
1006
  """
1007
1007
  return pulumi.get(self, "managed_by")
1008
1008
 
@@ -1177,7 +1177,7 @@ if not MYPY:
1177
1177
  """
1178
1178
  ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1179
1179
 
1180
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1180
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1181
1181
  """
1182
1182
  manual_selector: NotRequired[pulumi.Input[bool]]
1183
1183
  """
@@ -1260,7 +1260,7 @@ class JobSpecArgs:
1260
1260
  :param pulumi.Input[int] completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1261
1261
  :param pulumi.Input[str] managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1262
1262
 
1263
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1263
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1264
1264
  :param pulumi.Input[bool] manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
1265
1265
  :param pulumi.Input[int] max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1266
1266
  :param pulumi.Input[int] parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
@@ -1394,7 +1394,7 @@ class JobSpecArgs:
1394
1394
  """
1395
1395
  ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1396
1396
 
1397
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1397
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1398
1398
  """
1399
1399
  return pulumi.get(self, "managed_by")
1400
1400
 
@@ -947,7 +947,7 @@ class JobSpec(dict):
947
947
  :param int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
948
948
  :param str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
949
949
 
950
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
950
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
951
951
  :param bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
952
952
  :param int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
953
953
  :param int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
@@ -1057,7 +1057,7 @@ class JobSpec(dict):
1057
1057
  """
1058
1058
  ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1059
1059
 
1060
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1060
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1061
1061
  """
1062
1062
  return pulumi.get(self, "managed_by")
1063
1063
 
@@ -1215,7 +1215,7 @@ class JobSpecPatch(dict):
1215
1215
  :param int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1216
1216
  :param str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1217
1217
 
1218
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1218
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1219
1219
  :param bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
1220
1220
  :param int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1221
1221
  :param int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
@@ -1319,7 +1319,7 @@ class JobSpecPatch(dict):
1319
1319
  """
1320
1320
  ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1321
1321
 
1322
- This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1322
+ This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1323
1323
  """
1324
1324
  return pulumi.get(self, "managed_by")
1325
1325
 
@@ -11,13 +11,10 @@ if typing.TYPE_CHECKING:
11
11
  v1 = __v1
12
12
  import pulumi_kubernetes.coordination.v1alpha1 as __v1alpha1
13
13
  v1alpha1 = __v1alpha1
14
- import pulumi_kubernetes.coordination.v1alpha2 as __v1alpha2
15
- v1alpha2 = __v1alpha2
16
14
  import pulumi_kubernetes.coordination.v1beta1 as __v1beta1
17
15
  v1beta1 = __v1beta1
18
16
  else:
19
17
  v1 = _utilities.lazy_import('pulumi_kubernetes.coordination.v1')
20
18
  v1alpha1 = _utilities.lazy_import('pulumi_kubernetes.coordination.v1alpha1')
21
- v1alpha2 = _utilities.lazy_import('pulumi_kubernetes.coordination.v1alpha2')
22
19
  v1beta1 = _utilities.lazy_import('pulumi_kubernetes.coordination.v1beta1')
23
20
 
@@ -152,8 +152,6 @@ class LeaseCandidate(pulumi.CustomResource):
152
152
  __props__.__dict__["kind"] = 'LeaseCandidate'
153
153
  __props__.__dict__["metadata"] = metadata
154
154
  __props__.__dict__["spec"] = spec
155
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:coordination.k8s.io/v1alpha2:LeaseCandidate")])
156
- opts = pulumi.ResourceOptions.merge(opts, alias_opts)
157
155
  super(LeaseCandidate, __self__).__init__(
158
156
  'kubernetes:coordination.k8s.io/v1alpha1:LeaseCandidate',
159
157
  resource_name,
@@ -164,8 +164,6 @@ class LeaseCandidatePatch(pulumi.CustomResource):
164
164
  __props__.__dict__["kind"] = 'LeaseCandidate'
165
165
  __props__.__dict__["metadata"] = metadata
166
166
  __props__.__dict__["spec"] = spec
167
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:coordination.k8s.io/v1alpha2:LeaseCandidatePatch")])
168
- opts = pulumi.ResourceOptions.merge(opts, alias_opts)
169
167
  super(LeaseCandidatePatch, __self__).__init__(
170
168
  'kubernetes:coordination.k8s.io/v1alpha1:LeaseCandidatePatch',
171
169
  resource_name,
@@ -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.
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.
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.
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.
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.
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.
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.
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.
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". 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
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
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". 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
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
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". 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
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
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". 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
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
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". 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
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
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". 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
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
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". 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
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
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". 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
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
282
282
  """
283
283
  return pulumi.get(self, "secrets")
284
284