pulumi-kubernetes 4.10.0a1710355461__py3-none-any.whl → 4.20.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +123 -3
- pulumi_kubernetes/_inputs.py +63 -6
- pulumi_kubernetes/_utilities.py +41 -5
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +226 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +224 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +236 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +238 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/__init__.py +6 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +4571 -939
- pulumi_kubernetes/admissionregistration/v1/outputs.py +2880 -470
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +214 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +222 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +234 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +226 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +12 -7
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +12 -15
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +12 -15
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +12 -7
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +6 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2514 -141
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1370 -246
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +1522 -42
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +9 -4
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +11 -6
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +11 -6
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +11 -6
- pulumi_kubernetes/apiextensions/v1/_inputs.py +1175 -12
- pulumi_kubernetes/apiextensions/v1/outputs.py +122 -8
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +10 -5
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +10 -5
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +10 -5
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +903 -6
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +11 -6
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +11 -6
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +11 -6
- pulumi_kubernetes/apiregistration/v1/_inputs.py +194 -0
- pulumi_kubernetes/apiregistration/v1/outputs.py +5 -0
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +10 -5
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +9 -4
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +10 -5
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +191 -0
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +8 -3
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +11 -6
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +8 -3
- pulumi_kubernetes/apps/v1/DaemonSet.py +11 -6
- pulumi_kubernetes/apps/v1/DaemonSetList.py +11 -6
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1/Deployment.py +11 -6
- pulumi_kubernetes/apps/v1/DeploymentList.py +11 -6
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +11 -6
- pulumi_kubernetes/apps/v1/ReplicaSet.py +11 -6
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +11 -6
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1/StatefulSet.py +11 -6
- pulumi_kubernetes/apps/v1/StatefulSetList.py +11 -6
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1/_inputs.py +1057 -8
- pulumi_kubernetes/apps/v1/outputs.py +13 -8
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +8 -3
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +11 -6
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +8 -3
- pulumi_kubernetes/apps/v1beta1/Deployment.py +11 -6
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +11 -6
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +10 -5
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +9 -4
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +10 -5
- pulumi_kubernetes/apps/v1beta1/_inputs.py +603 -0
- pulumi_kubernetes/apps/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +8 -3
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +8 -3
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta2/Deployment.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +10 -5
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +9 -4
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +10 -5
- pulumi_kubernetes/apps/v1beta2/_inputs.py +935 -0
- pulumi_kubernetes/apps/v1beta2/outputs.py +5 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +10 -5
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +10 -5
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +10 -5
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +281 -0
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v1/_inputs.py +157 -0
- pulumi_kubernetes/autoscaling/v1/outputs.py +5 -0
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v2/_inputs.py +815 -10
- pulumi_kubernetes/autoscaling/v2/outputs.py +17 -12
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +652 -0
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +5 -0
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +796 -0
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +5 -0
- pulumi_kubernetes/batch/v1/CronJob.py +11 -6
- pulumi_kubernetes/batch/v1/CronJobList.py +11 -6
- pulumi_kubernetes/batch/v1/CronJobPatch.py +11 -6
- pulumi_kubernetes/batch/v1/Job.py +11 -6
- pulumi_kubernetes/batch/v1/JobList.py +11 -6
- pulumi_kubernetes/batch/v1/JobPatch.py +11 -6
- pulumi_kubernetes/batch/v1/_inputs.py +1070 -85
- pulumi_kubernetes/batch/v1/outputs.py +298 -40
- pulumi_kubernetes/batch/v1beta1/CronJob.py +11 -6
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +11 -6
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +11 -6
- pulumi_kubernetes/batch/v1beta1/_inputs.py +161 -0
- pulumi_kubernetes/batch/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +11 -6
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +11 -6
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +11 -6
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +161 -0
- pulumi_kubernetes/batch/v2alpha1/outputs.py +5 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +10 -5
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +10 -5
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +10 -5
- pulumi_kubernetes/certificates/v1/_inputs.py +290 -0
- pulumi_kubernetes/certificates/v1/outputs.py +5 -0
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +11 -6
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +11 -6
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +11 -6
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +94 -0
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +10 -5
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +9 -4
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +10 -5
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +165 -0
- pulumi_kubernetes/certificates/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/coordination/__init__.py +6 -0
- pulumi_kubernetes/coordination/v1/Lease.py +11 -6
- pulumi_kubernetes/coordination/v1/LeaseList.py +11 -6
- pulumi_kubernetes/coordination/v1/LeasePatch.py +11 -6
- pulumi_kubernetes/coordination/v1/_inputs.py +180 -10
- pulumi_kubernetes/coordination/v1/outputs.py +67 -10
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +216 -0
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +215 -0
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +228 -0
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +12 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +418 -0
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +334 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +216 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +215 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +228 -0
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +12 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
- pulumi_kubernetes/coordination/v1beta1/Lease.py +11 -6
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +11 -6
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +11 -6
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +90 -0
- pulumi_kubernetes/coordination/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/core/v1/Binding.py +13 -8
- pulumi_kubernetes/core/v1/BindingPatch.py +13 -8
- pulumi_kubernetes/core/v1/ConfigMap.py +8 -3
- pulumi_kubernetes/core/v1/ConfigMapList.py +11 -6
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +8 -3
- pulumi_kubernetes/core/v1/Endpoints.py +11 -6
- pulumi_kubernetes/core/v1/EndpointsList.py +11 -6
- pulumi_kubernetes/core/v1/EndpointsPatch.py +11 -6
- pulumi_kubernetes/core/v1/Event.py +20 -15
- pulumi_kubernetes/core/v1/EventList.py +11 -6
- pulumi_kubernetes/core/v1/EventPatch.py +20 -15
- pulumi_kubernetes/core/v1/LimitRange.py +11 -6
- pulumi_kubernetes/core/v1/LimitRangeList.py +11 -6
- pulumi_kubernetes/core/v1/LimitRangePatch.py +11 -6
- pulumi_kubernetes/core/v1/Namespace.py +11 -6
- pulumi_kubernetes/core/v1/NamespaceList.py +11 -6
- pulumi_kubernetes/core/v1/NamespacePatch.py +11 -6
- pulumi_kubernetes/core/v1/Node.py +11 -6
- pulumi_kubernetes/core/v1/NodeList.py +11 -6
- pulumi_kubernetes/core/v1/NodePatch.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolume.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +11 -6
- pulumi_kubernetes/core/v1/Pod.py +11 -6
- pulumi_kubernetes/core/v1/PodList.py +11 -6
- pulumi_kubernetes/core/v1/PodPatch.py +11 -6
- pulumi_kubernetes/core/v1/PodTemplate.py +11 -6
- pulumi_kubernetes/core/v1/PodTemplateList.py +11 -6
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +11 -6
- pulumi_kubernetes/core/v1/ReplicationController.py +11 -6
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +11 -6
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +11 -6
- pulumi_kubernetes/core/v1/ResourceQuota.py +11 -6
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +11 -6
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +11 -6
- pulumi_kubernetes/core/v1/Secret.py +8 -3
- pulumi_kubernetes/core/v1/SecretList.py +11 -6
- pulumi_kubernetes/core/v1/SecretPatch.py +8 -3
- pulumi_kubernetes/core/v1/Service.py +17 -28
- pulumi_kubernetes/core/v1/ServiceAccount.py +17 -12
- pulumi_kubernetes/core/v1/ServiceAccountList.py +11 -6
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +17 -12
- pulumi_kubernetes/core/v1/ServiceList.py +11 -6
- pulumi_kubernetes/core/v1/ServicePatch.py +17 -28
- pulumi_kubernetes/core/v1/_inputs.py +11760 -756
- pulumi_kubernetes/core/v1/outputs.py +2131 -448
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +14 -9
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +11 -6
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +14 -9
- pulumi_kubernetes/discovery/v1/_inputs.py +284 -0
- pulumi_kubernetes/discovery/v1/outputs.py +5 -0
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +14 -9
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +11 -6
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +14 -9
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +210 -0
- pulumi_kubernetes/discovery/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/events/v1/Event.py +20 -15
- pulumi_kubernetes/events/v1/EventList.py +11 -6
- pulumi_kubernetes/events/v1/EventPatch.py +20 -15
- pulumi_kubernetes/events/v1/_inputs.py +118 -0
- pulumi_kubernetes/events/v1/outputs.py +5 -0
- pulumi_kubernetes/events/v1beta1/Event.py +19 -14
- pulumi_kubernetes/events/v1beta1/EventList.py +11 -6
- pulumi_kubernetes/events/v1beta1/EventPatch.py +19 -14
- pulumi_kubernetes/events/v1beta1/_inputs.py +123 -0
- pulumi_kubernetes/events/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1884 -26
- pulumi_kubernetes/extensions/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +779 -0
- pulumi_kubernetes/flowcontrol/v1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +671 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +671 -0
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +771 -0
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +779 -8
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +13 -8
- pulumi_kubernetes/helm/__init__.py +3 -0
- pulumi_kubernetes/helm/v3/Release.py +8 -3
- pulumi_kubernetes/helm/v3/_inputs.py +42 -2
- pulumi_kubernetes/helm/v3/outputs.py +7 -2
- pulumi_kubernetes/helm/v4/Chart.py +721 -0
- pulumi_kubernetes/helm/v4/__init__.py +9 -0
- pulumi_kubernetes/helm/v4/_inputs.py +216 -0
- pulumi_kubernetes/kustomize/__init__.py +8 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +219 -0
- pulumi_kubernetes/kustomize/v2/__init__.py +8 -0
- pulumi_kubernetes/meta/v1/Status.py +11 -6
- pulumi_kubernetes/meta/v1/StatusPatch.py +11 -6
- pulumi_kubernetes/meta/v1/_inputs.py +596 -0
- pulumi_kubernetes/meta/v1/outputs.py +5 -0
- pulumi_kubernetes/networking/v1/Ingress.py +11 -6
- pulumi_kubernetes/networking/v1/IngressClass.py +11 -6
- pulumi_kubernetes/networking/v1/IngressClassList.py +11 -6
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +11 -6
- pulumi_kubernetes/networking/v1/IngressList.py +11 -6
- pulumi_kubernetes/networking/v1/IngressPatch.py +11 -6
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +11 -6
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +11 -6
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +11 -6
- pulumi_kubernetes/networking/v1/_inputs.py +840 -0
- pulumi_kubernetes/networking/v1/outputs.py +5 -0
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +293 -37
- pulumi_kubernetes/networking/v1alpha1/outputs.py +26 -24
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +216 -0
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +215 -0
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +228 -0
- pulumi_kubernetes/networking/v1beta1/Ingress.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressList.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +11 -6
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +226 -0
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +215 -0
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +238 -0
- pulumi_kubernetes/networking/v1beta1/__init__.py +6 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +984 -11
- pulumi_kubernetes/networking/v1beta1/outputs.py +466 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +14 -9
- pulumi_kubernetes/node/v1/RuntimeClassList.py +11 -6
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +14 -9
- pulumi_kubernetes/node/v1/_inputs.py +101 -0
- pulumi_kubernetes/node/v1/outputs.py +5 -0
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +11 -6
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +11 -6
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +11 -6
- pulumi_kubernetes/node/v1alpha1/_inputs.py +134 -0
- pulumi_kubernetes/node/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +14 -9
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +11 -6
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +14 -9
- pulumi_kubernetes/node/v1beta1/_inputs.py +100 -0
- pulumi_kubernetes/node/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +11 -6
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +11 -6
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +11 -6
- pulumi_kubernetes/policy/v1/_inputs.py +151 -0
- pulumi_kubernetes/policy/v1/outputs.py +5 -0
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +10 -5
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +9 -4
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +10 -5
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +11 -6
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +11 -6
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +11 -6
- pulumi_kubernetes/policy/v1beta1/_inputs.py +713 -0
- pulumi_kubernetes/policy/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/provider.py +82 -6
- pulumi_kubernetes/pulumi-plugin.json +2 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +14 -9
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +11 -6
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +14 -9
- pulumi_kubernetes/rbac/v1/Role.py +11 -6
- pulumi_kubernetes/rbac/v1/RoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1/RoleList.py +11 -6
- pulumi_kubernetes/rbac/v1/RolePatch.py +11 -6
- pulumi_kubernetes/rbac/v1/_inputs.py +295 -0
- pulumi_kubernetes/rbac/v1/outputs.py +5 -0
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/Role.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +295 -0
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/Role.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +295 -0
- pulumi_kubernetes/rbac/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/resource/__init__.py +6 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +14 -9
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +14 -9
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +458 -0
- pulumi_kubernetes/resource/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +13 -6
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +13 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +280 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +215 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +292 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +43 -9
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +272 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +215 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +284 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +43 -9
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +283 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +215 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +294 -0
- pulumi_kubernetes/resource/v1alpha2/__init__.py +9 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +3177 -634
- pulumi_kubernetes/resource/v1alpha2/outputs.py +2628 -880
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +238 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +216 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +249 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +231 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +215 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +242 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +232 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +216 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +243 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +229 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +215 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +240 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +246 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +245 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +257 -0
- pulumi_kubernetes/resource/v1alpha3/__init__.py +24 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +4372 -0
- pulumi_kubernetes/resource/v1alpha3/outputs.py +3914 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +237 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +215 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +248 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +232 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +243 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +229 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +215 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +240 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +246 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +257 -0
- pulumi_kubernetes/resource/v1beta1/__init__.py +21 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +3867 -0
- pulumi_kubernetes/resource/v1beta1/outputs.py +3334 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +8 -3
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +11 -6
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +8 -3
- pulumi_kubernetes/scheduling/v1/_inputs.py +44 -0
- pulumi_kubernetes/scheduling/v1/outputs.py +5 -0
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +8 -3
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +11 -6
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +8 -3
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +44 -0
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +8 -3
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +11 -6
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +8 -3
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +44 -0
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +9 -4
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +11 -6
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +9 -4
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +84 -0
- pulumi_kubernetes/settings/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +11 -6
- pulumi_kubernetes/storage/v1/CSIDriverList.py +11 -6
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +11 -6
- pulumi_kubernetes/storage/v1/CSINode.py +11 -6
- pulumi_kubernetes/storage/v1/CSINodeList.py +11 -6
- pulumi_kubernetes/storage/v1/CSINodePatch.py +11 -6
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +11 -6
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +11 -6
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +11 -6
- pulumi_kubernetes/storage/v1/StorageClass.py +11 -6
- pulumi_kubernetes/storage/v1/StorageClassList.py +11 -6
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +11 -6
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +11 -6
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +11 -6
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +11 -6
- pulumi_kubernetes/storage/v1/_inputs.py +624 -10
- pulumi_kubernetes/storage/v1/outputs.py +17 -12
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +10 -3
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +10 -3
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +187 -0
- pulumi_kubernetes/storage/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSINode.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +11 -6
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +252 -0
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +215 -0
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +263 -0
- pulumi_kubernetes/storage/v1beta1/__init__.py +3 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +689 -0
- pulumi_kubernetes/storage/v1beta1/outputs.py +99 -0
- pulumi_kubernetes/storagemigration/__init__.py +14 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +224 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +215 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +236 -0
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +12 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +585 -0
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +593 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +81 -4
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +123 -42
- pulumi_kubernetes/yaml/yaml.py +264 -0
- {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0.dist-info}/METADATA +8 -7
- pulumi_kubernetes-4.20.0.dist-info/RECORD +679 -0
- {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.10.0a1710355461.dist-info/RECORD +0 -592
- {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0.dist-info}/top_level.txt +0 -0
|
@@ -4,93 +4,189 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from ... import _utilities
|
|
11
16
|
from ... import core as _core
|
|
12
17
|
from ... import meta as _meta
|
|
13
18
|
|
|
14
19
|
__all__ = [
|
|
15
20
|
'AllowedCSIDriverPatchArgs',
|
|
21
|
+
'AllowedCSIDriverPatchArgsDict',
|
|
16
22
|
'AllowedCSIDriverArgs',
|
|
23
|
+
'AllowedCSIDriverArgsDict',
|
|
17
24
|
'AllowedFlexVolumePatchArgs',
|
|
25
|
+
'AllowedFlexVolumePatchArgsDict',
|
|
18
26
|
'AllowedFlexVolumeArgs',
|
|
27
|
+
'AllowedFlexVolumeArgsDict',
|
|
19
28
|
'AllowedHostPathPatchArgs',
|
|
29
|
+
'AllowedHostPathPatchArgsDict',
|
|
20
30
|
'AllowedHostPathArgs',
|
|
31
|
+
'AllowedHostPathArgsDict',
|
|
21
32
|
'DaemonSetConditionArgs',
|
|
33
|
+
'DaemonSetConditionArgsDict',
|
|
22
34
|
'DaemonSetSpecPatchArgs',
|
|
35
|
+
'DaemonSetSpecPatchArgsDict',
|
|
23
36
|
'DaemonSetSpecArgs',
|
|
37
|
+
'DaemonSetSpecArgsDict',
|
|
24
38
|
'DaemonSetStatusArgs',
|
|
39
|
+
'DaemonSetStatusArgsDict',
|
|
25
40
|
'DaemonSetUpdateStrategyPatchArgs',
|
|
41
|
+
'DaemonSetUpdateStrategyPatchArgsDict',
|
|
26
42
|
'DaemonSetUpdateStrategyArgs',
|
|
43
|
+
'DaemonSetUpdateStrategyArgsDict',
|
|
27
44
|
'DaemonSetArgs',
|
|
45
|
+
'DaemonSetArgsDict',
|
|
28
46
|
'DeploymentConditionArgs',
|
|
47
|
+
'DeploymentConditionArgsDict',
|
|
29
48
|
'DeploymentSpecPatchArgs',
|
|
49
|
+
'DeploymentSpecPatchArgsDict',
|
|
30
50
|
'DeploymentSpecArgs',
|
|
51
|
+
'DeploymentSpecArgsDict',
|
|
31
52
|
'DeploymentStatusArgs',
|
|
53
|
+
'DeploymentStatusArgsDict',
|
|
32
54
|
'DeploymentStrategyPatchArgs',
|
|
55
|
+
'DeploymentStrategyPatchArgsDict',
|
|
33
56
|
'DeploymentStrategyArgs',
|
|
57
|
+
'DeploymentStrategyArgsDict',
|
|
34
58
|
'DeploymentArgs',
|
|
59
|
+
'DeploymentArgsDict',
|
|
35
60
|
'FSGroupStrategyOptionsPatchArgs',
|
|
61
|
+
'FSGroupStrategyOptionsPatchArgsDict',
|
|
36
62
|
'FSGroupStrategyOptionsArgs',
|
|
63
|
+
'FSGroupStrategyOptionsArgsDict',
|
|
37
64
|
'HTTPIngressPathPatchArgs',
|
|
65
|
+
'HTTPIngressPathPatchArgsDict',
|
|
38
66
|
'HTTPIngressPathArgs',
|
|
67
|
+
'HTTPIngressPathArgsDict',
|
|
39
68
|
'HTTPIngressRuleValuePatchArgs',
|
|
69
|
+
'HTTPIngressRuleValuePatchArgsDict',
|
|
40
70
|
'HTTPIngressRuleValueArgs',
|
|
71
|
+
'HTTPIngressRuleValueArgsDict',
|
|
41
72
|
'HostPortRangePatchArgs',
|
|
73
|
+
'HostPortRangePatchArgsDict',
|
|
42
74
|
'HostPortRangeArgs',
|
|
75
|
+
'HostPortRangeArgsDict',
|
|
43
76
|
'IDRangePatchArgs',
|
|
77
|
+
'IDRangePatchArgsDict',
|
|
44
78
|
'IDRangeArgs',
|
|
79
|
+
'IDRangeArgsDict',
|
|
45
80
|
'IPBlockPatchArgs',
|
|
81
|
+
'IPBlockPatchArgsDict',
|
|
46
82
|
'IPBlockArgs',
|
|
83
|
+
'IPBlockArgsDict',
|
|
47
84
|
'IngressBackendPatchArgs',
|
|
85
|
+
'IngressBackendPatchArgsDict',
|
|
48
86
|
'IngressBackendArgs',
|
|
87
|
+
'IngressBackendArgsDict',
|
|
49
88
|
'IngressRulePatchArgs',
|
|
89
|
+
'IngressRulePatchArgsDict',
|
|
50
90
|
'IngressRuleArgs',
|
|
91
|
+
'IngressRuleArgsDict',
|
|
51
92
|
'IngressSpecPatchArgs',
|
|
93
|
+
'IngressSpecPatchArgsDict',
|
|
52
94
|
'IngressSpecArgs',
|
|
95
|
+
'IngressSpecArgsDict',
|
|
53
96
|
'IngressStatusArgs',
|
|
97
|
+
'IngressStatusArgsDict',
|
|
54
98
|
'IngressTLSPatchArgs',
|
|
99
|
+
'IngressTLSPatchArgsDict',
|
|
55
100
|
'IngressTLSArgs',
|
|
101
|
+
'IngressTLSArgsDict',
|
|
56
102
|
'IngressArgs',
|
|
103
|
+
'IngressArgsDict',
|
|
57
104
|
'NetworkPolicyEgressRulePatchArgs',
|
|
105
|
+
'NetworkPolicyEgressRulePatchArgsDict',
|
|
58
106
|
'NetworkPolicyEgressRuleArgs',
|
|
107
|
+
'NetworkPolicyEgressRuleArgsDict',
|
|
59
108
|
'NetworkPolicyIngressRulePatchArgs',
|
|
109
|
+
'NetworkPolicyIngressRulePatchArgsDict',
|
|
60
110
|
'NetworkPolicyIngressRuleArgs',
|
|
111
|
+
'NetworkPolicyIngressRuleArgsDict',
|
|
61
112
|
'NetworkPolicyPeerPatchArgs',
|
|
113
|
+
'NetworkPolicyPeerPatchArgsDict',
|
|
62
114
|
'NetworkPolicyPeerArgs',
|
|
115
|
+
'NetworkPolicyPeerArgsDict',
|
|
63
116
|
'NetworkPolicyPortPatchArgs',
|
|
117
|
+
'NetworkPolicyPortPatchArgsDict',
|
|
64
118
|
'NetworkPolicyPortArgs',
|
|
119
|
+
'NetworkPolicyPortArgsDict',
|
|
65
120
|
'NetworkPolicySpecPatchArgs',
|
|
121
|
+
'NetworkPolicySpecPatchArgsDict',
|
|
66
122
|
'NetworkPolicySpecArgs',
|
|
123
|
+
'NetworkPolicySpecArgsDict',
|
|
67
124
|
'NetworkPolicyArgs',
|
|
125
|
+
'NetworkPolicyArgsDict',
|
|
68
126
|
'PodSecurityPolicySpecPatchArgs',
|
|
127
|
+
'PodSecurityPolicySpecPatchArgsDict',
|
|
69
128
|
'PodSecurityPolicySpecArgs',
|
|
129
|
+
'PodSecurityPolicySpecArgsDict',
|
|
70
130
|
'PodSecurityPolicyArgs',
|
|
131
|
+
'PodSecurityPolicyArgsDict',
|
|
71
132
|
'ReplicaSetConditionArgs',
|
|
133
|
+
'ReplicaSetConditionArgsDict',
|
|
72
134
|
'ReplicaSetSpecPatchArgs',
|
|
135
|
+
'ReplicaSetSpecPatchArgsDict',
|
|
73
136
|
'ReplicaSetSpecArgs',
|
|
137
|
+
'ReplicaSetSpecArgsDict',
|
|
74
138
|
'ReplicaSetStatusArgs',
|
|
139
|
+
'ReplicaSetStatusArgsDict',
|
|
75
140
|
'ReplicaSetArgs',
|
|
141
|
+
'ReplicaSetArgsDict',
|
|
76
142
|
'RollbackConfigPatchArgs',
|
|
143
|
+
'RollbackConfigPatchArgsDict',
|
|
77
144
|
'RollbackConfigArgs',
|
|
145
|
+
'RollbackConfigArgsDict',
|
|
78
146
|
'RollingUpdateDaemonSetPatchArgs',
|
|
147
|
+
'RollingUpdateDaemonSetPatchArgsDict',
|
|
79
148
|
'RollingUpdateDaemonSetArgs',
|
|
149
|
+
'RollingUpdateDaemonSetArgsDict',
|
|
80
150
|
'RollingUpdateDeploymentPatchArgs',
|
|
151
|
+
'RollingUpdateDeploymentPatchArgsDict',
|
|
81
152
|
'RollingUpdateDeploymentArgs',
|
|
153
|
+
'RollingUpdateDeploymentArgsDict',
|
|
82
154
|
'RunAsGroupStrategyOptionsPatchArgs',
|
|
155
|
+
'RunAsGroupStrategyOptionsPatchArgsDict',
|
|
83
156
|
'RunAsGroupStrategyOptionsArgs',
|
|
157
|
+
'RunAsGroupStrategyOptionsArgsDict',
|
|
84
158
|
'RunAsUserStrategyOptionsPatchArgs',
|
|
159
|
+
'RunAsUserStrategyOptionsPatchArgsDict',
|
|
85
160
|
'RunAsUserStrategyOptionsArgs',
|
|
161
|
+
'RunAsUserStrategyOptionsArgsDict',
|
|
86
162
|
'RuntimeClassStrategyOptionsPatchArgs',
|
|
163
|
+
'RuntimeClassStrategyOptionsPatchArgsDict',
|
|
87
164
|
'RuntimeClassStrategyOptionsArgs',
|
|
165
|
+
'RuntimeClassStrategyOptionsArgsDict',
|
|
88
166
|
'SELinuxStrategyOptionsPatchArgs',
|
|
167
|
+
'SELinuxStrategyOptionsPatchArgsDict',
|
|
89
168
|
'SELinuxStrategyOptionsArgs',
|
|
169
|
+
'SELinuxStrategyOptionsArgsDict',
|
|
90
170
|
'SupplementalGroupsStrategyOptionsPatchArgs',
|
|
171
|
+
'SupplementalGroupsStrategyOptionsPatchArgsDict',
|
|
91
172
|
'SupplementalGroupsStrategyOptionsArgs',
|
|
173
|
+
'SupplementalGroupsStrategyOptionsArgsDict',
|
|
92
174
|
]
|
|
93
175
|
|
|
176
|
+
MYPY = False
|
|
177
|
+
|
|
178
|
+
if not MYPY:
|
|
179
|
+
class AllowedCSIDriverPatchArgsDict(TypedDict):
|
|
180
|
+
"""
|
|
181
|
+
AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
|
|
182
|
+
"""
|
|
183
|
+
name: NotRequired[pulumi.Input[str]]
|
|
184
|
+
"""
|
|
185
|
+
Name is the registered name of the CSI driver
|
|
186
|
+
"""
|
|
187
|
+
elif False:
|
|
188
|
+
AllowedCSIDriverPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
189
|
+
|
|
94
190
|
@pulumi.input_type
|
|
95
191
|
class AllowedCSIDriverPatchArgs:
|
|
96
192
|
def __init__(__self__, *,
|
|
@@ -115,6 +211,18 @@ class AllowedCSIDriverPatchArgs:
|
|
|
115
211
|
pulumi.set(self, "name", value)
|
|
116
212
|
|
|
117
213
|
|
|
214
|
+
if not MYPY:
|
|
215
|
+
class AllowedCSIDriverArgsDict(TypedDict):
|
|
216
|
+
"""
|
|
217
|
+
AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
|
|
218
|
+
"""
|
|
219
|
+
name: pulumi.Input[str]
|
|
220
|
+
"""
|
|
221
|
+
Name is the registered name of the CSI driver
|
|
222
|
+
"""
|
|
223
|
+
elif False:
|
|
224
|
+
AllowedCSIDriverArgsDict: TypeAlias = Mapping[str, Any]
|
|
225
|
+
|
|
118
226
|
@pulumi.input_type
|
|
119
227
|
class AllowedCSIDriverArgs:
|
|
120
228
|
def __init__(__self__, *,
|
|
@@ -138,6 +246,18 @@ class AllowedCSIDriverArgs:
|
|
|
138
246
|
pulumi.set(self, "name", value)
|
|
139
247
|
|
|
140
248
|
|
|
249
|
+
if not MYPY:
|
|
250
|
+
class AllowedFlexVolumePatchArgsDict(TypedDict):
|
|
251
|
+
"""
|
|
252
|
+
AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.
|
|
253
|
+
"""
|
|
254
|
+
driver: NotRequired[pulumi.Input[str]]
|
|
255
|
+
"""
|
|
256
|
+
driver is the name of the Flexvolume driver.
|
|
257
|
+
"""
|
|
258
|
+
elif False:
|
|
259
|
+
AllowedFlexVolumePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
260
|
+
|
|
141
261
|
@pulumi.input_type
|
|
142
262
|
class AllowedFlexVolumePatchArgs:
|
|
143
263
|
def __init__(__self__, *,
|
|
@@ -162,6 +282,18 @@ class AllowedFlexVolumePatchArgs:
|
|
|
162
282
|
pulumi.set(self, "driver", value)
|
|
163
283
|
|
|
164
284
|
|
|
285
|
+
if not MYPY:
|
|
286
|
+
class AllowedFlexVolumeArgsDict(TypedDict):
|
|
287
|
+
"""
|
|
288
|
+
AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.
|
|
289
|
+
"""
|
|
290
|
+
driver: pulumi.Input[str]
|
|
291
|
+
"""
|
|
292
|
+
driver is the name of the Flexvolume driver.
|
|
293
|
+
"""
|
|
294
|
+
elif False:
|
|
295
|
+
AllowedFlexVolumeArgsDict: TypeAlias = Mapping[str, Any]
|
|
296
|
+
|
|
165
297
|
@pulumi.input_type
|
|
166
298
|
class AllowedFlexVolumeArgs:
|
|
167
299
|
def __init__(__self__, *,
|
|
@@ -185,6 +317,24 @@ class AllowedFlexVolumeArgs:
|
|
|
185
317
|
pulumi.set(self, "driver", value)
|
|
186
318
|
|
|
187
319
|
|
|
320
|
+
if not MYPY:
|
|
321
|
+
class AllowedHostPathPatchArgsDict(TypedDict):
|
|
322
|
+
"""
|
|
323
|
+
AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.
|
|
324
|
+
"""
|
|
325
|
+
path_prefix: NotRequired[pulumi.Input[str]]
|
|
326
|
+
"""
|
|
327
|
+
pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
328
|
+
|
|
329
|
+
Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
|
|
330
|
+
"""
|
|
331
|
+
read_only: NotRequired[pulumi.Input[bool]]
|
|
332
|
+
"""
|
|
333
|
+
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
334
|
+
"""
|
|
335
|
+
elif False:
|
|
336
|
+
AllowedHostPathPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
337
|
+
|
|
188
338
|
@pulumi.input_type
|
|
189
339
|
class AllowedHostPathPatchArgs:
|
|
190
340
|
def __init__(__self__, *,
|
|
@@ -229,6 +379,24 @@ class AllowedHostPathPatchArgs:
|
|
|
229
379
|
pulumi.set(self, "read_only", value)
|
|
230
380
|
|
|
231
381
|
|
|
382
|
+
if not MYPY:
|
|
383
|
+
class AllowedHostPathArgsDict(TypedDict):
|
|
384
|
+
"""
|
|
385
|
+
AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.
|
|
386
|
+
"""
|
|
387
|
+
path_prefix: NotRequired[pulumi.Input[str]]
|
|
388
|
+
"""
|
|
389
|
+
pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
|
|
390
|
+
|
|
391
|
+
Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
|
|
392
|
+
"""
|
|
393
|
+
read_only: NotRequired[pulumi.Input[bool]]
|
|
394
|
+
"""
|
|
395
|
+
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
|
396
|
+
"""
|
|
397
|
+
elif False:
|
|
398
|
+
AllowedHostPathArgsDict: TypeAlias = Mapping[str, Any]
|
|
399
|
+
|
|
232
400
|
@pulumi.input_type
|
|
233
401
|
class AllowedHostPathArgs:
|
|
234
402
|
def __init__(__self__, *,
|
|
@@ -273,6 +441,34 @@ class AllowedHostPathArgs:
|
|
|
273
441
|
pulumi.set(self, "read_only", value)
|
|
274
442
|
|
|
275
443
|
|
|
444
|
+
if not MYPY:
|
|
445
|
+
class DaemonSetConditionArgsDict(TypedDict):
|
|
446
|
+
"""
|
|
447
|
+
DaemonSetCondition describes the state of a DaemonSet at a certain point.
|
|
448
|
+
"""
|
|
449
|
+
status: pulumi.Input[str]
|
|
450
|
+
"""
|
|
451
|
+
Status of the condition, one of True, False, Unknown.
|
|
452
|
+
"""
|
|
453
|
+
type: pulumi.Input[str]
|
|
454
|
+
"""
|
|
455
|
+
Type of DaemonSet condition.
|
|
456
|
+
"""
|
|
457
|
+
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
458
|
+
"""
|
|
459
|
+
Last time the condition transitioned from one status to another.
|
|
460
|
+
"""
|
|
461
|
+
message: NotRequired[pulumi.Input[str]]
|
|
462
|
+
"""
|
|
463
|
+
A human readable message indicating details about the transition.
|
|
464
|
+
"""
|
|
465
|
+
reason: NotRequired[pulumi.Input[str]]
|
|
466
|
+
"""
|
|
467
|
+
The reason for the condition's last transition.
|
|
468
|
+
"""
|
|
469
|
+
elif False:
|
|
470
|
+
DaemonSetConditionArgsDict: TypeAlias = Mapping[str, Any]
|
|
471
|
+
|
|
276
472
|
@pulumi.input_type
|
|
277
473
|
class DaemonSetConditionArgs:
|
|
278
474
|
def __init__(__self__, *,
|
|
@@ -359,6 +555,38 @@ class DaemonSetConditionArgs:
|
|
|
359
555
|
pulumi.set(self, "reason", value)
|
|
360
556
|
|
|
361
557
|
|
|
558
|
+
if not MYPY:
|
|
559
|
+
class DaemonSetSpecPatchArgsDict(TypedDict):
|
|
560
|
+
"""
|
|
561
|
+
DaemonSetSpec is the specification of a daemon set.
|
|
562
|
+
"""
|
|
563
|
+
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
564
|
+
"""
|
|
565
|
+
The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
|
|
566
|
+
"""
|
|
567
|
+
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
568
|
+
"""
|
|
569
|
+
The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
570
|
+
"""
|
|
571
|
+
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
572
|
+
"""
|
|
573
|
+
A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
574
|
+
"""
|
|
575
|
+
template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
|
|
576
|
+
"""
|
|
577
|
+
An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
|
|
578
|
+
"""
|
|
579
|
+
template_generation: NotRequired[pulumi.Input[int]]
|
|
580
|
+
"""
|
|
581
|
+
DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
|
|
582
|
+
"""
|
|
583
|
+
update_strategy: NotRequired[pulumi.Input['DaemonSetUpdateStrategyPatchArgsDict']]
|
|
584
|
+
"""
|
|
585
|
+
An update strategy to replace existing DaemonSet pods with new pods.
|
|
586
|
+
"""
|
|
587
|
+
elif False:
|
|
588
|
+
DaemonSetSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
589
|
+
|
|
362
590
|
@pulumi.input_type
|
|
363
591
|
class DaemonSetSpecPatchArgs:
|
|
364
592
|
def __init__(__self__, *,
|
|
@@ -463,6 +691,38 @@ class DaemonSetSpecPatchArgs:
|
|
|
463
691
|
pulumi.set(self, "update_strategy", value)
|
|
464
692
|
|
|
465
693
|
|
|
694
|
+
if not MYPY:
|
|
695
|
+
class DaemonSetSpecArgsDict(TypedDict):
|
|
696
|
+
"""
|
|
697
|
+
DaemonSetSpec is the specification of a daemon set.
|
|
698
|
+
"""
|
|
699
|
+
template: pulumi.Input['_core.v1.PodTemplateSpecArgsDict']
|
|
700
|
+
"""
|
|
701
|
+
An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
|
|
702
|
+
"""
|
|
703
|
+
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
704
|
+
"""
|
|
705
|
+
The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
|
|
706
|
+
"""
|
|
707
|
+
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
708
|
+
"""
|
|
709
|
+
The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
710
|
+
"""
|
|
711
|
+
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
|
|
712
|
+
"""
|
|
713
|
+
A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
714
|
+
"""
|
|
715
|
+
template_generation: NotRequired[pulumi.Input[int]]
|
|
716
|
+
"""
|
|
717
|
+
DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
|
|
718
|
+
"""
|
|
719
|
+
update_strategy: NotRequired[pulumi.Input['DaemonSetUpdateStrategyArgsDict']]
|
|
720
|
+
"""
|
|
721
|
+
An update strategy to replace existing DaemonSet pods with new pods.
|
|
722
|
+
"""
|
|
723
|
+
elif False:
|
|
724
|
+
DaemonSetSpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
725
|
+
|
|
466
726
|
@pulumi.input_type
|
|
467
727
|
class DaemonSetSpecArgs:
|
|
468
728
|
def __init__(__self__, *,
|
|
@@ -566,6 +826,54 @@ class DaemonSetSpecArgs:
|
|
|
566
826
|
pulumi.set(self, "update_strategy", value)
|
|
567
827
|
|
|
568
828
|
|
|
829
|
+
if not MYPY:
|
|
830
|
+
class DaemonSetStatusArgsDict(TypedDict):
|
|
831
|
+
"""
|
|
832
|
+
DaemonSetStatus represents the current status of a daemon set.
|
|
833
|
+
"""
|
|
834
|
+
current_number_scheduled: pulumi.Input[int]
|
|
835
|
+
"""
|
|
836
|
+
The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
837
|
+
"""
|
|
838
|
+
desired_number_scheduled: pulumi.Input[int]
|
|
839
|
+
"""
|
|
840
|
+
The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
841
|
+
"""
|
|
842
|
+
number_misscheduled: pulumi.Input[int]
|
|
843
|
+
"""
|
|
844
|
+
The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
845
|
+
"""
|
|
846
|
+
number_ready: pulumi.Input[int]
|
|
847
|
+
"""
|
|
848
|
+
The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.
|
|
849
|
+
"""
|
|
850
|
+
collision_count: NotRequired[pulumi.Input[int]]
|
|
851
|
+
"""
|
|
852
|
+
Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
|
|
853
|
+
"""
|
|
854
|
+
conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DaemonSetConditionArgsDict']]]]
|
|
855
|
+
"""
|
|
856
|
+
Represents the latest available observations of a DaemonSet's current state.
|
|
857
|
+
"""
|
|
858
|
+
number_available: NotRequired[pulumi.Input[int]]
|
|
859
|
+
"""
|
|
860
|
+
The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
|
|
861
|
+
"""
|
|
862
|
+
number_unavailable: NotRequired[pulumi.Input[int]]
|
|
863
|
+
"""
|
|
864
|
+
The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
|
|
865
|
+
"""
|
|
866
|
+
observed_generation: NotRequired[pulumi.Input[int]]
|
|
867
|
+
"""
|
|
868
|
+
The most recent generation observed by the daemon set controller.
|
|
869
|
+
"""
|
|
870
|
+
updated_number_scheduled: NotRequired[pulumi.Input[int]]
|
|
871
|
+
"""
|
|
872
|
+
The total number of nodes that are running updated daemon pod
|
|
873
|
+
"""
|
|
874
|
+
elif False:
|
|
875
|
+
DaemonSetStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
876
|
+
|
|
569
877
|
@pulumi.input_type
|
|
570
878
|
class DaemonSetStatusArgs:
|
|
571
879
|
def __init__(__self__, *,
|
|
@@ -730,6 +1038,19 @@ class DaemonSetStatusArgs:
|
|
|
730
1038
|
pulumi.set(self, "updated_number_scheduled", value)
|
|
731
1039
|
|
|
732
1040
|
|
|
1041
|
+
if not MYPY:
|
|
1042
|
+
class DaemonSetUpdateStrategyPatchArgsDict(TypedDict):
|
|
1043
|
+
rolling_update: NotRequired[pulumi.Input['RollingUpdateDaemonSetPatchArgsDict']]
|
|
1044
|
+
"""
|
|
1045
|
+
Rolling update config params. Present only if type = "RollingUpdate".
|
|
1046
|
+
"""
|
|
1047
|
+
type: NotRequired[pulumi.Input[str]]
|
|
1048
|
+
"""
|
|
1049
|
+
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is OnDelete.
|
|
1050
|
+
"""
|
|
1051
|
+
elif False:
|
|
1052
|
+
DaemonSetUpdateStrategyPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
1053
|
+
|
|
733
1054
|
@pulumi.input_type
|
|
734
1055
|
class DaemonSetUpdateStrategyPatchArgs:
|
|
735
1056
|
def __init__(__self__, *,
|
|
@@ -769,6 +1090,19 @@ class DaemonSetUpdateStrategyPatchArgs:
|
|
|
769
1090
|
pulumi.set(self, "type", value)
|
|
770
1091
|
|
|
771
1092
|
|
|
1093
|
+
if not MYPY:
|
|
1094
|
+
class DaemonSetUpdateStrategyArgsDict(TypedDict):
|
|
1095
|
+
rolling_update: NotRequired[pulumi.Input['RollingUpdateDaemonSetArgsDict']]
|
|
1096
|
+
"""
|
|
1097
|
+
Rolling update config params. Present only if type = "RollingUpdate".
|
|
1098
|
+
"""
|
|
1099
|
+
type: NotRequired[pulumi.Input[str]]
|
|
1100
|
+
"""
|
|
1101
|
+
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is OnDelete.
|
|
1102
|
+
"""
|
|
1103
|
+
elif False:
|
|
1104
|
+
DaemonSetUpdateStrategyArgsDict: TypeAlias = Mapping[str, Any]
|
|
1105
|
+
|
|
772
1106
|
@pulumi.input_type
|
|
773
1107
|
class DaemonSetUpdateStrategyArgs:
|
|
774
1108
|
def __init__(__self__, *,
|
|
@@ -808,6 +1142,34 @@ class DaemonSetUpdateStrategyArgs:
|
|
|
808
1142
|
pulumi.set(self, "type", value)
|
|
809
1143
|
|
|
810
1144
|
|
|
1145
|
+
if not MYPY:
|
|
1146
|
+
class DaemonSetArgsDict(TypedDict):
|
|
1147
|
+
"""
|
|
1148
|
+
DaemonSet represents the configuration of a daemon set.
|
|
1149
|
+
"""
|
|
1150
|
+
api_version: NotRequired[pulumi.Input[str]]
|
|
1151
|
+
"""
|
|
1152
|
+
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
|
|
1153
|
+
"""
|
|
1154
|
+
kind: NotRequired[pulumi.Input[str]]
|
|
1155
|
+
"""
|
|
1156
|
+
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
|
|
1157
|
+
"""
|
|
1158
|
+
metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
|
|
1159
|
+
"""
|
|
1160
|
+
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1161
|
+
"""
|
|
1162
|
+
spec: NotRequired[pulumi.Input['DaemonSetSpecArgsDict']]
|
|
1163
|
+
"""
|
|
1164
|
+
The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
1165
|
+
"""
|
|
1166
|
+
status: NotRequired[pulumi.Input['DaemonSetStatusArgsDict']]
|
|
1167
|
+
"""
|
|
1168
|
+
The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
1169
|
+
"""
|
|
1170
|
+
elif False:
|
|
1171
|
+
DaemonSetArgsDict: TypeAlias = Mapping[str, Any]
|
|
1172
|
+
|
|
811
1173
|
@pulumi.input_type
|
|
812
1174
|
class DaemonSetArgs:
|
|
813
1175
|
def __init__(__self__, *,
|
|
@@ -896,6 +1258,38 @@ class DaemonSetArgs:
|
|
|
896
1258
|
pulumi.set(self, "status", value)
|
|
897
1259
|
|
|
898
1260
|
|
|
1261
|
+
if not MYPY:
|
|
1262
|
+
class DeploymentConditionArgsDict(TypedDict):
|
|
1263
|
+
"""
|
|
1264
|
+
DeploymentCondition describes the state of a deployment at a certain point.
|
|
1265
|
+
"""
|
|
1266
|
+
status: pulumi.Input[str]
|
|
1267
|
+
"""
|
|
1268
|
+
Status of the condition, one of True, False, Unknown.
|
|
1269
|
+
"""
|
|
1270
|
+
type: pulumi.Input[str]
|
|
1271
|
+
"""
|
|
1272
|
+
Type of deployment condition.
|
|
1273
|
+
"""
|
|
1274
|
+
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
1275
|
+
"""
|
|
1276
|
+
Last time the condition transitioned from one status to another.
|
|
1277
|
+
"""
|
|
1278
|
+
last_update_time: NotRequired[pulumi.Input[str]]
|
|
1279
|
+
"""
|
|
1280
|
+
The last time this condition was updated.
|
|
1281
|
+
"""
|
|
1282
|
+
message: NotRequired[pulumi.Input[str]]
|
|
1283
|
+
"""
|
|
1284
|
+
A human readable message indicating details about the transition.
|
|
1285
|
+
"""
|
|
1286
|
+
reason: NotRequired[pulumi.Input[str]]
|
|
1287
|
+
"""
|
|
1288
|
+
The reason for the condition's last transition.
|
|
1289
|
+
"""
|
|
1290
|
+
elif False:
|
|
1291
|
+
DeploymentConditionArgsDict: TypeAlias = Mapping[str, Any]
|
|
1292
|
+
|
|
899
1293
|
@pulumi.input_type
|
|
900
1294
|
class DeploymentConditionArgs:
|
|
901
1295
|
def __init__(__self__, *,
|
|
@@ -998,6 +1392,50 @@ class DeploymentConditionArgs:
|
|
|
998
1392
|
pulumi.set(self, "reason", value)
|
|
999
1393
|
|
|
1000
1394
|
|
|
1395
|
+
if not MYPY:
|
|
1396
|
+
class DeploymentSpecPatchArgsDict(TypedDict):
|
|
1397
|
+
"""
|
|
1398
|
+
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1399
|
+
"""
|
|
1400
|
+
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
1401
|
+
"""
|
|
1402
|
+
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
1403
|
+
"""
|
|
1404
|
+
paused: NotRequired[pulumi.Input[bool]]
|
|
1405
|
+
"""
|
|
1406
|
+
Indicates that the deployment is paused and will not be processed by the deployment controller.
|
|
1407
|
+
"""
|
|
1408
|
+
progress_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
1409
|
+
"""
|
|
1410
|
+
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means "no deadline".
|
|
1411
|
+
"""
|
|
1412
|
+
replicas: NotRequired[pulumi.Input[int]]
|
|
1413
|
+
"""
|
|
1414
|
+
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1415
|
+
"""
|
|
1416
|
+
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
1417
|
+
"""
|
|
1418
|
+
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets".
|
|
1419
|
+
"""
|
|
1420
|
+
rollback_to: NotRequired[pulumi.Input['RollbackConfigPatchArgsDict']]
|
|
1421
|
+
"""
|
|
1422
|
+
DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
|
|
1423
|
+
"""
|
|
1424
|
+
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
1425
|
+
"""
|
|
1426
|
+
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
|
|
1427
|
+
"""
|
|
1428
|
+
strategy: NotRequired[pulumi.Input['DeploymentStrategyPatchArgsDict']]
|
|
1429
|
+
"""
|
|
1430
|
+
The deployment strategy to use to replace existing pods with new ones.
|
|
1431
|
+
"""
|
|
1432
|
+
template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
|
|
1433
|
+
"""
|
|
1434
|
+
Template describes the pods that will be created.
|
|
1435
|
+
"""
|
|
1436
|
+
elif False:
|
|
1437
|
+
DeploymentSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
1438
|
+
|
|
1001
1439
|
@pulumi.input_type
|
|
1002
1440
|
class DeploymentSpecPatchArgs:
|
|
1003
1441
|
def __init__(__self__, *,
|
|
@@ -1150,28 +1588,72 @@ class DeploymentSpecPatchArgs:
|
|
|
1150
1588
|
pulumi.set(self, "template", value)
|
|
1151
1589
|
|
|
1152
1590
|
|
|
1153
|
-
|
|
1154
|
-
class
|
|
1155
|
-
def __init__(__self__, *,
|
|
1156
|
-
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
1157
|
-
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
1158
|
-
paused: Optional[pulumi.Input[bool]] = None,
|
|
1159
|
-
progress_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
1160
|
-
replicas: Optional[pulumi.Input[int]] = None,
|
|
1161
|
-
revision_history_limit: Optional[pulumi.Input[int]] = None,
|
|
1162
|
-
rollback_to: Optional[pulumi.Input['RollbackConfigArgs']] = None,
|
|
1163
|
-
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1164
|
-
strategy: Optional[pulumi.Input['DeploymentStrategyArgs']] = None):
|
|
1591
|
+
if not MYPY:
|
|
1592
|
+
class DeploymentSpecArgsDict(TypedDict):
|
|
1165
1593
|
"""
|
|
1166
1594
|
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1167
|
-
|
|
1168
|
-
:
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
:
|
|
1173
|
-
|
|
1174
|
-
|
|
1595
|
+
"""
|
|
1596
|
+
template: pulumi.Input['_core.v1.PodTemplateSpecArgsDict']
|
|
1597
|
+
"""
|
|
1598
|
+
Template describes the pods that will be created.
|
|
1599
|
+
"""
|
|
1600
|
+
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
1601
|
+
"""
|
|
1602
|
+
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
1603
|
+
"""
|
|
1604
|
+
paused: NotRequired[pulumi.Input[bool]]
|
|
1605
|
+
"""
|
|
1606
|
+
Indicates that the deployment is paused and will not be processed by the deployment controller.
|
|
1607
|
+
"""
|
|
1608
|
+
progress_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
1609
|
+
"""
|
|
1610
|
+
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means "no deadline".
|
|
1611
|
+
"""
|
|
1612
|
+
replicas: NotRequired[pulumi.Input[int]]
|
|
1613
|
+
"""
|
|
1614
|
+
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1615
|
+
"""
|
|
1616
|
+
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
1617
|
+
"""
|
|
1618
|
+
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets".
|
|
1619
|
+
"""
|
|
1620
|
+
rollback_to: NotRequired[pulumi.Input['RollbackConfigArgsDict']]
|
|
1621
|
+
"""
|
|
1622
|
+
DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
|
|
1623
|
+
"""
|
|
1624
|
+
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
|
|
1625
|
+
"""
|
|
1626
|
+
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
|
|
1627
|
+
"""
|
|
1628
|
+
strategy: NotRequired[pulumi.Input['DeploymentStrategyArgsDict']]
|
|
1629
|
+
"""
|
|
1630
|
+
The deployment strategy to use to replace existing pods with new ones.
|
|
1631
|
+
"""
|
|
1632
|
+
elif False:
|
|
1633
|
+
DeploymentSpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
1634
|
+
|
|
1635
|
+
@pulumi.input_type
|
|
1636
|
+
class DeploymentSpecArgs:
|
|
1637
|
+
def __init__(__self__, *,
|
|
1638
|
+
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
1639
|
+
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
1640
|
+
paused: Optional[pulumi.Input[bool]] = None,
|
|
1641
|
+
progress_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
1642
|
+
replicas: Optional[pulumi.Input[int]] = None,
|
|
1643
|
+
revision_history_limit: Optional[pulumi.Input[int]] = None,
|
|
1644
|
+
rollback_to: Optional[pulumi.Input['RollbackConfigArgs']] = None,
|
|
1645
|
+
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1646
|
+
strategy: Optional[pulumi.Input['DeploymentStrategyArgs']] = None):
|
|
1647
|
+
"""
|
|
1648
|
+
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1649
|
+
:param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: Template describes the pods that will be created.
|
|
1650
|
+
:param pulumi.Input[int] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
1651
|
+
:param pulumi.Input[bool] paused: Indicates that the deployment is paused and will not be processed by the deployment controller.
|
|
1652
|
+
:param pulumi.Input[int] progress_deadline_seconds: The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means "no deadline".
|
|
1653
|
+
:param pulumi.Input[int] replicas: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1654
|
+
:param pulumi.Input[int] revision_history_limit: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets".
|
|
1655
|
+
:param pulumi.Input['RollbackConfigArgs'] rollback_to: DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
|
|
1656
|
+
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
|
|
1175
1657
|
:param pulumi.Input['DeploymentStrategyArgs'] strategy: The deployment strategy to use to replace existing pods with new ones.
|
|
1176
1658
|
"""
|
|
1177
1659
|
pulumi.set(__self__, "template", template)
|
|
@@ -1301,6 +1783,46 @@ class DeploymentSpecArgs:
|
|
|
1301
1783
|
pulumi.set(self, "strategy", value)
|
|
1302
1784
|
|
|
1303
1785
|
|
|
1786
|
+
if not MYPY:
|
|
1787
|
+
class DeploymentStatusArgsDict(TypedDict):
|
|
1788
|
+
"""
|
|
1789
|
+
DeploymentStatus is the most recently observed status of the Deployment.
|
|
1790
|
+
"""
|
|
1791
|
+
available_replicas: NotRequired[pulumi.Input[int]]
|
|
1792
|
+
"""
|
|
1793
|
+
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1794
|
+
"""
|
|
1795
|
+
collision_count: NotRequired[pulumi.Input[int]]
|
|
1796
|
+
"""
|
|
1797
|
+
Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
|
|
1798
|
+
"""
|
|
1799
|
+
conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeploymentConditionArgsDict']]]]
|
|
1800
|
+
"""
|
|
1801
|
+
Represents the latest available observations of a deployment's current state.
|
|
1802
|
+
"""
|
|
1803
|
+
observed_generation: NotRequired[pulumi.Input[int]]
|
|
1804
|
+
"""
|
|
1805
|
+
The generation observed by the deployment controller.
|
|
1806
|
+
"""
|
|
1807
|
+
ready_replicas: NotRequired[pulumi.Input[int]]
|
|
1808
|
+
"""
|
|
1809
|
+
Total number of ready pods targeted by this deployment.
|
|
1810
|
+
"""
|
|
1811
|
+
replicas: NotRequired[pulumi.Input[int]]
|
|
1812
|
+
"""
|
|
1813
|
+
Total number of non-terminated pods targeted by this deployment (their labels match the selector).
|
|
1814
|
+
"""
|
|
1815
|
+
unavailable_replicas: NotRequired[pulumi.Input[int]]
|
|
1816
|
+
"""
|
|
1817
|
+
Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
|
|
1818
|
+
"""
|
|
1819
|
+
updated_replicas: NotRequired[pulumi.Input[int]]
|
|
1820
|
+
"""
|
|
1821
|
+
Total number of non-terminated pods targeted by this deployment that have the desired template spec.
|
|
1822
|
+
"""
|
|
1823
|
+
elif False:
|
|
1824
|
+
DeploymentStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
1825
|
+
|
|
1304
1826
|
@pulumi.input_type
|
|
1305
1827
|
class DeploymentStatusArgs:
|
|
1306
1828
|
def __init__(__self__, *,
|
|
@@ -1437,6 +1959,22 @@ class DeploymentStatusArgs:
|
|
|
1437
1959
|
pulumi.set(self, "updated_replicas", value)
|
|
1438
1960
|
|
|
1439
1961
|
|
|
1962
|
+
if not MYPY:
|
|
1963
|
+
class DeploymentStrategyPatchArgsDict(TypedDict):
|
|
1964
|
+
"""
|
|
1965
|
+
DeploymentStrategy describes how to replace existing pods with new ones.
|
|
1966
|
+
"""
|
|
1967
|
+
rolling_update: NotRequired[pulumi.Input['RollingUpdateDeploymentPatchArgsDict']]
|
|
1968
|
+
"""
|
|
1969
|
+
Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1970
|
+
"""
|
|
1971
|
+
type: NotRequired[pulumi.Input[str]]
|
|
1972
|
+
"""
|
|
1973
|
+
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1974
|
+
"""
|
|
1975
|
+
elif False:
|
|
1976
|
+
DeploymentStrategyPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
1977
|
+
|
|
1440
1978
|
@pulumi.input_type
|
|
1441
1979
|
class DeploymentStrategyPatchArgs:
|
|
1442
1980
|
def __init__(__self__, *,
|
|
@@ -1477,6 +2015,22 @@ class DeploymentStrategyPatchArgs:
|
|
|
1477
2015
|
pulumi.set(self, "type", value)
|
|
1478
2016
|
|
|
1479
2017
|
|
|
2018
|
+
if not MYPY:
|
|
2019
|
+
class DeploymentStrategyArgsDict(TypedDict):
|
|
2020
|
+
"""
|
|
2021
|
+
DeploymentStrategy describes how to replace existing pods with new ones.
|
|
2022
|
+
"""
|
|
2023
|
+
rolling_update: NotRequired[pulumi.Input['RollingUpdateDeploymentArgsDict']]
|
|
2024
|
+
"""
|
|
2025
|
+
Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
2026
|
+
"""
|
|
2027
|
+
type: NotRequired[pulumi.Input[str]]
|
|
2028
|
+
"""
|
|
2029
|
+
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
2030
|
+
"""
|
|
2031
|
+
elif False:
|
|
2032
|
+
DeploymentStrategyArgsDict: TypeAlias = Mapping[str, Any]
|
|
2033
|
+
|
|
1480
2034
|
@pulumi.input_type
|
|
1481
2035
|
class DeploymentStrategyArgs:
|
|
1482
2036
|
def __init__(__self__, *,
|
|
@@ -1517,6 +2071,56 @@ class DeploymentStrategyArgs:
|
|
|
1517
2071
|
pulumi.set(self, "type", value)
|
|
1518
2072
|
|
|
1519
2073
|
|
|
2074
|
+
if not MYPY:
|
|
2075
|
+
class DeploymentArgsDict(TypedDict):
|
|
2076
|
+
"""
|
|
2077
|
+
Deployment enables declarative updates for Pods and ReplicaSets.
|
|
2078
|
+
|
|
2079
|
+
This resource waits until its status is ready before registering success
|
|
2080
|
+
for create/update, and populating output properties from the current state of the resource.
|
|
2081
|
+
The following conditions are used to determine whether the resource creation has
|
|
2082
|
+
succeeded or failed:
|
|
2083
|
+
|
|
2084
|
+
1. The Deployment has begun to be updated by the Deployment controller. If the current
|
|
2085
|
+
generation of the Deployment is > 1, then this means that the current generation must
|
|
2086
|
+
be different from the generation reported by the last outputs.
|
|
2087
|
+
2. There exists a ReplicaSet whose revision is equal to the current revision of the
|
|
2088
|
+
Deployment.
|
|
2089
|
+
3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status'
|
|
2090
|
+
member is set to 'True'.
|
|
2091
|
+
4. If the Deployment has generation > 1, then '.status.conditions' has a status of type
|
|
2092
|
+
'Progressing', whose 'status' member is set to 'True', and whose 'reason' is
|
|
2093
|
+
'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist,
|
|
2094
|
+
because it doesn't do a rollout (i.e., it simply creates the Deployment and
|
|
2095
|
+
corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.
|
|
2096
|
+
|
|
2097
|
+
If the Deployment has not reached a Ready state after 10 minutes, it will
|
|
2098
|
+
time out and mark the resource update as Failed. You can override the default timeout value
|
|
2099
|
+
by setting the 'customTimeouts' option on the resource.
|
|
2100
|
+
"""
|
|
2101
|
+
api_version: NotRequired[pulumi.Input[str]]
|
|
2102
|
+
"""
|
|
2103
|
+
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
|
|
2104
|
+
"""
|
|
2105
|
+
kind: NotRequired[pulumi.Input[str]]
|
|
2106
|
+
"""
|
|
2107
|
+
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
|
|
2108
|
+
"""
|
|
2109
|
+
metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
|
|
2110
|
+
"""
|
|
2111
|
+
Standard object metadata.
|
|
2112
|
+
"""
|
|
2113
|
+
spec: NotRequired[pulumi.Input['DeploymentSpecArgsDict']]
|
|
2114
|
+
"""
|
|
2115
|
+
Specification of the desired behavior of the Deployment.
|
|
2116
|
+
"""
|
|
2117
|
+
status: NotRequired[pulumi.Input['DeploymentStatusArgsDict']]
|
|
2118
|
+
"""
|
|
2119
|
+
Most recently observed status of the Deployment.
|
|
2120
|
+
"""
|
|
2121
|
+
elif False:
|
|
2122
|
+
DeploymentArgsDict: TypeAlias = Mapping[str, Any]
|
|
2123
|
+
|
|
1520
2124
|
@pulumi.input_type
|
|
1521
2125
|
class DeploymentArgs:
|
|
1522
2126
|
def __init__(__self__, *,
|
|
@@ -1627,6 +2231,22 @@ class DeploymentArgs:
|
|
|
1627
2231
|
pulumi.set(self, "status", value)
|
|
1628
2232
|
|
|
1629
2233
|
|
|
2234
|
+
if not MYPY:
|
|
2235
|
+
class FSGroupStrategyOptionsPatchArgsDict(TypedDict):
|
|
2236
|
+
"""
|
|
2237
|
+
FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.
|
|
2238
|
+
"""
|
|
2239
|
+
ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgsDict']]]]
|
|
2240
|
+
"""
|
|
2241
|
+
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
|
|
2242
|
+
"""
|
|
2243
|
+
rule: NotRequired[pulumi.Input[str]]
|
|
2244
|
+
"""
|
|
2245
|
+
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
2246
|
+
"""
|
|
2247
|
+
elif False:
|
|
2248
|
+
FSGroupStrategyOptionsPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2249
|
+
|
|
1630
2250
|
@pulumi.input_type
|
|
1631
2251
|
class FSGroupStrategyOptionsPatchArgs:
|
|
1632
2252
|
def __init__(__self__, *,
|
|
@@ -1667,6 +2287,22 @@ class FSGroupStrategyOptionsPatchArgs:
|
|
|
1667
2287
|
pulumi.set(self, "rule", value)
|
|
1668
2288
|
|
|
1669
2289
|
|
|
2290
|
+
if not MYPY:
|
|
2291
|
+
class FSGroupStrategyOptionsArgsDict(TypedDict):
|
|
2292
|
+
"""
|
|
2293
|
+
FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.
|
|
2294
|
+
"""
|
|
2295
|
+
ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['IDRangeArgsDict']]]]
|
|
2296
|
+
"""
|
|
2297
|
+
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
|
|
2298
|
+
"""
|
|
2299
|
+
rule: NotRequired[pulumi.Input[str]]
|
|
2300
|
+
"""
|
|
2301
|
+
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
|
2302
|
+
"""
|
|
2303
|
+
elif False:
|
|
2304
|
+
FSGroupStrategyOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
2305
|
+
|
|
1670
2306
|
@pulumi.input_type
|
|
1671
2307
|
class FSGroupStrategyOptionsArgs:
|
|
1672
2308
|
def __init__(__self__, *,
|
|
@@ -1707,6 +2343,36 @@ class FSGroupStrategyOptionsArgs:
|
|
|
1707
2343
|
pulumi.set(self, "rule", value)
|
|
1708
2344
|
|
|
1709
2345
|
|
|
2346
|
+
if not MYPY:
|
|
2347
|
+
class HTTPIngressPathPatchArgsDict(TypedDict):
|
|
2348
|
+
"""
|
|
2349
|
+
HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.
|
|
2350
|
+
"""
|
|
2351
|
+
backend: NotRequired[pulumi.Input['IngressBackendPatchArgsDict']]
|
|
2352
|
+
"""
|
|
2353
|
+
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
|
|
2354
|
+
"""
|
|
2355
|
+
path: NotRequired[pulumi.Input[str]]
|
|
2356
|
+
"""
|
|
2357
|
+
Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.
|
|
2358
|
+
"""
|
|
2359
|
+
path_type: NotRequired[pulumi.Input[str]]
|
|
2360
|
+
"""
|
|
2361
|
+
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
|
|
2362
|
+
done on a path element by element basis. A path element refers is the
|
|
2363
|
+
list of labels in the path split by the '/' separator. A request is a
|
|
2364
|
+
match for path p if every p is an element-wise prefix of p of the
|
|
2365
|
+
request path. Note that if the last element of the path is a substring
|
|
2366
|
+
of the last element in request path, it is not a match (e.g. /foo/bar
|
|
2367
|
+
matches /foo/bar/baz, but does not match /foo/barbaz).
|
|
2368
|
+
* ImplementationSpecific: Interpretation of the Path matching is up to
|
|
2369
|
+
the IngressClass. Implementations can treat this as a separate PathType
|
|
2370
|
+
or treat it identically to Prefix or Exact path types.
|
|
2371
|
+
Implementations are required to support all path types. Defaults to ImplementationSpecific.
|
|
2372
|
+
"""
|
|
2373
|
+
elif False:
|
|
2374
|
+
HTTPIngressPathPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2375
|
+
|
|
1710
2376
|
@pulumi.input_type
|
|
1711
2377
|
class HTTPIngressPathPatchArgs:
|
|
1712
2378
|
def __init__(__self__, *,
|
|
@@ -1783,6 +2449,36 @@ class HTTPIngressPathPatchArgs:
|
|
|
1783
2449
|
pulumi.set(self, "path_type", value)
|
|
1784
2450
|
|
|
1785
2451
|
|
|
2452
|
+
if not MYPY:
|
|
2453
|
+
class HTTPIngressPathArgsDict(TypedDict):
|
|
2454
|
+
"""
|
|
2455
|
+
HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.
|
|
2456
|
+
"""
|
|
2457
|
+
backend: pulumi.Input['IngressBackendArgsDict']
|
|
2458
|
+
"""
|
|
2459
|
+
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
|
|
2460
|
+
"""
|
|
2461
|
+
path: NotRequired[pulumi.Input[str]]
|
|
2462
|
+
"""
|
|
2463
|
+
Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.
|
|
2464
|
+
"""
|
|
2465
|
+
path_type: NotRequired[pulumi.Input[str]]
|
|
2466
|
+
"""
|
|
2467
|
+
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
|
|
2468
|
+
done on a path element by element basis. A path element refers is the
|
|
2469
|
+
list of labels in the path split by the '/' separator. A request is a
|
|
2470
|
+
match for path p if every p is an element-wise prefix of p of the
|
|
2471
|
+
request path. Note that if the last element of the path is a substring
|
|
2472
|
+
of the last element in request path, it is not a match (e.g. /foo/bar
|
|
2473
|
+
matches /foo/bar/baz, but does not match /foo/barbaz).
|
|
2474
|
+
* ImplementationSpecific: Interpretation of the Path matching is up to
|
|
2475
|
+
the IngressClass. Implementations can treat this as a separate PathType
|
|
2476
|
+
or treat it identically to Prefix or Exact path types.
|
|
2477
|
+
Implementations are required to support all path types. Defaults to ImplementationSpecific.
|
|
2478
|
+
"""
|
|
2479
|
+
elif False:
|
|
2480
|
+
HTTPIngressPathArgsDict: TypeAlias = Mapping[str, Any]
|
|
2481
|
+
|
|
1786
2482
|
@pulumi.input_type
|
|
1787
2483
|
class HTTPIngressPathArgs:
|
|
1788
2484
|
def __init__(__self__, *,
|
|
@@ -1858,6 +2554,18 @@ class HTTPIngressPathArgs:
|
|
|
1858
2554
|
pulumi.set(self, "path_type", value)
|
|
1859
2555
|
|
|
1860
2556
|
|
|
2557
|
+
if not MYPY:
|
|
2558
|
+
class HTTPIngressRuleValuePatchArgsDict(TypedDict):
|
|
2559
|
+
"""
|
|
2560
|
+
HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
|
|
2561
|
+
"""
|
|
2562
|
+
paths: NotRequired[pulumi.Input[Sequence[pulumi.Input['HTTPIngressPathPatchArgsDict']]]]
|
|
2563
|
+
"""
|
|
2564
|
+
A collection of paths that map requests to backends.
|
|
2565
|
+
"""
|
|
2566
|
+
elif False:
|
|
2567
|
+
HTTPIngressRuleValuePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2568
|
+
|
|
1861
2569
|
@pulumi.input_type
|
|
1862
2570
|
class HTTPIngressRuleValuePatchArgs:
|
|
1863
2571
|
def __init__(__self__, *,
|
|
@@ -1882,6 +2590,18 @@ class HTTPIngressRuleValuePatchArgs:
|
|
|
1882
2590
|
pulumi.set(self, "paths", value)
|
|
1883
2591
|
|
|
1884
2592
|
|
|
2593
|
+
if not MYPY:
|
|
2594
|
+
class HTTPIngressRuleValueArgsDict(TypedDict):
|
|
2595
|
+
"""
|
|
2596
|
+
HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
|
|
2597
|
+
"""
|
|
2598
|
+
paths: pulumi.Input[Sequence[pulumi.Input['HTTPIngressPathArgsDict']]]
|
|
2599
|
+
"""
|
|
2600
|
+
A collection of paths that map requests to backends.
|
|
2601
|
+
"""
|
|
2602
|
+
elif False:
|
|
2603
|
+
HTTPIngressRuleValueArgsDict: TypeAlias = Mapping[str, Any]
|
|
2604
|
+
|
|
1885
2605
|
@pulumi.input_type
|
|
1886
2606
|
class HTTPIngressRuleValueArgs:
|
|
1887
2607
|
def __init__(__self__, *,
|
|
@@ -1905,6 +2625,22 @@ class HTTPIngressRuleValueArgs:
|
|
|
1905
2625
|
pulumi.set(self, "paths", value)
|
|
1906
2626
|
|
|
1907
2627
|
|
|
2628
|
+
if not MYPY:
|
|
2629
|
+
class HostPortRangePatchArgsDict(TypedDict):
|
|
2630
|
+
"""
|
|
2631
|
+
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.
|
|
2632
|
+
"""
|
|
2633
|
+
max: NotRequired[pulumi.Input[int]]
|
|
2634
|
+
"""
|
|
2635
|
+
max is the end of the range, inclusive.
|
|
2636
|
+
"""
|
|
2637
|
+
min: NotRequired[pulumi.Input[int]]
|
|
2638
|
+
"""
|
|
2639
|
+
min is the start of the range, inclusive.
|
|
2640
|
+
"""
|
|
2641
|
+
elif False:
|
|
2642
|
+
HostPortRangePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2643
|
+
|
|
1908
2644
|
@pulumi.input_type
|
|
1909
2645
|
class HostPortRangePatchArgs:
|
|
1910
2646
|
def __init__(__self__, *,
|
|
@@ -1945,6 +2681,22 @@ class HostPortRangePatchArgs:
|
|
|
1945
2681
|
pulumi.set(self, "min", value)
|
|
1946
2682
|
|
|
1947
2683
|
|
|
2684
|
+
if not MYPY:
|
|
2685
|
+
class HostPortRangeArgsDict(TypedDict):
|
|
2686
|
+
"""
|
|
2687
|
+
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.
|
|
2688
|
+
"""
|
|
2689
|
+
max: pulumi.Input[int]
|
|
2690
|
+
"""
|
|
2691
|
+
max is the end of the range, inclusive.
|
|
2692
|
+
"""
|
|
2693
|
+
min: pulumi.Input[int]
|
|
2694
|
+
"""
|
|
2695
|
+
min is the start of the range, inclusive.
|
|
2696
|
+
"""
|
|
2697
|
+
elif False:
|
|
2698
|
+
HostPortRangeArgsDict: TypeAlias = Mapping[str, Any]
|
|
2699
|
+
|
|
1948
2700
|
@pulumi.input_type
|
|
1949
2701
|
class HostPortRangeArgs:
|
|
1950
2702
|
def __init__(__self__, *,
|
|
@@ -1983,6 +2735,22 @@ class HostPortRangeArgs:
|
|
|
1983
2735
|
pulumi.set(self, "min", value)
|
|
1984
2736
|
|
|
1985
2737
|
|
|
2738
|
+
if not MYPY:
|
|
2739
|
+
class IDRangePatchArgsDict(TypedDict):
|
|
2740
|
+
"""
|
|
2741
|
+
IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.
|
|
2742
|
+
"""
|
|
2743
|
+
max: NotRequired[pulumi.Input[int]]
|
|
2744
|
+
"""
|
|
2745
|
+
max is the end of the range, inclusive.
|
|
2746
|
+
"""
|
|
2747
|
+
min: NotRequired[pulumi.Input[int]]
|
|
2748
|
+
"""
|
|
2749
|
+
min is the start of the range, inclusive.
|
|
2750
|
+
"""
|
|
2751
|
+
elif False:
|
|
2752
|
+
IDRangePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2753
|
+
|
|
1986
2754
|
@pulumi.input_type
|
|
1987
2755
|
class IDRangePatchArgs:
|
|
1988
2756
|
def __init__(__self__, *,
|
|
@@ -2023,14 +2791,30 @@ class IDRangePatchArgs:
|
|
|
2023
2791
|
pulumi.set(self, "min", value)
|
|
2024
2792
|
|
|
2025
2793
|
|
|
2026
|
-
|
|
2027
|
-
class
|
|
2028
|
-
def __init__(__self__, *,
|
|
2029
|
-
max: pulumi.Input[int],
|
|
2030
|
-
min: pulumi.Input[int]):
|
|
2794
|
+
if not MYPY:
|
|
2795
|
+
class IDRangeArgsDict(TypedDict):
|
|
2031
2796
|
"""
|
|
2032
2797
|
IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.
|
|
2033
|
-
|
|
2798
|
+
"""
|
|
2799
|
+
max: pulumi.Input[int]
|
|
2800
|
+
"""
|
|
2801
|
+
max is the end of the range, inclusive.
|
|
2802
|
+
"""
|
|
2803
|
+
min: pulumi.Input[int]
|
|
2804
|
+
"""
|
|
2805
|
+
min is the start of the range, inclusive.
|
|
2806
|
+
"""
|
|
2807
|
+
elif False:
|
|
2808
|
+
IDRangeArgsDict: TypeAlias = Mapping[str, Any]
|
|
2809
|
+
|
|
2810
|
+
@pulumi.input_type
|
|
2811
|
+
class IDRangeArgs:
|
|
2812
|
+
def __init__(__self__, *,
|
|
2813
|
+
max: pulumi.Input[int],
|
|
2814
|
+
min: pulumi.Input[int]):
|
|
2815
|
+
"""
|
|
2816
|
+
IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.
|
|
2817
|
+
:param pulumi.Input[int] max: max is the end of the range, inclusive.
|
|
2034
2818
|
:param pulumi.Input[int] min: min is the start of the range, inclusive.
|
|
2035
2819
|
"""
|
|
2036
2820
|
pulumi.set(__self__, "max", max)
|
|
@@ -2061,6 +2845,22 @@ class IDRangeArgs:
|
|
|
2061
2845
|
pulumi.set(self, "min", value)
|
|
2062
2846
|
|
|
2063
2847
|
|
|
2848
|
+
if not MYPY:
|
|
2849
|
+
class IPBlockPatchArgsDict(TypedDict):
|
|
2850
|
+
"""
|
|
2851
|
+
DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
|
|
2852
|
+
"""
|
|
2853
|
+
cidr: NotRequired[pulumi.Input[str]]
|
|
2854
|
+
"""
|
|
2855
|
+
CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
|
|
2856
|
+
"""
|
|
2857
|
+
except_: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2858
|
+
"""
|
|
2859
|
+
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range
|
|
2860
|
+
"""
|
|
2861
|
+
elif False:
|
|
2862
|
+
IPBlockPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2863
|
+
|
|
2064
2864
|
@pulumi.input_type
|
|
2065
2865
|
class IPBlockPatchArgs:
|
|
2066
2866
|
def __init__(__self__, *,
|
|
@@ -2101,6 +2901,22 @@ class IPBlockPatchArgs:
|
|
|
2101
2901
|
pulumi.set(self, "except_", value)
|
|
2102
2902
|
|
|
2103
2903
|
|
|
2904
|
+
if not MYPY:
|
|
2905
|
+
class IPBlockArgsDict(TypedDict):
|
|
2906
|
+
"""
|
|
2907
|
+
DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
|
|
2908
|
+
"""
|
|
2909
|
+
cidr: pulumi.Input[str]
|
|
2910
|
+
"""
|
|
2911
|
+
CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
|
|
2912
|
+
"""
|
|
2913
|
+
except_: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2914
|
+
"""
|
|
2915
|
+
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range
|
|
2916
|
+
"""
|
|
2917
|
+
elif False:
|
|
2918
|
+
IPBlockArgsDict: TypeAlias = Mapping[str, Any]
|
|
2919
|
+
|
|
2104
2920
|
@pulumi.input_type
|
|
2105
2921
|
class IPBlockArgs:
|
|
2106
2922
|
def __init__(__self__, *,
|
|
@@ -2140,6 +2956,26 @@ class IPBlockArgs:
|
|
|
2140
2956
|
pulumi.set(self, "except_", value)
|
|
2141
2957
|
|
|
2142
2958
|
|
|
2959
|
+
if not MYPY:
|
|
2960
|
+
class IngressBackendPatchArgsDict(TypedDict):
|
|
2961
|
+
"""
|
|
2962
|
+
IngressBackend describes all endpoints for a given service and port.
|
|
2963
|
+
"""
|
|
2964
|
+
resource: NotRequired[pulumi.Input['_core.v1.TypedLocalObjectReferencePatchArgsDict']]
|
|
2965
|
+
"""
|
|
2966
|
+
Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified.
|
|
2967
|
+
"""
|
|
2968
|
+
service_name: NotRequired[pulumi.Input[str]]
|
|
2969
|
+
"""
|
|
2970
|
+
Specifies the name of the referenced service.
|
|
2971
|
+
"""
|
|
2972
|
+
service_port: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2973
|
+
"""
|
|
2974
|
+
Specifies the port of the referenced service.
|
|
2975
|
+
"""
|
|
2976
|
+
elif False:
|
|
2977
|
+
IngressBackendPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2978
|
+
|
|
2143
2979
|
@pulumi.input_type
|
|
2144
2980
|
class IngressBackendPatchArgs:
|
|
2145
2981
|
def __init__(__self__, *,
|
|
@@ -2196,6 +3032,26 @@ class IngressBackendPatchArgs:
|
|
|
2196
3032
|
pulumi.set(self, "service_port", value)
|
|
2197
3033
|
|
|
2198
3034
|
|
|
3035
|
+
if not MYPY:
|
|
3036
|
+
class IngressBackendArgsDict(TypedDict):
|
|
3037
|
+
"""
|
|
3038
|
+
IngressBackend describes all endpoints for a given service and port.
|
|
3039
|
+
"""
|
|
3040
|
+
service_name: pulumi.Input[str]
|
|
3041
|
+
"""
|
|
3042
|
+
Specifies the name of the referenced service.
|
|
3043
|
+
"""
|
|
3044
|
+
service_port: pulumi.Input[Union[int, str]]
|
|
3045
|
+
"""
|
|
3046
|
+
Specifies the port of the referenced service.
|
|
3047
|
+
"""
|
|
3048
|
+
resource: NotRequired[pulumi.Input['_core.v1.TypedLocalObjectReferenceArgsDict']]
|
|
3049
|
+
"""
|
|
3050
|
+
Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified.
|
|
3051
|
+
"""
|
|
3052
|
+
elif False:
|
|
3053
|
+
IngressBackendArgsDict: TypeAlias = Mapping[str, Any]
|
|
3054
|
+
|
|
2199
3055
|
@pulumi.input_type
|
|
2200
3056
|
class IngressBackendArgs:
|
|
2201
3057
|
def __init__(__self__, *,
|
|
@@ -2250,6 +3106,24 @@ class IngressBackendArgs:
|
|
|
2250
3106
|
pulumi.set(self, "resource", value)
|
|
2251
3107
|
|
|
2252
3108
|
|
|
3109
|
+
if not MYPY:
|
|
3110
|
+
class IngressRulePatchArgsDict(TypedDict):
|
|
3111
|
+
"""
|
|
3112
|
+
IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.
|
|
3113
|
+
"""
|
|
3114
|
+
host: NotRequired[pulumi.Input[str]]
|
|
3115
|
+
"""
|
|
3116
|
+
Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the
|
|
3117
|
+
IP in the Spec of the parent Ingress.
|
|
3118
|
+
2. The `:` delimiter is not respected because ports are not allowed.
|
|
3119
|
+
Currently the port of an Ingress is implicitly :80 for http and
|
|
3120
|
+
:443 for https.
|
|
3121
|
+
Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.
|
|
3122
|
+
"""
|
|
3123
|
+
http: NotRequired[pulumi.Input['HTTPIngressRuleValuePatchArgsDict']]
|
|
3124
|
+
elif False:
|
|
3125
|
+
IngressRulePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
3126
|
+
|
|
2253
3127
|
@pulumi.input_type
|
|
2254
3128
|
class IngressRulePatchArgs:
|
|
2255
3129
|
def __init__(__self__, *,
|
|
@@ -2296,6 +3170,24 @@ class IngressRulePatchArgs:
|
|
|
2296
3170
|
pulumi.set(self, "http", value)
|
|
2297
3171
|
|
|
2298
3172
|
|
|
3173
|
+
if not MYPY:
|
|
3174
|
+
class IngressRuleArgsDict(TypedDict):
|
|
3175
|
+
"""
|
|
3176
|
+
IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.
|
|
3177
|
+
"""
|
|
3178
|
+
host: NotRequired[pulumi.Input[str]]
|
|
3179
|
+
"""
|
|
3180
|
+
Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the
|
|
3181
|
+
IP in the Spec of the parent Ingress.
|
|
3182
|
+
2. The `:` delimiter is not respected because ports are not allowed.
|
|
3183
|
+
Currently the port of an Ingress is implicitly :80 for http and
|
|
3184
|
+
:443 for https.
|
|
3185
|
+
Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.
|
|
3186
|
+
"""
|
|
3187
|
+
http: NotRequired[pulumi.Input['HTTPIngressRuleValueArgsDict']]
|
|
3188
|
+
elif False:
|
|
3189
|
+
IngressRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
3190
|
+
|
|
2299
3191
|
@pulumi.input_type
|
|
2300
3192
|
class IngressRuleArgs:
|
|
2301
3193
|
def __init__(__self__, *,
|
|
@@ -2342,6 +3234,30 @@ class IngressRuleArgs:
|
|
|
2342
3234
|
pulumi.set(self, "http", value)
|
|
2343
3235
|
|
|
2344
3236
|
|
|
3237
|
+
if not MYPY:
|
|
3238
|
+
class IngressSpecPatchArgsDict(TypedDict):
|
|
3239
|
+
"""
|
|
3240
|
+
IngressSpec describes the Ingress the user wishes to exist.
|
|
3241
|
+
"""
|
|
3242
|
+
backend: NotRequired[pulumi.Input['IngressBackendPatchArgsDict']]
|
|
3243
|
+
"""
|
|
3244
|
+
A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.
|
|
3245
|
+
"""
|
|
3246
|
+
ingress_class_name: NotRequired[pulumi.Input[str]]
|
|
3247
|
+
"""
|
|
3248
|
+
IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.
|
|
3249
|
+
"""
|
|
3250
|
+
rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['IngressRulePatchArgsDict']]]]
|
|
3251
|
+
"""
|
|
3252
|
+
A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
|
|
3253
|
+
"""
|
|
3254
|
+
tls: NotRequired[pulumi.Input[Sequence[pulumi.Input['IngressTLSPatchArgsDict']]]]
|
|
3255
|
+
"""
|
|
3256
|
+
TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
|
|
3257
|
+
"""
|
|
3258
|
+
elif False:
|
|
3259
|
+
IngressSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
3260
|
+
|
|
2345
3261
|
@pulumi.input_type
|
|
2346
3262
|
class IngressSpecPatchArgs:
|
|
2347
3263
|
def __init__(__self__, *,
|
|
@@ -2414,6 +3330,30 @@ class IngressSpecPatchArgs:
|
|
|
2414
3330
|
pulumi.set(self, "tls", value)
|
|
2415
3331
|
|
|
2416
3332
|
|
|
3333
|
+
if not MYPY:
|
|
3334
|
+
class IngressSpecArgsDict(TypedDict):
|
|
3335
|
+
"""
|
|
3336
|
+
IngressSpec describes the Ingress the user wishes to exist.
|
|
3337
|
+
"""
|
|
3338
|
+
backend: NotRequired[pulumi.Input['IngressBackendArgsDict']]
|
|
3339
|
+
"""
|
|
3340
|
+
A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.
|
|
3341
|
+
"""
|
|
3342
|
+
ingress_class_name: NotRequired[pulumi.Input[str]]
|
|
3343
|
+
"""
|
|
3344
|
+
IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.
|
|
3345
|
+
"""
|
|
3346
|
+
rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['IngressRuleArgsDict']]]]
|
|
3347
|
+
"""
|
|
3348
|
+
A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
|
|
3349
|
+
"""
|
|
3350
|
+
tls: NotRequired[pulumi.Input[Sequence[pulumi.Input['IngressTLSArgsDict']]]]
|
|
3351
|
+
"""
|
|
3352
|
+
TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
|
|
3353
|
+
"""
|
|
3354
|
+
elif False:
|
|
3355
|
+
IngressSpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
3356
|
+
|
|
2417
3357
|
@pulumi.input_type
|
|
2418
3358
|
class IngressSpecArgs:
|
|
2419
3359
|
def __init__(__self__, *,
|
|
@@ -2486,6 +3426,18 @@ class IngressSpecArgs:
|
|
|
2486
3426
|
pulumi.set(self, "tls", value)
|
|
2487
3427
|
|
|
2488
3428
|
|
|
3429
|
+
if not MYPY:
|
|
3430
|
+
class IngressStatusArgsDict(TypedDict):
|
|
3431
|
+
"""
|
|
3432
|
+
IngressStatus describe the current state of the Ingress.
|
|
3433
|
+
"""
|
|
3434
|
+
load_balancer: NotRequired[pulumi.Input['_core.v1.LoadBalancerStatusArgsDict']]
|
|
3435
|
+
"""
|
|
3436
|
+
LoadBalancer contains the current status of the load-balancer.
|
|
3437
|
+
"""
|
|
3438
|
+
elif False:
|
|
3439
|
+
IngressStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
3440
|
+
|
|
2489
3441
|
@pulumi.input_type
|
|
2490
3442
|
class IngressStatusArgs:
|
|
2491
3443
|
def __init__(__self__, *,
|
|
@@ -2510,6 +3462,22 @@ class IngressStatusArgs:
|
|
|
2510
3462
|
pulumi.set(self, "load_balancer", value)
|
|
2511
3463
|
|
|
2512
3464
|
|
|
3465
|
+
if not MYPY:
|
|
3466
|
+
class IngressTLSPatchArgsDict(TypedDict):
|
|
3467
|
+
"""
|
|
3468
|
+
IngressTLS describes the transport layer security associated with an Ingress.
|
|
3469
|
+
"""
|
|
3470
|
+
hosts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
3471
|
+
"""
|
|
3472
|
+
Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
|
|
3473
|
+
"""
|
|
3474
|
+
secret_name: NotRequired[pulumi.Input[str]]
|
|
3475
|
+
"""
|
|
3476
|
+
SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.
|
|
3477
|
+
"""
|
|
3478
|
+
elif False:
|
|
3479
|
+
IngressTLSPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
3480
|
+
|
|
2513
3481
|
@pulumi.input_type
|
|
2514
3482
|
class IngressTLSPatchArgs:
|
|
2515
3483
|
def __init__(__self__, *,
|
|
@@ -2550,6 +3518,22 @@ class IngressTLSPatchArgs:
|
|
|
2550
3518
|
pulumi.set(self, "secret_name", value)
|
|
2551
3519
|
|
|
2552
3520
|
|
|
3521
|
+
if not MYPY:
|
|
3522
|
+
class IngressTLSArgsDict(TypedDict):
|
|
3523
|
+
"""
|
|
3524
|
+
IngressTLS describes the transport layer security associated with an Ingress.
|
|
3525
|
+
"""
|
|
3526
|
+
hosts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
3527
|
+
"""
|
|
3528
|
+
Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
|
|
3529
|
+
"""
|
|
3530
|
+
secret_name: NotRequired[pulumi.Input[str]]
|
|
3531
|
+
"""
|
|
3532
|
+
SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.
|
|
3533
|
+
"""
|
|
3534
|
+
elif False:
|
|
3535
|
+
IngressTLSArgsDict: TypeAlias = Mapping[str, Any]
|
|
3536
|
+
|
|
2553
3537
|
@pulumi.input_type
|
|
2554
3538
|
class IngressTLSArgs:
|
|
2555
3539
|
def __init__(__self__, *,
|
|
@@ -2590,6 +3574,48 @@ class IngressTLSArgs:
|
|
|
2590
3574
|
pulumi.set(self, "secret_name", value)
|
|
2591
3575
|
|
|
2592
3576
|
|
|
3577
|
+
if not MYPY:
|
|
3578
|
+
class IngressArgsDict(TypedDict):
|
|
3579
|
+
"""
|
|
3580
|
+
Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.
|
|
3581
|
+
|
|
3582
|
+
This resource waits until its status is ready before registering success
|
|
3583
|
+
for create/update, and populating output properties from the current state of the resource.
|
|
3584
|
+
The following conditions are used to determine whether the resource creation has
|
|
3585
|
+
succeeded or failed:
|
|
3586
|
+
|
|
3587
|
+
1. Ingress object exists.
|
|
3588
|
+
2. Endpoint objects exist with matching names for each Ingress path (except when Service
|
|
3589
|
+
type is ExternalName).
|
|
3590
|
+
3. Ingress entry exists for '.status.loadBalancer.ingress'.
|
|
3591
|
+
|
|
3592
|
+
If the Ingress has not reached a Ready state after 10 minutes, it will
|
|
3593
|
+
time out and mark the resource update as Failed. You can override the default timeout value
|
|
3594
|
+
by setting the 'customTimeouts' option on the resource.
|
|
3595
|
+
"""
|
|
3596
|
+
api_version: NotRequired[pulumi.Input[str]]
|
|
3597
|
+
"""
|
|
3598
|
+
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
|
|
3599
|
+
"""
|
|
3600
|
+
kind: NotRequired[pulumi.Input[str]]
|
|
3601
|
+
"""
|
|
3602
|
+
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
|
|
3603
|
+
"""
|
|
3604
|
+
metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
|
|
3605
|
+
"""
|
|
3606
|
+
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
3607
|
+
"""
|
|
3608
|
+
spec: NotRequired[pulumi.Input['IngressSpecArgsDict']]
|
|
3609
|
+
"""
|
|
3610
|
+
Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
3611
|
+
"""
|
|
3612
|
+
status: NotRequired[pulumi.Input['IngressStatusArgsDict']]
|
|
3613
|
+
"""
|
|
3614
|
+
Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
3615
|
+
"""
|
|
3616
|
+
elif False:
|
|
3617
|
+
IngressArgsDict: TypeAlias = Mapping[str, Any]
|
|
3618
|
+
|
|
2593
3619
|
@pulumi.input_type
|
|
2594
3620
|
class IngressArgs:
|
|
2595
3621
|
def __init__(__self__, *,
|
|
@@ -2692,6 +3718,22 @@ class IngressArgs:
|
|
|
2692
3718
|
pulumi.set(self, "status", value)
|
|
2693
3719
|
|
|
2694
3720
|
|
|
3721
|
+
if not MYPY:
|
|
3722
|
+
class NetworkPolicyEgressRulePatchArgsDict(TypedDict):
|
|
3723
|
+
"""
|
|
3724
|
+
DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
|
|
3725
|
+
"""
|
|
3726
|
+
ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyPortPatchArgsDict']]]]
|
|
3727
|
+
"""
|
|
3728
|
+
List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
|
|
3729
|
+
"""
|
|
3730
|
+
to: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyPeerPatchArgsDict']]]]
|
|
3731
|
+
"""
|
|
3732
|
+
List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.
|
|
3733
|
+
"""
|
|
3734
|
+
elif False:
|
|
3735
|
+
NetworkPolicyEgressRulePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
3736
|
+
|
|
2695
3737
|
@pulumi.input_type
|
|
2696
3738
|
class NetworkPolicyEgressRulePatchArgs:
|
|
2697
3739
|
def __init__(__self__, *,
|
|
@@ -2732,6 +3774,22 @@ class NetworkPolicyEgressRulePatchArgs:
|
|
|
2732
3774
|
pulumi.set(self, "to", value)
|
|
2733
3775
|
|
|
2734
3776
|
|
|
3777
|
+
if not MYPY:
|
|
3778
|
+
class NetworkPolicyEgressRuleArgsDict(TypedDict):
|
|
3779
|
+
"""
|
|
3780
|
+
DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
|
|
3781
|
+
"""
|
|
3782
|
+
ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyPortArgsDict']]]]
|
|
3783
|
+
"""
|
|
3784
|
+
List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
|
|
3785
|
+
"""
|
|
3786
|
+
to: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyPeerArgsDict']]]]
|
|
3787
|
+
"""
|
|
3788
|
+
List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.
|
|
3789
|
+
"""
|
|
3790
|
+
elif False:
|
|
3791
|
+
NetworkPolicyEgressRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
3792
|
+
|
|
2735
3793
|
@pulumi.input_type
|
|
2736
3794
|
class NetworkPolicyEgressRuleArgs:
|
|
2737
3795
|
def __init__(__self__, *,
|
|
@@ -2772,6 +3830,22 @@ class NetworkPolicyEgressRuleArgs:
|
|
|
2772
3830
|
pulumi.set(self, "to", value)
|
|
2773
3831
|
|
|
2774
3832
|
|
|
3833
|
+
if not MYPY:
|
|
3834
|
+
class NetworkPolicyIngressRulePatchArgsDict(TypedDict):
|
|
3835
|
+
"""
|
|
3836
|
+
DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.
|
|
3837
|
+
"""
|
|
3838
|
+
from_: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyPeerPatchArgsDict']]]]
|
|
3839
|
+
"""
|
|
3840
|
+
List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.
|
|
3841
|
+
"""
|
|
3842
|
+
ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyPortPatchArgsDict']]]]
|
|
3843
|
+
"""
|
|
3844
|
+
List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
|
|
3845
|
+
"""
|
|
3846
|
+
elif False:
|
|
3847
|
+
NetworkPolicyIngressRulePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
3848
|
+
|
|
2775
3849
|
@pulumi.input_type
|
|
2776
3850
|
class NetworkPolicyIngressRulePatchArgs:
|
|
2777
3851
|
def __init__(__self__, *,
|
|
@@ -2812,6 +3886,22 @@ class NetworkPolicyIngressRulePatchArgs:
|
|
|
2812
3886
|
pulumi.set(self, "ports", value)
|
|
2813
3887
|
|
|
2814
3888
|
|
|
3889
|
+
if not MYPY:
|
|
3890
|
+
class NetworkPolicyIngressRuleArgsDict(TypedDict):
|
|
3891
|
+
"""
|
|
3892
|
+
DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.
|
|
3893
|
+
"""
|
|
3894
|
+
from_: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyPeerArgsDict']]]]
|
|
3895
|
+
"""
|
|
3896
|
+
List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.
|
|
3897
|
+
"""
|
|
3898
|
+
ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyPortArgsDict']]]]
|
|
3899
|
+
"""
|
|
3900
|
+
List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
|
|
3901
|
+
"""
|
|
3902
|
+
elif False:
|
|
3903
|
+
NetworkPolicyIngressRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
3904
|
+
|
|
2815
3905
|
@pulumi.input_type
|
|
2816
3906
|
class NetworkPolicyIngressRuleArgs:
|
|
2817
3907
|
def __init__(__self__, *,
|
|
@@ -2852,6 +3942,30 @@ class NetworkPolicyIngressRuleArgs:
|
|
|
2852
3942
|
pulumi.set(self, "ports", value)
|
|
2853
3943
|
|
|
2854
3944
|
|
|
3945
|
+
if not MYPY:
|
|
3946
|
+
class NetworkPolicyPeerPatchArgsDict(TypedDict):
|
|
3947
|
+
"""
|
|
3948
|
+
DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.
|
|
3949
|
+
"""
|
|
3950
|
+
ip_block: NotRequired[pulumi.Input['IPBlockPatchArgsDict']]
|
|
3951
|
+
"""
|
|
3952
|
+
IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
|
|
3953
|
+
"""
|
|
3954
|
+
namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
3955
|
+
"""
|
|
3956
|
+
Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.
|
|
3957
|
+
|
|
3958
|
+
If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.
|
|
3959
|
+
"""
|
|
3960
|
+
pod_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
3961
|
+
"""
|
|
3962
|
+
This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.
|
|
3963
|
+
|
|
3964
|
+
If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.
|
|
3965
|
+
"""
|
|
3966
|
+
elif False:
|
|
3967
|
+
NetworkPolicyPeerPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
3968
|
+
|
|
2855
3969
|
@pulumi.input_type
|
|
2856
3970
|
class NetworkPolicyPeerPatchArgs:
|
|
2857
3971
|
def __init__(__self__, *,
|
|
@@ -2916,6 +4030,30 @@ class NetworkPolicyPeerPatchArgs:
|
|
|
2916
4030
|
pulumi.set(self, "pod_selector", value)
|
|
2917
4031
|
|
|
2918
4032
|
|
|
4033
|
+
if not MYPY:
|
|
4034
|
+
class NetworkPolicyPeerArgsDict(TypedDict):
|
|
4035
|
+
"""
|
|
4036
|
+
DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.
|
|
4037
|
+
"""
|
|
4038
|
+
ip_block: NotRequired[pulumi.Input['IPBlockArgsDict']]
|
|
4039
|
+
"""
|
|
4040
|
+
IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
|
|
4041
|
+
"""
|
|
4042
|
+
namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
|
|
4043
|
+
"""
|
|
4044
|
+
Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.
|
|
4045
|
+
|
|
4046
|
+
If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.
|
|
4047
|
+
"""
|
|
4048
|
+
pod_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
|
|
4049
|
+
"""
|
|
4050
|
+
This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.
|
|
4051
|
+
|
|
4052
|
+
If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.
|
|
4053
|
+
"""
|
|
4054
|
+
elif False:
|
|
4055
|
+
NetworkPolicyPeerArgsDict: TypeAlias = Mapping[str, Any]
|
|
4056
|
+
|
|
2919
4057
|
@pulumi.input_type
|
|
2920
4058
|
class NetworkPolicyPeerArgs:
|
|
2921
4059
|
def __init__(__self__, *,
|
|
@@ -2980,6 +4118,22 @@ class NetworkPolicyPeerArgs:
|
|
|
2980
4118
|
pulumi.set(self, "pod_selector", value)
|
|
2981
4119
|
|
|
2982
4120
|
|
|
4121
|
+
if not MYPY:
|
|
4122
|
+
class NetworkPolicyPortPatchArgsDict(TypedDict):
|
|
4123
|
+
"""
|
|
4124
|
+
DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.
|
|
4125
|
+
"""
|
|
4126
|
+
port: NotRequired[pulumi.Input[Union[int, str]]]
|
|
4127
|
+
"""
|
|
4128
|
+
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
|
|
4129
|
+
"""
|
|
4130
|
+
protocol: NotRequired[pulumi.Input[str]]
|
|
4131
|
+
"""
|
|
4132
|
+
Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
|
|
4133
|
+
"""
|
|
4134
|
+
elif False:
|
|
4135
|
+
NetworkPolicyPortPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
4136
|
+
|
|
2983
4137
|
@pulumi.input_type
|
|
2984
4138
|
class NetworkPolicyPortPatchArgs:
|
|
2985
4139
|
def __init__(__self__, *,
|
|
@@ -3020,6 +4174,22 @@ class NetworkPolicyPortPatchArgs:
|
|
|
3020
4174
|
pulumi.set(self, "protocol", value)
|
|
3021
4175
|
|
|
3022
4176
|
|
|
4177
|
+
if not MYPY:
|
|
4178
|
+
class NetworkPolicyPortArgsDict(TypedDict):
|
|
4179
|
+
"""
|
|
4180
|
+
DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.
|
|
4181
|
+
"""
|
|
4182
|
+
port: NotRequired[pulumi.Input[Union[int, str]]]
|
|
4183
|
+
"""
|
|
4184
|
+
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
|
|
4185
|
+
"""
|
|
4186
|
+
protocol: NotRequired[pulumi.Input[str]]
|
|
4187
|
+
"""
|
|
4188
|
+
Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
|
|
4189
|
+
"""
|
|
4190
|
+
elif False:
|
|
4191
|
+
NetworkPolicyPortArgsDict: TypeAlias = Mapping[str, Any]
|
|
4192
|
+
|
|
3023
4193
|
@pulumi.input_type
|
|
3024
4194
|
class NetworkPolicyPortArgs:
|
|
3025
4195
|
def __init__(__self__, *,
|
|
@@ -3060,6 +4230,30 @@ class NetworkPolicyPortArgs:
|
|
|
3060
4230
|
pulumi.set(self, "protocol", value)
|
|
3061
4231
|
|
|
3062
4232
|
|
|
4233
|
+
if not MYPY:
|
|
4234
|
+
class NetworkPolicySpecPatchArgsDict(TypedDict):
|
|
4235
|
+
"""
|
|
4236
|
+
DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.
|
|
4237
|
+
"""
|
|
4238
|
+
egress: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyEgressRulePatchArgsDict']]]]
|
|
4239
|
+
"""
|
|
4240
|
+
List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8
|
|
4241
|
+
"""
|
|
4242
|
+
ingress: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyIngressRulePatchArgsDict']]]]
|
|
4243
|
+
"""
|
|
4244
|
+
List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default).
|
|
4245
|
+
"""
|
|
4246
|
+
pod_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
4247
|
+
"""
|
|
4248
|
+
Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
|
|
4249
|
+
"""
|
|
4250
|
+
policy_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4251
|
+
"""
|
|
4252
|
+
List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8
|
|
4253
|
+
"""
|
|
4254
|
+
elif False:
|
|
4255
|
+
NetworkPolicySpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
4256
|
+
|
|
3063
4257
|
@pulumi.input_type
|
|
3064
4258
|
class NetworkPolicySpecPatchArgs:
|
|
3065
4259
|
def __init__(__self__, *,
|
|
@@ -3132,6 +4326,30 @@ class NetworkPolicySpecPatchArgs:
|
|
|
3132
4326
|
pulumi.set(self, "policy_types", value)
|
|
3133
4327
|
|
|
3134
4328
|
|
|
4329
|
+
if not MYPY:
|
|
4330
|
+
class NetworkPolicySpecArgsDict(TypedDict):
|
|
4331
|
+
"""
|
|
4332
|
+
DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.
|
|
4333
|
+
"""
|
|
4334
|
+
pod_selector: pulumi.Input['_meta.v1.LabelSelectorArgsDict']
|
|
4335
|
+
"""
|
|
4336
|
+
Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
|
|
4337
|
+
"""
|
|
4338
|
+
egress: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyEgressRuleArgsDict']]]]
|
|
4339
|
+
"""
|
|
4340
|
+
List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8
|
|
4341
|
+
"""
|
|
4342
|
+
ingress: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyIngressRuleArgsDict']]]]
|
|
4343
|
+
"""
|
|
4344
|
+
List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default).
|
|
4345
|
+
"""
|
|
4346
|
+
policy_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4347
|
+
"""
|
|
4348
|
+
List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8
|
|
4349
|
+
"""
|
|
4350
|
+
elif False:
|
|
4351
|
+
NetworkPolicySpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
4352
|
+
|
|
3135
4353
|
@pulumi.input_type
|
|
3136
4354
|
class NetworkPolicySpecArgs:
|
|
3137
4355
|
def __init__(__self__, *,
|
|
@@ -3203,6 +4421,30 @@ class NetworkPolicySpecArgs:
|
|
|
3203
4421
|
pulumi.set(self, "policy_types", value)
|
|
3204
4422
|
|
|
3205
4423
|
|
|
4424
|
+
if not MYPY:
|
|
4425
|
+
class NetworkPolicyArgsDict(TypedDict):
|
|
4426
|
+
"""
|
|
4427
|
+
DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods
|
|
4428
|
+
"""
|
|
4429
|
+
api_version: NotRequired[pulumi.Input[str]]
|
|
4430
|
+
"""
|
|
4431
|
+
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
|
|
4432
|
+
"""
|
|
4433
|
+
kind: NotRequired[pulumi.Input[str]]
|
|
4434
|
+
"""
|
|
4435
|
+
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
|
|
4436
|
+
"""
|
|
4437
|
+
metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
|
|
4438
|
+
"""
|
|
4439
|
+
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
4440
|
+
"""
|
|
4441
|
+
spec: NotRequired[pulumi.Input['NetworkPolicySpecArgsDict']]
|
|
4442
|
+
"""
|
|
4443
|
+
Specification of the desired behavior for this NetworkPolicy.
|
|
4444
|
+
"""
|
|
4445
|
+
elif False:
|
|
4446
|
+
NetworkPolicyArgsDict: TypeAlias = Mapping[str, Any]
|
|
4447
|
+
|
|
3206
4448
|
@pulumi.input_type
|
|
3207
4449
|
class NetworkPolicyArgs:
|
|
3208
4450
|
def __init__(__self__, *,
|
|
@@ -3275,6 +4517,114 @@ class NetworkPolicyArgs:
|
|
|
3275
4517
|
pulumi.set(self, "spec", value)
|
|
3276
4518
|
|
|
3277
4519
|
|
|
4520
|
+
if not MYPY:
|
|
4521
|
+
class PodSecurityPolicySpecPatchArgsDict(TypedDict):
|
|
4522
|
+
"""
|
|
4523
|
+
PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.
|
|
4524
|
+
"""
|
|
4525
|
+
allow_privilege_escalation: NotRequired[pulumi.Input[bool]]
|
|
4526
|
+
"""
|
|
4527
|
+
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
4528
|
+
"""
|
|
4529
|
+
allowed_csi_drivers: NotRequired[pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverPatchArgsDict']]]]
|
|
4530
|
+
"""
|
|
4531
|
+
AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes.
|
|
4532
|
+
"""
|
|
4533
|
+
allowed_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4534
|
+
"""
|
|
4535
|
+
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
4536
|
+
"""
|
|
4537
|
+
allowed_flex_volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumePatchArgsDict']]]]
|
|
4538
|
+
"""
|
|
4539
|
+
allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field.
|
|
4540
|
+
"""
|
|
4541
|
+
allowed_host_paths: NotRequired[pulumi.Input[Sequence[pulumi.Input['AllowedHostPathPatchArgsDict']]]]
|
|
4542
|
+
"""
|
|
4543
|
+
allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.
|
|
4544
|
+
"""
|
|
4545
|
+
allowed_proc_mount_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4546
|
+
"""
|
|
4547
|
+
AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
4548
|
+
"""
|
|
4549
|
+
allowed_unsafe_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4550
|
+
"""
|
|
4551
|
+
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
4552
|
+
|
|
4553
|
+
Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.
|
|
4554
|
+
"""
|
|
4555
|
+
default_add_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4556
|
+
"""
|
|
4557
|
+
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
4558
|
+
"""
|
|
4559
|
+
default_allow_privilege_escalation: NotRequired[pulumi.Input[bool]]
|
|
4560
|
+
"""
|
|
4561
|
+
defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
4562
|
+
"""
|
|
4563
|
+
forbidden_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4564
|
+
"""
|
|
4565
|
+
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
4566
|
+
|
|
4567
|
+
Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.
|
|
4568
|
+
"""
|
|
4569
|
+
fs_group: NotRequired[pulumi.Input['FSGroupStrategyOptionsPatchArgsDict']]
|
|
4570
|
+
"""
|
|
4571
|
+
fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
|
|
4572
|
+
"""
|
|
4573
|
+
host_ipc: NotRequired[pulumi.Input[bool]]
|
|
4574
|
+
"""
|
|
4575
|
+
hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
4576
|
+
"""
|
|
4577
|
+
host_network: NotRequired[pulumi.Input[bool]]
|
|
4578
|
+
"""
|
|
4579
|
+
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
4580
|
+
"""
|
|
4581
|
+
host_pid: NotRequired[pulumi.Input[bool]]
|
|
4582
|
+
"""
|
|
4583
|
+
hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
4584
|
+
"""
|
|
4585
|
+
host_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['HostPortRangePatchArgsDict']]]]
|
|
4586
|
+
"""
|
|
4587
|
+
hostPorts determines which host port ranges are allowed to be exposed.
|
|
4588
|
+
"""
|
|
4589
|
+
privileged: NotRequired[pulumi.Input[bool]]
|
|
4590
|
+
"""
|
|
4591
|
+
privileged determines if a pod can request to be run as privileged.
|
|
4592
|
+
"""
|
|
4593
|
+
read_only_root_filesystem: NotRequired[pulumi.Input[bool]]
|
|
4594
|
+
"""
|
|
4595
|
+
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
4596
|
+
"""
|
|
4597
|
+
required_drop_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4598
|
+
"""
|
|
4599
|
+
requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
4600
|
+
"""
|
|
4601
|
+
run_as_group: NotRequired[pulumi.Input['RunAsGroupStrategyOptionsPatchArgsDict']]
|
|
4602
|
+
"""
|
|
4603
|
+
RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.
|
|
4604
|
+
"""
|
|
4605
|
+
run_as_user: NotRequired[pulumi.Input['RunAsUserStrategyOptionsPatchArgsDict']]
|
|
4606
|
+
"""
|
|
4607
|
+
runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
4608
|
+
"""
|
|
4609
|
+
runtime_class: NotRequired[pulumi.Input['RuntimeClassStrategyOptionsPatchArgsDict']]
|
|
4610
|
+
"""
|
|
4611
|
+
runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled.
|
|
4612
|
+
"""
|
|
4613
|
+
se_linux: NotRequired[pulumi.Input['SELinuxStrategyOptionsPatchArgsDict']]
|
|
4614
|
+
"""
|
|
4615
|
+
seLinux is the strategy that will dictate the allowable labels that may be set.
|
|
4616
|
+
"""
|
|
4617
|
+
supplemental_groups: NotRequired[pulumi.Input['SupplementalGroupsStrategyOptionsPatchArgsDict']]
|
|
4618
|
+
"""
|
|
4619
|
+
supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
|
|
4620
|
+
"""
|
|
4621
|
+
volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
4622
|
+
"""
|
|
4623
|
+
volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
4624
|
+
"""
|
|
4625
|
+
elif False:
|
|
4626
|
+
PodSecurityPolicySpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
4627
|
+
|
|
3278
4628
|
@pulumi.input_type
|
|
3279
4629
|
class PodSecurityPolicySpecPatchArgs:
|
|
3280
4630
|
def __init__(__self__, *,
|
|
@@ -3675,6 +5025,114 @@ class PodSecurityPolicySpecPatchArgs:
|
|
|
3675
5025
|
pulumi.set(self, "volumes", value)
|
|
3676
5026
|
|
|
3677
5027
|
|
|
5028
|
+
if not MYPY:
|
|
5029
|
+
class PodSecurityPolicySpecArgsDict(TypedDict):
|
|
5030
|
+
"""
|
|
5031
|
+
PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.
|
|
5032
|
+
"""
|
|
5033
|
+
fs_group: pulumi.Input['FSGroupStrategyOptionsArgsDict']
|
|
5034
|
+
"""
|
|
5035
|
+
fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
|
|
5036
|
+
"""
|
|
5037
|
+
run_as_user: pulumi.Input['RunAsUserStrategyOptionsArgsDict']
|
|
5038
|
+
"""
|
|
5039
|
+
runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
5040
|
+
"""
|
|
5041
|
+
se_linux: pulumi.Input['SELinuxStrategyOptionsArgsDict']
|
|
5042
|
+
"""
|
|
5043
|
+
seLinux is the strategy that will dictate the allowable labels that may be set.
|
|
5044
|
+
"""
|
|
5045
|
+
supplemental_groups: pulumi.Input['SupplementalGroupsStrategyOptionsArgsDict']
|
|
5046
|
+
"""
|
|
5047
|
+
supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
|
|
5048
|
+
"""
|
|
5049
|
+
allow_privilege_escalation: NotRequired[pulumi.Input[bool]]
|
|
5050
|
+
"""
|
|
5051
|
+
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
|
|
5052
|
+
"""
|
|
5053
|
+
allowed_csi_drivers: NotRequired[pulumi.Input[Sequence[pulumi.Input['AllowedCSIDriverArgsDict']]]]
|
|
5054
|
+
"""
|
|
5055
|
+
AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes.
|
|
5056
|
+
"""
|
|
5057
|
+
allowed_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
5058
|
+
"""
|
|
5059
|
+
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
|
|
5060
|
+
"""
|
|
5061
|
+
allowed_flex_volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input['AllowedFlexVolumeArgsDict']]]]
|
|
5062
|
+
"""
|
|
5063
|
+
allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field.
|
|
5064
|
+
"""
|
|
5065
|
+
allowed_host_paths: NotRequired[pulumi.Input[Sequence[pulumi.Input['AllowedHostPathArgsDict']]]]
|
|
5066
|
+
"""
|
|
5067
|
+
allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.
|
|
5068
|
+
"""
|
|
5069
|
+
allowed_proc_mount_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
5070
|
+
"""
|
|
5071
|
+
AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
|
|
5072
|
+
"""
|
|
5073
|
+
allowed_unsafe_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
5074
|
+
"""
|
|
5075
|
+
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
|
|
5076
|
+
|
|
5077
|
+
Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.
|
|
5078
|
+
"""
|
|
5079
|
+
default_add_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
5080
|
+
"""
|
|
5081
|
+
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
|
|
5082
|
+
"""
|
|
5083
|
+
default_allow_privilege_escalation: NotRequired[pulumi.Input[bool]]
|
|
5084
|
+
"""
|
|
5085
|
+
defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
|
|
5086
|
+
"""
|
|
5087
|
+
forbidden_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
5088
|
+
"""
|
|
5089
|
+
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
|
|
5090
|
+
|
|
5091
|
+
Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.
|
|
5092
|
+
"""
|
|
5093
|
+
host_ipc: NotRequired[pulumi.Input[bool]]
|
|
5094
|
+
"""
|
|
5095
|
+
hostIPC determines if the policy allows the use of HostIPC in the pod spec.
|
|
5096
|
+
"""
|
|
5097
|
+
host_network: NotRequired[pulumi.Input[bool]]
|
|
5098
|
+
"""
|
|
5099
|
+
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
|
|
5100
|
+
"""
|
|
5101
|
+
host_pid: NotRequired[pulumi.Input[bool]]
|
|
5102
|
+
"""
|
|
5103
|
+
hostPID determines if the policy allows the use of HostPID in the pod spec.
|
|
5104
|
+
"""
|
|
5105
|
+
host_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['HostPortRangeArgsDict']]]]
|
|
5106
|
+
"""
|
|
5107
|
+
hostPorts determines which host port ranges are allowed to be exposed.
|
|
5108
|
+
"""
|
|
5109
|
+
privileged: NotRequired[pulumi.Input[bool]]
|
|
5110
|
+
"""
|
|
5111
|
+
privileged determines if a pod can request to be run as privileged.
|
|
5112
|
+
"""
|
|
5113
|
+
read_only_root_filesystem: NotRequired[pulumi.Input[bool]]
|
|
5114
|
+
"""
|
|
5115
|
+
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
|
|
5116
|
+
"""
|
|
5117
|
+
required_drop_capabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
5118
|
+
"""
|
|
5119
|
+
requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
|
|
5120
|
+
"""
|
|
5121
|
+
run_as_group: NotRequired[pulumi.Input['RunAsGroupStrategyOptionsArgsDict']]
|
|
5122
|
+
"""
|
|
5123
|
+
RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.
|
|
5124
|
+
"""
|
|
5125
|
+
runtime_class: NotRequired[pulumi.Input['RuntimeClassStrategyOptionsArgsDict']]
|
|
5126
|
+
"""
|
|
5127
|
+
runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled.
|
|
5128
|
+
"""
|
|
5129
|
+
volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
5130
|
+
"""
|
|
5131
|
+
volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
|
|
5132
|
+
"""
|
|
5133
|
+
elif False:
|
|
5134
|
+
PodSecurityPolicySpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
5135
|
+
|
|
3678
5136
|
@pulumi.input_type
|
|
3679
5137
|
class PodSecurityPolicySpecArgs:
|
|
3680
5138
|
def __init__(__self__, *,
|
|
@@ -4071,6 +5529,30 @@ class PodSecurityPolicySpecArgs:
|
|
|
4071
5529
|
pulumi.set(self, "volumes", value)
|
|
4072
5530
|
|
|
4073
5531
|
|
|
5532
|
+
if not MYPY:
|
|
5533
|
+
class PodSecurityPolicyArgsDict(TypedDict):
|
|
5534
|
+
"""
|
|
5535
|
+
PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.
|
|
5536
|
+
"""
|
|
5537
|
+
api_version: NotRequired[pulumi.Input[str]]
|
|
5538
|
+
"""
|
|
5539
|
+
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
|
|
5540
|
+
"""
|
|
5541
|
+
kind: NotRequired[pulumi.Input[str]]
|
|
5542
|
+
"""
|
|
5543
|
+
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
|
|
5544
|
+
"""
|
|
5545
|
+
metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
|
|
5546
|
+
"""
|
|
5547
|
+
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
5548
|
+
"""
|
|
5549
|
+
spec: NotRequired[pulumi.Input['PodSecurityPolicySpecArgsDict']]
|
|
5550
|
+
"""
|
|
5551
|
+
spec defines the policy enforced.
|
|
5552
|
+
"""
|
|
5553
|
+
elif False:
|
|
5554
|
+
PodSecurityPolicyArgsDict: TypeAlias = Mapping[str, Any]
|
|
5555
|
+
|
|
4074
5556
|
@pulumi.input_type
|
|
4075
5557
|
class PodSecurityPolicyArgs:
|
|
4076
5558
|
def __init__(__self__, *,
|
|
@@ -4143,6 +5625,34 @@ class PodSecurityPolicyArgs:
|
|
|
4143
5625
|
pulumi.set(self, "spec", value)
|
|
4144
5626
|
|
|
4145
5627
|
|
|
5628
|
+
if not MYPY:
|
|
5629
|
+
class ReplicaSetConditionArgsDict(TypedDict):
|
|
5630
|
+
"""
|
|
5631
|
+
ReplicaSetCondition describes the state of a replica set at a certain point.
|
|
5632
|
+
"""
|
|
5633
|
+
status: pulumi.Input[str]
|
|
5634
|
+
"""
|
|
5635
|
+
Status of the condition, one of True, False, Unknown.
|
|
5636
|
+
"""
|
|
5637
|
+
type: pulumi.Input[str]
|
|
5638
|
+
"""
|
|
5639
|
+
Type of replica set condition.
|
|
5640
|
+
"""
|
|
5641
|
+
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
5642
|
+
"""
|
|
5643
|
+
The last time the condition transitioned from one status to another.
|
|
5644
|
+
"""
|
|
5645
|
+
message: NotRequired[pulumi.Input[str]]
|
|
5646
|
+
"""
|
|
5647
|
+
A human readable message indicating details about the transition.
|
|
5648
|
+
"""
|
|
5649
|
+
reason: NotRequired[pulumi.Input[str]]
|
|
5650
|
+
"""
|
|
5651
|
+
The reason for the condition's last transition.
|
|
5652
|
+
"""
|
|
5653
|
+
elif False:
|
|
5654
|
+
ReplicaSetConditionArgsDict: TypeAlias = Mapping[str, Any]
|
|
5655
|
+
|
|
4146
5656
|
@pulumi.input_type
|
|
4147
5657
|
class ReplicaSetConditionArgs:
|
|
4148
5658
|
def __init__(__self__, *,
|
|
@@ -4229,6 +5739,30 @@ class ReplicaSetConditionArgs:
|
|
|
4229
5739
|
pulumi.set(self, "reason", value)
|
|
4230
5740
|
|
|
4231
5741
|
|
|
5742
|
+
if not MYPY:
|
|
5743
|
+
class ReplicaSetSpecPatchArgsDict(TypedDict):
|
|
5744
|
+
"""
|
|
5745
|
+
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
5746
|
+
"""
|
|
5747
|
+
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
5748
|
+
"""
|
|
5749
|
+
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
5750
|
+
"""
|
|
5751
|
+
replicas: NotRequired[pulumi.Input[int]]
|
|
5752
|
+
"""
|
|
5753
|
+
Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
|
|
5754
|
+
"""
|
|
5755
|
+
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
5756
|
+
"""
|
|
5757
|
+
Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
5758
|
+
"""
|
|
5759
|
+
template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
|
|
5760
|
+
"""
|
|
5761
|
+
Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
|
|
5762
|
+
"""
|
|
5763
|
+
elif False:
|
|
5764
|
+
ReplicaSetSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
5765
|
+
|
|
4232
5766
|
@pulumi.input_type
|
|
4233
5767
|
class ReplicaSetSpecPatchArgs:
|
|
4234
5768
|
def __init__(__self__, *,
|
|
@@ -4301,6 +5835,30 @@ class ReplicaSetSpecPatchArgs:
|
|
|
4301
5835
|
pulumi.set(self, "template", value)
|
|
4302
5836
|
|
|
4303
5837
|
|
|
5838
|
+
if not MYPY:
|
|
5839
|
+
class ReplicaSetSpecArgsDict(TypedDict):
|
|
5840
|
+
"""
|
|
5841
|
+
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
5842
|
+
"""
|
|
5843
|
+
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
5844
|
+
"""
|
|
5845
|
+
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
5846
|
+
"""
|
|
5847
|
+
replicas: NotRequired[pulumi.Input[int]]
|
|
5848
|
+
"""
|
|
5849
|
+
Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
|
|
5850
|
+
"""
|
|
5851
|
+
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
|
|
5852
|
+
"""
|
|
5853
|
+
Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
5854
|
+
"""
|
|
5855
|
+
template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecArgsDict']]
|
|
5856
|
+
"""
|
|
5857
|
+
Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
|
|
5858
|
+
"""
|
|
5859
|
+
elif False:
|
|
5860
|
+
ReplicaSetSpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
5861
|
+
|
|
4304
5862
|
@pulumi.input_type
|
|
4305
5863
|
class ReplicaSetSpecArgs:
|
|
4306
5864
|
def __init__(__self__, *,
|
|
@@ -4373,6 +5931,38 @@ class ReplicaSetSpecArgs:
|
|
|
4373
5931
|
pulumi.set(self, "template", value)
|
|
4374
5932
|
|
|
4375
5933
|
|
|
5934
|
+
if not MYPY:
|
|
5935
|
+
class ReplicaSetStatusArgsDict(TypedDict):
|
|
5936
|
+
"""
|
|
5937
|
+
ReplicaSetStatus represents the current status of a ReplicaSet.
|
|
5938
|
+
"""
|
|
5939
|
+
replicas: pulumi.Input[int]
|
|
5940
|
+
"""
|
|
5941
|
+
Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
|
|
5942
|
+
"""
|
|
5943
|
+
available_replicas: NotRequired[pulumi.Input[int]]
|
|
5944
|
+
"""
|
|
5945
|
+
The number of available replicas (ready for at least minReadySeconds) for this replica set.
|
|
5946
|
+
"""
|
|
5947
|
+
conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgsDict']]]]
|
|
5948
|
+
"""
|
|
5949
|
+
Represents the latest available observations of a replica set's current state.
|
|
5950
|
+
"""
|
|
5951
|
+
fully_labeled_replicas: NotRequired[pulumi.Input[int]]
|
|
5952
|
+
"""
|
|
5953
|
+
The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
5954
|
+
"""
|
|
5955
|
+
observed_generation: NotRequired[pulumi.Input[int]]
|
|
5956
|
+
"""
|
|
5957
|
+
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
5958
|
+
"""
|
|
5959
|
+
ready_replicas: NotRequired[pulumi.Input[int]]
|
|
5960
|
+
"""
|
|
5961
|
+
The number of ready replicas for this replica set.
|
|
5962
|
+
"""
|
|
5963
|
+
elif False:
|
|
5964
|
+
ReplicaSetStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
5965
|
+
|
|
4376
5966
|
@pulumi.input_type
|
|
4377
5967
|
class ReplicaSetStatusArgs:
|
|
4378
5968
|
def __init__(__self__, *,
|
|
@@ -4476,6 +6066,34 @@ class ReplicaSetStatusArgs:
|
|
|
4476
6066
|
pulumi.set(self, "ready_replicas", value)
|
|
4477
6067
|
|
|
4478
6068
|
|
|
6069
|
+
if not MYPY:
|
|
6070
|
+
class ReplicaSetArgsDict(TypedDict):
|
|
6071
|
+
"""
|
|
6072
|
+
ReplicaSet ensures that a specified number of pod replicas are running at any given time.
|
|
6073
|
+
"""
|
|
6074
|
+
api_version: NotRequired[pulumi.Input[str]]
|
|
6075
|
+
"""
|
|
6076
|
+
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
|
|
6077
|
+
"""
|
|
6078
|
+
kind: NotRequired[pulumi.Input[str]]
|
|
6079
|
+
"""
|
|
6080
|
+
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
|
|
6081
|
+
"""
|
|
6082
|
+
metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
|
|
6083
|
+
"""
|
|
6084
|
+
If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
6085
|
+
"""
|
|
6086
|
+
spec: NotRequired[pulumi.Input['ReplicaSetSpecArgsDict']]
|
|
6087
|
+
"""
|
|
6088
|
+
Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
6089
|
+
"""
|
|
6090
|
+
status: NotRequired[pulumi.Input['ReplicaSetStatusArgsDict']]
|
|
6091
|
+
"""
|
|
6092
|
+
Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
6093
|
+
"""
|
|
6094
|
+
elif False:
|
|
6095
|
+
ReplicaSetArgsDict: TypeAlias = Mapping[str, Any]
|
|
6096
|
+
|
|
4479
6097
|
@pulumi.input_type
|
|
4480
6098
|
class ReplicaSetArgs:
|
|
4481
6099
|
def __init__(__self__, *,
|
|
@@ -4564,6 +6182,18 @@ class ReplicaSetArgs:
|
|
|
4564
6182
|
pulumi.set(self, "status", value)
|
|
4565
6183
|
|
|
4566
6184
|
|
|
6185
|
+
if not MYPY:
|
|
6186
|
+
class RollbackConfigPatchArgsDict(TypedDict):
|
|
6187
|
+
"""
|
|
6188
|
+
DEPRECATED.
|
|
6189
|
+
"""
|
|
6190
|
+
revision: NotRequired[pulumi.Input[int]]
|
|
6191
|
+
"""
|
|
6192
|
+
The revision to rollback to. If set to 0, rollback to the last revision.
|
|
6193
|
+
"""
|
|
6194
|
+
elif False:
|
|
6195
|
+
RollbackConfigPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
6196
|
+
|
|
4567
6197
|
@pulumi.input_type
|
|
4568
6198
|
class RollbackConfigPatchArgs:
|
|
4569
6199
|
def __init__(__self__, *,
|
|
@@ -4588,6 +6218,18 @@ class RollbackConfigPatchArgs:
|
|
|
4588
6218
|
pulumi.set(self, "revision", value)
|
|
4589
6219
|
|
|
4590
6220
|
|
|
6221
|
+
if not MYPY:
|
|
6222
|
+
class RollbackConfigArgsDict(TypedDict):
|
|
6223
|
+
"""
|
|
6224
|
+
DEPRECATED.
|
|
6225
|
+
"""
|
|
6226
|
+
revision: NotRequired[pulumi.Input[int]]
|
|
6227
|
+
"""
|
|
6228
|
+
The revision to rollback to. If set to 0, rollback to the last revision.
|
|
6229
|
+
"""
|
|
6230
|
+
elif False:
|
|
6231
|
+
RollbackConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
6232
|
+
|
|
4591
6233
|
@pulumi.input_type
|
|
4592
6234
|
class RollbackConfigArgs:
|
|
4593
6235
|
def __init__(__self__, *,
|
|
@@ -4612,6 +6254,18 @@ class RollbackConfigArgs:
|
|
|
4612
6254
|
pulumi.set(self, "revision", value)
|
|
4613
6255
|
|
|
4614
6256
|
|
|
6257
|
+
if not MYPY:
|
|
6258
|
+
class RollingUpdateDaemonSetPatchArgsDict(TypedDict):
|
|
6259
|
+
"""
|
|
6260
|
+
Spec to control the desired behavior of daemon set rolling update.
|
|
6261
|
+
"""
|
|
6262
|
+
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
6263
|
+
"""
|
|
6264
|
+
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
|
|
6265
|
+
"""
|
|
6266
|
+
elif False:
|
|
6267
|
+
RollingUpdateDaemonSetPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
6268
|
+
|
|
4615
6269
|
@pulumi.input_type
|
|
4616
6270
|
class RollingUpdateDaemonSetPatchArgs:
|
|
4617
6271
|
def __init__(__self__, *,
|
|
@@ -4636,6 +6290,18 @@ class RollingUpdateDaemonSetPatchArgs:
|
|
|
4636
6290
|
pulumi.set(self, "max_unavailable", value)
|
|
4637
6291
|
|
|
4638
6292
|
|
|
6293
|
+
if not MYPY:
|
|
6294
|
+
class RollingUpdateDaemonSetArgsDict(TypedDict):
|
|
6295
|
+
"""
|
|
6296
|
+
Spec to control the desired behavior of daemon set rolling update.
|
|
6297
|
+
"""
|
|
6298
|
+
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
6299
|
+
"""
|
|
6300
|
+
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
|
|
6301
|
+
"""
|
|
6302
|
+
elif False:
|
|
6303
|
+
RollingUpdateDaemonSetArgsDict: TypeAlias = Mapping[str, Any]
|
|
6304
|
+
|
|
4639
6305
|
@pulumi.input_type
|
|
4640
6306
|
class RollingUpdateDaemonSetArgs:
|
|
4641
6307
|
def __init__(__self__, *,
|
|
@@ -4660,6 +6326,22 @@ class RollingUpdateDaemonSetArgs:
|
|
|
4660
6326
|
pulumi.set(self, "max_unavailable", value)
|
|
4661
6327
|
|
|
4662
6328
|
|
|
6329
|
+
if not MYPY:
|
|
6330
|
+
class RollingUpdateDeploymentPatchArgsDict(TypedDict):
|
|
6331
|
+
"""
|
|
6332
|
+
Spec to control the desired behavior of rolling update.
|
|
6333
|
+
"""
|
|
6334
|
+
max_surge: NotRequired[pulumi.Input[Union[int, str]]]
|
|
6335
|
+
"""
|
|
6336
|
+
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
|
|
6337
|
+
"""
|
|
6338
|
+
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
6339
|
+
"""
|
|
6340
|
+
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
|
|
6341
|
+
"""
|
|
6342
|
+
elif False:
|
|
6343
|
+
RollingUpdateDeploymentPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
6344
|
+
|
|
4663
6345
|
@pulumi.input_type
|
|
4664
6346
|
class RollingUpdateDeploymentPatchArgs:
|
|
4665
6347
|
def __init__(__self__, *,
|
|
@@ -4700,6 +6382,22 @@ class RollingUpdateDeploymentPatchArgs:
|
|
|
4700
6382
|
pulumi.set(self, "max_unavailable", value)
|
|
4701
6383
|
|
|
4702
6384
|
|
|
6385
|
+
if not MYPY:
|
|
6386
|
+
class RollingUpdateDeploymentArgsDict(TypedDict):
|
|
6387
|
+
"""
|
|
6388
|
+
Spec to control the desired behavior of rolling update.
|
|
6389
|
+
"""
|
|
6390
|
+
max_surge: NotRequired[pulumi.Input[Union[int, str]]]
|
|
6391
|
+
"""
|
|
6392
|
+
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
|
|
6393
|
+
"""
|
|
6394
|
+
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
6395
|
+
"""
|
|
6396
|
+
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
|
|
6397
|
+
"""
|
|
6398
|
+
elif False:
|
|
6399
|
+
RollingUpdateDeploymentArgsDict: TypeAlias = Mapping[str, Any]
|
|
6400
|
+
|
|
4703
6401
|
@pulumi.input_type
|
|
4704
6402
|
class RollingUpdateDeploymentArgs:
|
|
4705
6403
|
def __init__(__self__, *,
|
|
@@ -4740,6 +6438,22 @@ class RollingUpdateDeploymentArgs:
|
|
|
4740
6438
|
pulumi.set(self, "max_unavailable", value)
|
|
4741
6439
|
|
|
4742
6440
|
|
|
6441
|
+
if not MYPY:
|
|
6442
|
+
class RunAsGroupStrategyOptionsPatchArgsDict(TypedDict):
|
|
6443
|
+
"""
|
|
6444
|
+
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.
|
|
6445
|
+
"""
|
|
6446
|
+
ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgsDict']]]]
|
|
6447
|
+
"""
|
|
6448
|
+
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
|
|
6449
|
+
"""
|
|
6450
|
+
rule: NotRequired[pulumi.Input[str]]
|
|
6451
|
+
"""
|
|
6452
|
+
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
6453
|
+
"""
|
|
6454
|
+
elif False:
|
|
6455
|
+
RunAsGroupStrategyOptionsPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
6456
|
+
|
|
4743
6457
|
@pulumi.input_type
|
|
4744
6458
|
class RunAsGroupStrategyOptionsPatchArgs:
|
|
4745
6459
|
def __init__(__self__, *,
|
|
@@ -4780,6 +6494,22 @@ class RunAsGroupStrategyOptionsPatchArgs:
|
|
|
4780
6494
|
pulumi.set(self, "rule", value)
|
|
4781
6495
|
|
|
4782
6496
|
|
|
6497
|
+
if not MYPY:
|
|
6498
|
+
class RunAsGroupStrategyOptionsArgsDict(TypedDict):
|
|
6499
|
+
"""
|
|
6500
|
+
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.
|
|
6501
|
+
"""
|
|
6502
|
+
rule: pulumi.Input[str]
|
|
6503
|
+
"""
|
|
6504
|
+
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
|
|
6505
|
+
"""
|
|
6506
|
+
ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['IDRangeArgsDict']]]]
|
|
6507
|
+
"""
|
|
6508
|
+
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
|
|
6509
|
+
"""
|
|
6510
|
+
elif False:
|
|
6511
|
+
RunAsGroupStrategyOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
6512
|
+
|
|
4783
6513
|
@pulumi.input_type
|
|
4784
6514
|
class RunAsGroupStrategyOptionsArgs:
|
|
4785
6515
|
def __init__(__self__, *,
|
|
@@ -4819,6 +6549,22 @@ class RunAsGroupStrategyOptionsArgs:
|
|
|
4819
6549
|
pulumi.set(self, "ranges", value)
|
|
4820
6550
|
|
|
4821
6551
|
|
|
6552
|
+
if not MYPY:
|
|
6553
|
+
class RunAsUserStrategyOptionsPatchArgsDict(TypedDict):
|
|
6554
|
+
"""
|
|
6555
|
+
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.
|
|
6556
|
+
"""
|
|
6557
|
+
ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgsDict']]]]
|
|
6558
|
+
"""
|
|
6559
|
+
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
|
|
6560
|
+
"""
|
|
6561
|
+
rule: NotRequired[pulumi.Input[str]]
|
|
6562
|
+
"""
|
|
6563
|
+
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
6564
|
+
"""
|
|
6565
|
+
elif False:
|
|
6566
|
+
RunAsUserStrategyOptionsPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
6567
|
+
|
|
4822
6568
|
@pulumi.input_type
|
|
4823
6569
|
class RunAsUserStrategyOptionsPatchArgs:
|
|
4824
6570
|
def __init__(__self__, *,
|
|
@@ -4859,6 +6605,22 @@ class RunAsUserStrategyOptionsPatchArgs:
|
|
|
4859
6605
|
pulumi.set(self, "rule", value)
|
|
4860
6606
|
|
|
4861
6607
|
|
|
6608
|
+
if not MYPY:
|
|
6609
|
+
class RunAsUserStrategyOptionsArgsDict(TypedDict):
|
|
6610
|
+
"""
|
|
6611
|
+
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.
|
|
6612
|
+
"""
|
|
6613
|
+
rule: pulumi.Input[str]
|
|
6614
|
+
"""
|
|
6615
|
+
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
|
6616
|
+
"""
|
|
6617
|
+
ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['IDRangeArgsDict']]]]
|
|
6618
|
+
"""
|
|
6619
|
+
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
|
|
6620
|
+
"""
|
|
6621
|
+
elif False:
|
|
6622
|
+
RunAsUserStrategyOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
6623
|
+
|
|
4862
6624
|
@pulumi.input_type
|
|
4863
6625
|
class RunAsUserStrategyOptionsArgs:
|
|
4864
6626
|
def __init__(__self__, *,
|
|
@@ -4898,6 +6660,22 @@ class RunAsUserStrategyOptionsArgs:
|
|
|
4898
6660
|
pulumi.set(self, "ranges", value)
|
|
4899
6661
|
|
|
4900
6662
|
|
|
6663
|
+
if not MYPY:
|
|
6664
|
+
class RuntimeClassStrategyOptionsPatchArgsDict(TypedDict):
|
|
6665
|
+
"""
|
|
6666
|
+
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
|
|
6667
|
+
"""
|
|
6668
|
+
allowed_runtime_class_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
6669
|
+
"""
|
|
6670
|
+
allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
6671
|
+
"""
|
|
6672
|
+
default_runtime_class_name: NotRequired[pulumi.Input[str]]
|
|
6673
|
+
"""
|
|
6674
|
+
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
6675
|
+
"""
|
|
6676
|
+
elif False:
|
|
6677
|
+
RuntimeClassStrategyOptionsPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
6678
|
+
|
|
4901
6679
|
@pulumi.input_type
|
|
4902
6680
|
class RuntimeClassStrategyOptionsPatchArgs:
|
|
4903
6681
|
def __init__(__self__, *,
|
|
@@ -4938,6 +6716,22 @@ class RuntimeClassStrategyOptionsPatchArgs:
|
|
|
4938
6716
|
pulumi.set(self, "default_runtime_class_name", value)
|
|
4939
6717
|
|
|
4940
6718
|
|
|
6719
|
+
if not MYPY:
|
|
6720
|
+
class RuntimeClassStrategyOptionsArgsDict(TypedDict):
|
|
6721
|
+
"""
|
|
6722
|
+
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
|
|
6723
|
+
"""
|
|
6724
|
+
allowed_runtime_class_names: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
6725
|
+
"""
|
|
6726
|
+
allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
|
|
6727
|
+
"""
|
|
6728
|
+
default_runtime_class_name: NotRequired[pulumi.Input[str]]
|
|
6729
|
+
"""
|
|
6730
|
+
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
|
|
6731
|
+
"""
|
|
6732
|
+
elif False:
|
|
6733
|
+
RuntimeClassStrategyOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
6734
|
+
|
|
4941
6735
|
@pulumi.input_type
|
|
4942
6736
|
class RuntimeClassStrategyOptionsArgs:
|
|
4943
6737
|
def __init__(__self__, *,
|
|
@@ -4977,6 +6771,22 @@ class RuntimeClassStrategyOptionsArgs:
|
|
|
4977
6771
|
pulumi.set(self, "default_runtime_class_name", value)
|
|
4978
6772
|
|
|
4979
6773
|
|
|
6774
|
+
if not MYPY:
|
|
6775
|
+
class SELinuxStrategyOptionsPatchArgsDict(TypedDict):
|
|
6776
|
+
"""
|
|
6777
|
+
SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.
|
|
6778
|
+
"""
|
|
6779
|
+
rule: NotRequired[pulumi.Input[str]]
|
|
6780
|
+
"""
|
|
6781
|
+
rule is the strategy that will dictate the allowable labels that may be set.
|
|
6782
|
+
"""
|
|
6783
|
+
se_linux_options: NotRequired[pulumi.Input['_core.v1.SELinuxOptionsPatchArgsDict']]
|
|
6784
|
+
"""
|
|
6785
|
+
seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
6786
|
+
"""
|
|
6787
|
+
elif False:
|
|
6788
|
+
SELinuxStrategyOptionsPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
6789
|
+
|
|
4980
6790
|
@pulumi.input_type
|
|
4981
6791
|
class SELinuxStrategyOptionsPatchArgs:
|
|
4982
6792
|
def __init__(__self__, *,
|
|
@@ -5017,6 +6827,22 @@ class SELinuxStrategyOptionsPatchArgs:
|
|
|
5017
6827
|
pulumi.set(self, "se_linux_options", value)
|
|
5018
6828
|
|
|
5019
6829
|
|
|
6830
|
+
if not MYPY:
|
|
6831
|
+
class SELinuxStrategyOptionsArgsDict(TypedDict):
|
|
6832
|
+
"""
|
|
6833
|
+
SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.
|
|
6834
|
+
"""
|
|
6835
|
+
rule: pulumi.Input[str]
|
|
6836
|
+
"""
|
|
6837
|
+
rule is the strategy that will dictate the allowable labels that may be set.
|
|
6838
|
+
"""
|
|
6839
|
+
se_linux_options: NotRequired[pulumi.Input['_core.v1.SELinuxOptionsArgsDict']]
|
|
6840
|
+
"""
|
|
6841
|
+
seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
6842
|
+
"""
|
|
6843
|
+
elif False:
|
|
6844
|
+
SELinuxStrategyOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
6845
|
+
|
|
5020
6846
|
@pulumi.input_type
|
|
5021
6847
|
class SELinuxStrategyOptionsArgs:
|
|
5022
6848
|
def __init__(__self__, *,
|
|
@@ -5056,6 +6882,22 @@ class SELinuxStrategyOptionsArgs:
|
|
|
5056
6882
|
pulumi.set(self, "se_linux_options", value)
|
|
5057
6883
|
|
|
5058
6884
|
|
|
6885
|
+
if not MYPY:
|
|
6886
|
+
class SupplementalGroupsStrategyOptionsPatchArgsDict(TypedDict):
|
|
6887
|
+
"""
|
|
6888
|
+
SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.
|
|
6889
|
+
"""
|
|
6890
|
+
ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['IDRangePatchArgsDict']]]]
|
|
6891
|
+
"""
|
|
6892
|
+
ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
|
|
6893
|
+
"""
|
|
6894
|
+
rule: NotRequired[pulumi.Input[str]]
|
|
6895
|
+
"""
|
|
6896
|
+
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
6897
|
+
"""
|
|
6898
|
+
elif False:
|
|
6899
|
+
SupplementalGroupsStrategyOptionsPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
6900
|
+
|
|
5059
6901
|
@pulumi.input_type
|
|
5060
6902
|
class SupplementalGroupsStrategyOptionsPatchArgs:
|
|
5061
6903
|
def __init__(__self__, *,
|
|
@@ -5096,6 +6938,22 @@ class SupplementalGroupsStrategyOptionsPatchArgs:
|
|
|
5096
6938
|
pulumi.set(self, "rule", value)
|
|
5097
6939
|
|
|
5098
6940
|
|
|
6941
|
+
if not MYPY:
|
|
6942
|
+
class SupplementalGroupsStrategyOptionsArgsDict(TypedDict):
|
|
6943
|
+
"""
|
|
6944
|
+
SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.
|
|
6945
|
+
"""
|
|
6946
|
+
ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['IDRangeArgsDict']]]]
|
|
6947
|
+
"""
|
|
6948
|
+
ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
|
|
6949
|
+
"""
|
|
6950
|
+
rule: NotRequired[pulumi.Input[str]]
|
|
6951
|
+
"""
|
|
6952
|
+
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
|
|
6953
|
+
"""
|
|
6954
|
+
elif False:
|
|
6955
|
+
SupplementalGroupsStrategyOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
6956
|
+
|
|
5099
6957
|
@pulumi.input_type
|
|
5100
6958
|
class SupplementalGroupsStrategyOptionsArgs:
|
|
5101
6959
|
def __init__(__self__, *,
|