@pulumi/kubernetes 3.19.3 → 3.20.1
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 +72 -0
- package/admissionregistration/v1/mutatingWebhookConfigurationPatch.js +73 -0
- package/admissionregistration/v1/mutatingWebhookConfigurationPatch.js.map +1 -0
- package/admissionregistration/v1/validatingWebhookConfigurationPatch.d.ts +72 -0
- package/admissionregistration/v1/validatingWebhookConfigurationPatch.js +73 -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 +72 -0
- package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.js +73 -0
- package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.js.map +1 -0
- package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.d.ts +72 -0
- package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.js +73 -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 +76 -0
- package/apiextensions/v1/customResourceDefinitionPatch.js +75 -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 +70 -0
- package/apiextensions/v1beta1/customResourceDefinitionPatch.js +75 -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 +76 -0
- package/apiregistration/v1/apiservicePatch.js +75 -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 +70 -0
- package/apiregistration/v1beta1/apiservicePatch.js +75 -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 +80 -0
- package/apps/v1/controllerRevisionPatch.js +75 -0
- package/apps/v1/controllerRevisionPatch.js.map +1 -0
- package/apps/v1/daemonSetPatch.d.ts +76 -0
- package/apps/v1/daemonSetPatch.js +75 -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 +98 -0
- package/apps/v1/deploymentPatch.js +97 -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 +76 -0
- package/apps/v1/replicaSetPatch.js +75 -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 +92 -0
- package/apps/v1/statefulSetPatch.js +91 -0
- package/apps/v1/statefulSetPatch.js.map +1 -0
- package/apps/v1beta1/controllerRevisionPatch.d.ts +83 -0
- package/apps/v1beta1/controllerRevisionPatch.js +78 -0
- package/apps/v1beta1/controllerRevisionPatch.js.map +1 -0
- package/apps/v1beta1/deploymentPatch.d.ts +101 -0
- package/apps/v1beta1/deploymentPatch.js +100 -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 +89 -0
- package/apps/v1beta1/statefulSetPatch.js +94 -0
- package/apps/v1beta1/statefulSetPatch.js.map +1 -0
- package/apps/v1beta2/controllerRevisionPatch.d.ts +83 -0
- package/apps/v1beta2/controllerRevisionPatch.js +78 -0
- package/apps/v1beta2/controllerRevisionPatch.js.map +1 -0
- package/apps/v1beta2/daemonSetPatch.d.ts +79 -0
- package/apps/v1beta2/daemonSetPatch.js +78 -0
- package/apps/v1beta2/daemonSetPatch.js.map +1 -0
- package/apps/v1beta2/deploymentPatch.d.ts +101 -0
- package/apps/v1beta2/deploymentPatch.js +100 -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 +79 -0
- package/apps/v1beta2/replicaSetPatch.js +78 -0
- package/apps/v1beta2/replicaSetPatch.js.map +1 -0
- package/apps/v1beta2/statefulSetPatch.d.ts +89 -0
- package/apps/v1beta2/statefulSetPatch.js +94 -0
- package/apps/v1beta2/statefulSetPatch.js.map +1 -0
- package/auditregistration/v1alpha1/auditSinkPatch.d.ts +66 -0
- package/auditregistration/v1alpha1/auditSinkPatch.js +71 -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 +76 -0
- package/authentication/v1/tokenRequestPatch.js +73 -0
- package/authentication/v1/tokenRequestPatch.js.map +1 -0
- package/authentication/v1/tokenReviewPatch.d.ts +76 -0
- package/authentication/v1/tokenReviewPatch.js +75 -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 +70 -0
- package/authentication/v1beta1/tokenReviewPatch.js +75 -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 +76 -0
- package/authorization/v1/localSubjectAccessReviewPatch.js +75 -0
- package/authorization/v1/localSubjectAccessReviewPatch.js.map +1 -0
- package/authorization/v1/selfSubjectAccessReviewPatch.d.ts +76 -0
- package/authorization/v1/selfSubjectAccessReviewPatch.js +75 -0
- package/authorization/v1/selfSubjectAccessReviewPatch.js.map +1 -0
- package/authorization/v1/selfSubjectRulesReviewPatch.d.ts +76 -0
- package/authorization/v1/selfSubjectRulesReviewPatch.js +75 -0
- package/authorization/v1/selfSubjectRulesReviewPatch.js.map +1 -0
- package/authorization/v1/subjectAccessReviewPatch.d.ts +76 -0
- package/authorization/v1/subjectAccessReviewPatch.js +75 -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 +70 -0
- package/authorization/v1beta1/localSubjectAccessReviewPatch.js +75 -0
- package/authorization/v1beta1/localSubjectAccessReviewPatch.js.map +1 -0
- package/authorization/v1beta1/selfSubjectAccessReviewPatch.d.ts +70 -0
- package/authorization/v1beta1/selfSubjectAccessReviewPatch.js +75 -0
- package/authorization/v1beta1/selfSubjectAccessReviewPatch.js.map +1 -0
- package/authorization/v1beta1/selfSubjectRulesReviewPatch.d.ts +70 -0
- package/authorization/v1beta1/selfSubjectRulesReviewPatch.js +75 -0
- package/authorization/v1beta1/selfSubjectRulesReviewPatch.js.map +1 -0
- package/authorization/v1beta1/subjectAccessReviewPatch.d.ts +70 -0
- package/authorization/v1beta1/subjectAccessReviewPatch.js +75 -0
- package/authorization/v1beta1/subjectAccessReviewPatch.js.map +1 -0
- package/autoscaling/v1/horizontalPodAutoscalerPatch.d.ts +76 -0
- package/autoscaling/v1/horizontalPodAutoscalerPatch.js +75 -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 +76 -0
- package/autoscaling/v2/horizontalPodAutoscalerPatch.js +75 -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 +76 -0
- package/autoscaling/v2beta1/horizontalPodAutoscalerPatch.js +75 -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 +76 -0
- package/autoscaling/v2beta2/horizontalPodAutoscalerPatch.js +75 -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 +76 -0
- package/batch/v1/cronJobPatch.js +75 -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 +96 -0
- package/batch/v1/jobPatch.js +93 -0
- package/batch/v1/jobPatch.js.map +1 -0
- package/batch/v1beta1/cronJobPatch.d.ts +76 -0
- package/batch/v1beta1/cronJobPatch.js +75 -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 +76 -0
- package/batch/v2alpha1/cronJobPatch.js +75 -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 +76 -0
- package/certificates/v1/certificateSigningRequestPatch.js +81 -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 +70 -0
- package/certificates/v1beta1/certificateSigningRequestPatch.js +75 -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 +72 -0
- package/coordination/v1/leasePatch.js +73 -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 +72 -0
- package/coordination/v1beta1/leasePatch.js +73 -0
- package/coordination/v1beta1/leasePatch.js.map +1 -0
- package/core/v1/bindingPatch.d.ts +72 -0
- package/core/v1/bindingPatch.js +71 -0
- package/core/v1/bindingPatch.js.map +1 -0
- package/core/v1/configMapPatch.d.ts +96 -0
- package/core/v1/configMapPatch.js +75 -0
- package/core/v1/configMapPatch.js.map +1 -0
- package/core/v1/endpointsPatch.d.ts +83 -0
- package/core/v1/endpointsPatch.js +82 -0
- package/core/v1/endpointsPatch.js.map +1 -0
- package/core/v1/eventPatch.d.ts +176 -0
- package/core/v1/eventPatch.js +99 -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 +72 -0
- package/core/v1/limitRangePatch.js +71 -0
- package/core/v1/limitRangePatch.js.map +1 -0
- package/core/v1/namespacePatch.d.ts +76 -0
- package/core/v1/namespacePatch.js +73 -0
- package/core/v1/namespacePatch.js.map +1 -0
- package/core/v1/nodePatch.d.ts +76 -0
- package/core/v1/nodePatch.js +73 -0
- package/core/v1/nodePatch.js.map +1 -0
- package/core/v1/persistentVolumeClaimPatch.d.ts +76 -0
- package/core/v1/persistentVolumeClaimPatch.js +73 -0
- package/core/v1/persistentVolumeClaimPatch.js.map +1 -0
- package/core/v1/persistentVolumePatch.d.ts +76 -0
- package/core/v1/persistentVolumePatch.js +73 -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 +91 -0
- package/core/v1/podPatch.js +88 -0
- package/core/v1/podPatch.js.map +1 -0
- package/core/v1/podTemplatePatch.d.ts +72 -0
- package/core/v1/podTemplatePatch.js +71 -0
- package/core/v1/podTemplatePatch.js.map +1 -0
- package/core/v1/replicationControllerPatch.d.ts +76 -0
- package/core/v1/replicationControllerPatch.js +73 -0
- package/core/v1/replicationControllerPatch.js.map +1 -0
- package/core/v1/resourceQuotaPatch.d.ts +76 -0
- package/core/v1/resourceQuotaPatch.js +73 -0
- package/core/v1/resourceQuotaPatch.js.map +1 -0
- package/core/v1/secretPatch.d.ts +114 -0
- package/core/v1/secretPatch.js +87 -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 +88 -0
- package/core/v1/serviceAccountPatch.js +75 -0
- package/core/v1/serviceAccountPatch.js.map +1 -0
- package/core/v1/servicePatch.d.ts +101 -0
- package/core/v1/servicePatch.js +98 -0
- package/core/v1/servicePatch.js.map +1 -0
- package/discovery/v1/endpointSlicePatch.d.ts +88 -0
- package/discovery/v1/endpointSlicePatch.js +77 -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 +88 -0
- package/discovery/v1beta1/endpointSlicePatch.js +77 -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 +176 -0
- package/events/v1/eventPatch.js +99 -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 +176 -0
- package/events/v1beta1/eventPatch.js +99 -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 +79 -0
- package/extensions/v1beta1/daemonSetPatch.js +78 -0
- package/extensions/v1beta1/daemonSetPatch.js.map +1 -0
- package/extensions/v1beta1/deploymentPatch.d.ts +101 -0
- package/extensions/v1beta1/deploymentPatch.js +100 -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 +93 -0
- package/extensions/v1beta1/ingressPatch.js +92 -0
- package/extensions/v1beta1/ingressPatch.js.map +1 -0
- package/extensions/v1beta1/networkPolicyPatch.d.ts +72 -0
- package/extensions/v1beta1/networkPolicyPatch.js +73 -0
- package/extensions/v1beta1/networkPolicyPatch.js.map +1 -0
- package/extensions/v1beta1/podSecurityPolicyPatch.d.ts +72 -0
- package/extensions/v1beta1/podSecurityPolicyPatch.js +73 -0
- package/extensions/v1beta1/podSecurityPolicyPatch.js.map +1 -0
- package/extensions/v1beta1/replicaSetPatch.d.ts +79 -0
- package/extensions/v1beta1/replicaSetPatch.js +78 -0
- package/extensions/v1beta1/replicaSetPatch.js.map +1 -0
- package/flowcontrol/v1alpha1/flowSchemaPatch.d.ts +76 -0
- package/flowcontrol/v1alpha1/flowSchemaPatch.js +75 -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 +76 -0
- package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.js +75 -0
- package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.js.map +1 -0
- package/flowcontrol/v1beta1/flowSchemaPatch.d.ts +76 -0
- package/flowcontrol/v1beta1/flowSchemaPatch.js +75 -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 +76 -0
- package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.js +75 -0
- package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.js.map +1 -0
- package/flowcontrol/v1beta2/flowSchemaPatch.d.ts +76 -0
- package/flowcontrol/v1beta2/flowSchemaPatch.js +75 -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 +76 -0
- package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.js +75 -0
- package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.js.map +1 -0
- package/helm/v2/helm.js +2 -0
- package/helm/v2/helm.js.map +1 -1
- package/helm/v3/helm.js +2 -0
- package/helm/v3/helm.js.map +1 -1
- package/meta/v1/index.d.ts +1 -0
- package/meta/v1/index.js +4 -0
- package/meta/v1/index.js.map +1 -1
- package/meta/v1/statusPatch.d.ts +100 -0
- package/meta/v1/statusPatch.js +79 -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 +72 -0
- package/networking/v1/ingressClassPatch.js +73 -0
- package/networking/v1/ingressClassPatch.js.map +1 -0
- package/networking/v1/ingressPatch.d.ts +90 -0
- package/networking/v1/ingressPatch.js +89 -0
- package/networking/v1/ingressPatch.js.map +1 -0
- package/networking/v1/networkPolicyPatch.d.ts +76 -0
- package/networking/v1/networkPolicyPatch.js +75 -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 +72 -0
- package/networking/v1beta1/ingressClassPatch.js +73 -0
- package/networking/v1beta1/ingressClassPatch.js.map +1 -0
- package/networking/v1beta1/ingressPatch.d.ts +90 -0
- package/networking/v1beta1/ingressPatch.js +89 -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 +90 -0
- package/node/v1/runtimeClassPatch.js +77 -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 +72 -0
- package/node/v1alpha1/runtimeClassPatch.js +73 -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 +88 -0
- package/node/v1beta1/runtimeClassPatch.js +77 -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 +76 -0
- package/policy/v1/podDisruptionBudgetPatch.js +75 -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 +76 -0
- package/policy/v1beta1/podDisruptionBudgetPatch.js +75 -0
- package/policy/v1beta1/podDisruptionBudgetPatch.js.map +1 -0
- package/policy/v1beta1/podSecurityPolicyPatch.d.ts +72 -0
- package/policy/v1beta1/podSecurityPolicyPatch.js +73 -0
- package/policy/v1beta1/podSecurityPolicyPatch.js.map +1 -0
- package/provider.d.ts +13 -2
- package/provider.js +6 -4
- package/provider.js.map +1 -1
- package/rbac/v1/clusterRoleBindingPatch.d.ts +80 -0
- package/rbac/v1/clusterRoleBindingPatch.js +75 -0
- package/rbac/v1/clusterRoleBindingPatch.js.map +1 -0
- package/rbac/v1/clusterRolePatch.d.ts +80 -0
- package/rbac/v1/clusterRolePatch.js +75 -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 +80 -0
- package/rbac/v1/roleBindingPatch.js +75 -0
- package/rbac/v1/roleBindingPatch.js.map +1 -0
- package/rbac/v1/rolePatch.d.ts +72 -0
- package/rbac/v1/rolePatch.js +73 -0
- package/rbac/v1/rolePatch.js.map +1 -0
- package/rbac/v1alpha1/clusterRoleBindingPatch.d.ts +80 -0
- package/rbac/v1alpha1/clusterRoleBindingPatch.js +75 -0
- package/rbac/v1alpha1/clusterRoleBindingPatch.js.map +1 -0
- package/rbac/v1alpha1/clusterRolePatch.d.ts +80 -0
- package/rbac/v1alpha1/clusterRolePatch.js +75 -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 +80 -0
- package/rbac/v1alpha1/roleBindingPatch.js +75 -0
- package/rbac/v1alpha1/roleBindingPatch.js.map +1 -0
- package/rbac/v1alpha1/rolePatch.d.ts +72 -0
- package/rbac/v1alpha1/rolePatch.js +73 -0
- package/rbac/v1alpha1/rolePatch.js.map +1 -0
- package/rbac/v1beta1/clusterRoleBindingPatch.d.ts +80 -0
- package/rbac/v1beta1/clusterRoleBindingPatch.js +75 -0
- package/rbac/v1beta1/clusterRoleBindingPatch.js.map +1 -0
- package/rbac/v1beta1/clusterRolePatch.d.ts +80 -0
- package/rbac/v1beta1/clusterRolePatch.js +75 -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 +80 -0
- package/rbac/v1beta1/roleBindingPatch.js +75 -0
- package/rbac/v1beta1/roleBindingPatch.js.map +1 -0
- package/rbac/v1beta1/rolePatch.d.ts +72 -0
- package/rbac/v1beta1/rolePatch.js +73 -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 +96 -0
- package/scheduling/v1/priorityClassPatch.js +79 -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 +96 -0
- package/scheduling/v1alpha1/priorityClassPatch.js +79 -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 +96 -0
- package/scheduling/v1beta1/priorityClassPatch.js +79 -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 +60 -0
- package/settings/v1alpha1/podPresetPatch.js +71 -0
- package/settings/v1alpha1/podPresetPatch.js.map +1 -0
- package/storage/v1/csidriverPatch.d.ts +72 -0
- package/storage/v1/csidriverPatch.js +73 -0
- package/storage/v1/csidriverPatch.js.map +1 -0
- package/storage/v1/csinodePatch.d.ts +72 -0
- package/storage/v1/csinodePatch.js +73 -0
- package/storage/v1/csinodePatch.js.map +1 -0
- package/storage/v1/csistorageCapacityPatch.d.ts +120 -0
- package/storage/v1/csistorageCapacityPatch.js +87 -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 +126 -0
- package/storage/v1/storageClassPatch.js +87 -0
- package/storage/v1/storageClassPatch.js.map +1 -0
- package/storage/v1/volumeAttachmentPatch.d.ts +78 -0
- package/storage/v1/volumeAttachmentPatch.js +77 -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 +78 -0
- package/storage/v1alpha1/volumeAttachmentPatch.js +77 -0
- package/storage/v1alpha1/volumeAttachmentPatch.js.map +1 -0
- package/storage/v1beta1/csidriverPatch.d.ts +72 -0
- package/storage/v1beta1/csidriverPatch.js +73 -0
- package/storage/v1beta1/csidriverPatch.js.map +1 -0
- package/storage/v1beta1/csinodePatch.d.ts +75 -0
- package/storage/v1beta1/csinodePatch.js +76 -0
- package/storage/v1beta1/csinodePatch.js.map +1 -0
- package/storage/v1beta1/csistorageCapacityPatch.d.ts +120 -0
- package/storage/v1beta1/csistorageCapacityPatch.js +87 -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 +126 -0
- package/storage/v1beta1/storageClassPatch.js +87 -0
- package/storage/v1beta1/storageClassPatch.js.map +1 -0
- package/storage/v1beta1/volumeAttachmentPatch.d.ts +78 -0
- package/storage/v1beta1/volumeAttachmentPatch.js +77 -0
- package/storage/v1beta1/volumeAttachmentPatch.js.map +1 -0
- package/types/input.d.ts +9853 -301
- package/types/output.d.ts +17100 -4451
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
5
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
6
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
7
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
8
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
|
|
9
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
10
|
+
* ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
|
|
11
|
+
*/
|
|
12
|
+
export declare class ValidatingWebhookConfigurationPatch extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing ValidatingWebhookConfigurationPatch resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ValidatingWebhookConfigurationPatch;
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given object is an instance of ValidatingWebhookConfigurationPatch. This is designed to work even
|
|
24
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
+
*/
|
|
26
|
+
static isInstance(obj: any): obj is ValidatingWebhookConfigurationPatch;
|
|
27
|
+
/**
|
|
28
|
+
* 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
|
|
29
|
+
*/
|
|
30
|
+
readonly apiVersion: pulumi.Output<"admissionregistration.k8s.io/v1beta1">;
|
|
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<"ValidatingWebhookConfiguration">;
|
|
35
|
+
/**
|
|
36
|
+
* Standard object 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
|
+
* Webhooks is a list of webhooks and the affected resources and operations.
|
|
41
|
+
*/
|
|
42
|
+
readonly webhooks: pulumi.Output<outputs.admissionregistration.v1beta1.ValidatingWebhookPatch[]>;
|
|
43
|
+
/**
|
|
44
|
+
* Create a ValidatingWebhookConfigurationPatch 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
|
+
constructor(name: string, args?: ValidatingWebhookConfigurationPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The set of arguments for constructing a ValidatingWebhookConfigurationPatch resource.
|
|
54
|
+
*/
|
|
55
|
+
export interface ValidatingWebhookConfigurationPatchArgs {
|
|
56
|
+
/**
|
|
57
|
+
* 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
|
|
58
|
+
*/
|
|
59
|
+
apiVersion?: pulumi.Input<"admissionregistration.k8s.io/v1beta1">;
|
|
60
|
+
/**
|
|
61
|
+
* 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
|
|
62
|
+
*/
|
|
63
|
+
kind?: pulumi.Input<"ValidatingWebhookConfiguration">;
|
|
64
|
+
/**
|
|
65
|
+
* Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
|
66
|
+
*/
|
|
67
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
68
|
+
/**
|
|
69
|
+
* Webhooks is a list of webhooks and the affected resources and operations.
|
|
70
|
+
*/
|
|
71
|
+
webhooks?: pulumi.Input<pulumi.Input<inputs.admissionregistration.v1beta1.ValidatingWebhookPatch>[]>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ValidatingWebhookConfigurationPatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
10
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
11
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
12
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
13
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
|
|
14
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
15
|
+
* ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
|
|
16
|
+
*/
|
|
17
|
+
class ValidatingWebhookConfigurationPatch extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Create a ValidatingWebhookConfigurationPatch resource with the given unique name, arguments, and options.
|
|
20
|
+
*
|
|
21
|
+
* @param name The _unique_ name of the resource.
|
|
22
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
23
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
24
|
+
*/
|
|
25
|
+
constructor(name, args, opts) {
|
|
26
|
+
let resourceInputs = {};
|
|
27
|
+
opts = opts || {};
|
|
28
|
+
if (!opts.id) {
|
|
29
|
+
if ((!args || args.metadata === undefined) && !opts.urn) {
|
|
30
|
+
throw new Error("Missing required property 'metadata'");
|
|
31
|
+
}
|
|
32
|
+
resourceInputs["apiVersion"] = "admissionregistration.k8s.io/v1beta1";
|
|
33
|
+
resourceInputs["kind"] = "ValidatingWebhookConfiguration";
|
|
34
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
35
|
+
resourceInputs["webhooks"] = args ? args.webhooks : undefined;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
41
|
+
resourceInputs["webhooks"] = undefined /*out*/;
|
|
42
|
+
}
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfigurationPatch" }] };
|
|
45
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
46
|
+
super(ValidatingWebhookConfigurationPatch.__pulumiType, name, resourceInputs, opts);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing ValidatingWebhookConfigurationPatch resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name, id, opts) {
|
|
57
|
+
return new ValidatingWebhookConfigurationPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the given object is an instance of ValidatingWebhookConfigurationPatch. This is designed to work even
|
|
61
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
+
*/
|
|
63
|
+
static isInstance(obj) {
|
|
64
|
+
if (obj === undefined || obj === null) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return obj['__pulumiType'] === ValidatingWebhookConfigurationPatch.__pulumiType;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.ValidatingWebhookConfigurationPatch = ValidatingWebhookConfigurationPatch;
|
|
71
|
+
/** @internal */
|
|
72
|
+
ValidatingWebhookConfigurationPatch.__pulumiType = 'kubernetes:admissionregistration.k8s.io/v1beta1:ValidatingWebhookConfigurationPatch';
|
|
73
|
+
//# sourceMappingURL=validatingWebhookConfigurationPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validatingWebhookConfigurationPatch.js","sourceRoot":"","sources":["../../../admissionregistration/v1beta1/validatingWebhookConfigurationPatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;;;;;;;GAQG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IA4C1E;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA8C,EAAE,IAAmC;QACzG,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,sCAAsC,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,gCAAgC,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;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,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;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,gFAAgF,EAAE,CAAC,EAAE,CAAC;QAC5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;IAvED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChG,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,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;;AAzBL,kFAyEC;AA5DG,gBAAgB;AACO,gDAAY,GAAG,qFAAqF,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* CustomResourcePatch represents an instance of a CustomResourceDefinition (CRD). For example, the
|
|
6
|
+
* CoreOS Prometheus operator exposes a CRD `monitoring.coreos.com/ServiceMonitor`; to
|
|
7
|
+
* instantiate this as a Pulumi resource, one could call `new CustomResourcePatch`, passing the
|
|
8
|
+
* `ServiceMonitor` resource definition as an argument.
|
|
9
|
+
*/
|
|
10
|
+
export declare class CustomResourcePatch extends pulumi.CustomResource {
|
|
11
|
+
/**
|
|
12
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should
|
|
13
|
+
* convert recognized schemas to the latest internal value, and may reject unrecognized
|
|
14
|
+
* values. More info:
|
|
15
|
+
* https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
|
|
16
|
+
*/
|
|
17
|
+
readonly apiVersion: pulumi.Output<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Kind is a string value representing the REST resource this object represents. Servers may
|
|
20
|
+
* infer this from the endpoint the client submits requests to. Cannot be updated. In
|
|
21
|
+
* CamelCase. More info:
|
|
22
|
+
* https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
|
|
23
|
+
*/
|
|
24
|
+
readonly kind: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Standard object metadata; More info:
|
|
27
|
+
* https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
|
|
28
|
+
*/
|
|
29
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
30
|
+
getInputs(): CustomResourcePatchArgs;
|
|
31
|
+
private readonly __inputs;
|
|
32
|
+
/**
|
|
33
|
+
* Create a CustomResourcePatch resource with the given unique name, arguments, and options.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resource.
|
|
36
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
37
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
38
|
+
*/
|
|
39
|
+
constructor(name: string, args: CustomResourcePatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The set of arguments for constructing a CustomResourcePatch resource.
|
|
43
|
+
*
|
|
44
|
+
* NOTE: This type is fairly loose, since other than `apiVersion` and `kind`, there are no
|
|
45
|
+
* fields required across all CRDs.
|
|
46
|
+
*/
|
|
47
|
+
export interface CustomResourcePatchArgs {
|
|
48
|
+
/**
|
|
49
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should
|
|
50
|
+
* convert recognized schemas to the latest internal value, and may reject unrecognized
|
|
51
|
+
* values. More info:
|
|
52
|
+
* https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
|
|
53
|
+
*/
|
|
54
|
+
apiVersion: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Kind is a string value representing the REST resource this object represents. Servers may
|
|
57
|
+
* infer this from the endpoint the client submits requests to. Cannot be updated. In
|
|
58
|
+
* CamelCase. More info:
|
|
59
|
+
* https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
|
|
60
|
+
*/
|
|
61
|
+
kind: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Standard object metadata; More info:
|
|
64
|
+
* https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
|
|
65
|
+
*/
|
|
66
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
|
67
|
+
[othersFields: string]: pulumi.Input<any>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2016-2022, Pulumi Corporation.
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CustomResourcePatch = void 0;
|
|
17
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
18
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
19
|
+
const pulumi = require("@pulumi/pulumi");
|
|
20
|
+
const utilities = require("../utilities");
|
|
21
|
+
/**
|
|
22
|
+
* CustomResourcePatch represents an instance of a CustomResourceDefinition (CRD). For example, the
|
|
23
|
+
* CoreOS Prometheus operator exposes a CRD `monitoring.coreos.com/ServiceMonitor`; to
|
|
24
|
+
* instantiate this as a Pulumi resource, one could call `new CustomResourcePatch`, passing the
|
|
25
|
+
* `ServiceMonitor` resource definition as an argument.
|
|
26
|
+
*/
|
|
27
|
+
class CustomResourcePatch extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Create a CustomResourcePatch 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 inputs = {};
|
|
37
|
+
opts = opts || {};
|
|
38
|
+
if (!opts.id) {
|
|
39
|
+
for (const key of Object.keys(args)) {
|
|
40
|
+
inputs[key] = args[key];
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
for (const key of Object.keys(args)) {
|
|
45
|
+
inputs[key] = undefined;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
if (!opts.version) {
|
|
49
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
50
|
+
}
|
|
51
|
+
super(`kubernetes:${args.apiVersion}:${args.kind}Patch`, name, inputs, opts);
|
|
52
|
+
this.__inputs = args;
|
|
53
|
+
}
|
|
54
|
+
getInputs() { return this.__inputs; }
|
|
55
|
+
}
|
|
56
|
+
exports.CustomResourcePatch = CustomResourcePatch;
|
|
57
|
+
//# sourceMappingURL=customResourcePatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customResourcePatch.js","sourceRoot":"","sources":["../../apiextensions/customResourcePatch.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,yDAAyD;AACzD,iFAAiF;AAEjF,yCAAwC;AAGxC,0CAA0C;AAE1C;;;;;GAKG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA0B1D;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA6B,EAAE,IAAmC;QACxF,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACjC,MAAM,CAAC,GAAG,CAAC,GAAI,IAAY,CAAC,GAAG,CAAC,CAAC;aACpC;SACJ;aAAM;YACH,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACjC,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;aAC3B;SACJ;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,cAAc,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;QAC7E,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACzB,CAAC;IA3BM,SAAS,KAA8B,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;CA4BxE;AAnDD,kDAmDC"}
|
package/apiextensions/index.d.ts
CHANGED
package/apiextensions/index.js
CHANGED
|
@@ -19,6 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
exports.v1beta1 = exports.v1 = void 0;
|
|
20
20
|
// Export members:
|
|
21
21
|
__exportStar(require("./customResource"), exports);
|
|
22
|
+
__exportStar(require("./customResourcePatch"), exports);
|
|
22
23
|
// Export sub-modules:
|
|
23
24
|
const v1 = require("./v1");
|
|
24
25
|
exports.v1 = v1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../apiextensions/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,mDAAiC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../apiextensions/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,mDAAiC;AACjC,wDAAsC;AAEtC,sBAAsB;AACtB,2BAA2B;AAIvB,gBAAE;AAHN,qCAAqC;AAIjC,0BAAO"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
5
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
6
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
7
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
8
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
|
|
9
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
10
|
+
* CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CustomResourceDefinitionPatch extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing CustomResourceDefinitionPatch resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CustomResourceDefinitionPatch;
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given object is an instance of CustomResourceDefinitionPatch. This is designed to work even
|
|
24
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
+
*/
|
|
26
|
+
static isInstance(obj: any): obj is CustomResourceDefinitionPatch;
|
|
27
|
+
/**
|
|
28
|
+
* 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
|
|
29
|
+
*/
|
|
30
|
+
readonly apiVersion: pulumi.Output<"apiextensions.k8s.io/v1">;
|
|
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<"CustomResourceDefinition">;
|
|
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
|
+
* spec describes how the user wants the resources to appear
|
|
41
|
+
*/
|
|
42
|
+
readonly spec: pulumi.Output<outputs.apiextensions.v1.CustomResourceDefinitionSpecPatch>;
|
|
43
|
+
/**
|
|
44
|
+
* status indicates the actual state of the CustomResourceDefinition
|
|
45
|
+
*/
|
|
46
|
+
readonly status: pulumi.Output<outputs.apiextensions.v1.CustomResourceDefinitionStatusPatch>;
|
|
47
|
+
/**
|
|
48
|
+
* Create a CustomResourceDefinitionPatch resource with the given unique name, arguments, and options.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resource.
|
|
51
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
52
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
53
|
+
*/
|
|
54
|
+
constructor(name: string, args?: CustomResourceDefinitionPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The set of arguments for constructing a CustomResourceDefinitionPatch resource.
|
|
58
|
+
*/
|
|
59
|
+
export interface CustomResourceDefinitionPatchArgs {
|
|
60
|
+
/**
|
|
61
|
+
* 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
|
|
62
|
+
*/
|
|
63
|
+
apiVersion?: pulumi.Input<"apiextensions.k8s.io/v1">;
|
|
64
|
+
/**
|
|
65
|
+
* 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
|
|
66
|
+
*/
|
|
67
|
+
kind?: pulumi.Input<"CustomResourceDefinition">;
|
|
68
|
+
/**
|
|
69
|
+
* Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
70
|
+
*/
|
|
71
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
72
|
+
/**
|
|
73
|
+
* spec describes how the user wants the resources to appear
|
|
74
|
+
*/
|
|
75
|
+
spec?: pulumi.Input<inputs.apiextensions.v1.CustomResourceDefinitionSpecPatch>;
|
|
76
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.CustomResourceDefinitionPatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
10
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
11
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
12
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
13
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
|
|
14
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
15
|
+
* CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.
|
|
16
|
+
*/
|
|
17
|
+
class CustomResourceDefinitionPatch extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Create a CustomResourceDefinitionPatch resource with the given unique name, arguments, and options.
|
|
20
|
+
*
|
|
21
|
+
* @param name The _unique_ name of the resource.
|
|
22
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
23
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
24
|
+
*/
|
|
25
|
+
constructor(name, args, opts) {
|
|
26
|
+
let resourceInputs = {};
|
|
27
|
+
opts = opts || {};
|
|
28
|
+
if (!opts.id) {
|
|
29
|
+
if ((!args || args.metadata === undefined) && !opts.urn) {
|
|
30
|
+
throw new Error("Missing required property 'metadata'");
|
|
31
|
+
}
|
|
32
|
+
resourceInputs["apiVersion"] = "apiextensions.k8s.io/v1";
|
|
33
|
+
resourceInputs["kind"] = "CustomResourceDefinition";
|
|
34
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
35
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
36
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
41
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
42
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
43
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
44
|
+
}
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
46
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefinitionPatch" }] };
|
|
47
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
48
|
+
super(CustomResourceDefinitionPatch.__pulumiType, name, resourceInputs, opts);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing CustomResourceDefinitionPatch resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name, id, opts) {
|
|
59
|
+
return new CustomResourceDefinitionPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of CustomResourceDefinitionPatch. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj) {
|
|
66
|
+
if (obj === undefined || obj === null) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
return obj['__pulumiType'] === CustomResourceDefinitionPatch.__pulumiType;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.CustomResourceDefinitionPatch = CustomResourceDefinitionPatch;
|
|
73
|
+
/** @internal */
|
|
74
|
+
CustomResourceDefinitionPatch.__pulumiType = 'kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionPatch';
|
|
75
|
+
//# sourceMappingURL=customResourceDefinitionPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customResourceDefinitionPatch.js","sourceRoot":"","sources":["../../../apiextensions/v1/customResourceDefinitionPatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;;;;;;;GAQG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IAgDpE;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwC,EAAE,IAAmC;QACnG,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,yBAAyB,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,0BAA0B,CAAC;YACpD,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,uEAAuE,EAAE,CAAC,EAAE,CAAC;QACnH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;IA7ED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1F,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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;;AAzBL,sEA+EC;AAlEG,gBAAgB;AACO,0CAAY,GAAG,kEAAkE,CAAC"}
|
|
@@ -21,9 +21,11 @@ const utilities = require("../../utilities");
|
|
|
21
21
|
// Export members:
|
|
22
22
|
__exportStar(require("./customResourceDefinition"), exports);
|
|
23
23
|
__exportStar(require("./customResourceDefinitionList"), exports);
|
|
24
|
+
__exportStar(require("./customResourceDefinitionPatch"), exports);
|
|
24
25
|
// Import resources to register:
|
|
25
26
|
const customResourceDefinition_1 = require("./customResourceDefinition");
|
|
26
27
|
const customResourceDefinitionList_1 = require("./customResourceDefinitionList");
|
|
28
|
+
const customResourceDefinitionPatch_1 = require("./customResourceDefinitionPatch");
|
|
27
29
|
const _module = {
|
|
28
30
|
version: utilities.getVersion(),
|
|
29
31
|
construct: (name, type, urn) => {
|
|
@@ -32,6 +34,8 @@ const _module = {
|
|
|
32
34
|
return new customResourceDefinition_1.CustomResourceDefinition(name, undefined, { urn });
|
|
33
35
|
case "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionList":
|
|
34
36
|
return new customResourceDefinitionList_1.CustomResourceDefinitionList(name, undefined, { urn });
|
|
37
|
+
case "kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinitionPatch":
|
|
38
|
+
return new customResourceDefinitionPatch_1.CustomResourceDefinitionPatch(name, undefined, { urn });
|
|
35
39
|
default:
|
|
36
40
|
throw new Error(`unknown resource type ${type}`);
|
|
37
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../apiextensions/v1/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAE7C,kBAAkB;AAClB,6DAA2C;AAC3C,iEAA+C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../apiextensions/v1/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAE7C,kBAAkB;AAClB,6DAA2C;AAC3C,iEAA+C;AAC/C,kEAAgD;AAEhD,gCAAgC;AAChC,yEAAsE;AACtE,iFAA8E;AAC9E,mFAAgF;AAEhF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,6DAA6D;gBAC9D,OAAO,IAAI,mDAAwB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtE,KAAK,iEAAiE;gBAClE,OAAO,IAAI,2DAA4B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1E,KAAK,kEAAkE;gBACnE,OAAO,IAAI,6DAA6B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3E;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
5
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
6
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
7
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
8
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
|
|
9
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
10
|
+
* CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CustomResourceDefinitionPatch extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing CustomResourceDefinitionPatch resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CustomResourceDefinitionPatch;
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given object is an instance of CustomResourceDefinitionPatch. This is designed to work even
|
|
24
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
+
*/
|
|
26
|
+
static isInstance(obj: any): obj is CustomResourceDefinitionPatch;
|
|
27
|
+
/**
|
|
28
|
+
* 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
|
|
29
|
+
*/
|
|
30
|
+
readonly apiVersion: pulumi.Output<"apiextensions.k8s.io/v1beta1">;
|
|
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<"CustomResourceDefinition">;
|
|
35
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
36
|
+
/**
|
|
37
|
+
* spec describes how the user wants the resources to appear
|
|
38
|
+
*/
|
|
39
|
+
readonly spec: pulumi.Output<outputs.apiextensions.v1beta1.CustomResourceDefinitionSpecPatch>;
|
|
40
|
+
/**
|
|
41
|
+
* status indicates the actual state of the CustomResourceDefinition
|
|
42
|
+
*/
|
|
43
|
+
readonly status: pulumi.Output<outputs.apiextensions.v1beta1.CustomResourceDefinitionStatusPatch>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a CustomResourceDefinitionPatch resource with the given unique name, arguments, and options.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resource.
|
|
48
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
49
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
50
|
+
*/
|
|
51
|
+
constructor(name: string, args?: CustomResourceDefinitionPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The set of arguments for constructing a CustomResourceDefinitionPatch resource.
|
|
55
|
+
*/
|
|
56
|
+
export interface CustomResourceDefinitionPatchArgs {
|
|
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<"apiextensions.k8s.io/v1beta1">;
|
|
61
|
+
/**
|
|
62
|
+
* 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
|
|
63
|
+
*/
|
|
64
|
+
kind?: pulumi.Input<"CustomResourceDefinition">;
|
|
65
|
+
metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
66
|
+
/**
|
|
67
|
+
* spec describes how the user wants the resources to appear
|
|
68
|
+
*/
|
|
69
|
+
spec?: pulumi.Input<inputs.apiextensions.v1beta1.CustomResourceDefinitionSpecPatch>;
|
|
70
|
+
}
|