@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/core/v1/service.d.ts
CHANGED
|
@@ -35,18 +35,16 @@ import { input as inputs, output as outputs } from "../../types";
|
|
|
35
35
|
* import * as pulumi from "@pulumi/pulumi";
|
|
36
36
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
37
37
|
*
|
|
38
|
-
* const
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* targetPort: 9376,
|
|
47
|
-
* }],
|
|
38
|
+
* const service = new kubernetes.core.v1.Service("service", {spec: {
|
|
39
|
+
* ports: [{
|
|
40
|
+
* port: 80,
|
|
41
|
+
* protocol: "TCP",
|
|
42
|
+
* targetPort: 9376,
|
|
43
|
+
* }],
|
|
44
|
+
* selector: {
|
|
45
|
+
* app: "MyApp",
|
|
48
46
|
* },
|
|
49
|
-
* });
|
|
47
|
+
* }});
|
|
50
48
|
* ```
|
|
51
49
|
* ### Create a Service with a user-specified name
|
|
52
50
|
*
|
|
@@ -54,23 +52,22 @@ import { input as inputs, output as outputs } from "../../types";
|
|
|
54
52
|
* import * as pulumi from "@pulumi/pulumi";
|
|
55
53
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
56
54
|
*
|
|
57
|
-
* const
|
|
55
|
+
* const service = new kubernetes.core.v1.Service("service", {
|
|
58
56
|
* metadata: {
|
|
59
57
|
* name: "my-service",
|
|
60
58
|
* },
|
|
61
59
|
* spec: {
|
|
62
|
-
* selector: {
|
|
63
|
-
* app: "MyApp",
|
|
64
|
-
* },
|
|
65
60
|
* ports: [{
|
|
66
|
-
* protocol: "TCP",
|
|
67
61
|
* port: 80,
|
|
62
|
+
* protocol: "TCP",
|
|
68
63
|
* targetPort: 9376,
|
|
69
64
|
* }],
|
|
65
|
+
* selector: {
|
|
66
|
+
* app: "MyApp",
|
|
67
|
+
* },
|
|
70
68
|
* },
|
|
71
69
|
* });
|
|
72
70
|
* ```
|
|
73
|
-
* {% /examples %}}
|
|
74
71
|
*/
|
|
75
72
|
export declare class Service extends pulumi.CustomResource {
|
|
76
73
|
/**
|
package/core/v1/service.js
CHANGED
|
@@ -40,18 +40,16 @@ const utilities = require("../../utilities");
|
|
|
40
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
41
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
42
42
|
*
|
|
43
|
-
* const
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* targetPort: 9376,
|
|
52
|
-
* }],
|
|
43
|
+
* const service = new kubernetes.core.v1.Service("service", {spec: {
|
|
44
|
+
* ports: [{
|
|
45
|
+
* port: 80,
|
|
46
|
+
* protocol: "TCP",
|
|
47
|
+
* targetPort: 9376,
|
|
48
|
+
* }],
|
|
49
|
+
* selector: {
|
|
50
|
+
* app: "MyApp",
|
|
53
51
|
* },
|
|
54
|
-
* });
|
|
52
|
+
* }});
|
|
55
53
|
* ```
|
|
56
54
|
* ### Create a Service with a user-specified name
|
|
57
55
|
*
|
|
@@ -59,23 +57,22 @@ const utilities = require("../../utilities");
|
|
|
59
57
|
* import * as pulumi from "@pulumi/pulumi";
|
|
60
58
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
61
59
|
*
|
|
62
|
-
* const
|
|
60
|
+
* const service = new kubernetes.core.v1.Service("service", {
|
|
63
61
|
* metadata: {
|
|
64
62
|
* name: "my-service",
|
|
65
63
|
* },
|
|
66
64
|
* spec: {
|
|
67
|
-
* selector: {
|
|
68
|
-
* app: "MyApp",
|
|
69
|
-
* },
|
|
70
65
|
* ports: [{
|
|
71
|
-
* protocol: "TCP",
|
|
72
66
|
* port: 80,
|
|
67
|
+
* protocol: "TCP",
|
|
73
68
|
* targetPort: 9376,
|
|
74
69
|
* }],
|
|
70
|
+
* selector: {
|
|
71
|
+
* app: "MyApp",
|
|
72
|
+
* },
|
|
75
73
|
* },
|
|
76
74
|
* });
|
|
77
75
|
* ```
|
|
78
|
-
* {% /examples %}}
|
|
79
76
|
*/
|
|
80
77
|
class Service extends pulumi.CustomResource {
|
|
81
78
|
/**
|
package/core/v1/service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../core/v1/service.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../core/v1/service.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAgD9C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,IAAI,cAAc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;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AAzBL,0BA0EC;AA7DG,gBAAgB;AACO,oBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets
|
|
5
|
+
*/
|
|
6
|
+
export declare class ServiceAccountPatch extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing ServiceAccountPatch 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): ServiceAccountPatch;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of ServiceAccountPatch. 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 ServiceAccountPatch;
|
|
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<"v1">;
|
|
25
|
+
/**
|
|
26
|
+
* AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.
|
|
27
|
+
*/
|
|
28
|
+
readonly automountServiceAccountToken: pulumi.Output<boolean>;
|
|
29
|
+
/**
|
|
30
|
+
* ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
|
|
31
|
+
*/
|
|
32
|
+
readonly imagePullSecrets: pulumi.Output<outputs.core.v1.LocalObjectReferencePatch[]>;
|
|
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<"ServiceAccount">;
|
|
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
|
+
* Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
|
|
43
|
+
*/
|
|
44
|
+
readonly secrets: pulumi.Output<outputs.core.v1.ObjectReferencePatch[]>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a ServiceAccountPatch resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args?: ServiceAccountPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The set of arguments for constructing a ServiceAccountPatch resource.
|
|
56
|
+
*/
|
|
57
|
+
export interface ServiceAccountPatchArgs {
|
|
58
|
+
/**
|
|
59
|
+
* 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
|
|
60
|
+
*/
|
|
61
|
+
apiVersion?: pulumi.Input<"v1">;
|
|
62
|
+
/**
|
|
63
|
+
* AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.
|
|
64
|
+
*/
|
|
65
|
+
automountServiceAccountToken?: pulumi.Input<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
|
|
68
|
+
*/
|
|
69
|
+
imagePullSecrets?: pulumi.Input<pulumi.Input<inputs.core.v1.LocalObjectReferencePatch>[]>;
|
|
70
|
+
/**
|
|
71
|
+
* 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
|
|
72
|
+
*/
|
|
73
|
+
kind?: pulumi.Input<"ServiceAccount">;
|
|
74
|
+
/**
|
|
75
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
76
|
+
*/
|
|
77
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
78
|
+
/**
|
|
79
|
+
* Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
|
|
80
|
+
*/
|
|
81
|
+
secrets?: pulumi.Input<pulumi.Input<inputs.core.v1.ObjectReferencePatch>[]>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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.ServiceAccountPatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets
|
|
10
|
+
*/
|
|
11
|
+
class ServiceAccountPatch extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a ServiceAccountPatch 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"] = "v1";
|
|
27
|
+
resourceInputs["automountServiceAccountToken"] = args ? args.automountServiceAccountToken : undefined;
|
|
28
|
+
resourceInputs["imagePullSecrets"] = args ? args.imagePullSecrets : undefined;
|
|
29
|
+
resourceInputs["kind"] = "ServiceAccount";
|
|
30
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
31
|
+
resourceInputs["secrets"] = args ? args.secrets : undefined;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
35
|
+
resourceInputs["automountServiceAccountToken"] = undefined /*out*/;
|
|
36
|
+
resourceInputs["imagePullSecrets"] = undefined /*out*/;
|
|
37
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["secrets"] = undefined /*out*/;
|
|
40
|
+
}
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
42
|
+
super(ServiceAccountPatch.__pulumiType, name, resourceInputs, opts);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing ServiceAccountPatch resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, opts) {
|
|
53
|
+
return new ServiceAccountPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of ServiceAccountPatch. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === ServiceAccountPatch.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.ServiceAccountPatch = ServiceAccountPatch;
|
|
67
|
+
/** @internal */
|
|
68
|
+
ServiceAccountPatch.__pulumiType = 'kubernetes:core/v1:ServiceAccountPatch';
|
|
69
|
+
//# sourceMappingURL=serviceAccountPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceAccountPatch.js","sourceRoot":"","sources":["../../../core/v1/serviceAccountPatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAoD1D;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA8B,EAAE,IAAmC;QACzF,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,IAAI,CAAC;YACpC,cAAc,CAAC,8BAA8B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,gBAAgB,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CA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i from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.
|
|
5
|
+
*
|
|
6
|
+
* This resource waits until its status is ready before registering success
|
|
7
|
+
* for create/update, and populating output properties from the current state of the resource.
|
|
8
|
+
* The following conditions are used to determine whether the resource creation has
|
|
9
|
+
* succeeded or failed:
|
|
10
|
+
*
|
|
11
|
+
* 1. Service object exists.
|
|
12
|
+
* 2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds
|
|
13
|
+
* for any stragglers.
|
|
14
|
+
* 3. The endpoints objects target some number of living objects (unless the Service is
|
|
15
|
+
* an "empty headless" Service [1] or a Service with '.spec.type: ExternalName').
|
|
16
|
+
* 4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').
|
|
17
|
+
*
|
|
18
|
+
* Known limitations:
|
|
19
|
+
* Services targeting ReplicaSets (and, by extension, Deployments,
|
|
20
|
+
* StatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time
|
|
21
|
+
* out. To work around this limitation, set 'pulumi.com/skipAwait: "true"' on
|
|
22
|
+
* '.metadata.annotations' for the Service. Work to handle this case is in progress [2].
|
|
23
|
+
*
|
|
24
|
+
* [1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services
|
|
25
|
+
* [2] https://github.com/pulumi/pulumi-kubernetes/pull/703
|
|
26
|
+
*
|
|
27
|
+
* If the Service has not reached a Ready state after 10 minutes, it will
|
|
28
|
+
* time out and mark the resource update as Failed. You can override the default timeout value
|
|
29
|
+
* by setting the 'customTimeouts' option on the resource.
|
|
30
|
+
*/
|
|
31
|
+
export declare class ServicePatch extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing ServicePatch resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ServicePatch;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of ServicePatch. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is ServicePatch;
|
|
46
|
+
/**
|
|
47
|
+
* 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
|
|
48
|
+
*/
|
|
49
|
+
readonly apiVersion: pulumi.Output<"v1">;
|
|
50
|
+
/**
|
|
51
|
+
* 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
|
|
52
|
+
*/
|
|
53
|
+
readonly kind: pulumi.Output<"Service">;
|
|
54
|
+
/**
|
|
55
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
56
|
+
*/
|
|
57
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
58
|
+
/**
|
|
59
|
+
* Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
60
|
+
*/
|
|
61
|
+
readonly spec: pulumi.Output<outputs.core.v1.ServiceSpecPatch>;
|
|
62
|
+
/**
|
|
63
|
+
* Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
64
|
+
*/
|
|
65
|
+
readonly status: pulumi.Output<outputs.core.v1.ServiceStatusPatch>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a ServicePatch resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args?: ServicePatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The set of arguments for constructing a ServicePatch resource.
|
|
77
|
+
*/
|
|
78
|
+
export interface ServicePatchArgs {
|
|
79
|
+
/**
|
|
80
|
+
* 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
|
|
81
|
+
*/
|
|
82
|
+
apiVersion?: pulumi.Input<"v1">;
|
|
83
|
+
/**
|
|
84
|
+
* 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
|
|
85
|
+
*/
|
|
86
|
+
kind?: pulumi.Input<"Service">;
|
|
87
|
+
/**
|
|
88
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
89
|
+
*/
|
|
90
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
91
|
+
/**
|
|
92
|
+
* Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
93
|
+
*/
|
|
94
|
+
spec?: pulumi.Input<inputs.core.v1.ServiceSpecPatch>;
|
|
95
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.ServicePatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.
|
|
10
|
+
*
|
|
11
|
+
* This resource waits until its status is ready before registering success
|
|
12
|
+
* for create/update, and populating output properties from the current state of the resource.
|
|
13
|
+
* The following conditions are used to determine whether the resource creation has
|
|
14
|
+
* succeeded or failed:
|
|
15
|
+
*
|
|
16
|
+
* 1. Service object exists.
|
|
17
|
+
* 2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds
|
|
18
|
+
* for any stragglers.
|
|
19
|
+
* 3. The endpoints objects target some number of living objects (unless the Service is
|
|
20
|
+
* an "empty headless" Service [1] or a Service with '.spec.type: ExternalName').
|
|
21
|
+
* 4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').
|
|
22
|
+
*
|
|
23
|
+
* Known limitations:
|
|
24
|
+
* Services targeting ReplicaSets (and, by extension, Deployments,
|
|
25
|
+
* StatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time
|
|
26
|
+
* out. To work around this limitation, set 'pulumi.com/skipAwait: "true"' on
|
|
27
|
+
* '.metadata.annotations' for the Service. Work to handle this case is in progress [2].
|
|
28
|
+
*
|
|
29
|
+
* [1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services
|
|
30
|
+
* [2] https://github.com/pulumi/pulumi-kubernetes/pull/703
|
|
31
|
+
*
|
|
32
|
+
* If the Service has not reached a Ready state after 10 minutes, it will
|
|
33
|
+
* time out and mark the resource update as Failed. You can override the default timeout value
|
|
34
|
+
* by setting the 'customTimeouts' option on the resource.
|
|
35
|
+
*/
|
|
36
|
+
class ServicePatch extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Create a ServicePatch resource with the given unique name, arguments, and options.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resource.
|
|
41
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
42
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
43
|
+
*/
|
|
44
|
+
constructor(name, args, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (!opts.id) {
|
|
48
|
+
if ((!args || args.metadata === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'metadata'");
|
|
50
|
+
}
|
|
51
|
+
resourceInputs["apiVersion"] = "v1";
|
|
52
|
+
resourceInputs["kind"] = "Service";
|
|
53
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
54
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
55
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
63
|
+
}
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
super(ServicePatch.__pulumiType, name, resourceInputs, opts);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing ServicePatch resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
74
|
+
*/
|
|
75
|
+
static get(name, id, opts) {
|
|
76
|
+
return new ServicePatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of ServicePatch. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj) {
|
|
83
|
+
if (obj === undefined || obj === null) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
return obj['__pulumiType'] === ServicePatch.__pulumiType;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.ServicePatch = ServicePatch;
|
|
90
|
+
/** @internal */
|
|
91
|
+
ServicePatch.__pulumiType = 'kubernetes:core/v1:ServicePatch';
|
|
92
|
+
//# sourceMappingURL=servicePatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"servicePatch.js","sourceRoot":"","sources":["../../../core/v1/servicePatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAgDnD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAuB,EAAE,IAAmC;QAClF,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,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;YACnC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,I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@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.
|
|
5
|
+
*/
|
|
6
|
+
export declare class EndpointSlicePatch extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing EndpointSlicePatch 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): EndpointSlicePatch;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of EndpointSlicePatch. 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 EndpointSlicePatch;
|
|
21
|
+
/**
|
|
22
|
+
* addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.
|
|
23
|
+
*/
|
|
24
|
+
readonly addressType: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* 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
|
|
27
|
+
*/
|
|
28
|
+
readonly apiVersion: pulumi.Output<"discovery.k8s.io/v1">;
|
|
29
|
+
/**
|
|
30
|
+
* endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.
|
|
31
|
+
*/
|
|
32
|
+
readonly endpoints: pulumi.Output<outputs.discovery.v1.EndpointPatch[]>;
|
|
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<"EndpointSlice">;
|
|
37
|
+
/**
|
|
38
|
+
* Standard object's metadata.
|
|
39
|
+
*/
|
|
40
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
41
|
+
/**
|
|
42
|
+
* ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.
|
|
43
|
+
*/
|
|
44
|
+
readonly ports: pulumi.Output<outputs.discovery.v1.EndpointPortPatch[]>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a EndpointSlicePatch resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args?: EndpointSlicePatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The set of arguments for constructing a EndpointSlicePatch resource.
|
|
56
|
+
*/
|
|
57
|
+
export interface EndpointSlicePatchArgs {
|
|
58
|
+
/**
|
|
59
|
+
* addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.
|
|
60
|
+
*/
|
|
61
|
+
addressType?: pulumi.Input<string>;
|
|
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<"discovery.k8s.io/v1">;
|
|
66
|
+
/**
|
|
67
|
+
* endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.
|
|
68
|
+
*/
|
|
69
|
+
endpoints?: pulumi.Input<pulumi.Input<inputs.discovery.v1.EndpointPatch>[]>;
|
|
70
|
+
/**
|
|
71
|
+
* 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
|
|
72
|
+
*/
|
|
73
|
+
kind?: pulumi.Input<"EndpointSlice">;
|
|
74
|
+
/**
|
|
75
|
+
* Standard object's metadata.
|
|
76
|
+
*/
|
|
77
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
78
|
+
/**
|
|
79
|
+
* ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.
|
|
80
|
+
*/
|
|
81
|
+
ports?: pulumi.Input<pulumi.Input<inputs.discovery.v1.EndpointPortPatch>[]>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.EndpointSlicePatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.
|
|
10
|
+
*/
|
|
11
|
+
class EndpointSlicePatch extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a EndpointSlicePatch 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["addressType"] = args ? args.addressType : undefined;
|
|
27
|
+
resourceInputs["apiVersion"] = "discovery.k8s.io/v1";
|
|
28
|
+
resourceInputs["endpoints"] = args ? args.endpoints : undefined;
|
|
29
|
+
resourceInputs["kind"] = "EndpointSlice";
|
|
30
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
31
|
+
resourceInputs["ports"] = args ? args.ports : undefined;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
resourceInputs["addressType"] = undefined /*out*/;
|
|
35
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
36
|
+
resourceInputs["endpoints"] = undefined /*out*/;
|
|
37
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["ports"] = undefined /*out*/;
|
|
40
|
+
}
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
42
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:discovery.k8s.io/v1beta1:EndpointSlicePatch" }] };
|
|
43
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
44
|
+
super(EndpointSlicePatch.__pulumiType, name, resourceInputs, opts);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing EndpointSlicePatch resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, opts) {
|
|
55
|
+
return new EndpointSlicePatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of EndpointSlicePatch. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === EndpointSlicePatch.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.EndpointSlicePatch = EndpointSlicePatch;
|
|
69
|
+
/** @internal */
|
|
70
|
+
EndpointSlicePatch.__pulumiType = 'kubernetes:discovery.k8s.io/v1:EndpointSlicePatch';
|
|
71
|
+
//# sourceMappingURL=endpointSlicePatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointSlicePatch.js","sourceRoot":"","sources":["../../../discovery/v1/endpointSlicePatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAoDzD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA6B,EAAE,IAAmC;QACxF,IAAI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