@pulumi/kubernetes 3.19.4 → 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/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 +9 -2
- package/provider.js +5 -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/apps/v1/statefulSet.d.ts
CHANGED
|
@@ -26,70 +26,68 @@ import { input as inputs, output as outputs } from "../../types";
|
|
|
26
26
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
27
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
28
28
|
*
|
|
29
|
-
* const
|
|
29
|
+
* const service = new kubernetes.core.v1.Service("service", {
|
|
30
30
|
* metadata: {
|
|
31
31
|
* labels: {
|
|
32
32
|
* app: "nginx",
|
|
33
33
|
* },
|
|
34
34
|
* },
|
|
35
35
|
* spec: {
|
|
36
|
+
* clusterIP: "None",
|
|
36
37
|
* ports: [{
|
|
37
|
-
* port: 80,
|
|
38
38
|
* name: "web",
|
|
39
|
+
* port: 80,
|
|
39
40
|
* }],
|
|
40
|
-
* clusterIP: "None",
|
|
41
41
|
* selector: {
|
|
42
42
|
* app: "nginx",
|
|
43
43
|
* },
|
|
44
44
|
* },
|
|
45
45
|
* });
|
|
46
|
-
* const
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
46
|
+
* const statefulset = new kubernetes.apps.v1.StatefulSet("statefulset", {spec: {
|
|
47
|
+
* replicas: 3,
|
|
48
|
+
* selector: {
|
|
49
|
+
* matchLabels: {
|
|
50
|
+
* app: "nginx",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* serviceName: service.metadata.apply(metadata => metadata?.name),
|
|
54
|
+
* template: {
|
|
55
|
+
* metadata: {
|
|
56
|
+
* labels: {
|
|
50
57
|
* app: "nginx",
|
|
51
58
|
* },
|
|
52
59
|
* },
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* },
|
|
61
|
-
* spec: {
|
|
62
|
-
* terminationGracePeriodSeconds: 10,
|
|
63
|
-
* containers: [{
|
|
64
|
-
* name: "nginx",
|
|
65
|
-
* image: "k8s.gcr.io/nginx-slim:0.8",
|
|
66
|
-
* ports: [{
|
|
67
|
-
* containerPort: 80,
|
|
68
|
-
* name: "web",
|
|
69
|
-
* }],
|
|
70
|
-
* volumeMounts: [{
|
|
71
|
-
* name: "www",
|
|
72
|
-
* mountPath: "/usr/share/nginx/html",
|
|
73
|
-
* }],
|
|
60
|
+
* spec: {
|
|
61
|
+
* containers: [{
|
|
62
|
+
* image: "k8s.gcr.io/nginx-slim:0.8",
|
|
63
|
+
* name: "nginx",
|
|
64
|
+
* ports: [{
|
|
65
|
+
* containerPort: 80,
|
|
66
|
+
* name: "web",
|
|
74
67
|
* }],
|
|
75
|
-
*
|
|
68
|
+
* volumeMounts: [{
|
|
69
|
+
* mountPath: "/usr/share/nginx/html",
|
|
70
|
+
* name: "www",
|
|
71
|
+
* }],
|
|
72
|
+
* }],
|
|
73
|
+
* terminationGracePeriodSeconds: 10,
|
|
76
74
|
* },
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* },
|
|
75
|
+
* },
|
|
76
|
+
* volumeClaimTemplates: [{
|
|
77
|
+
* metadata: {
|
|
78
|
+
* name: "www",
|
|
79
|
+
* },
|
|
80
|
+
* spec: {
|
|
81
|
+
* accessModes: ["ReadWriteOnce"],
|
|
82
|
+
* resources: {
|
|
83
|
+
* requests: {
|
|
84
|
+
* storage: "1Gi",
|
|
88
85
|
* },
|
|
89
86
|
* },
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
87
|
+
* storageClassName: "my-storage-class",
|
|
88
|
+
* },
|
|
89
|
+
* }],
|
|
90
|
+
* }});
|
|
93
91
|
* ```
|
|
94
92
|
* ### Create a StatefulSet with a user-specified name
|
|
95
93
|
*
|
|
@@ -97,36 +95,36 @@ import { input as inputs, output as outputs } from "../../types";
|
|
|
97
95
|
* import * as pulumi from "@pulumi/pulumi";
|
|
98
96
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
99
97
|
*
|
|
100
|
-
* const
|
|
98
|
+
* const service = new kubernetes.core.v1.Service("service", {
|
|
101
99
|
* metadata: {
|
|
102
|
-
* name: "nginx",
|
|
103
100
|
* labels: {
|
|
104
101
|
* app: "nginx",
|
|
105
102
|
* },
|
|
103
|
+
* name: "nginx",
|
|
106
104
|
* },
|
|
107
105
|
* spec: {
|
|
106
|
+
* clusterIP: "None",
|
|
108
107
|
* ports: [{
|
|
109
|
-
* port: 80,
|
|
110
108
|
* name: "web",
|
|
109
|
+
* port: 80,
|
|
111
110
|
* }],
|
|
112
|
-
* clusterIP: "None",
|
|
113
111
|
* selector: {
|
|
114
112
|
* app: "nginx",
|
|
115
113
|
* },
|
|
116
114
|
* },
|
|
117
115
|
* });
|
|
118
|
-
* const
|
|
116
|
+
* const statefulset = new kubernetes.apps.v1.StatefulSet("statefulset", {
|
|
119
117
|
* metadata: {
|
|
120
118
|
* name: "web",
|
|
121
119
|
* },
|
|
122
120
|
* spec: {
|
|
121
|
+
* replicas: 3,
|
|
123
122
|
* selector: {
|
|
124
123
|
* matchLabels: {
|
|
125
124
|
* app: "nginx",
|
|
126
125
|
* },
|
|
127
126
|
* },
|
|
128
|
-
* serviceName:
|
|
129
|
-
* replicas: 3,
|
|
127
|
+
* serviceName: service.metadata.apply(metadata => metadata?.name),
|
|
130
128
|
* template: {
|
|
131
129
|
* metadata: {
|
|
132
130
|
* labels: {
|
|
@@ -134,19 +132,19 @@ import { input as inputs, output as outputs } from "../../types";
|
|
|
134
132
|
* },
|
|
135
133
|
* },
|
|
136
134
|
* spec: {
|
|
137
|
-
* terminationGracePeriodSeconds: 10,
|
|
138
135
|
* containers: [{
|
|
139
|
-
* name: "nginx",
|
|
140
136
|
* image: "k8s.gcr.io/nginx-slim:0.8",
|
|
137
|
+
* name: "nginx",
|
|
141
138
|
* ports: [{
|
|
142
139
|
* containerPort: 80,
|
|
143
140
|
* name: "web",
|
|
144
141
|
* }],
|
|
145
142
|
* volumeMounts: [{
|
|
146
|
-
* name: "www",
|
|
147
143
|
* mountPath: "/usr/share/nginx/html",
|
|
144
|
+
* name: "www",
|
|
148
145
|
* }],
|
|
149
146
|
* }],
|
|
147
|
+
* terminationGracePeriodSeconds: 10,
|
|
150
148
|
* },
|
|
151
149
|
* },
|
|
152
150
|
* volumeClaimTemplates: [{
|
|
@@ -155,18 +153,17 @@ import { input as inputs, output as outputs } from "../../types";
|
|
|
155
153
|
* },
|
|
156
154
|
* spec: {
|
|
157
155
|
* accessModes: ["ReadWriteOnce"],
|
|
158
|
-
* storageClassName: "my-storage-class",
|
|
159
156
|
* resources: {
|
|
160
157
|
* requests: {
|
|
161
158
|
* storage: "1Gi",
|
|
162
159
|
* },
|
|
163
160
|
* },
|
|
161
|
+
* storageClassName: "my-storage-class",
|
|
164
162
|
* },
|
|
165
163
|
* }],
|
|
166
164
|
* },
|
|
167
165
|
* });
|
|
168
166
|
* ```
|
|
169
|
-
* {% /examples %}}
|
|
170
167
|
*/
|
|
171
168
|
export declare class StatefulSet extends pulumi.CustomResource {
|
|
172
169
|
/**
|
package/apps/v1/statefulSet.js
CHANGED
|
@@ -31,70 +31,68 @@ const utilities = require("../../utilities");
|
|
|
31
31
|
* import * as pulumi from "@pulumi/pulumi";
|
|
32
32
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
33
33
|
*
|
|
34
|
-
* const
|
|
34
|
+
* const service = new kubernetes.core.v1.Service("service", {
|
|
35
35
|
* metadata: {
|
|
36
36
|
* labels: {
|
|
37
37
|
* app: "nginx",
|
|
38
38
|
* },
|
|
39
39
|
* },
|
|
40
40
|
* spec: {
|
|
41
|
+
* clusterIP: "None",
|
|
41
42
|
* ports: [{
|
|
42
|
-
* port: 80,
|
|
43
43
|
* name: "web",
|
|
44
|
+
* port: 80,
|
|
44
45
|
* }],
|
|
45
|
-
* clusterIP: "None",
|
|
46
46
|
* selector: {
|
|
47
47
|
* app: "nginx",
|
|
48
48
|
* },
|
|
49
49
|
* },
|
|
50
50
|
* });
|
|
51
|
-
* const
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
51
|
+
* const statefulset = new kubernetes.apps.v1.StatefulSet("statefulset", {spec: {
|
|
52
|
+
* replicas: 3,
|
|
53
|
+
* selector: {
|
|
54
|
+
* matchLabels: {
|
|
55
|
+
* app: "nginx",
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* serviceName: service.metadata.apply(metadata => metadata?.name),
|
|
59
|
+
* template: {
|
|
60
|
+
* metadata: {
|
|
61
|
+
* labels: {
|
|
55
62
|
* app: "nginx",
|
|
56
63
|
* },
|
|
57
64
|
* },
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* },
|
|
66
|
-
* spec: {
|
|
67
|
-
* terminationGracePeriodSeconds: 10,
|
|
68
|
-
* containers: [{
|
|
69
|
-
* name: "nginx",
|
|
70
|
-
* image: "k8s.gcr.io/nginx-slim:0.8",
|
|
71
|
-
* ports: [{
|
|
72
|
-
* containerPort: 80,
|
|
73
|
-
* name: "web",
|
|
74
|
-
* }],
|
|
75
|
-
* volumeMounts: [{
|
|
76
|
-
* name: "www",
|
|
77
|
-
* mountPath: "/usr/share/nginx/html",
|
|
78
|
-
* }],
|
|
65
|
+
* spec: {
|
|
66
|
+
* containers: [{
|
|
67
|
+
* image: "k8s.gcr.io/nginx-slim:0.8",
|
|
68
|
+
* name: "nginx",
|
|
69
|
+
* ports: [{
|
|
70
|
+
* containerPort: 80,
|
|
71
|
+
* name: "web",
|
|
79
72
|
* }],
|
|
80
|
-
*
|
|
73
|
+
* volumeMounts: [{
|
|
74
|
+
* mountPath: "/usr/share/nginx/html",
|
|
75
|
+
* name: "www",
|
|
76
|
+
* }],
|
|
77
|
+
* }],
|
|
78
|
+
* terminationGracePeriodSeconds: 10,
|
|
81
79
|
* },
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* },
|
|
80
|
+
* },
|
|
81
|
+
* volumeClaimTemplates: [{
|
|
82
|
+
* metadata: {
|
|
83
|
+
* name: "www",
|
|
84
|
+
* },
|
|
85
|
+
* spec: {
|
|
86
|
+
* accessModes: ["ReadWriteOnce"],
|
|
87
|
+
* resources: {
|
|
88
|
+
* requests: {
|
|
89
|
+
* storage: "1Gi",
|
|
93
90
|
* },
|
|
94
91
|
* },
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
92
|
+
* storageClassName: "my-storage-class",
|
|
93
|
+
* },
|
|
94
|
+
* }],
|
|
95
|
+
* }});
|
|
98
96
|
* ```
|
|
99
97
|
* ### Create a StatefulSet with a user-specified name
|
|
100
98
|
*
|
|
@@ -102,36 +100,36 @@ const utilities = require("../../utilities");
|
|
|
102
100
|
* import * as pulumi from "@pulumi/pulumi";
|
|
103
101
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
104
102
|
*
|
|
105
|
-
* const
|
|
103
|
+
* const service = new kubernetes.core.v1.Service("service", {
|
|
106
104
|
* metadata: {
|
|
107
|
-
* name: "nginx",
|
|
108
105
|
* labels: {
|
|
109
106
|
* app: "nginx",
|
|
110
107
|
* },
|
|
108
|
+
* name: "nginx",
|
|
111
109
|
* },
|
|
112
110
|
* spec: {
|
|
111
|
+
* clusterIP: "None",
|
|
113
112
|
* ports: [{
|
|
114
|
-
* port: 80,
|
|
115
113
|
* name: "web",
|
|
114
|
+
* port: 80,
|
|
116
115
|
* }],
|
|
117
|
-
* clusterIP: "None",
|
|
118
116
|
* selector: {
|
|
119
117
|
* app: "nginx",
|
|
120
118
|
* },
|
|
121
119
|
* },
|
|
122
120
|
* });
|
|
123
|
-
* const
|
|
121
|
+
* const statefulset = new kubernetes.apps.v1.StatefulSet("statefulset", {
|
|
124
122
|
* metadata: {
|
|
125
123
|
* name: "web",
|
|
126
124
|
* },
|
|
127
125
|
* spec: {
|
|
126
|
+
* replicas: 3,
|
|
128
127
|
* selector: {
|
|
129
128
|
* matchLabels: {
|
|
130
129
|
* app: "nginx",
|
|
131
130
|
* },
|
|
132
131
|
* },
|
|
133
|
-
* serviceName:
|
|
134
|
-
* replicas: 3,
|
|
132
|
+
* serviceName: service.metadata.apply(metadata => metadata?.name),
|
|
135
133
|
* template: {
|
|
136
134
|
* metadata: {
|
|
137
135
|
* labels: {
|
|
@@ -139,19 +137,19 @@ const utilities = require("../../utilities");
|
|
|
139
137
|
* },
|
|
140
138
|
* },
|
|
141
139
|
* spec: {
|
|
142
|
-
* terminationGracePeriodSeconds: 10,
|
|
143
140
|
* containers: [{
|
|
144
|
-
* name: "nginx",
|
|
145
141
|
* image: "k8s.gcr.io/nginx-slim:0.8",
|
|
142
|
+
* name: "nginx",
|
|
146
143
|
* ports: [{
|
|
147
144
|
* containerPort: 80,
|
|
148
145
|
* name: "web",
|
|
149
146
|
* }],
|
|
150
147
|
* volumeMounts: [{
|
|
151
|
-
* name: "www",
|
|
152
148
|
* mountPath: "/usr/share/nginx/html",
|
|
149
|
+
* name: "www",
|
|
153
150
|
* }],
|
|
154
151
|
* }],
|
|
152
|
+
* terminationGracePeriodSeconds: 10,
|
|
155
153
|
* },
|
|
156
154
|
* },
|
|
157
155
|
* volumeClaimTemplates: [{
|
|
@@ -160,18 +158,17 @@ const utilities = require("../../utilities");
|
|
|
160
158
|
* },
|
|
161
159
|
* spec: {
|
|
162
160
|
* accessModes: ["ReadWriteOnce"],
|
|
163
|
-
* storageClassName: "my-storage-class",
|
|
164
161
|
* resources: {
|
|
165
162
|
* requests: {
|
|
166
163
|
* storage: "1Gi",
|
|
167
164
|
* },
|
|
168
165
|
* },
|
|
166
|
+
* storageClassName: "my-storage-class",
|
|
169
167
|
* },
|
|
170
168
|
* }],
|
|
171
169
|
* },
|
|
172
170
|
* });
|
|
173
171
|
* ```
|
|
174
|
-
* {% /examples %}}
|
|
175
172
|
*/
|
|
176
173
|
class StatefulSet extends pulumi.CustomResource {
|
|
177
174
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statefulSet.js","sourceRoot":"","sources":["../../../apps/v1/statefulSet.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C
|
|
1
|
+
{"version":3,"file":"statefulSet.js","sourceRoot":"","sources":["../../../apps/v1/statefulSet.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoKG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAgDlD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAsB,EAAE,IAAmC;QACjF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;YACzC,cAAc,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC;YACvC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;aAAM;YACH,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;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,qCAAqC,EAAE,EAAE,EAAE,IAAI,EAAE,qCAAqC,EAAE,CAAC,EAAE,CAAC;QAClI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IA1ED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AAzBL,kCA4EC;AA/DG,gBAAgB;AACO,wBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* StatefulSet represents a set of pods with consistent identities. Identities are defined as:
|
|
5
|
+
* - Network: A single stable DNS and hostname.
|
|
6
|
+
* - Storage: As many VolumeClaims as requested.
|
|
7
|
+
* The StatefulSet guarantees that a given network identity will always map to the same storage identity.
|
|
8
|
+
*
|
|
9
|
+
* This resource waits until its status is ready before registering success
|
|
10
|
+
* for create/update, and populating output properties from the current state of the resource.
|
|
11
|
+
* The following conditions are used to determine whether the resource creation has
|
|
12
|
+
* succeeded or failed:
|
|
13
|
+
*
|
|
14
|
+
* 1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',
|
|
15
|
+
* and '.status.readyReplicas'.
|
|
16
|
+
* 2. The value of '.status.updateRevision' matches '.status.currentRevision'.
|
|
17
|
+
*
|
|
18
|
+
* If the StatefulSet has not reached a Ready state after 10 minutes, it will
|
|
19
|
+
* time out and mark the resource update as Failed. You can override the default timeout value
|
|
20
|
+
* by setting the 'customTimeouts' option on the resource.
|
|
21
|
+
*/
|
|
22
|
+
export declare class StatefulSetPatch extends pulumi.CustomResource {
|
|
23
|
+
/**
|
|
24
|
+
* Get an existing StatefulSetPatch resource's state with the given name, ID, and optional extra
|
|
25
|
+
* properties used to qualify the lookup.
|
|
26
|
+
*
|
|
27
|
+
* @param name The _unique_ name of the resulting resource.
|
|
28
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): StatefulSetPatch;
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of StatefulSetPatch. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj: any): obj is StatefulSetPatch;
|
|
37
|
+
/**
|
|
38
|
+
* 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
|
|
39
|
+
*/
|
|
40
|
+
readonly apiVersion: pulumi.Output<"apps/v1">;
|
|
41
|
+
/**
|
|
42
|
+
* 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
|
|
43
|
+
*/
|
|
44
|
+
readonly kind: pulumi.Output<"StatefulSet">;
|
|
45
|
+
/**
|
|
46
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
47
|
+
*/
|
|
48
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
49
|
+
/**
|
|
50
|
+
* Spec defines the desired identities of pods in this set.
|
|
51
|
+
*/
|
|
52
|
+
readonly spec: pulumi.Output<outputs.apps.v1.StatefulSetSpecPatch>;
|
|
53
|
+
/**
|
|
54
|
+
* Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
|
|
55
|
+
*/
|
|
56
|
+
readonly status: pulumi.Output<outputs.apps.v1.StatefulSetStatusPatch>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a StatefulSetPatch resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args?: StatefulSetPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The set of arguments for constructing a StatefulSetPatch resource.
|
|
68
|
+
*/
|
|
69
|
+
export interface StatefulSetPatchArgs {
|
|
70
|
+
/**
|
|
71
|
+
* 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
|
|
72
|
+
*/
|
|
73
|
+
apiVersion?: pulumi.Input<"apps/v1">;
|
|
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<"StatefulSet">;
|
|
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
|
+
* Spec defines the desired identities of pods in this set.
|
|
84
|
+
*/
|
|
85
|
+
spec?: pulumi.Input<inputs.apps.v1.StatefulSetSpecPatch>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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.StatefulSetPatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* StatefulSet represents a set of pods with consistent identities. Identities are defined as:
|
|
10
|
+
* - Network: A single stable DNS and hostname.
|
|
11
|
+
* - Storage: As many VolumeClaims as requested.
|
|
12
|
+
* The StatefulSet guarantees that a given network identity will always map to the same storage identity.
|
|
13
|
+
*
|
|
14
|
+
* This resource waits until its status is ready before registering success
|
|
15
|
+
* for create/update, and populating output properties from the current state of the resource.
|
|
16
|
+
* The following conditions are used to determine whether the resource creation has
|
|
17
|
+
* succeeded or failed:
|
|
18
|
+
*
|
|
19
|
+
* 1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas',
|
|
20
|
+
* and '.status.readyReplicas'.
|
|
21
|
+
* 2. The value of '.status.updateRevision' matches '.status.currentRevision'.
|
|
22
|
+
*
|
|
23
|
+
* If the StatefulSet has not reached a Ready state after 10 minutes, it will
|
|
24
|
+
* time out and mark the resource update as Failed. You can override the default timeout value
|
|
25
|
+
* by setting the 'customTimeouts' option on the resource.
|
|
26
|
+
*/
|
|
27
|
+
class StatefulSetPatch extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Create a StatefulSetPatch resource with the given unique name, arguments, and options.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resource.
|
|
32
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
33
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
34
|
+
*/
|
|
35
|
+
constructor(name, args, opts) {
|
|
36
|
+
let resourceInputs = {};
|
|
37
|
+
opts = opts || {};
|
|
38
|
+
if (!opts.id) {
|
|
39
|
+
if ((!args || args.metadata === undefined) && !opts.urn) {
|
|
40
|
+
throw new Error("Missing required property 'metadata'");
|
|
41
|
+
}
|
|
42
|
+
resourceInputs["apiVersion"] = "apps/v1";
|
|
43
|
+
resourceInputs["kind"] = "StatefulSet";
|
|
44
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
45
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
46
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
50
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
51
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
54
|
+
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:apps/v1beta1:StatefulSetPatch" }, { type: "kubernetes:apps/v1beta2:StatefulSetPatch" }] };
|
|
57
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
58
|
+
super(StatefulSetPatch.__pulumiType, name, resourceInputs, opts);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing StatefulSetPatch resource's state with the given name, ID, and optional extra
|
|
62
|
+
* properties used to qualify the lookup.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resulting resource.
|
|
65
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name, id, opts) {
|
|
69
|
+
return new StatefulSetPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Returns true if the given object is an instance of StatefulSetPatch. This is designed to work even
|
|
73
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
74
|
+
*/
|
|
75
|
+
static isInstance(obj) {
|
|
76
|
+
if (obj === undefined || obj === null) {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
return obj['__pulumiType'] === StatefulSetPatch.__pulumiType;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.StatefulSetPatch = StatefulSetPatch;
|
|
83
|
+
/** @internal */
|
|
84
|
+
StatefulSetPatch.__pulumiType = 'kubernetes:apps/v1:StatefulSetPatch';
|
|
85
|
+
//# sourceMappingURL=statefulSetPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statefulSetPatch.js","sourceRoot":"","sources":["../../../apps/v1/statefulSetPatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAgDvD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA2B,EAAE,IAAmC;QACtF,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,SAAS,CAAC;YACzC,cAAc,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC;YACvC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;aAAM;YACH,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;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,0CAA0C,EAAE,EAAE,EAAE,IAAI,EAAE,0CAA0C,EAAE,CAAC,EAAE,CAAC;QAC5I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IA7ED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AAzBL,4CA+EC;AAlEG,gBAAgB;AACO,6BAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
|
|
5
|
+
*
|
|
6
|
+
* @deprecated apps/v1beta1/ControllerRevision is deprecated by apps/v1/ControllerRevision and not supported by Kubernetes v1.16+ clusters.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ControllerRevisionPatch extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing ControllerRevisionPatch resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ControllerRevisionPatch;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of ControllerRevisionPatch. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is ControllerRevisionPatch;
|
|
23
|
+
/**
|
|
24
|
+
* 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
|
|
25
|
+
*/
|
|
26
|
+
readonly apiVersion: pulumi.Output<"apps/v1beta1">;
|
|
27
|
+
/**
|
|
28
|
+
* Data is the serialized representation of the state.
|
|
29
|
+
*/
|
|
30
|
+
readonly data: pulumi.Output<any>;
|
|
31
|
+
/**
|
|
32
|
+
* 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
|
|
33
|
+
*/
|
|
34
|
+
readonly kind: pulumi.Output<"ControllerRevision">;
|
|
35
|
+
/**
|
|
36
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
37
|
+
*/
|
|
38
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
39
|
+
/**
|
|
40
|
+
* Revision indicates the revision of the state represented by Data.
|
|
41
|
+
*/
|
|
42
|
+
readonly revision: pulumi.Output<number>;
|
|
43
|
+
/**
|
|
44
|
+
* Create a ControllerRevisionPatch resource with the given unique name, arguments, and options.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resource.
|
|
47
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
48
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
49
|
+
*/
|
|
50
|
+
/** @deprecated apps/v1beta1/ControllerRevision is deprecated by apps/v1/ControllerRevision and not supported by Kubernetes v1.16+ clusters. */
|
|
51
|
+
constructor(name: string, args?: ControllerRevisionPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The set of arguments for constructing a ControllerRevisionPatch resource.
|
|
55
|
+
*/
|
|
56
|
+
export interface ControllerRevisionPatchArgs {
|
|
57
|
+
/**
|
|
58
|
+
* 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
|
|
59
|
+
*/
|
|
60
|
+
apiVersion?: pulumi.Input<"apps/v1beta1">;
|
|
61
|
+
/**
|
|
62
|
+
* Data is the serialized representation of the state.
|
|
63
|
+
*/
|
|
64
|
+
data?: any;
|
|
65
|
+
/**
|
|
66
|
+
* 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
|
|
67
|
+
*/
|
|
68
|
+
kind?: pulumi.Input<"ControllerRevision">;
|
|
69
|
+
/**
|
|
70
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
71
|
+
*/
|
|
72
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
73
|
+
/**
|
|
74
|
+
* Revision indicates the revision of the state represented by Data.
|
|
75
|
+
*/
|
|
76
|
+
revision?: pulumi.Input<number>;
|
|
77
|
+
}
|