@pulumi/kubernetes 3.19.2 → 3.20.0
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.
- package/admissionregistration/v1/index.d.ts +2 -0
- package/admissionregistration/v1/index.js +8 -0
- package/admissionregistration/v1/index.js.map +1 -1
- package/admissionregistration/v1/mutatingWebhookConfigurationPatch.d.ts +66 -0
- package/admissionregistration/v1/mutatingWebhookConfigurationPatch.js +67 -0
- package/admissionregistration/v1/mutatingWebhookConfigurationPatch.js.map +1 -0
- package/admissionregistration/v1/validatingWebhookConfigurationPatch.d.ts +66 -0
- package/admissionregistration/v1/validatingWebhookConfigurationPatch.js +67 -0
- package/admissionregistration/v1/validatingWebhookConfigurationPatch.js.map +1 -0
- package/admissionregistration/v1beta1/index.d.ts +2 -0
- package/admissionregistration/v1beta1/index.js +8 -0
- package/admissionregistration/v1beta1/index.js.map +1 -1
- package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.d.ts +66 -0
- package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.js +67 -0
- package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.js.map +1 -0
- package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.d.ts +66 -0
- package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.js +67 -0
- package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.js.map +1 -0
- package/apiextensions/customResourcePatch.d.ts +68 -0
- package/apiextensions/customResourcePatch.js +57 -0
- package/apiextensions/customResourcePatch.js.map +1 -0
- package/apiextensions/index.d.ts +1 -0
- package/apiextensions/index.js +1 -0
- package/apiextensions/index.js.map +1 -1
- package/apiextensions/v1/customResourceDefinitionPatch.d.ts +70 -0
- package/apiextensions/v1/customResourceDefinitionPatch.js +69 -0
- package/apiextensions/v1/customResourceDefinitionPatch.js.map +1 -0
- package/apiextensions/v1/index.d.ts +1 -0
- package/apiextensions/v1/index.js +4 -0
- package/apiextensions/v1/index.js.map +1 -1
- package/apiextensions/v1beta1/customResourceDefinitionPatch.d.ts +64 -0
- package/apiextensions/v1beta1/customResourceDefinitionPatch.js +69 -0
- package/apiextensions/v1beta1/customResourceDefinitionPatch.js.map +1 -0
- package/apiextensions/v1beta1/index.d.ts +1 -0
- package/apiextensions/v1beta1/index.js +4 -0
- package/apiextensions/v1beta1/index.js.map +1 -1
- package/apiregistration/v1/apiservicePatch.d.ts +70 -0
- package/apiregistration/v1/apiservicePatch.js +69 -0
- package/apiregistration/v1/apiservicePatch.js.map +1 -0
- package/apiregistration/v1/index.d.ts +1 -0
- package/apiregistration/v1/index.js +4 -0
- package/apiregistration/v1/index.js.map +1 -1
- package/apiregistration/v1beta1/apiservicePatch.d.ts +64 -0
- package/apiregistration/v1beta1/apiservicePatch.js +69 -0
- package/apiregistration/v1beta1/apiservicePatch.js.map +1 -0
- package/apiregistration/v1beta1/index.d.ts +1 -0
- package/apiregistration/v1beta1/index.js +4 -0
- package/apiregistration/v1beta1/index.js.map +1 -1
- package/apps/v1/controllerRevisionPatch.d.ts +74 -0
- package/apps/v1/controllerRevisionPatch.js +69 -0
- package/apps/v1/controllerRevisionPatch.js.map +1 -0
- package/apps/v1/daemonSetPatch.d.ts +70 -0
- package/apps/v1/daemonSetPatch.js +69 -0
- package/apps/v1/daemonSetPatch.js.map +1 -0
- package/apps/v1/deployment.d.ts +5 -6
- package/apps/v1/deployment.js +5 -6
- package/apps/v1/deployment.js.map +1 -1
- package/apps/v1/deploymentPatch.d.ts +92 -0
- package/apps/v1/deploymentPatch.js +91 -0
- package/apps/v1/deploymentPatch.js.map +1 -0
- package/apps/v1/index.d.ts +5 -0
- package/apps/v1/index.js +20 -0
- package/apps/v1/index.js.map +1 -1
- package/apps/v1/replicaSetPatch.d.ts +70 -0
- package/apps/v1/replicaSetPatch.js +69 -0
- package/apps/v1/replicaSetPatch.js.map +1 -0
- package/apps/v1/statefulSet.d.ts +52 -55
- package/apps/v1/statefulSet.js +52 -55
- package/apps/v1/statefulSet.js.map +1 -1
- package/apps/v1/statefulSetPatch.d.ts +86 -0
- package/apps/v1/statefulSetPatch.js +85 -0
- package/apps/v1/statefulSetPatch.js.map +1 -0
- package/apps/v1beta1/controllerRevisionPatch.d.ts +77 -0
- package/apps/v1beta1/controllerRevisionPatch.js +72 -0
- package/apps/v1beta1/controllerRevisionPatch.js.map +1 -0
- package/apps/v1beta1/deploymentPatch.d.ts +95 -0
- package/apps/v1beta1/deploymentPatch.js +94 -0
- package/apps/v1beta1/deploymentPatch.js.map +1 -0
- package/apps/v1beta1/index.d.ts +3 -0
- package/apps/v1beta1/index.js +12 -0
- package/apps/v1beta1/index.js.map +1 -1
- package/apps/v1beta1/statefulSetPatch.d.ts +83 -0
- package/apps/v1beta1/statefulSetPatch.js +88 -0
- package/apps/v1beta1/statefulSetPatch.js.map +1 -0
- package/apps/v1beta2/controllerRevisionPatch.d.ts +77 -0
- package/apps/v1beta2/controllerRevisionPatch.js +72 -0
- package/apps/v1beta2/controllerRevisionPatch.js.map +1 -0
- package/apps/v1beta2/daemonSetPatch.d.ts +73 -0
- package/apps/v1beta2/daemonSetPatch.js +72 -0
- package/apps/v1beta2/daemonSetPatch.js.map +1 -0
- package/apps/v1beta2/deploymentPatch.d.ts +95 -0
- package/apps/v1beta2/deploymentPatch.js +94 -0
- package/apps/v1beta2/deploymentPatch.js.map +1 -0
- package/apps/v1beta2/index.d.ts +5 -0
- package/apps/v1beta2/index.js +20 -0
- package/apps/v1beta2/index.js.map +1 -1
- package/apps/v1beta2/replicaSetPatch.d.ts +73 -0
- package/apps/v1beta2/replicaSetPatch.js +72 -0
- package/apps/v1beta2/replicaSetPatch.js.map +1 -0
- package/apps/v1beta2/statefulSetPatch.d.ts +83 -0
- package/apps/v1beta2/statefulSetPatch.js +88 -0
- package/apps/v1beta2/statefulSetPatch.js.map +1 -0
- package/auditregistration/v1alpha1/auditSinkPatch.d.ts +60 -0
- package/auditregistration/v1alpha1/auditSinkPatch.js +65 -0
- package/auditregistration/v1alpha1/auditSinkPatch.js.map +1 -0
- package/auditregistration/v1alpha1/index.d.ts +1 -0
- package/auditregistration/v1alpha1/index.js +4 -0
- package/auditregistration/v1alpha1/index.js.map +1 -1
- package/authentication/v1/index.d.ts +2 -0
- package/authentication/v1/index.js +8 -0
- package/authentication/v1/index.js.map +1 -1
- package/authentication/v1/tokenRequestPatch.d.ts +70 -0
- package/authentication/v1/tokenRequestPatch.js +67 -0
- package/authentication/v1/tokenRequestPatch.js.map +1 -0
- package/authentication/v1/tokenReviewPatch.d.ts +70 -0
- package/authentication/v1/tokenReviewPatch.js +69 -0
- package/authentication/v1/tokenReviewPatch.js.map +1 -0
- package/authentication/v1beta1/index.d.ts +1 -0
- package/authentication/v1beta1/index.js +4 -0
- package/authentication/v1beta1/index.js.map +1 -1
- package/authentication/v1beta1/tokenReviewPatch.d.ts +64 -0
- package/authentication/v1beta1/tokenReviewPatch.js +69 -0
- package/authentication/v1beta1/tokenReviewPatch.js.map +1 -0
- package/authorization/v1/index.d.ts +4 -0
- package/authorization/v1/index.js +16 -0
- package/authorization/v1/index.js.map +1 -1
- package/authorization/v1/localSubjectAccessReviewPatch.d.ts +70 -0
- package/authorization/v1/localSubjectAccessReviewPatch.js +69 -0
- package/authorization/v1/localSubjectAccessReviewPatch.js.map +1 -0
- package/authorization/v1/selfSubjectAccessReviewPatch.d.ts +70 -0
- package/authorization/v1/selfSubjectAccessReviewPatch.js +69 -0
- package/authorization/v1/selfSubjectAccessReviewPatch.js.map +1 -0
- package/authorization/v1/selfSubjectRulesReviewPatch.d.ts +70 -0
- package/authorization/v1/selfSubjectRulesReviewPatch.js +69 -0
- package/authorization/v1/selfSubjectRulesReviewPatch.js.map +1 -0
- package/authorization/v1/subjectAccessReviewPatch.d.ts +70 -0
- package/authorization/v1/subjectAccessReviewPatch.js +69 -0
- package/authorization/v1/subjectAccessReviewPatch.js.map +1 -0
- package/authorization/v1beta1/index.d.ts +4 -0
- package/authorization/v1beta1/index.js +16 -0
- package/authorization/v1beta1/index.js.map +1 -1
- package/authorization/v1beta1/localSubjectAccessReviewPatch.d.ts +64 -0
- package/authorization/v1beta1/localSubjectAccessReviewPatch.js +69 -0
- package/authorization/v1beta1/localSubjectAccessReviewPatch.js.map +1 -0
- package/authorization/v1beta1/selfSubjectAccessReviewPatch.d.ts +64 -0
- package/authorization/v1beta1/selfSubjectAccessReviewPatch.js +69 -0
- package/authorization/v1beta1/selfSubjectAccessReviewPatch.js.map +1 -0
- package/authorization/v1beta1/selfSubjectRulesReviewPatch.d.ts +64 -0
- package/authorization/v1beta1/selfSubjectRulesReviewPatch.js +69 -0
- package/authorization/v1beta1/selfSubjectRulesReviewPatch.js.map +1 -0
- package/authorization/v1beta1/subjectAccessReviewPatch.d.ts +64 -0
- package/authorization/v1beta1/subjectAccessReviewPatch.js +69 -0
- package/authorization/v1beta1/subjectAccessReviewPatch.js.map +1 -0
- package/autoscaling/v1/horizontalPodAutoscalerPatch.d.ts +70 -0
- package/autoscaling/v1/horizontalPodAutoscalerPatch.js +69 -0
- package/autoscaling/v1/horizontalPodAutoscalerPatch.js.map +1 -0
- package/autoscaling/v1/index.d.ts +1 -0
- package/autoscaling/v1/index.js +4 -0
- package/autoscaling/v1/index.js.map +1 -1
- package/autoscaling/v2/horizontalPodAutoscalerPatch.d.ts +70 -0
- package/autoscaling/v2/horizontalPodAutoscalerPatch.js +69 -0
- package/autoscaling/v2/horizontalPodAutoscalerPatch.js.map +1 -0
- package/autoscaling/v2/index.d.ts +1 -0
- package/autoscaling/v2/index.js +4 -0
- package/autoscaling/v2/index.js.map +1 -1
- package/autoscaling/v2beta1/horizontalPodAutoscalerPatch.d.ts +70 -0
- package/autoscaling/v2beta1/horizontalPodAutoscalerPatch.js +69 -0
- package/autoscaling/v2beta1/horizontalPodAutoscalerPatch.js.map +1 -0
- package/autoscaling/v2beta1/index.d.ts +1 -0
- package/autoscaling/v2beta1/index.js +4 -0
- package/autoscaling/v2beta1/index.js.map +1 -1
- package/autoscaling/v2beta2/horizontalPodAutoscalerPatch.d.ts +70 -0
- package/autoscaling/v2beta2/horizontalPodAutoscalerPatch.js +69 -0
- package/autoscaling/v2beta2/horizontalPodAutoscalerPatch.js.map +1 -0
- package/autoscaling/v2beta2/index.d.ts +1 -0
- package/autoscaling/v2beta2/index.js +4 -0
- package/autoscaling/v2beta2/index.js.map +1 -1
- package/batch/v1/cronJobPatch.d.ts +70 -0
- package/batch/v1/cronJobPatch.js +69 -0
- package/batch/v1/cronJobPatch.js.map +1 -0
- package/batch/v1/index.d.ts +2 -0
- package/batch/v1/index.js +8 -0
- package/batch/v1/index.js.map +1 -1
- package/batch/v1/job.d.ts +9 -9
- package/batch/v1/job.js +9 -9
- package/batch/v1/jobPatch.d.ts +90 -0
- package/batch/v1/jobPatch.js +87 -0
- package/batch/v1/jobPatch.js.map +1 -0
- package/batch/v1beta1/cronJobPatch.d.ts +70 -0
- package/batch/v1beta1/cronJobPatch.js +69 -0
- package/batch/v1beta1/cronJobPatch.js.map +1 -0
- package/batch/v1beta1/index.d.ts +1 -0
- package/batch/v1beta1/index.js +4 -0
- package/batch/v1beta1/index.js.map +1 -1
- package/batch/v2alpha1/cronJobPatch.d.ts +70 -0
- package/batch/v2alpha1/cronJobPatch.js +69 -0
- package/batch/v2alpha1/cronJobPatch.js.map +1 -0
- package/batch/v2alpha1/index.d.ts +1 -0
- package/batch/v2alpha1/index.js +4 -0
- package/batch/v2alpha1/index.js.map +1 -1
- package/certificates/v1/certificateSigningRequestPatch.d.ts +70 -0
- package/certificates/v1/certificateSigningRequestPatch.js +75 -0
- package/certificates/v1/certificateSigningRequestPatch.js.map +1 -0
- package/certificates/v1/index.d.ts +1 -0
- package/certificates/v1/index.js +4 -0
- package/certificates/v1/index.js.map +1 -1
- package/certificates/v1beta1/certificateSigningRequestPatch.d.ts +64 -0
- package/certificates/v1beta1/certificateSigningRequestPatch.js +69 -0
- package/certificates/v1beta1/certificateSigningRequestPatch.js.map +1 -0
- package/certificates/v1beta1/index.d.ts +1 -0
- package/certificates/v1beta1/index.js +4 -0
- package/certificates/v1beta1/index.js.map +1 -1
- package/coordination/v1/index.d.ts +1 -0
- package/coordination/v1/index.js +4 -0
- package/coordination/v1/index.js.map +1 -1
- package/coordination/v1/leasePatch.d.ts +66 -0
- package/coordination/v1/leasePatch.js +67 -0
- package/coordination/v1/leasePatch.js.map +1 -0
- package/coordination/v1beta1/index.d.ts +1 -0
- package/coordination/v1beta1/index.js +4 -0
- package/coordination/v1beta1/index.js.map +1 -1
- package/coordination/v1beta1/leasePatch.d.ts +66 -0
- package/coordination/v1beta1/leasePatch.js +67 -0
- package/coordination/v1beta1/leasePatch.js.map +1 -0
- package/core/v1/bindingPatch.d.ts +66 -0
- package/core/v1/bindingPatch.js +65 -0
- package/core/v1/bindingPatch.js.map +1 -0
- package/core/v1/configMapPatch.d.ts +90 -0
- package/core/v1/configMapPatch.js +69 -0
- package/core/v1/configMapPatch.js.map +1 -0
- package/core/v1/endpointsPatch.d.ts +77 -0
- package/core/v1/endpointsPatch.js +76 -0
- package/core/v1/endpointsPatch.js.map +1 -0
- package/core/v1/eventPatch.d.ts +170 -0
- package/core/v1/eventPatch.js +93 -0
- package/core/v1/eventPatch.js.map +1 -0
- package/core/v1/index.d.ts +16 -0
- package/core/v1/index.js +64 -0
- package/core/v1/index.js.map +1 -1
- package/core/v1/limitRangePatch.d.ts +66 -0
- package/core/v1/limitRangePatch.js +65 -0
- package/core/v1/limitRangePatch.js.map +1 -0
- package/core/v1/namespacePatch.d.ts +70 -0
- package/core/v1/namespacePatch.js +67 -0
- package/core/v1/namespacePatch.js.map +1 -0
- package/core/v1/nodePatch.d.ts +70 -0
- package/core/v1/nodePatch.js +67 -0
- package/core/v1/nodePatch.js.map +1 -0
- package/core/v1/persistentVolumeClaimPatch.d.ts +70 -0
- package/core/v1/persistentVolumeClaimPatch.js +67 -0
- package/core/v1/persistentVolumeClaimPatch.js.map +1 -0
- package/core/v1/persistentVolumePatch.d.ts +70 -0
- package/core/v1/persistentVolumePatch.js +67 -0
- package/core/v1/persistentVolumePatch.js.map +1 -0
- package/core/v1/pod.d.ts +10 -13
- package/core/v1/pod.js +10 -13
- package/core/v1/pod.js.map +1 -1
- package/core/v1/podPatch.d.ts +85 -0
- package/core/v1/podPatch.js +82 -0
- package/core/v1/podPatch.js.map +1 -0
- package/core/v1/podTemplatePatch.d.ts +66 -0
- package/core/v1/podTemplatePatch.js +65 -0
- package/core/v1/podTemplatePatch.js.map +1 -0
- package/core/v1/replicationControllerPatch.d.ts +70 -0
- package/core/v1/replicationControllerPatch.js +67 -0
- package/core/v1/replicationControllerPatch.js.map +1 -0
- package/core/v1/resourceQuotaPatch.d.ts +70 -0
- package/core/v1/resourceQuotaPatch.js +67 -0
- package/core/v1/resourceQuotaPatch.js.map +1 -0
- package/core/v1/secretPatch.d.ts +108 -0
- package/core/v1/secretPatch.js +81 -0
- package/core/v1/secretPatch.js.map +1 -0
- package/core/v1/service.d.ts +14 -17
- package/core/v1/service.js +14 -17
- package/core/v1/service.js.map +1 -1
- package/core/v1/serviceAccountPatch.d.ts +82 -0
- package/core/v1/serviceAccountPatch.js +69 -0
- package/core/v1/serviceAccountPatch.js.map +1 -0
- package/core/v1/servicePatch.d.ts +95 -0
- package/core/v1/servicePatch.js +92 -0
- package/core/v1/servicePatch.js.map +1 -0
- package/discovery/v1/endpointSlicePatch.d.ts +82 -0
- package/discovery/v1/endpointSlicePatch.js +71 -0
- package/discovery/v1/endpointSlicePatch.js.map +1 -0
- package/discovery/v1/index.d.ts +1 -0
- package/discovery/v1/index.js +4 -0
- package/discovery/v1/index.js.map +1 -1
- package/discovery/v1beta1/endpointSlicePatch.d.ts +82 -0
- package/discovery/v1beta1/endpointSlicePatch.js +71 -0
- package/discovery/v1beta1/endpointSlicePatch.js.map +1 -0
- package/discovery/v1beta1/index.d.ts +1 -0
- package/discovery/v1beta1/index.js +4 -0
- package/discovery/v1beta1/index.js.map +1 -1
- package/events/v1/eventPatch.d.ts +170 -0
- package/events/v1/eventPatch.js +93 -0
- package/events/v1/eventPatch.js.map +1 -0
- package/events/v1/index.d.ts +1 -0
- package/events/v1/index.js +4 -0
- package/events/v1/index.js.map +1 -1
- package/events/v1beta1/eventPatch.d.ts +170 -0
- package/events/v1beta1/eventPatch.js +93 -0
- package/events/v1beta1/eventPatch.js.map +1 -0
- package/events/v1beta1/index.d.ts +1 -0
- package/events/v1beta1/index.js +4 -0
- package/events/v1beta1/index.js.map +1 -1
- package/extensions/v1beta1/daemonSetPatch.d.ts +73 -0
- package/extensions/v1beta1/daemonSetPatch.js +72 -0
- package/extensions/v1beta1/daemonSetPatch.js.map +1 -0
- package/extensions/v1beta1/deploymentPatch.d.ts +95 -0
- package/extensions/v1beta1/deploymentPatch.js +94 -0
- package/extensions/v1beta1/deploymentPatch.js.map +1 -0
- package/extensions/v1beta1/index.d.ts +6 -0
- package/extensions/v1beta1/index.js +24 -0
- package/extensions/v1beta1/index.js.map +1 -1
- package/extensions/v1beta1/ingressPatch.d.ts +87 -0
- package/extensions/v1beta1/ingressPatch.js +86 -0
- package/extensions/v1beta1/ingressPatch.js.map +1 -0
- package/extensions/v1beta1/networkPolicyPatch.d.ts +66 -0
- package/extensions/v1beta1/networkPolicyPatch.js +67 -0
- package/extensions/v1beta1/networkPolicyPatch.js.map +1 -0
- package/extensions/v1beta1/podSecurityPolicyPatch.d.ts +66 -0
- package/extensions/v1beta1/podSecurityPolicyPatch.js +67 -0
- package/extensions/v1beta1/podSecurityPolicyPatch.js.map +1 -0
- package/extensions/v1beta1/replicaSetPatch.d.ts +73 -0
- package/extensions/v1beta1/replicaSetPatch.js +72 -0
- package/extensions/v1beta1/replicaSetPatch.js.map +1 -0
- package/flowcontrol/v1alpha1/flowSchemaPatch.d.ts +70 -0
- package/flowcontrol/v1alpha1/flowSchemaPatch.js +69 -0
- package/flowcontrol/v1alpha1/flowSchemaPatch.js.map +1 -0
- package/flowcontrol/v1alpha1/index.d.ts +2 -0
- package/flowcontrol/v1alpha1/index.js +8 -0
- package/flowcontrol/v1alpha1/index.js.map +1 -1
- package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.d.ts +70 -0
- package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.js +69 -0
- package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.js.map +1 -0
- package/flowcontrol/v1beta1/flowSchemaPatch.d.ts +70 -0
- package/flowcontrol/v1beta1/flowSchemaPatch.js +69 -0
- package/flowcontrol/v1beta1/flowSchemaPatch.js.map +1 -0
- package/flowcontrol/v1beta1/index.d.ts +2 -0
- package/flowcontrol/v1beta1/index.js +8 -0
- package/flowcontrol/v1beta1/index.js.map +1 -1
- package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.d.ts +70 -0
- package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.js +69 -0
- package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.js.map +1 -0
- package/flowcontrol/v1beta2/flowSchemaPatch.d.ts +70 -0
- package/flowcontrol/v1beta2/flowSchemaPatch.js +69 -0
- package/flowcontrol/v1beta2/flowSchemaPatch.js.map +1 -0
- package/flowcontrol/v1beta2/index.d.ts +2 -0
- package/flowcontrol/v1beta2/index.js +8 -0
- package/flowcontrol/v1beta2/index.js.map +1 -1
- package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.d.ts +70 -0
- package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.js +69 -0
- package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.js.map +1 -0
- package/helm/v3/release.d.ts +2 -2
- package/helm/v3/release.js +2 -2
- package/kustomize/kustomize.js +2 -2
- package/kustomize/kustomize.js.map +1 -1
- package/meta/v1/index.d.ts +1 -0
- package/meta/v1/index.js +4 -0
- package/meta/v1/index.js.map +1 -1
- package/meta/v1/statusPatch.d.ts +94 -0
- package/meta/v1/statusPatch.js +73 -0
- package/meta/v1/statusPatch.js.map +1 -0
- package/networking/v1/index.d.ts +3 -0
- package/networking/v1/index.js +12 -0
- package/networking/v1/index.js.map +1 -1
- package/networking/v1/ingress.d.ts +7 -8
- package/networking/v1/ingress.js +7 -8
- package/networking/v1/ingress.js.map +1 -1
- package/networking/v1/ingressClassPatch.d.ts +66 -0
- package/networking/v1/ingressClassPatch.js +67 -0
- package/networking/v1/ingressClassPatch.js.map +1 -0
- package/networking/v1/ingressPatch.d.ts +84 -0
- package/networking/v1/ingressPatch.js +83 -0
- package/networking/v1/ingressPatch.js.map +1 -0
- package/networking/v1/networkPolicyPatch.d.ts +70 -0
- package/networking/v1/networkPolicyPatch.js +69 -0
- package/networking/v1/networkPolicyPatch.js.map +1 -0
- package/networking/v1beta1/index.d.ts +2 -0
- package/networking/v1beta1/index.js +8 -0
- package/networking/v1beta1/index.js.map +1 -1
- package/networking/v1beta1/ingressClassPatch.d.ts +66 -0
- package/networking/v1beta1/ingressClassPatch.js +67 -0
- package/networking/v1beta1/ingressClassPatch.js.map +1 -0
- package/networking/v1beta1/ingressPatch.d.ts +84 -0
- package/networking/v1beta1/ingressPatch.js +83 -0
- package/networking/v1beta1/ingressPatch.js.map +1 -0
- package/node/v1/index.d.ts +1 -0
- package/node/v1/index.js +4 -0
- package/node/v1/index.js.map +1 -1
- package/node/v1/runtimeClassPatch.d.ts +84 -0
- package/node/v1/runtimeClassPatch.js +71 -0
- package/node/v1/runtimeClassPatch.js.map +1 -0
- package/node/v1alpha1/index.d.ts +1 -0
- package/node/v1alpha1/index.js +4 -0
- package/node/v1alpha1/index.js.map +1 -1
- package/node/v1alpha1/runtimeClassPatch.d.ts +66 -0
- package/node/v1alpha1/runtimeClassPatch.js +67 -0
- package/node/v1alpha1/runtimeClassPatch.js.map +1 -0
- package/node/v1beta1/index.d.ts +1 -0
- package/node/v1beta1/index.js +4 -0
- package/node/v1beta1/index.js.map +1 -1
- package/node/v1beta1/runtimeClassPatch.d.ts +82 -0
- package/node/v1beta1/runtimeClassPatch.js +71 -0
- package/node/v1beta1/runtimeClassPatch.js.map +1 -0
- package/package.json +3 -3
- package/package.json.bak +1 -1
- package/package.json.dev +3 -3
- package/policy/v1/index.d.ts +1 -0
- package/policy/v1/index.js +4 -0
- package/policy/v1/index.js.map +1 -1
- package/policy/v1/podDisruptionBudgetPatch.d.ts +70 -0
- package/policy/v1/podDisruptionBudgetPatch.js +69 -0
- package/policy/v1/podDisruptionBudgetPatch.js.map +1 -0
- package/policy/v1beta1/index.d.ts +2 -0
- package/policy/v1beta1/index.js +8 -0
- package/policy/v1beta1/index.js.map +1 -1
- package/policy/v1beta1/podDisruptionBudgetPatch.d.ts +70 -0
- package/policy/v1beta1/podDisruptionBudgetPatch.js +69 -0
- package/policy/v1beta1/podDisruptionBudgetPatch.js.map +1 -0
- package/policy/v1beta1/podSecurityPolicyPatch.d.ts +66 -0
- package/policy/v1beta1/podSecurityPolicyPatch.js +67 -0
- package/policy/v1beta1/podSecurityPolicyPatch.js.map +1 -0
- package/provider.d.ts +13 -2
- package/provider.js +6 -4
- package/provider.js.map +1 -1
- package/rbac/v1/clusterRoleBindingPatch.d.ts +74 -0
- package/rbac/v1/clusterRoleBindingPatch.js +69 -0
- package/rbac/v1/clusterRoleBindingPatch.js.map +1 -0
- package/rbac/v1/clusterRolePatch.d.ts +74 -0
- package/rbac/v1/clusterRolePatch.js +69 -0
- package/rbac/v1/clusterRolePatch.js.map +1 -0
- package/rbac/v1/index.d.ts +4 -0
- package/rbac/v1/index.js +16 -0
- package/rbac/v1/index.js.map +1 -1
- package/rbac/v1/roleBindingPatch.d.ts +74 -0
- package/rbac/v1/roleBindingPatch.js +69 -0
- package/rbac/v1/roleBindingPatch.js.map +1 -0
- package/rbac/v1/rolePatch.d.ts +66 -0
- package/rbac/v1/rolePatch.js +67 -0
- package/rbac/v1/rolePatch.js.map +1 -0
- package/rbac/v1alpha1/clusterRoleBindingPatch.d.ts +74 -0
- package/rbac/v1alpha1/clusterRoleBindingPatch.js +69 -0
- package/rbac/v1alpha1/clusterRoleBindingPatch.js.map +1 -0
- package/rbac/v1alpha1/clusterRolePatch.d.ts +74 -0
- package/rbac/v1alpha1/clusterRolePatch.js +69 -0
- package/rbac/v1alpha1/clusterRolePatch.js.map +1 -0
- package/rbac/v1alpha1/index.d.ts +4 -0
- package/rbac/v1alpha1/index.js +16 -0
- package/rbac/v1alpha1/index.js.map +1 -1
- package/rbac/v1alpha1/roleBindingPatch.d.ts +74 -0
- package/rbac/v1alpha1/roleBindingPatch.js +69 -0
- package/rbac/v1alpha1/roleBindingPatch.js.map +1 -0
- package/rbac/v1alpha1/rolePatch.d.ts +66 -0
- package/rbac/v1alpha1/rolePatch.js +67 -0
- package/rbac/v1alpha1/rolePatch.js.map +1 -0
- package/rbac/v1beta1/clusterRoleBindingPatch.d.ts +74 -0
- package/rbac/v1beta1/clusterRoleBindingPatch.js +69 -0
- package/rbac/v1beta1/clusterRoleBindingPatch.js.map +1 -0
- package/rbac/v1beta1/clusterRolePatch.d.ts +74 -0
- package/rbac/v1beta1/clusterRolePatch.js +69 -0
- package/rbac/v1beta1/clusterRolePatch.js.map +1 -0
- package/rbac/v1beta1/index.d.ts +4 -0
- package/rbac/v1beta1/index.js +16 -0
- package/rbac/v1beta1/index.js.map +1 -1
- package/rbac/v1beta1/roleBindingPatch.d.ts +74 -0
- package/rbac/v1beta1/roleBindingPatch.js +69 -0
- package/rbac/v1beta1/roleBindingPatch.js.map +1 -0
- package/rbac/v1beta1/rolePatch.d.ts +66 -0
- package/rbac/v1beta1/rolePatch.js +67 -0
- package/rbac/v1beta1/rolePatch.js.map +1 -0
- package/scheduling/v1/index.d.ts +1 -0
- package/scheduling/v1/index.js +4 -0
- package/scheduling/v1/index.js.map +1 -1
- package/scheduling/v1/priorityClassPatch.d.ts +90 -0
- package/scheduling/v1/priorityClassPatch.js +73 -0
- package/scheduling/v1/priorityClassPatch.js.map +1 -0
- package/scheduling/v1alpha1/index.d.ts +1 -0
- package/scheduling/v1alpha1/index.js +4 -0
- package/scheduling/v1alpha1/index.js.map +1 -1
- package/scheduling/v1alpha1/priorityClassPatch.d.ts +90 -0
- package/scheduling/v1alpha1/priorityClassPatch.js +73 -0
- package/scheduling/v1alpha1/priorityClassPatch.js.map +1 -0
- package/scheduling/v1beta1/index.d.ts +1 -0
- package/scheduling/v1beta1/index.js +4 -0
- package/scheduling/v1beta1/index.js.map +1 -1
- package/scheduling/v1beta1/priorityClassPatch.d.ts +90 -0
- package/scheduling/v1beta1/priorityClassPatch.js +73 -0
- package/scheduling/v1beta1/priorityClassPatch.js.map +1 -0
- package/settings/v1alpha1/index.d.ts +1 -0
- package/settings/v1alpha1/index.js +4 -0
- package/settings/v1alpha1/index.js.map +1 -1
- package/settings/v1alpha1/podPresetPatch.d.ts +54 -0
- package/settings/v1alpha1/podPresetPatch.js +65 -0
- package/settings/v1alpha1/podPresetPatch.js.map +1 -0
- package/storage/v1/csidriverPatch.d.ts +66 -0
- package/storage/v1/csidriverPatch.js +67 -0
- package/storage/v1/csidriverPatch.js.map +1 -0
- package/storage/v1/csinodePatch.d.ts +66 -0
- package/storage/v1/csinodePatch.js +67 -0
- package/storage/v1/csinodePatch.js.map +1 -0
- package/storage/v1/csistorageCapacityPatch.d.ts +114 -0
- package/storage/v1/csistorageCapacityPatch.js +81 -0
- package/storage/v1/csistorageCapacityPatch.js.map +1 -0
- package/storage/v1/index.d.ts +5 -0
- package/storage/v1/index.js +20 -0
- package/storage/v1/index.js.map +1 -1
- package/storage/v1/storageClassPatch.d.ts +120 -0
- package/storage/v1/storageClassPatch.js +81 -0
- package/storage/v1/storageClassPatch.js.map +1 -0
- package/storage/v1/volumeAttachmentPatch.d.ts +72 -0
- package/storage/v1/volumeAttachmentPatch.js +71 -0
- package/storage/v1/volumeAttachmentPatch.js.map +1 -0
- package/storage/v1alpha1/index.d.ts +1 -0
- package/storage/v1alpha1/index.js +4 -0
- package/storage/v1alpha1/index.js.map +1 -1
- package/storage/v1alpha1/volumeAttachmentPatch.d.ts +72 -0
- package/storage/v1alpha1/volumeAttachmentPatch.js +71 -0
- package/storage/v1alpha1/volumeAttachmentPatch.js.map +1 -0
- package/storage/v1beta1/csidriverPatch.d.ts +66 -0
- package/storage/v1beta1/csidriverPatch.js +67 -0
- package/storage/v1beta1/csidriverPatch.js.map +1 -0
- package/storage/v1beta1/csinodePatch.d.ts +69 -0
- package/storage/v1beta1/csinodePatch.js +70 -0
- package/storage/v1beta1/csinodePatch.js.map +1 -0
- package/storage/v1beta1/csistorageCapacityPatch.d.ts +114 -0
- package/storage/v1beta1/csistorageCapacityPatch.js +81 -0
- package/storage/v1beta1/csistorageCapacityPatch.js.map +1 -0
- package/storage/v1beta1/index.d.ts +5 -0
- package/storage/v1beta1/index.js +20 -0
- package/storage/v1beta1/index.js.map +1 -1
- package/storage/v1beta1/storageClassPatch.d.ts +120 -0
- package/storage/v1beta1/storageClassPatch.js +81 -0
- package/storage/v1beta1/storageClassPatch.js.map +1 -0
- package/storage/v1beta1/volumeAttachmentPatch.d.ts +72 -0
- package/storage/v1beta1/volumeAttachmentPatch.js +71 -0
- package/storage/v1beta1/volumeAttachmentPatch.js.map +1 -0
- package/types/input.d.ts +9853 -301
- package/types/output.d.ts +17100 -4451
- package/yaml/yaml.js +7 -7
- package/yaml/yaml.js.map +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PriorityClassPatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
|
|
10
|
+
*/
|
|
11
|
+
class PriorityClassPatch extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a PriorityClassPatch resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let resourceInputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.metadata === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'metadata'");
|
|
25
|
+
}
|
|
26
|
+
resourceInputs["apiVersion"] = "scheduling.k8s.io/v1";
|
|
27
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
28
|
+
resourceInputs["globalDefault"] = args ? args.globalDefault : undefined;
|
|
29
|
+
resourceInputs["kind"] = "PriorityClass";
|
|
30
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
31
|
+
resourceInputs["preemptionPolicy"] = args ? args.preemptionPolicy : undefined;
|
|
32
|
+
resourceInputs["value"] = args ? args.value : undefined;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
36
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
37
|
+
resourceInputs["globalDefault"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["preemptionPolicy"] = undefined /*out*/;
|
|
41
|
+
resourceInputs["value"] = undefined /*out*/;
|
|
42
|
+
}
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassPatch" }, { type: "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassPatch" }] };
|
|
45
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
46
|
+
super(PriorityClassPatch.__pulumiType, name, resourceInputs, opts);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing PriorityClassPatch resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name, id, opts) {
|
|
57
|
+
return new PriorityClassPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the given object is an instance of PriorityClassPatch. This is designed to work even
|
|
61
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
+
*/
|
|
63
|
+
static isInstance(obj) {
|
|
64
|
+
if (obj === undefined || obj === null) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return obj['__pulumiType'] === PriorityClassPatch.__pulumiType;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.PriorityClassPatch = PriorityClassPatch;
|
|
71
|
+
/** @internal */
|
|
72
|
+
PriorityClassPatch.__pulumiType = 'kubernetes:scheduling.k8s.io/v1:PriorityClassPatch';
|
|
73
|
+
//# sourceMappingURL=priorityClassPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priorityClassPatch.js","sourceRoot":"","sources":["../../../scheduling/v1/priorityClassPatch.ts"],"names":[],"mappings":"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"}
|
|
@@ -21,9 +21,11 @@ const utilities = require("../../utilities");
|
|
|
21
21
|
// Export members:
|
|
22
22
|
__exportStar(require("./priorityClass"), exports);
|
|
23
23
|
__exportStar(require("./priorityClassList"), exports);
|
|
24
|
+
__exportStar(require("./priorityClassPatch"), exports);
|
|
24
25
|
// Import resources to register:
|
|
25
26
|
const priorityClass_1 = require("./priorityClass");
|
|
26
27
|
const priorityClassList_1 = require("./priorityClassList");
|
|
28
|
+
const priorityClassPatch_1 = require("./priorityClassPatch");
|
|
27
29
|
const _module = {
|
|
28
30
|
version: utilities.getVersion(),
|
|
29
31
|
construct: (name, type, urn) => {
|
|
@@ -32,6 +34,8 @@ const _module = {
|
|
|
32
34
|
return new priorityClass_1.PriorityClass(name, undefined, { urn });
|
|
33
35
|
case "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassList":
|
|
34
36
|
return new priorityClassList_1.PriorityClassList(name, undefined, { urn });
|
|
37
|
+
case "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassPatch":
|
|
38
|
+
return new priorityClassPatch_1.PriorityClassPatch(name, undefined, { urn });
|
|
35
39
|
default:
|
|
36
40
|
throw new Error(`unknown resource type ${type}`);
|
|
37
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../scheduling/v1alpha1/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAE7C,kBAAkB;AAClB,kDAAgC;AAChC,sDAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../scheduling/v1alpha1/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAE7C,kBAAkB;AAClB,kDAAgC;AAChC,sDAAoC;AACpC,uDAAqC;AAErC,gCAAgC;AAChC,mDAAgD;AAChD,2DAAwD;AACxD,6DAA0D;AAE1D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,qDAAqD;gBACtD,OAAO,IAAI,6BAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,yDAAyD;gBAC1D,OAAO,IAAI,qCAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D,KAAK,0DAA0D;gBAC3D,OAAO,IAAI,uCAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
|
|
5
|
+
*/
|
|
6
|
+
export declare class PriorityClassPatch extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing PriorityClassPatch resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PriorityClassPatch;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of PriorityClassPatch. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is PriorityClassPatch;
|
|
21
|
+
/**
|
|
22
|
+
* 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
|
|
23
|
+
*/
|
|
24
|
+
readonly apiVersion: pulumi.Output<"scheduling.k8s.io/v1alpha1">;
|
|
25
|
+
/**
|
|
26
|
+
* description is an arbitrary string that usually provides guidelines on when this priority class should be used.
|
|
27
|
+
*/
|
|
28
|
+
readonly description: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
|
|
31
|
+
*/
|
|
32
|
+
readonly globalDefault: pulumi.Output<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* 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
|
|
35
|
+
*/
|
|
36
|
+
readonly kind: pulumi.Output<"PriorityClass">;
|
|
37
|
+
/**
|
|
38
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
39
|
+
*/
|
|
40
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
41
|
+
/**
|
|
42
|
+
* PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.
|
|
43
|
+
*/
|
|
44
|
+
readonly preemptionPolicy: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
|
|
47
|
+
*/
|
|
48
|
+
readonly value: pulumi.Output<number>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a PriorityClassPatch resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args?: PriorityClassPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The set of arguments for constructing a PriorityClassPatch resource.
|
|
60
|
+
*/
|
|
61
|
+
export interface PriorityClassPatchArgs {
|
|
62
|
+
/**
|
|
63
|
+
* 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
|
|
64
|
+
*/
|
|
65
|
+
apiVersion?: pulumi.Input<"scheduling.k8s.io/v1alpha1">;
|
|
66
|
+
/**
|
|
67
|
+
* description is an arbitrary string that usually provides guidelines on when this priority class should be used.
|
|
68
|
+
*/
|
|
69
|
+
description?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
|
|
72
|
+
*/
|
|
73
|
+
globalDefault?: pulumi.Input<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* 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
|
|
76
|
+
*/
|
|
77
|
+
kind?: pulumi.Input<"PriorityClass">;
|
|
78
|
+
/**
|
|
79
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
80
|
+
*/
|
|
81
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
82
|
+
/**
|
|
83
|
+
* PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.
|
|
84
|
+
*/
|
|
85
|
+
preemptionPolicy?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
|
|
88
|
+
*/
|
|
89
|
+
value?: pulumi.Input<number>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PriorityClassPatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
|
|
10
|
+
*/
|
|
11
|
+
class PriorityClassPatch extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a PriorityClassPatch resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let resourceInputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.metadata === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'metadata'");
|
|
25
|
+
}
|
|
26
|
+
resourceInputs["apiVersion"] = "scheduling.k8s.io/v1alpha1";
|
|
27
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
28
|
+
resourceInputs["globalDefault"] = args ? args.globalDefault : undefined;
|
|
29
|
+
resourceInputs["kind"] = "PriorityClass";
|
|
30
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
31
|
+
resourceInputs["preemptionPolicy"] = args ? args.preemptionPolicy : undefined;
|
|
32
|
+
resourceInputs["value"] = args ? args.value : undefined;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
36
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
37
|
+
resourceInputs["globalDefault"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["preemptionPolicy"] = undefined /*out*/;
|
|
41
|
+
resourceInputs["value"] = undefined /*out*/;
|
|
42
|
+
}
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:scheduling.k8s.io/v1:PriorityClassPatch" }, { type: "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassPatch" }] };
|
|
45
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
46
|
+
super(PriorityClassPatch.__pulumiType, name, resourceInputs, opts);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing PriorityClassPatch resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name, id, opts) {
|
|
57
|
+
return new PriorityClassPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the given object is an instance of PriorityClassPatch. This is designed to work even
|
|
61
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
+
*/
|
|
63
|
+
static isInstance(obj) {
|
|
64
|
+
if (obj === undefined || obj === null) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return obj['__pulumiType'] === PriorityClassPatch.__pulumiType;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.PriorityClassPatch = PriorityClassPatch;
|
|
71
|
+
/** @internal */
|
|
72
|
+
PriorityClassPatch.__pulumiType = 'kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassPatch';
|
|
73
|
+
//# sourceMappingURL=priorityClassPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priorityClassPatch.js","sourceRoot":"","sources":["../../../scheduling/v1alpha1/priorityClassPatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAwDzD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA6B,EAAE,IAAmC;QACxF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,4BAA4B,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,eAAe,CAAC;YACzC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,oDAAoD,EAAE,EAAE,EAAE,IAAI,EAAE,yDAAyD,EAAE,CAAC,EAAE,CAAC;QACrK,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;IAzFD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AAzBL,gDA2FC;AA9EG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -21,9 +21,11 @@ const utilities = require("../../utilities");
|
|
|
21
21
|
// Export members:
|
|
22
22
|
__exportStar(require("./priorityClass"), exports);
|
|
23
23
|
__exportStar(require("./priorityClassList"), exports);
|
|
24
|
+
__exportStar(require("./priorityClassPatch"), exports);
|
|
24
25
|
// Import resources to register:
|
|
25
26
|
const priorityClass_1 = require("./priorityClass");
|
|
26
27
|
const priorityClassList_1 = require("./priorityClassList");
|
|
28
|
+
const priorityClassPatch_1 = require("./priorityClassPatch");
|
|
27
29
|
const _module = {
|
|
28
30
|
version: utilities.getVersion(),
|
|
29
31
|
construct: (name, type, urn) => {
|
|
@@ -32,6 +34,8 @@ const _module = {
|
|
|
32
34
|
return new priorityClass_1.PriorityClass(name, undefined, { urn });
|
|
33
35
|
case "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassList":
|
|
34
36
|
return new priorityClassList_1.PriorityClassList(name, undefined, { urn });
|
|
37
|
+
case "kubernetes:scheduling.k8s.io/v1beta1:PriorityClassPatch":
|
|
38
|
+
return new priorityClassPatch_1.PriorityClassPatch(name, undefined, { urn });
|
|
35
39
|
default:
|
|
36
40
|
throw new Error(`unknown resource type ${type}`);
|
|
37
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../scheduling/v1beta1/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAE7C,kBAAkB;AAClB,kDAAgC;AAChC,sDAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../scheduling/v1beta1/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAE7C,kBAAkB;AAClB,kDAAgC;AAChC,sDAAoC;AACpC,uDAAqC;AAErC,gCAAgC;AAChC,mDAAgD;AAChD,2DAAwD;AACxD,6DAA0D;AAE1D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,oDAAoD;gBACrD,OAAO,IAAI,6BAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,wDAAwD;gBACzD,OAAO,IAAI,qCAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D,KAAK,yDAAyD;gBAC1D,OAAO,IAAI,uCAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
|
|
5
|
+
*/
|
|
6
|
+
export declare class PriorityClassPatch extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing PriorityClassPatch resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PriorityClassPatch;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of PriorityClassPatch. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is PriorityClassPatch;
|
|
21
|
+
/**
|
|
22
|
+
* 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
|
|
23
|
+
*/
|
|
24
|
+
readonly apiVersion: pulumi.Output<"scheduling.k8s.io/v1beta1">;
|
|
25
|
+
/**
|
|
26
|
+
* description is an arbitrary string that usually provides guidelines on when this priority class should be used.
|
|
27
|
+
*/
|
|
28
|
+
readonly description: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
|
|
31
|
+
*/
|
|
32
|
+
readonly globalDefault: pulumi.Output<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* 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
|
|
35
|
+
*/
|
|
36
|
+
readonly kind: pulumi.Output<"PriorityClass">;
|
|
37
|
+
/**
|
|
38
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
39
|
+
*/
|
|
40
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
41
|
+
/**
|
|
42
|
+
* PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.
|
|
43
|
+
*/
|
|
44
|
+
readonly preemptionPolicy: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
|
|
47
|
+
*/
|
|
48
|
+
readonly value: pulumi.Output<number>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a PriorityClassPatch resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args?: PriorityClassPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The set of arguments for constructing a PriorityClassPatch resource.
|
|
60
|
+
*/
|
|
61
|
+
export interface PriorityClassPatchArgs {
|
|
62
|
+
/**
|
|
63
|
+
* 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
|
|
64
|
+
*/
|
|
65
|
+
apiVersion?: pulumi.Input<"scheduling.k8s.io/v1beta1">;
|
|
66
|
+
/**
|
|
67
|
+
* description is an arbitrary string that usually provides guidelines on when this priority class should be used.
|
|
68
|
+
*/
|
|
69
|
+
description?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
|
|
72
|
+
*/
|
|
73
|
+
globalDefault?: pulumi.Input<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* 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
|
|
76
|
+
*/
|
|
77
|
+
kind?: pulumi.Input<"PriorityClass">;
|
|
78
|
+
/**
|
|
79
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
80
|
+
*/
|
|
81
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
82
|
+
/**
|
|
83
|
+
* PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.
|
|
84
|
+
*/
|
|
85
|
+
preemptionPolicy?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
|
|
88
|
+
*/
|
|
89
|
+
value?: pulumi.Input<number>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PriorityClassPatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
|
|
10
|
+
*/
|
|
11
|
+
class PriorityClassPatch extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a PriorityClassPatch resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let resourceInputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.metadata === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'metadata'");
|
|
25
|
+
}
|
|
26
|
+
resourceInputs["apiVersion"] = "scheduling.k8s.io/v1beta1";
|
|
27
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
28
|
+
resourceInputs["globalDefault"] = args ? args.globalDefault : undefined;
|
|
29
|
+
resourceInputs["kind"] = "PriorityClass";
|
|
30
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
31
|
+
resourceInputs["preemptionPolicy"] = args ? args.preemptionPolicy : undefined;
|
|
32
|
+
resourceInputs["value"] = args ? args.value : undefined;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
36
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
37
|
+
resourceInputs["globalDefault"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["preemptionPolicy"] = undefined /*out*/;
|
|
41
|
+
resourceInputs["value"] = undefined /*out*/;
|
|
42
|
+
}
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:scheduling.k8s.io/v1:PriorityClassPatch" }, { type: "kubernetes:scheduling.k8s.io/v1alpha1:PriorityClassPatch" }] };
|
|
45
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
46
|
+
super(PriorityClassPatch.__pulumiType, name, resourceInputs, opts);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing PriorityClassPatch resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name, id, opts) {
|
|
57
|
+
return new PriorityClassPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the given object is an instance of PriorityClassPatch. This is designed to work even
|
|
61
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
+
*/
|
|
63
|
+
static isInstance(obj) {
|
|
64
|
+
if (obj === undefined || obj === null) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return obj['__pulumiType'] === PriorityClassPatch.__pulumiType;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.PriorityClassPatch = PriorityClassPatch;
|
|
71
|
+
/** @internal */
|
|
72
|
+
PriorityClassPatch.__pulumiType = 'kubernetes:scheduling.k8s.io/v1beta1:PriorityClassPatch';
|
|
73
|
+
//# sourceMappingURL=priorityClassPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priorityClassPatch.js","sourceRoot":"","sources":["../../../scheduling/v1beta1/priorityClassPatch.ts"],"names":[],"mappings":"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"}
|
|
@@ -21,9 +21,11 @@ const utilities = require("../../utilities");
|
|
|
21
21
|
// Export members:
|
|
22
22
|
__exportStar(require("./podPreset"), exports);
|
|
23
23
|
__exportStar(require("./podPresetList"), exports);
|
|
24
|
+
__exportStar(require("./podPresetPatch"), exports);
|
|
24
25
|
// Import resources to register:
|
|
25
26
|
const podPreset_1 = require("./podPreset");
|
|
26
27
|
const podPresetList_1 = require("./podPresetList");
|
|
28
|
+
const podPresetPatch_1 = require("./podPresetPatch");
|
|
27
29
|
const _module = {
|
|
28
30
|
version: utilities.getVersion(),
|
|
29
31
|
construct: (name, type, urn) => {
|
|
@@ -32,6 +34,8 @@ const _module = {
|
|
|
32
34
|
return new podPreset_1.PodPreset(name, undefined, { urn });
|
|
33
35
|
case "kubernetes:settings.k8s.io/v1alpha1:PodPresetList":
|
|
34
36
|
return new podPresetList_1.PodPresetList(name, undefined, { urn });
|
|
37
|
+
case "kubernetes:settings.k8s.io/v1alpha1:PodPresetPatch":
|
|
38
|
+
return new podPresetPatch_1.PodPresetPatch(name, undefined, { urn });
|
|
35
39
|
default:
|
|
36
40
|
throw new Error(`unknown resource type ${type}`);
|
|
37
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../settings/v1alpha1/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAE7C,kBAAkB;AAClB,8CAA4B;AAC5B,kDAAgC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../settings/v1alpha1/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAE7C,kBAAkB;AAClB,8CAA4B;AAC5B,kDAAgC;AAChC,mDAAiC;AAEjC,gCAAgC;AAChC,2CAAwC;AACxC,mDAAgD;AAChD,qDAAkD;AAElD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+CAA+C;gBAChD,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,mDAAmD;gBACpD,OAAO,IAAI,6BAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,oDAAoD;gBACrD,OAAO,IAAI,+BAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* PodPreset is a policy resource that defines additional runtime requirements for a Pod.
|
|
5
|
+
*/
|
|
6
|
+
export declare class PodPresetPatch extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing PodPresetPatch resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PodPresetPatch;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of PodPresetPatch. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is PodPresetPatch;
|
|
21
|
+
/**
|
|
22
|
+
* 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
|
|
23
|
+
*/
|
|
24
|
+
readonly apiVersion: pulumi.Output<"settings.k8s.io/v1alpha1">;
|
|
25
|
+
/**
|
|
26
|
+
* 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
|
|
27
|
+
*/
|
|
28
|
+
readonly kind: pulumi.Output<"PodPreset">;
|
|
29
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
30
|
+
readonly spec: pulumi.Output<outputs.settings.v1alpha1.PodPresetSpecPatch>;
|
|
31
|
+
/**
|
|
32
|
+
* Create a PodPresetPatch resource with the given unique name, arguments, and options.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resource.
|
|
35
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
36
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
37
|
+
*/
|
|
38
|
+
constructor(name: string, args?: PodPresetPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The set of arguments for constructing a PodPresetPatch resource.
|
|
42
|
+
*/
|
|
43
|
+
export interface PodPresetPatchArgs {
|
|
44
|
+
/**
|
|
45
|
+
* 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
|
|
46
|
+
*/
|
|
47
|
+
apiVersion?: pulumi.Input<"settings.k8s.io/v1alpha1">;
|
|
48
|
+
/**
|
|
49
|
+
* 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
|
|
50
|
+
*/
|
|
51
|
+
kind?: pulumi.Input<"PodPreset">;
|
|
52
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
53
|
+
spec?: pulumi.Input<inputs.settings.v1alpha1.PodPresetSpecPatch>;
|
|
54
|
+
}
|