From 210e1c88fbe7711f513eafba969f2ebea878fa3f Mon Sep 17 00:00:00 2001 From: Levi Blackstone Date: Thu, 25 Apr 2019 14:35:07 -0600 Subject: [PATCH] Fix Python YAML SDK The generated function calls in the YAML SDK were not passing in the expected parameters for most resource types. Fixed the function calls to pass all of the expected kwargs. --- CHANGELOG.md | 1 + pkg/gen/python-templates/kind.py.mustache | 2 +- pkg/gen/python-templates/yaml.py.mustache | 12 +- .../v1beta1/MutatingWebhookConfiguration.py | 2 +- .../MutatingWebhookConfigurationList.py | 2 +- .../v1beta1/ValidatingWebhookConfiguration.py | 2 +- .../ValidatingWebhookConfigurationList.py | 2 +- .../v1beta1/CustomResourceDefinition.py | 2 +- .../v1beta1/CustomResourceDefinitionList.py | 2 +- .../apiregistration/v1/APIService.py | 2 +- .../apiregistration/v1/APIServiceList.py | 2 +- .../apiregistration/v1beta1/APIService.py | 2 +- .../apiregistration/v1beta1/APIServiceList.py | 2 +- .../apps/v1/ControllerRevision.py | 2 +- .../apps/v1/ControllerRevisionList.py | 2 +- .../pulumi_kubernetes/apps/v1/DaemonSet.py | 2 +- .../apps/v1/DaemonSetList.py | 2 +- .../pulumi_kubernetes/apps/v1/Deployment.py | 2 +- .../apps/v1/DeploymentList.py | 2 +- .../pulumi_kubernetes/apps/v1/ReplicaSet.py | 2 +- .../apps/v1/ReplicaSetList.py | 2 +- .../pulumi_kubernetes/apps/v1/StatefulSet.py | 2 +- .../apps/v1/StatefulSetList.py | 2 +- .../apps/v1beta1/ControllerRevision.py | 2 +- .../apps/v1beta1/ControllerRevisionList.py | 2 +- .../apps/v1beta1/Deployment.py | 2 +- .../apps/v1beta1/DeploymentList.py | 2 +- .../apps/v1beta1/StatefulSet.py | 2 +- .../apps/v1beta1/StatefulSetList.py | 2 +- .../apps/v1beta2/ControllerRevision.py | 2 +- .../apps/v1beta2/ControllerRevisionList.py | 2 +- .../apps/v1beta2/DaemonSet.py | 2 +- .../apps/v1beta2/DaemonSetList.py | 2 +- .../apps/v1beta2/Deployment.py | 2 +- .../apps/v1beta2/DeploymentList.py | 2 +- .../apps/v1beta2/ReplicaSet.py | 2 +- .../apps/v1beta2/ReplicaSetList.py | 2 +- .../apps/v1beta2/StatefulSet.py | 2 +- .../apps/v1beta2/StatefulSetList.py | 2 +- .../auditregistration/v1alpha1/AuditSink.py | 2 +- .../v1alpha1/AuditSinkList.py | 2 +- .../authentication/v1/TokenReview.py | 2 +- .../authentication/v1beta1/TokenReview.py | 2 +- .../v1/LocalSubjectAccessReview.py | 2 +- .../v1/SelfSubjectAccessReview.py | 2 +- .../v1/SelfSubjectRulesReview.py | 2 +- .../authorization/v1/SubjectAccessReview.py | 2 +- .../v1beta1/LocalSubjectAccessReview.py | 2 +- .../v1beta1/SelfSubjectAccessReview.py | 2 +- .../v1beta1/SelfSubjectRulesReview.py | 2 +- .../v1beta1/SubjectAccessReview.py | 2 +- .../autoscaling/v1/HorizontalPodAutoscaler.py | 2 +- .../v1/HorizontalPodAutoscalerList.py | 2 +- .../v2beta1/HorizontalPodAutoscaler.py | 2 +- .../v2beta1/HorizontalPodAutoscalerList.py | 2 +- .../v2beta2/HorizontalPodAutoscaler.py | 2 +- .../v2beta2/HorizontalPodAutoscalerList.py | 2 +- sdk/python/pulumi_kubernetes/batch/v1/Job.py | 2 +- .../pulumi_kubernetes/batch/v1/JobList.py | 2 +- .../batch/v1beta1/CronJob.py | 2 +- .../batch/v1beta1/CronJobList.py | 2 +- .../batch/v2alpha1/CronJob.py | 2 +- .../batch/v2alpha1/CronJobList.py | 2 +- .../v1beta1/CertificateSigningRequest.py | 2 +- .../v1beta1/CertificateSigningRequestList.py | 2 +- .../coordination/v1/Lease.py | 2 +- .../coordination/v1/LeaseList.py | 2 +- .../coordination/v1beta1/Lease.py | 2 +- .../coordination/v1beta1/LeaseList.py | 2 +- .../pulumi_kubernetes/core/v1/Binding.py | 2 +- .../core/v1/ComponentStatus.py | 2 +- .../core/v1/ComponentStatusList.py | 2 +- .../pulumi_kubernetes/core/v1/ConfigMap.py | 2 +- .../core/v1/ConfigMapList.py | 2 +- .../pulumi_kubernetes/core/v1/Endpoints.py | 2 +- .../core/v1/EndpointsList.py | 2 +- sdk/python/pulumi_kubernetes/core/v1/Event.py | 2 +- .../pulumi_kubernetes/core/v1/EventList.py | 2 +- .../pulumi_kubernetes/core/v1/LimitRange.py | 2 +- .../core/v1/LimitRangeList.py | 2 +- .../pulumi_kubernetes/core/v1/Namespace.py | 2 +- .../core/v1/NamespaceList.py | 2 +- sdk/python/pulumi_kubernetes/core/v1/Node.py | 2 +- .../pulumi_kubernetes/core/v1/NodeList.py | 2 +- .../core/v1/PersistentVolume.py | 2 +- .../core/v1/PersistentVolumeClaim.py | 2 +- .../core/v1/PersistentVolumeClaimList.py | 2 +- .../core/v1/PersistentVolumeList.py | 2 +- sdk/python/pulumi_kubernetes/core/v1/Pod.py | 2 +- .../pulumi_kubernetes/core/v1/PodList.py | 2 +- .../pulumi_kubernetes/core/v1/PodTemplate.py | 2 +- .../core/v1/PodTemplateList.py | 2 +- .../core/v1/ReplicationController.py | 2 +- .../core/v1/ReplicationControllerList.py | 2 +- .../core/v1/ResourceQuota.py | 2 +- .../core/v1/ResourceQuotaList.py | 2 +- .../pulumi_kubernetes/core/v1/Secret.py | 2 +- .../pulumi_kubernetes/core/v1/SecretList.py | 2 +- .../pulumi_kubernetes/core/v1/Service.py | 2 +- .../core/v1/ServiceAccount.py | 2 +- .../core/v1/ServiceAccountList.py | 2 +- .../pulumi_kubernetes/core/v1/ServiceList.py | 2 +- .../pulumi_kubernetes/events/v1beta1/Event.py | 2 +- .../events/v1beta1/EventList.py | 2 +- .../extensions/v1beta1/DaemonSet.py | 2 +- .../extensions/v1beta1/DaemonSetList.py | 2 +- .../extensions/v1beta1/Deployment.py | 2 +- .../extensions/v1beta1/DeploymentList.py | 2 +- .../extensions/v1beta1/Ingress.py | 2 +- .../extensions/v1beta1/IngressList.py | 2 +- .../extensions/v1beta1/NetworkPolicy.py | 2 +- .../extensions/v1beta1/NetworkPolicyList.py | 2 +- .../extensions/v1beta1/PodSecurityPolicy.py | 2 +- .../v1beta1/PodSecurityPolicyList.py | 2 +- .../extensions/v1beta1/ReplicaSet.py | 2 +- .../extensions/v1beta1/ReplicaSetList.py | 2 +- .../pulumi_kubernetes/meta/v1/Status.py | 2 +- .../networking/v1/NetworkPolicy.py | 2 +- .../networking/v1/NetworkPolicyList.py | 2 +- .../networking/v1beta1/Ingress.py | 2 +- .../networking/v1beta1/IngressList.py | 2 +- .../node/v1alpha1/RuntimeClass.py | 2 +- .../node/v1alpha1/RuntimeClassList.py | 2 +- .../node/v1beta1/RuntimeClass.py | 2 +- .../node/v1beta1/RuntimeClassList.py | 2 +- .../policy/v1beta1/PodDisruptionBudget.py | 2 +- .../policy/v1beta1/PodDisruptionBudgetList.py | 2 +- .../policy/v1beta1/PodSecurityPolicy.py | 2 +- .../policy/v1beta1/PodSecurityPolicyList.py | 2 +- .../pulumi_kubernetes/rbac/v1/ClusterRole.py | 2 +- .../rbac/v1/ClusterRoleBinding.py | 2 +- .../rbac/v1/ClusterRoleBindingList.py | 2 +- .../rbac/v1/ClusterRoleList.py | 2 +- sdk/python/pulumi_kubernetes/rbac/v1/Role.py | 2 +- .../pulumi_kubernetes/rbac/v1/RoleBinding.py | 2 +- .../rbac/v1/RoleBindingList.py | 2 +- .../pulumi_kubernetes/rbac/v1/RoleList.py | 2 +- .../rbac/v1alpha1/ClusterRole.py | 2 +- .../rbac/v1alpha1/ClusterRoleBinding.py | 2 +- .../rbac/v1alpha1/ClusterRoleBindingList.py | 2 +- .../rbac/v1alpha1/ClusterRoleList.py | 2 +- .../pulumi_kubernetes/rbac/v1alpha1/Role.py | 2 +- .../rbac/v1alpha1/RoleBinding.py | 2 +- .../rbac/v1alpha1/RoleBindingList.py | 2 +- .../rbac/v1alpha1/RoleList.py | 2 +- .../rbac/v1beta1/ClusterRole.py | 2 +- .../rbac/v1beta1/ClusterRoleBinding.py | 2 +- .../rbac/v1beta1/ClusterRoleBindingList.py | 2 +- .../rbac/v1beta1/ClusterRoleList.py | 2 +- .../pulumi_kubernetes/rbac/v1beta1/Role.py | 2 +- .../rbac/v1beta1/RoleBinding.py | 2 +- .../rbac/v1beta1/RoleBindingList.py | 2 +- .../rbac/v1beta1/RoleList.py | 2 +- .../scheduling/v1/PriorityClass.py | 2 +- .../scheduling/v1/PriorityClassList.py | 2 +- .../scheduling/v1alpha1/PriorityClass.py | 2 +- .../scheduling/v1alpha1/PriorityClassList.py | 2 +- .../scheduling/v1beta1/PriorityClass.py | 2 +- .../scheduling/v1beta1/PriorityClassList.py | 2 +- .../settings/v1alpha1/PodPreset.py | 2 +- .../settings/v1alpha1/PodPresetList.py | 2 +- .../storage/v1/StorageClass.py | 2 +- .../storage/v1/StorageClassList.py | 2 +- .../storage/v1/VolumeAttachment.py | 2 +- .../storage/v1/VolumeAttachmentList.py | 2 +- .../storage/v1alpha1/VolumeAttachment.py | 2 +- .../storage/v1alpha1/VolumeAttachmentList.py | 2 +- .../storage/v1beta1/CSIDriver.py | 2 +- .../storage/v1beta1/CSIDriverList.py | 2 +- .../storage/v1beta1/CSINode.py | 2 +- .../storage/v1beta1/CSINodeList.py | 2 +- .../storage/v1beta1/StorageClass.py | 2 +- .../storage/v1beta1/StorageClassList.py | 2 +- .../storage/v1beta1/VolumeAttachment.py | 2 +- .../storage/v1beta1/VolumeAttachmentList.py | 2 +- sdk/python/pulumi_kubernetes/yaml.py | 354 +++++++++--------- 176 files changed, 363 insertions(+), 350 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e3ce84f8f..95ca2514c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ ### Bug fixes - Fix Helm repo quoting for Windows (https://github.com/pulumi/pulumi-kubernetes/pull/540) +- Fix Python YAML SDK (https://github.com/pulumi/pulumi-kubernetes/pull/545) ## 0.22.2 (April 11, 2019) diff --git a/pkg/gen/python-templates/kind.py.mustache b/pkg/gen/python-templates/kind.py.mustache index 8c574a8c07..9102ab549e 100644 --- a/pkg/gen/python-templates/kind.py.mustache +++ b/pkg/gen/python-templates/kind.py.mustache @@ -9,7 +9,7 @@ from ... import tables class {{Kind}}(pulumi.CustomResource): {{{Comment}}} - def __init__(self, __name__, __opts__=None{{#Properties}}, {{LanguageName}}=None{{/Properties}}): + def __init__(self, __name__, __opts__=None{{#Properties}}, {{LanguageName}}=None{{/Properties}}, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/pkg/gen/python-templates/yaml.py.mustache b/pkg/gen/python-templates/yaml.py.mustache index c3a35a18fd..e5962c4ce9 100644 --- a/pkg/gen/python-templates/yaml.py.mustache +++ b/pkg/gen/python-templates/yaml.py.mustache @@ -26,8 +26,8 @@ class ConfigFile(pulumi.ComponentResource): :param str name: A name for a resource. :param str file_id: Path or a URL that uniquely identifies a file. :param Optional[ResourceOptions] opts: A bag of optional settings that control a resource's behavior. - :param List[Callable] transformations: A set of transformations to apply to Kubernetes resource definitions - before registering with engine. + :param Optional[List[Callable]] transformations: A set of transformations to apply to Kubernetes + resource definitions before registering with engine. """ def __init__(self, name: str, file_id: str, opts: Optional[pulumi.ResourceOptions] = None, @@ -131,6 +131,12 @@ def _parse_yaml_object(obj, opts: Optional[pulumi.ResourceOptions] = None, raise Exception("YAML object does not have a .metadata.name: {}/{} {}".format( api_version, kind, json.dumps(obj))) + # Convert obj keys to Python casing + for key in obj: + new_key = tables._CASING_FORWARD_TABLE.get(key) or key + if new_key != key: + obj[new_key] = obj.pop(key) + metadata = obj["metadata"] spec = obj.get("spec") identifier: pulumi.Output = pulumi.Output.from_input(metadata["name"]) @@ -145,7 +151,7 @@ def _parse_yaml_object(obj, opts: Optional[pulumi.ResourceOptions] = None, if gvk == "{{RawAPIVersion}}/{{Kind}}": return [identifier.apply( lambda x: (f"{{RawAPIVersion}}/{{Kind}}:{x}", - {{Kind}}(x, opts, metadata, spec)))] + {{Kind}}(x, opts, **obj)))] {{/Kinds}} {{/Versions}} {{/Groups}} diff --git a/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py b/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py index 33a61c1ed3..f32065132f 100755 --- a/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +++ b/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py @@ -12,7 +12,7 @@ class MutatingWebhookConfiguration(pulumi.CustomResource): MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. """ - def __init__(self, __name__, __opts__=None, metadata=None, webhooks=None): + def __init__(self, __name__, __opts__=None, metadata=None, webhooks=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py b/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py index 161c06c99f..223f512f9d 100755 --- a/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +++ b/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py @@ -11,7 +11,7 @@ class MutatingWebhookConfigurationList(pulumi.CustomResource): """ MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py b/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py index 0de9ad1a30..0f2d336d28 100755 --- a/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +++ b/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py @@ -12,7 +12,7 @@ class ValidatingWebhookConfiguration(pulumi.CustomResource): ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. """ - def __init__(self, __name__, __opts__=None, metadata=None, webhooks=None): + def __init__(self, __name__, __opts__=None, metadata=None, webhooks=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py b/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py index dc4c13bb76..172f2c3503 100755 --- a/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +++ b/sdk/python/pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py @@ -11,7 +11,7 @@ class ValidatingWebhookConfigurationList(pulumi.CustomResource): """ ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py b/sdk/python/pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py index 8f1d791d61..3c4da55543 100755 --- a/sdk/python/pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +++ b/sdk/python/pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py @@ -12,7 +12,7 @@ class CustomResourceDefinition(pulumi.CustomResource): CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py b/sdk/python/pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py index 03af86bb94..a00cd439c0 100755 --- a/sdk/python/pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +++ b/sdk/python/pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py @@ -11,7 +11,7 @@ class CustomResourceDefinitionList(pulumi.CustomResource): """ CustomResourceDefinitionList is a list of CustomResourceDefinition objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apiregistration/v1/APIService.py b/sdk/python/pulumi_kubernetes/apiregistration/v1/APIService.py index 4e9b3a9c3c..a506741635 100755 --- a/sdk/python/pulumi_kubernetes/apiregistration/v1/APIService.py +++ b/sdk/python/pulumi_kubernetes/apiregistration/v1/APIService.py @@ -11,7 +11,7 @@ class APIService(pulumi.CustomResource): """ APIService represents a server for a particular GroupVersion. Name must be "version.group". """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apiregistration/v1/APIServiceList.py b/sdk/python/pulumi_kubernetes/apiregistration/v1/APIServiceList.py index b8cac126d5..f497c90f6c 100755 --- a/sdk/python/pulumi_kubernetes/apiregistration/v1/APIServiceList.py +++ b/sdk/python/pulumi_kubernetes/apiregistration/v1/APIServiceList.py @@ -11,7 +11,7 @@ class APIServiceList(pulumi.CustomResource): """ APIServiceList is a list of APIService objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apiregistration/v1beta1/APIService.py b/sdk/python/pulumi_kubernetes/apiregistration/v1beta1/APIService.py index a69c972100..d1aab2a1f5 100755 --- a/sdk/python/pulumi_kubernetes/apiregistration/v1beta1/APIService.py +++ b/sdk/python/pulumi_kubernetes/apiregistration/v1beta1/APIService.py @@ -11,7 +11,7 @@ class APIService(pulumi.CustomResource): """ APIService represents a server for a particular GroupVersion. Name must be "version.group". """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py b/sdk/python/pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py index 77eb040808..8e865c70b0 100755 --- a/sdk/python/pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +++ b/sdk/python/pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py @@ -11,7 +11,7 @@ class APIServiceList(pulumi.CustomResource): """ APIServiceList is a list of APIService objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py b/sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py index bbc1d01741..f3476f2158 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py @@ -18,7 +18,7 @@ class ControllerRevision(pulumi.CustomResource): representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. """ - def __init__(self, __name__, __opts__=None, data=None, metadata=None, revision=None): + def __init__(self, __name__, __opts__=None, data=None, metadata=None, revision=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/ControllerRevisionList.py b/sdk/python/pulumi_kubernetes/apps/v1/ControllerRevisionList.py index 1c5d00359f..f9a2a00784 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/ControllerRevisionList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/ControllerRevisionList.py @@ -11,7 +11,7 @@ class ControllerRevisionList(pulumi.CustomResource): """ ControllerRevisionList is a resource containing a list of ControllerRevision objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/DaemonSet.py b/sdk/python/pulumi_kubernetes/apps/v1/DaemonSet.py index 3d37e87ddb..392e45b268 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/DaemonSet.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/DaemonSet.py @@ -11,7 +11,7 @@ class DaemonSet(pulumi.CustomResource): """ DaemonSet represents the configuration of a daemon set. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/DaemonSetList.py b/sdk/python/pulumi_kubernetes/apps/v1/DaemonSetList.py index 4a46925f4e..04d7a66cb4 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/DaemonSetList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/DaemonSetList.py @@ -11,7 +11,7 @@ class DaemonSetList(pulumi.CustomResource): """ DaemonSetList is a collection of daemon sets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/Deployment.py b/sdk/python/pulumi_kubernetes/apps/v1/Deployment.py index 1acb99478e..d401349ab1 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/Deployment.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/Deployment.py @@ -11,7 +11,7 @@ class Deployment(pulumi.CustomResource): """ Deployment enables declarative updates for Pods and ReplicaSets. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/DeploymentList.py b/sdk/python/pulumi_kubernetes/apps/v1/DeploymentList.py index f0ffa2c8ee..5c6cc7d648 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/DeploymentList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/DeploymentList.py @@ -11,7 +11,7 @@ class DeploymentList(pulumi.CustomResource): """ DeploymentList is a list of Deployments. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/ReplicaSet.py b/sdk/python/pulumi_kubernetes/apps/v1/ReplicaSet.py index f31a3fc8f9..5036c1c0bb 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/ReplicaSet.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/ReplicaSet.py @@ -11,7 +11,7 @@ class ReplicaSet(pulumi.CustomResource): """ ReplicaSet ensures that a specified number of pod replicas are running at any given time. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/ReplicaSetList.py b/sdk/python/pulumi_kubernetes/apps/v1/ReplicaSetList.py index ca4b3a435f..c8efdeaa94 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/ReplicaSetList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/ReplicaSetList.py @@ -11,7 +11,7 @@ class ReplicaSetList(pulumi.CustomResource): """ ReplicaSetList is a collection of ReplicaSets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/StatefulSet.py b/sdk/python/pulumi_kubernetes/apps/v1/StatefulSet.py index 9e211e5768..46c60fb1cc 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/StatefulSet.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/StatefulSet.py @@ -15,7 +15,7 @@ class StatefulSet(pulumi.CustomResource): The StatefulSet guarantees that a given network identity will always map to the same storage identity. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1/StatefulSetList.py b/sdk/python/pulumi_kubernetes/apps/v1/StatefulSetList.py index 47767ddb58..f94b907be2 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1/StatefulSetList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1/StatefulSetList.py @@ -11,7 +11,7 @@ class StatefulSetList(pulumi.CustomResource): """ StatefulSetList is a collection of StatefulSets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta1/ControllerRevision.py b/sdk/python/pulumi_kubernetes/apps/v1beta1/ControllerRevision.py index 0a70b33f82..51b779c2c1 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta1/ControllerRevision.py @@ -20,7 +20,7 @@ class ControllerRevision(pulumi.CustomResource): releases, and clients should not depend on its stability. It is primarily for internal use by controllers. """ - def __init__(self, __name__, __opts__=None, data=None, metadata=None, revision=None): + def __init__(self, __name__, __opts__=None, data=None, metadata=None, revision=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py b/sdk/python/pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py index 1e06c601e6..4ae82a748f 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py @@ -11,7 +11,7 @@ class ControllerRevisionList(pulumi.CustomResource): """ ControllerRevisionList is a resource containing a list of ControllerRevision objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta1/Deployment.py b/sdk/python/pulumi_kubernetes/apps/v1beta1/Deployment.py index 007cbd68aa..445e2cb448 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta1/Deployment.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta1/Deployment.py @@ -13,7 +13,7 @@ class Deployment(pulumi.CustomResource): release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta1/DeploymentList.py b/sdk/python/pulumi_kubernetes/apps/v1beta1/DeploymentList.py index 1b4158625f..e5fec050c4 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta1/DeploymentList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta1/DeploymentList.py @@ -11,7 +11,7 @@ class DeploymentList(pulumi.CustomResource): """ DeploymentList is a list of Deployments. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta1/StatefulSet.py b/sdk/python/pulumi_kubernetes/apps/v1beta1/StatefulSet.py index d6cb20a34f..61feadf567 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta1/StatefulSet.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta1/StatefulSet.py @@ -17,7 +17,7 @@ class StatefulSet(pulumi.CustomResource): The StatefulSet guarantees that a given network identity will always map to the same storage identity. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta1/StatefulSetList.py b/sdk/python/pulumi_kubernetes/apps/v1beta1/StatefulSetList.py index 018372cde9..609149878f 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta1/StatefulSetList.py @@ -11,7 +11,7 @@ class StatefulSetList(pulumi.CustomResource): """ StatefulSetList is a collection of StatefulSets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/ControllerRevision.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/ControllerRevision.py index 5a23dd0ff7..99c55cee3d 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/ControllerRevision.py @@ -20,7 +20,7 @@ class ControllerRevision(pulumi.CustomResource): releases, and clients should not depend on its stability. It is primarily for internal use by controllers. """ - def __init__(self, __name__, __opts__=None, data=None, metadata=None, revision=None): + def __init__(self, __name__, __opts__=None, data=None, metadata=None, revision=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py index 2ce1e421f3..41daac6d33 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py @@ -11,7 +11,7 @@ class ControllerRevisionList(pulumi.CustomResource): """ ControllerRevisionList is a resource containing a list of ControllerRevision objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/DaemonSet.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/DaemonSet.py index 9281ea4278..0cac418154 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/DaemonSet.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/DaemonSet.py @@ -12,7 +12,7 @@ class DaemonSet(pulumi.CustomResource): DEPRECATED - This group version of DaemonSet is deprecated by apps/v1/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/DaemonSetList.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/DaemonSetList.py index d1cff81a3d..666057cbf1 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/DaemonSetList.py @@ -11,7 +11,7 @@ class DaemonSetList(pulumi.CustomResource): """ DaemonSetList is a collection of daemon sets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/Deployment.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/Deployment.py index 91f6b4f712..ade3bfcb48 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/Deployment.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/Deployment.py @@ -13,7 +13,7 @@ class Deployment(pulumi.CustomResource): release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/DeploymentList.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/DeploymentList.py index 86e87d934c..0319e0785f 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/DeploymentList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/DeploymentList.py @@ -11,7 +11,7 @@ class DeploymentList(pulumi.CustomResource): """ DeploymentList is a list of Deployments. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/ReplicaSet.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/ReplicaSet.py index 3cbca9fd89..8f614ad434 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/ReplicaSet.py @@ -13,7 +13,7 @@ class ReplicaSet(pulumi.CustomResource): release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py index 5b8d98cdd9..ff5441e1f8 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py @@ -11,7 +11,7 @@ class ReplicaSetList(pulumi.CustomResource): """ ReplicaSetList is a collection of ReplicaSets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/StatefulSet.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/StatefulSet.py index 4067bd2a99..53110494e7 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/StatefulSet.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/StatefulSet.py @@ -17,7 +17,7 @@ class StatefulSet(pulumi.CustomResource): The StatefulSet guarantees that a given network identity will always map to the same storage identity. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/apps/v1beta2/StatefulSetList.py b/sdk/python/pulumi_kubernetes/apps/v1beta2/StatefulSetList.py index c435bd26ba..43bc32bcf2 100755 --- a/sdk/python/pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +++ b/sdk/python/pulumi_kubernetes/apps/v1beta2/StatefulSetList.py @@ -11,7 +11,7 @@ class StatefulSetList(pulumi.CustomResource): """ StatefulSetList is a collection of StatefulSets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py b/sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py index 6ff04d2cab..0dcf2533a7 100755 --- a/sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +++ b/sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py @@ -11,7 +11,7 @@ class AuditSink(pulumi.CustomResource): """ AuditSink represents a cluster level audit sink """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py b/sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py index 4be2adea9f..3263dbd321 100755 --- a/sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +++ b/sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py @@ -11,7 +11,7 @@ class AuditSinkList(pulumi.CustomResource): """ AuditSinkList is a list of AuditSink items. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authentication/v1/TokenReview.py b/sdk/python/pulumi_kubernetes/authentication/v1/TokenReview.py index 9ef4964b40..5f764951ca 100755 --- a/sdk/python/pulumi_kubernetes/authentication/v1/TokenReview.py +++ b/sdk/python/pulumi_kubernetes/authentication/v1/TokenReview.py @@ -12,7 +12,7 @@ class TokenReview(pulumi.CustomResource): TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authentication/v1beta1/TokenReview.py b/sdk/python/pulumi_kubernetes/authentication/v1beta1/TokenReview.py index 027699a188..4dfb1dec02 100755 --- a/sdk/python/pulumi_kubernetes/authentication/v1beta1/TokenReview.py +++ b/sdk/python/pulumi_kubernetes/authentication/v1beta1/TokenReview.py @@ -12,7 +12,7 @@ class TokenReview(pulumi.CustomResource): TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authorization/v1/LocalSubjectAccessReview.py b/sdk/python/pulumi_kubernetes/authorization/v1/LocalSubjectAccessReview.py index f704403146..8929222e34 100755 --- a/sdk/python/pulumi_kubernetes/authorization/v1/LocalSubjectAccessReview.py +++ b/sdk/python/pulumi_kubernetes/authorization/v1/LocalSubjectAccessReview.py @@ -13,7 +13,7 @@ class LocalSubjectAccessReview(pulumi.CustomResource): namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authorization/v1/SelfSubjectAccessReview.py b/sdk/python/pulumi_kubernetes/authorization/v1/SelfSubjectAccessReview.py index 59569d901d..4ea9163d73 100755 --- a/sdk/python/pulumi_kubernetes/authorization/v1/SelfSubjectAccessReview.py +++ b/sdk/python/pulumi_kubernetes/authorization/v1/SelfSubjectAccessReview.py @@ -13,7 +13,7 @@ class SelfSubjectAccessReview(pulumi.CustomResource): in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authorization/v1/SelfSubjectRulesReview.py b/sdk/python/pulumi_kubernetes/authorization/v1/SelfSubjectRulesReview.py index ddbc9008ca..6927bb5542 100755 --- a/sdk/python/pulumi_kubernetes/authorization/v1/SelfSubjectRulesReview.py +++ b/sdk/python/pulumi_kubernetes/authorization/v1/SelfSubjectRulesReview.py @@ -18,7 +18,7 @@ class SelfSubjectRulesReview(pulumi.CustomResource): SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authorization/v1/SubjectAccessReview.py b/sdk/python/pulumi_kubernetes/authorization/v1/SubjectAccessReview.py index 3bddc5e454..bc8fb056cf 100755 --- a/sdk/python/pulumi_kubernetes/authorization/v1/SubjectAccessReview.py +++ b/sdk/python/pulumi_kubernetes/authorization/v1/SubjectAccessReview.py @@ -11,7 +11,7 @@ class SubjectAccessReview(pulumi.CustomResource): """ SubjectAccessReview checks whether or not a user or group can perform an action. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authorization/v1beta1/LocalSubjectAccessReview.py b/sdk/python/pulumi_kubernetes/authorization/v1beta1/LocalSubjectAccessReview.py index e834d72959..ea125df315 100755 --- a/sdk/python/pulumi_kubernetes/authorization/v1beta1/LocalSubjectAccessReview.py +++ b/sdk/python/pulumi_kubernetes/authorization/v1beta1/LocalSubjectAccessReview.py @@ -13,7 +13,7 @@ class LocalSubjectAccessReview(pulumi.CustomResource): namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authorization/v1beta1/SelfSubjectAccessReview.py b/sdk/python/pulumi_kubernetes/authorization/v1beta1/SelfSubjectAccessReview.py index 5d911799a2..ff99804737 100755 --- a/sdk/python/pulumi_kubernetes/authorization/v1beta1/SelfSubjectAccessReview.py +++ b/sdk/python/pulumi_kubernetes/authorization/v1beta1/SelfSubjectAccessReview.py @@ -13,7 +13,7 @@ class SelfSubjectAccessReview(pulumi.CustomResource): in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authorization/v1beta1/SelfSubjectRulesReview.py b/sdk/python/pulumi_kubernetes/authorization/v1beta1/SelfSubjectRulesReview.py index 4d9b2900aa..4b7d6183fc 100755 --- a/sdk/python/pulumi_kubernetes/authorization/v1beta1/SelfSubjectRulesReview.py +++ b/sdk/python/pulumi_kubernetes/authorization/v1beta1/SelfSubjectRulesReview.py @@ -18,7 +18,7 @@ class SelfSubjectRulesReview(pulumi.CustomResource): SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/authorization/v1beta1/SubjectAccessReview.py b/sdk/python/pulumi_kubernetes/authorization/v1beta1/SubjectAccessReview.py index 8fefc3f443..e24c9b7d6f 100755 --- a/sdk/python/pulumi_kubernetes/authorization/v1beta1/SubjectAccessReview.py +++ b/sdk/python/pulumi_kubernetes/authorization/v1beta1/SubjectAccessReview.py @@ -11,7 +11,7 @@ class SubjectAccessReview(pulumi.CustomResource): """ SubjectAccessReview checks whether or not a user or group can perform an action. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py b/sdk/python/pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py index 68c7868f0f..9f1686c7d7 100755 --- a/sdk/python/pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +++ b/sdk/python/pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py @@ -11,7 +11,7 @@ class HorizontalPodAutoscaler(pulumi.CustomResource): """ configuration of a horizontal pod autoscaler. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py b/sdk/python/pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py index c41d21f4f3..20453ceb52 100755 --- a/sdk/python/pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +++ b/sdk/python/pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py @@ -11,7 +11,7 @@ class HorizontalPodAutoscalerList(pulumi.CustomResource): """ list of horizontal pod autoscaler objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py b/sdk/python/pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py index 38977d6dea..8937a7b982 100755 --- a/sdk/python/pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +++ b/sdk/python/pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py @@ -13,7 +13,7 @@ class HorizontalPodAutoscaler(pulumi.CustomResource): automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py b/sdk/python/pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py index 4a77bb092b..123adb1c11 100755 --- a/sdk/python/pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +++ b/sdk/python/pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py @@ -11,7 +11,7 @@ class HorizontalPodAutoscalerList(pulumi.CustomResource): """ HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py b/sdk/python/pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py index e675e8caef..f14b23b15b 100755 --- a/sdk/python/pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +++ b/sdk/python/pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py @@ -13,7 +13,7 @@ class HorizontalPodAutoscaler(pulumi.CustomResource): automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py b/sdk/python/pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py index 6ddc115430..ce36e1e1b2 100755 --- a/sdk/python/pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +++ b/sdk/python/pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py @@ -11,7 +11,7 @@ class HorizontalPodAutoscalerList(pulumi.CustomResource): """ HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/batch/v1/Job.py b/sdk/python/pulumi_kubernetes/batch/v1/Job.py index 1e06e04533..1d36d2d397 100755 --- a/sdk/python/pulumi_kubernetes/batch/v1/Job.py +++ b/sdk/python/pulumi_kubernetes/batch/v1/Job.py @@ -11,7 +11,7 @@ class Job(pulumi.CustomResource): """ Job represents the configuration of a single job. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/batch/v1/JobList.py b/sdk/python/pulumi_kubernetes/batch/v1/JobList.py index 8300ac6e57..00c5f4fb55 100755 --- a/sdk/python/pulumi_kubernetes/batch/v1/JobList.py +++ b/sdk/python/pulumi_kubernetes/batch/v1/JobList.py @@ -11,7 +11,7 @@ class JobList(pulumi.CustomResource): """ JobList is a collection of jobs. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/batch/v1beta1/CronJob.py b/sdk/python/pulumi_kubernetes/batch/v1beta1/CronJob.py index fe63589200..50f662e863 100755 --- a/sdk/python/pulumi_kubernetes/batch/v1beta1/CronJob.py +++ b/sdk/python/pulumi_kubernetes/batch/v1beta1/CronJob.py @@ -11,7 +11,7 @@ class CronJob(pulumi.CustomResource): """ CronJob represents the configuration of a single cron job. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/batch/v1beta1/CronJobList.py b/sdk/python/pulumi_kubernetes/batch/v1beta1/CronJobList.py index 63778ff3d8..f0d6a9e823 100755 --- a/sdk/python/pulumi_kubernetes/batch/v1beta1/CronJobList.py +++ b/sdk/python/pulumi_kubernetes/batch/v1beta1/CronJobList.py @@ -11,7 +11,7 @@ class CronJobList(pulumi.CustomResource): """ CronJobList is a collection of cron jobs. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/batch/v2alpha1/CronJob.py b/sdk/python/pulumi_kubernetes/batch/v2alpha1/CronJob.py index 0d5a4171ae..46f358429a 100755 --- a/sdk/python/pulumi_kubernetes/batch/v2alpha1/CronJob.py +++ b/sdk/python/pulumi_kubernetes/batch/v2alpha1/CronJob.py @@ -11,7 +11,7 @@ class CronJob(pulumi.CustomResource): """ CronJob represents the configuration of a single cron job. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/batch/v2alpha1/CronJobList.py b/sdk/python/pulumi_kubernetes/batch/v2alpha1/CronJobList.py index 252abc63bf..6d093560bd 100755 --- a/sdk/python/pulumi_kubernetes/batch/v2alpha1/CronJobList.py +++ b/sdk/python/pulumi_kubernetes/batch/v2alpha1/CronJobList.py @@ -11,7 +11,7 @@ class CronJobList(pulumi.CustomResource): """ CronJobList is a collection of cron jobs. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py b/sdk/python/pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py index 4751402caf..bae1c51adc 100755 --- a/sdk/python/pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +++ b/sdk/python/pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py @@ -11,7 +11,7 @@ class CertificateSigningRequest(pulumi.CustomResource): """ Describes a certificate signing request """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py b/sdk/python/pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py index 227b986a5b..fa4529bd56 100755 --- a/sdk/python/pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +++ b/sdk/python/pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py @@ -9,7 +9,7 @@ class CertificateSigningRequestList(pulumi.CustomResource): - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/coordination/v1/Lease.py b/sdk/python/pulumi_kubernetes/coordination/v1/Lease.py index 892ebd2e77..de058c3347 100755 --- a/sdk/python/pulumi_kubernetes/coordination/v1/Lease.py +++ b/sdk/python/pulumi_kubernetes/coordination/v1/Lease.py @@ -11,7 +11,7 @@ class Lease(pulumi.CustomResource): """ Lease defines a lease concept. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/coordination/v1/LeaseList.py b/sdk/python/pulumi_kubernetes/coordination/v1/LeaseList.py index 1552b5f95e..bd95fedbb0 100755 --- a/sdk/python/pulumi_kubernetes/coordination/v1/LeaseList.py +++ b/sdk/python/pulumi_kubernetes/coordination/v1/LeaseList.py @@ -11,7 +11,7 @@ class LeaseList(pulumi.CustomResource): """ LeaseList is a list of Lease objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/coordination/v1beta1/Lease.py b/sdk/python/pulumi_kubernetes/coordination/v1beta1/Lease.py index a9c8a64147..65f6bcc7c9 100755 --- a/sdk/python/pulumi_kubernetes/coordination/v1beta1/Lease.py +++ b/sdk/python/pulumi_kubernetes/coordination/v1beta1/Lease.py @@ -11,7 +11,7 @@ class Lease(pulumi.CustomResource): """ Lease defines a lease concept. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/coordination/v1beta1/LeaseList.py b/sdk/python/pulumi_kubernetes/coordination/v1beta1/LeaseList.py index 7c57cee6f3..817a40bc91 100755 --- a/sdk/python/pulumi_kubernetes/coordination/v1beta1/LeaseList.py +++ b/sdk/python/pulumi_kubernetes/coordination/v1beta1/LeaseList.py @@ -11,7 +11,7 @@ class LeaseList(pulumi.CustomResource): """ LeaseList is a list of Lease objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/Binding.py b/sdk/python/pulumi_kubernetes/core/v1/Binding.py index 6649ebbe56..1c1acdfc9e 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/Binding.py +++ b/sdk/python/pulumi_kubernetes/core/v1/Binding.py @@ -12,7 +12,7 @@ class Binding(pulumi.CustomResource): Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead. """ - def __init__(self, __name__, __opts__=None, metadata=None, target=None): + def __init__(self, __name__, __opts__=None, metadata=None, target=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ComponentStatus.py b/sdk/python/pulumi_kubernetes/core/v1/ComponentStatus.py index faf8b0347f..21f9ac59d5 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ComponentStatus.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ComponentStatus.py @@ -11,7 +11,7 @@ class ComponentStatus(pulumi.CustomResource): """ ComponentStatus (and ComponentStatusList) holds the cluster validation info. """ - def __init__(self, __name__, __opts__=None, conditions=None, metadata=None): + def __init__(self, __name__, __opts__=None, conditions=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ComponentStatusList.py b/sdk/python/pulumi_kubernetes/core/v1/ComponentStatusList.py index 67b639c2b8..0da84cf455 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ComponentStatusList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ComponentStatusList.py @@ -11,7 +11,7 @@ class ComponentStatusList(pulumi.CustomResource): """ Status of all the conditions for the component as a list of ComponentStatus objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ConfigMap.py b/sdk/python/pulumi_kubernetes/core/v1/ConfigMap.py index 577b132be9..966d2ffb49 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ConfigMap.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ConfigMap.py @@ -11,7 +11,7 @@ class ConfigMap(pulumi.CustomResource): """ ConfigMap holds configuration data for pods to consume. """ - def __init__(self, __name__, __opts__=None, binary_data=None, data=None, metadata=None): + def __init__(self, __name__, __opts__=None, binary_data=None, data=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ConfigMapList.py b/sdk/python/pulumi_kubernetes/core/v1/ConfigMapList.py index afe3509eb2..094d66fb40 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ConfigMapList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ConfigMapList.py @@ -11,7 +11,7 @@ class ConfigMapList(pulumi.CustomResource): """ ConfigMapList is a resource containing a list of ConfigMap objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/Endpoints.py b/sdk/python/pulumi_kubernetes/core/v1/Endpoints.py index d55b06e359..b6675501f9 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/Endpoints.py +++ b/sdk/python/pulumi_kubernetes/core/v1/Endpoints.py @@ -22,7 +22,7 @@ class Endpoints(pulumi.CustomResource): }, ] """ - def __init__(self, __name__, __opts__=None, metadata=None, subsets=None): + def __init__(self, __name__, __opts__=None, metadata=None, subsets=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/EndpointsList.py b/sdk/python/pulumi_kubernetes/core/v1/EndpointsList.py index 295a002124..985a9fedaa 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/EndpointsList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/EndpointsList.py @@ -11,7 +11,7 @@ class EndpointsList(pulumi.CustomResource): """ EndpointsList is a list of endpoints. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/Event.py b/sdk/python/pulumi_kubernetes/core/v1/Event.py index 771fb69c23..8e38d9b4fa 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/Event.py +++ b/sdk/python/pulumi_kubernetes/core/v1/Event.py @@ -11,7 +11,7 @@ class Event(pulumi.CustomResource): """ Event is a report of an event somewhere in the cluster. """ - def __init__(self, __name__, __opts__=None, action=None, count=None, event_time=None, first_timestamp=None, involved_object=None, last_timestamp=None, message=None, metadata=None, reason=None, related=None, reporting_component=None, reporting_instance=None, series=None, source=None, type=None): + def __init__(self, __name__, __opts__=None, action=None, count=None, event_time=None, first_timestamp=None, involved_object=None, last_timestamp=None, message=None, metadata=None, reason=None, related=None, reporting_component=None, reporting_instance=None, series=None, source=None, type=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/EventList.py b/sdk/python/pulumi_kubernetes/core/v1/EventList.py index 4fa8626aae..5bd80bf009 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/EventList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/EventList.py @@ -11,7 +11,7 @@ class EventList(pulumi.CustomResource): """ EventList is a list of events. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/LimitRange.py b/sdk/python/pulumi_kubernetes/core/v1/LimitRange.py index d1d44859fb..073656a4fd 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/LimitRange.py +++ b/sdk/python/pulumi_kubernetes/core/v1/LimitRange.py @@ -11,7 +11,7 @@ class LimitRange(pulumi.CustomResource): """ LimitRange sets resource usage limits for each kind of resource in a Namespace. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/LimitRangeList.py b/sdk/python/pulumi_kubernetes/core/v1/LimitRangeList.py index 24b39bbd09..f7d3cb4305 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/LimitRangeList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/LimitRangeList.py @@ -11,7 +11,7 @@ class LimitRangeList(pulumi.CustomResource): """ LimitRangeList is a list of LimitRange items. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/Namespace.py b/sdk/python/pulumi_kubernetes/core/v1/Namespace.py index d9b4b94457..317a717c77 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/Namespace.py +++ b/sdk/python/pulumi_kubernetes/core/v1/Namespace.py @@ -11,7 +11,7 @@ class Namespace(pulumi.CustomResource): """ Namespace provides a scope for Names. Use of multiple namespaces is optional. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/NamespaceList.py b/sdk/python/pulumi_kubernetes/core/v1/NamespaceList.py index 48430c9384..fb33dce062 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/NamespaceList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/NamespaceList.py @@ -11,7 +11,7 @@ class NamespaceList(pulumi.CustomResource): """ NamespaceList is a list of Namespaces. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/Node.py b/sdk/python/pulumi_kubernetes/core/v1/Node.py index b881bd38c0..ce47d68535 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/Node.py +++ b/sdk/python/pulumi_kubernetes/core/v1/Node.py @@ -12,7 +12,7 @@ class Node(pulumi.CustomResource): Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd). """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/NodeList.py b/sdk/python/pulumi_kubernetes/core/v1/NodeList.py index 0b482fbd30..87ef59f2cf 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/NodeList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/NodeList.py @@ -11,7 +11,7 @@ class NodeList(pulumi.CustomResource): """ NodeList is the whole list of all Nodes which have been registered with master. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/PersistentVolume.py b/sdk/python/pulumi_kubernetes/core/v1/PersistentVolume.py index f071de078f..118fa893e6 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/PersistentVolume.py +++ b/sdk/python/pulumi_kubernetes/core/v1/PersistentVolume.py @@ -12,7 +12,7 @@ class PersistentVolume(pulumi.CustomResource): PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeClaim.py b/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeClaim.py index bd58d83521..2dbdcf74d9 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +++ b/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeClaim.py @@ -11,7 +11,7 @@ class PersistentVolumeClaim(pulumi.CustomResource): """ PersistentVolumeClaim is a user's request for and claim to a persistent volume """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py b/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py index 41aa8f5fd4..544e552bf5 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py @@ -11,7 +11,7 @@ class PersistentVolumeClaimList(pulumi.CustomResource): """ PersistentVolumeClaimList is a list of PersistentVolumeClaim items. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeList.py b/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeList.py index 000856568f..805f358298 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/PersistentVolumeList.py @@ -11,7 +11,7 @@ class PersistentVolumeList(pulumi.CustomResource): """ PersistentVolumeList is a list of PersistentVolume items. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/Pod.py b/sdk/python/pulumi_kubernetes/core/v1/Pod.py index 6cfda99697..c6db46fe3f 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/Pod.py +++ b/sdk/python/pulumi_kubernetes/core/v1/Pod.py @@ -12,7 +12,7 @@ class Pod(pulumi.CustomResource): Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/PodList.py b/sdk/python/pulumi_kubernetes/core/v1/PodList.py index 5ab2e0a52e..e2933ece61 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/PodList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/PodList.py @@ -11,7 +11,7 @@ class PodList(pulumi.CustomResource): """ PodList is a list of Pods. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/PodTemplate.py b/sdk/python/pulumi_kubernetes/core/v1/PodTemplate.py index 6628e4c246..7a84ee1c44 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/PodTemplate.py +++ b/sdk/python/pulumi_kubernetes/core/v1/PodTemplate.py @@ -11,7 +11,7 @@ class PodTemplate(pulumi.CustomResource): """ PodTemplate describes a template for creating copies of a predefined pod. """ - def __init__(self, __name__, __opts__=None, metadata=None, template=None): + def __init__(self, __name__, __opts__=None, metadata=None, template=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/PodTemplateList.py b/sdk/python/pulumi_kubernetes/core/v1/PodTemplateList.py index 6f2b662834..e647475d4f 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/PodTemplateList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/PodTemplateList.py @@ -11,7 +11,7 @@ class PodTemplateList(pulumi.CustomResource): """ PodTemplateList is a list of PodTemplates. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ReplicationController.py b/sdk/python/pulumi_kubernetes/core/v1/ReplicationController.py index bc691b10bd..9383585c1f 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ReplicationController.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ReplicationController.py @@ -11,7 +11,7 @@ class ReplicationController(pulumi.CustomResource): """ ReplicationController represents the configuration of a replication controller. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ReplicationControllerList.py b/sdk/python/pulumi_kubernetes/core/v1/ReplicationControllerList.py index cafbe56683..fa0a97bc6b 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ReplicationControllerList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ReplicationControllerList.py @@ -11,7 +11,7 @@ class ReplicationControllerList(pulumi.CustomResource): """ ReplicationControllerList is a collection of replication controllers. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ResourceQuota.py b/sdk/python/pulumi_kubernetes/core/v1/ResourceQuota.py index cb73f450b9..087253162f 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ResourceQuota.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ResourceQuota.py @@ -11,7 +11,7 @@ class ResourceQuota(pulumi.CustomResource): """ ResourceQuota sets aggregate quota restrictions enforced per namespace """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ResourceQuotaList.py b/sdk/python/pulumi_kubernetes/core/v1/ResourceQuotaList.py index 4bb58087f4..a7af029766 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ResourceQuotaList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ResourceQuotaList.py @@ -11,7 +11,7 @@ class ResourceQuotaList(pulumi.CustomResource): """ ResourceQuotaList is a list of ResourceQuota items. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/Secret.py b/sdk/python/pulumi_kubernetes/core/v1/Secret.py index f9191420e9..3b31e67bfa 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/Secret.py +++ b/sdk/python/pulumi_kubernetes/core/v1/Secret.py @@ -12,7 +12,7 @@ class Secret(pulumi.CustomResource): Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes. """ - def __init__(self, __name__, __opts__=None, data=None, metadata=None, string_data=None, type=None): + def __init__(self, __name__, __opts__=None, data=None, metadata=None, string_data=None, type=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/SecretList.py b/sdk/python/pulumi_kubernetes/core/v1/SecretList.py index 5fb86addb2..2815c84fe6 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/SecretList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/SecretList.py @@ -11,7 +11,7 @@ class SecretList(pulumi.CustomResource): """ SecretList is a list of Secret. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/Service.py b/sdk/python/pulumi_kubernetes/core/v1/Service.py index d386f6e467..7803fe000b 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/Service.py +++ b/sdk/python/pulumi_kubernetes/core/v1/Service.py @@ -13,7 +13,7 @@ class Service(pulumi.CustomResource): (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ServiceAccount.py b/sdk/python/pulumi_kubernetes/core/v1/ServiceAccount.py index 6531db3746..5aa65ee6f9 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ServiceAccount.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ServiceAccount.py @@ -12,7 +12,7 @@ class ServiceAccount(pulumi.CustomResource): 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 """ - def __init__(self, __name__, __opts__=None, automount_service_account_token=None, image_pull_secrets=None, metadata=None, secrets=None): + def __init__(self, __name__, __opts__=None, automount_service_account_token=None, image_pull_secrets=None, metadata=None, secrets=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ServiceAccountList.py b/sdk/python/pulumi_kubernetes/core/v1/ServiceAccountList.py index 94d4d37528..cbefee69de 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ServiceAccountList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ServiceAccountList.py @@ -11,7 +11,7 @@ class ServiceAccountList(pulumi.CustomResource): """ ServiceAccountList is a list of ServiceAccount objects """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/core/v1/ServiceList.py b/sdk/python/pulumi_kubernetes/core/v1/ServiceList.py index ec12f6b8bf..4a5424be75 100755 --- a/sdk/python/pulumi_kubernetes/core/v1/ServiceList.py +++ b/sdk/python/pulumi_kubernetes/core/v1/ServiceList.py @@ -11,7 +11,7 @@ class ServiceList(pulumi.CustomResource): """ ServiceList holds a list of services. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/events/v1beta1/Event.py b/sdk/python/pulumi_kubernetes/events/v1beta1/Event.py index a1a67779e1..6e9f17c685 100755 --- a/sdk/python/pulumi_kubernetes/events/v1beta1/Event.py +++ b/sdk/python/pulumi_kubernetes/events/v1beta1/Event.py @@ -12,7 +12,7 @@ class Event(pulumi.CustomResource): Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. """ - def __init__(self, __name__, __opts__=None, action=None, deprecated_count=None, deprecated_first_timestamp=None, deprecated_last_timestamp=None, deprecated_source=None, event_time=None, metadata=None, note=None, reason=None, regarding=None, related=None, reporting_controller=None, reporting_instance=None, series=None, type=None): + def __init__(self, __name__, __opts__=None, action=None, deprecated_count=None, deprecated_first_timestamp=None, deprecated_last_timestamp=None, deprecated_source=None, event_time=None, metadata=None, note=None, reason=None, regarding=None, related=None, reporting_controller=None, reporting_instance=None, series=None, type=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/events/v1beta1/EventList.py b/sdk/python/pulumi_kubernetes/events/v1beta1/EventList.py index 2618d5ea9a..05c370161e 100755 --- a/sdk/python/pulumi_kubernetes/events/v1beta1/EventList.py +++ b/sdk/python/pulumi_kubernetes/events/v1beta1/EventList.py @@ -11,7 +11,7 @@ class EventList(pulumi.CustomResource): """ EventList is a list of Event objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/DaemonSet.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/DaemonSet.py index c480224e11..b01025d54e 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/DaemonSet.py @@ -12,7 +12,7 @@ class DaemonSet(pulumi.CustomResource): DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py index f666671bfe..61565a8be6 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py @@ -11,7 +11,7 @@ class DaemonSetList(pulumi.CustomResource): """ DaemonSetList is a collection of daemon sets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/Deployment.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/Deployment.py index 338f960350..0590349812 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/Deployment.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/Deployment.py @@ -13,7 +13,7 @@ class Deployment(pulumi.CustomResource): release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/DeploymentList.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/DeploymentList.py index cdfd4339e5..1048bea4d8 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/DeploymentList.py @@ -11,7 +11,7 @@ class DeploymentList(pulumi.CustomResource): """ DeploymentList is a list of Deployments. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/Ingress.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/Ingress.py index 4e069aadd1..f2d46af297 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/Ingress.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/Ingress.py @@ -15,7 +15,7 @@ class Ingress(pulumi.CustomResource): version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/IngressList.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/IngressList.py index d1d349028e..9ad14d94ba 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/IngressList.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/IngressList.py @@ -11,7 +11,7 @@ class IngressList(pulumi.CustomResource): """ IngressList is a collection of Ingress. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py index b3e4bdab74..1054ceed1d 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py @@ -13,7 +13,7 @@ class NetworkPolicy(pulumi.CustomResource): networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py index 6ed1b0c947..c685d32711 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py @@ -12,7 +12,7 @@ class NetworkPolicyList(pulumi.CustomResource): DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py index 718770320d..82d1d3463f 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py @@ -13,7 +13,7 @@ class PodSecurityPolicy(pulumi.CustomResource): will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py index 9a85ced0be..7d21005f9c 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py @@ -12,7 +12,7 @@ class PodSecurityPolicyList(pulumi.CustomResource): PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py index 827d216680..c7f0830b6b 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py @@ -13,7 +13,7 @@ class ReplicaSet(pulumi.CustomResource): release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py b/sdk/python/pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py index a9c2957a3e..99ef41dbaf 100755 --- a/sdk/python/pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +++ b/sdk/python/pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py @@ -11,7 +11,7 @@ class ReplicaSetList(pulumi.CustomResource): """ ReplicaSetList is a collection of ReplicaSets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/meta/v1/Status.py b/sdk/python/pulumi_kubernetes/meta/v1/Status.py index 5cd512c687..cbb326e2b3 100755 --- a/sdk/python/pulumi_kubernetes/meta/v1/Status.py +++ b/sdk/python/pulumi_kubernetes/meta/v1/Status.py @@ -11,7 +11,7 @@ class Status(pulumi.CustomResource): """ Status is a return value for calls that don't return other objects. """ - def __init__(self, __name__, __opts__=None, code=None, details=None, message=None, metadata=None, reason=None, status=None): + def __init__(self, __name__, __opts__=None, code=None, details=None, message=None, metadata=None, reason=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/networking/v1/NetworkPolicy.py b/sdk/python/pulumi_kubernetes/networking/v1/NetworkPolicy.py index ae66ffbd12..2db63c6b73 100755 --- a/sdk/python/pulumi_kubernetes/networking/v1/NetworkPolicy.py +++ b/sdk/python/pulumi_kubernetes/networking/v1/NetworkPolicy.py @@ -11,7 +11,7 @@ class NetworkPolicy(pulumi.CustomResource): """ NetworkPolicy describes what network traffic is allowed for a set of Pods """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/networking/v1/NetworkPolicyList.py b/sdk/python/pulumi_kubernetes/networking/v1/NetworkPolicyList.py index de308c59d1..5a26da6eee 100755 --- a/sdk/python/pulumi_kubernetes/networking/v1/NetworkPolicyList.py +++ b/sdk/python/pulumi_kubernetes/networking/v1/NetworkPolicyList.py @@ -11,7 +11,7 @@ class NetworkPolicyList(pulumi.CustomResource): """ NetworkPolicyList is a list of NetworkPolicy objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/networking/v1beta1/Ingress.py b/sdk/python/pulumi_kubernetes/networking/v1beta1/Ingress.py index e474fd9fe4..4e10e420d6 100755 --- a/sdk/python/pulumi_kubernetes/networking/v1beta1/Ingress.py +++ b/sdk/python/pulumi_kubernetes/networking/v1beta1/Ingress.py @@ -13,7 +13,7 @@ class Ingress(pulumi.CustomResource): by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/networking/v1beta1/IngressList.py b/sdk/python/pulumi_kubernetes/networking/v1beta1/IngressList.py index 6581805501..1a2f67ec42 100755 --- a/sdk/python/pulumi_kubernetes/networking/v1beta1/IngressList.py +++ b/sdk/python/pulumi_kubernetes/networking/v1beta1/IngressList.py @@ -11,7 +11,7 @@ class IngressList(pulumi.CustomResource): """ IngressList is a collection of Ingress. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/node/v1alpha1/RuntimeClass.py b/sdk/python/pulumi_kubernetes/node/v1alpha1/RuntimeClass.py index 8af7bc4e94..eeab98273d 100755 --- a/sdk/python/pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +++ b/sdk/python/pulumi_kubernetes/node/v1alpha1/RuntimeClass.py @@ -15,7 +15,7 @@ class RuntimeClass(pulumi.CustomResource): PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py b/sdk/python/pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py index f61d67921a..c24ef5d124 100755 --- a/sdk/python/pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +++ b/sdk/python/pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py @@ -11,7 +11,7 @@ class RuntimeClassList(pulumi.CustomResource): """ RuntimeClassList is a list of RuntimeClass objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/node/v1beta1/RuntimeClass.py b/sdk/python/pulumi_kubernetes/node/v1beta1/RuntimeClass.py index 8f9a2cb20c..976bdda198 100755 --- a/sdk/python/pulumi_kubernetes/node/v1beta1/RuntimeClass.py +++ b/sdk/python/pulumi_kubernetes/node/v1beta1/RuntimeClass.py @@ -15,7 +15,7 @@ class RuntimeClass(pulumi.CustomResource): PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md """ - def __init__(self, __name__, __opts__=None, handler=None, metadata=None): + def __init__(self, __name__, __opts__=None, handler=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/node/v1beta1/RuntimeClassList.py b/sdk/python/pulumi_kubernetes/node/v1beta1/RuntimeClassList.py index cab2eff913..575dd3f4bd 100755 --- a/sdk/python/pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +++ b/sdk/python/pulumi_kubernetes/node/v1beta1/RuntimeClassList.py @@ -11,7 +11,7 @@ class RuntimeClassList(pulumi.CustomResource): """ RuntimeClassList is a list of RuntimeClass objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py b/sdk/python/pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py index 5d52dd0ce1..a5f8d92015 100755 --- a/sdk/python/pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +++ b/sdk/python/pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py @@ -12,7 +12,7 @@ class PodDisruptionBudget(pulumi.CustomResource): PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py b/sdk/python/pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py index 00aed3bffd..e8cbe12e23 100755 --- a/sdk/python/pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +++ b/sdk/python/pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py @@ -11,7 +11,7 @@ class PodDisruptionBudgetList(pulumi.CustomResource): """ PodDisruptionBudgetList is a collection of PodDisruptionBudgets. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py b/sdk/python/pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py index 15a3ce305d..469bffce7b 100755 --- a/sdk/python/pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +++ b/sdk/python/pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py @@ -12,7 +12,7 @@ class PodSecurityPolicy(pulumi.CustomResource): PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py b/sdk/python/pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py index 6720c447c8..df5a4ef153 100755 --- a/sdk/python/pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +++ b/sdk/python/pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py @@ -11,7 +11,7 @@ class PodSecurityPolicyList(pulumi.CustomResource): """ PodSecurityPolicyList is a list of PodSecurityPolicy objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRole.py b/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRole.py index bb7f2e6532..48f00d74f4 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRole.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRole.py @@ -12,7 +12,7 @@ class ClusterRole(pulumi.CustomResource): ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. """ - def __init__(self, __name__, __opts__=None, aggregation_rule=None, metadata=None, rules=None): + def __init__(self, __name__, __opts__=None, aggregation_rule=None, metadata=None, rules=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py b/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py index a0b0489b79..1d6e73d8e9 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py @@ -12,7 +12,7 @@ class ClusterRoleBinding(pulumi.CustomResource): ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. """ - def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None): + def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py b/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py index d8dd002a54..01e6c5f6ed 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py @@ -11,7 +11,7 @@ class ClusterRoleBindingList(pulumi.CustomResource): """ ClusterRoleBindingList is a collection of ClusterRoleBindings """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleList.py b/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleList.py index 77f06c7c92..1f0d4dcc0d 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1/ClusterRoleList.py @@ -11,7 +11,7 @@ class ClusterRoleList(pulumi.CustomResource): """ ClusterRoleList is a collection of ClusterRoles """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1/Role.py b/sdk/python/pulumi_kubernetes/rbac/v1/Role.py index d216cf81c0..dbdd3e19ac 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1/Role.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1/Role.py @@ -12,7 +12,7 @@ class Role(pulumi.CustomResource): Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. """ - def __init__(self, __name__, __opts__=None, metadata=None, rules=None): + def __init__(self, __name__, __opts__=None, metadata=None, rules=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1/RoleBinding.py b/sdk/python/pulumi_kubernetes/rbac/v1/RoleBinding.py index 2bfa45eee0..d7bce5619b 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1/RoleBinding.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1/RoleBinding.py @@ -14,7 +14,7 @@ class RoleBinding(pulumi.CustomResource): namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. """ - def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None): + def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1/RoleBindingList.py b/sdk/python/pulumi_kubernetes/rbac/v1/RoleBindingList.py index a3b9336a71..f4505f093b 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1/RoleBindingList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1/RoleBindingList.py @@ -11,7 +11,7 @@ class RoleBindingList(pulumi.CustomResource): """ RoleBindingList is a collection of RoleBindings """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1/RoleList.py b/sdk/python/pulumi_kubernetes/rbac/v1/RoleList.py index 6c96844126..b848d62990 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1/RoleList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1/RoleList.py @@ -11,7 +11,7 @@ class RoleList(pulumi.CustomResource): """ RoleList is a collection of Roles """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py index 8571c9259e..4aad83af13 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py @@ -12,7 +12,7 @@ class ClusterRole(pulumi.CustomResource): ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. """ - def __init__(self, __name__, __opts__=None, aggregation_rule=None, metadata=None, rules=None): + def __init__(self, __name__, __opts__=None, aggregation_rule=None, metadata=None, rules=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py index e98e792702..06c0cb839f 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py @@ -12,7 +12,7 @@ class ClusterRoleBinding(pulumi.CustomResource): ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. """ - def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None): + def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py index 000f4752a2..e333bb5a6f 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py @@ -11,7 +11,7 @@ class ClusterRoleBindingList(pulumi.CustomResource): """ ClusterRoleBindingList is a collection of ClusterRoleBindings """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py index 7416979e69..918e5a6ac0 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py @@ -11,7 +11,7 @@ class ClusterRoleList(pulumi.CustomResource): """ ClusterRoleList is a collection of ClusterRoles """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/Role.py b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/Role.py index 06a74a7641..0afc8e765a 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/Role.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/Role.py @@ -12,7 +12,7 @@ class Role(pulumi.CustomResource): Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. """ - def __init__(self, __name__, __opts__=None, metadata=None, rules=None): + def __init__(self, __name__, __opts__=None, metadata=None, rules=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py index 0ca18acd83..0ffb2d1f44 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py @@ -14,7 +14,7 @@ class RoleBinding(pulumi.CustomResource): namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. """ - def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None): + def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py index 6dbdf3228d..1dbe08ff95 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py @@ -11,7 +11,7 @@ class RoleBindingList(pulumi.CustomResource): """ RoleBindingList is a collection of RoleBindings """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleList.py b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleList.py index 7e982d6aa9..6f4e33dc9a 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1alpha1/RoleList.py @@ -11,7 +11,7 @@ class RoleList(pulumi.CustomResource): """ RoleList is a collection of Roles """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRole.py b/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRole.py index acbd5bd170..5c45309a7b 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRole.py @@ -12,7 +12,7 @@ class ClusterRole(pulumi.CustomResource): ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. """ - def __init__(self, __name__, __opts__=None, aggregation_rule=None, metadata=None, rules=None): + def __init__(self, __name__, __opts__=None, aggregation_rule=None, metadata=None, rules=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py b/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py index 6de8f0c0b2..7323c4be79 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py @@ -12,7 +12,7 @@ class ClusterRoleBinding(pulumi.CustomResource): ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. """ - def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None): + def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py b/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py index e9eac6cb42..84ccfeb4dd 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py @@ -11,7 +11,7 @@ class ClusterRoleBindingList(pulumi.CustomResource): """ ClusterRoleBindingList is a collection of ClusterRoleBindings """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py b/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py index bcc459fa5c..2e4e404aa4 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py @@ -11,7 +11,7 @@ class ClusterRoleList(pulumi.CustomResource): """ ClusterRoleList is a collection of ClusterRoles """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1beta1/Role.py b/sdk/python/pulumi_kubernetes/rbac/v1beta1/Role.py index 1c658e4d68..ba50814cc8 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1beta1/Role.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1beta1/Role.py @@ -12,7 +12,7 @@ class Role(pulumi.CustomResource): Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. """ - def __init__(self, __name__, __opts__=None, metadata=None, rules=None): + def __init__(self, __name__, __opts__=None, metadata=None, rules=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleBinding.py b/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleBinding.py index 315ccb0be2..983417f661 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleBinding.py @@ -14,7 +14,7 @@ class RoleBinding(pulumi.CustomResource): namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. """ - def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None): + def __init__(self, __name__, __opts__=None, metadata=None, role_ref=None, subjects=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py b/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py index 5ef51597e2..cbe7b795e2 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py @@ -11,7 +11,7 @@ class RoleBindingList(pulumi.CustomResource): """ RoleBindingList is a collection of RoleBindings """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleList.py b/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleList.py index f9f9e27067..944638c935 100755 --- a/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleList.py +++ b/sdk/python/pulumi_kubernetes/rbac/v1beta1/RoleList.py @@ -11,7 +11,7 @@ class RoleList(pulumi.CustomResource): """ RoleList is a collection of Roles """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClass.py b/sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClass.py index 97c48f6faf..19e5ffcb64 100755 --- a/sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClass.py +++ b/sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClass.py @@ -12,7 +12,7 @@ class PriorityClass(pulumi.CustomResource): PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. """ - def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None): + def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClassList.py b/sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClassList.py index 0709daaf1f..acfdc968b1 100755 --- a/sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClassList.py +++ b/sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClassList.py @@ -11,7 +11,7 @@ class PriorityClassList(pulumi.CustomResource): """ PriorityClassList is a collection of priority classes. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py b/sdk/python/pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py index d81c785363..670e02b44d 100755 --- a/sdk/python/pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +++ b/sdk/python/pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py @@ -13,7 +13,7 @@ class PriorityClass(pulumi.CustomResource): scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. """ - def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None): + def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py b/sdk/python/pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py index a09281a802..4afabb92c7 100755 --- a/sdk/python/pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +++ b/sdk/python/pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py @@ -11,7 +11,7 @@ class PriorityClassList(pulumi.CustomResource): """ PriorityClassList is a collection of priority classes. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py b/sdk/python/pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py index 734414350a..62b96dbb25 100755 --- a/sdk/python/pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +++ b/sdk/python/pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py @@ -13,7 +13,7 @@ class PriorityClass(pulumi.CustomResource): scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. """ - def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None): + def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py b/sdk/python/pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py index b3da03bb07..79c1e4c71a 100755 --- a/sdk/python/pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +++ b/sdk/python/pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py @@ -11,7 +11,7 @@ class PriorityClassList(pulumi.CustomResource): """ PriorityClassList is a collection of priority classes. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/settings/v1alpha1/PodPreset.py b/sdk/python/pulumi_kubernetes/settings/v1alpha1/PodPreset.py index 140437650a..b613fee462 100755 --- a/sdk/python/pulumi_kubernetes/settings/v1alpha1/PodPreset.py +++ b/sdk/python/pulumi_kubernetes/settings/v1alpha1/PodPreset.py @@ -11,7 +11,7 @@ class PodPreset(pulumi.CustomResource): """ PodPreset is a policy resource that defines additional runtime requirements for a Pod. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/settings/v1alpha1/PodPresetList.py b/sdk/python/pulumi_kubernetes/settings/v1alpha1/PodPresetList.py index e0ad08bdd8..1626362d9e 100755 --- a/sdk/python/pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +++ b/sdk/python/pulumi_kubernetes/settings/v1alpha1/PodPresetList.py @@ -11,7 +11,7 @@ class PodPresetList(pulumi.CustomResource): """ PodPresetList is a list of PodPreset objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1/StorageClass.py b/sdk/python/pulumi_kubernetes/storage/v1/StorageClass.py index 5d50e85e77..0a4586a8bf 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1/StorageClass.py +++ b/sdk/python/pulumi_kubernetes/storage/v1/StorageClass.py @@ -15,7 +15,7 @@ class StorageClass(pulumi.CustomResource): StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. """ - def __init__(self, __name__, __opts__=None, allow_volume_expansion=None, allowed_topologies=None, metadata=None, mount_options=None, parameters=None, provisioner=None, reclaim_policy=None, volume_binding_mode=None): + def __init__(self, __name__, __opts__=None, allow_volume_expansion=None, allowed_topologies=None, metadata=None, mount_options=None, parameters=None, provisioner=None, reclaim_policy=None, volume_binding_mode=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1/StorageClassList.py b/sdk/python/pulumi_kubernetes/storage/v1/StorageClassList.py index 9e0f7d80e2..9479573c3d 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1/StorageClassList.py +++ b/sdk/python/pulumi_kubernetes/storage/v1/StorageClassList.py @@ -11,7 +11,7 @@ class StorageClassList(pulumi.CustomResource): """ StorageClassList is a collection of storage classes. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1/VolumeAttachment.py b/sdk/python/pulumi_kubernetes/storage/v1/VolumeAttachment.py index 887aa91c41..4ee46270f9 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1/VolumeAttachment.py +++ b/sdk/python/pulumi_kubernetes/storage/v1/VolumeAttachment.py @@ -14,7 +14,7 @@ class VolumeAttachment(pulumi.CustomResource): VolumeAttachment objects are non-namespaced. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1/VolumeAttachmentList.py b/sdk/python/pulumi_kubernetes/storage/v1/VolumeAttachmentList.py index 438eed7333..8e60d0b437 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +++ b/sdk/python/pulumi_kubernetes/storage/v1/VolumeAttachmentList.py @@ -11,7 +11,7 @@ class VolumeAttachmentList(pulumi.CustomResource): """ VolumeAttachmentList is a collection of VolumeAttachment objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py b/sdk/python/pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py index 2f4e2874a1..41c5275509 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +++ b/sdk/python/pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py @@ -14,7 +14,7 @@ class VolumeAttachment(pulumi.CustomResource): VolumeAttachment objects are non-namespaced. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py b/sdk/python/pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py index 1d1fc8453e..9f93c38f55 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +++ b/sdk/python/pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py @@ -11,7 +11,7 @@ class VolumeAttachmentList(pulumi.CustomResource): """ VolumeAttachmentList is a collection of VolumeAttachment objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1beta1/CSIDriver.py b/sdk/python/pulumi_kubernetes/storage/v1beta1/CSIDriver.py index ab19d71e70..fbb2396d1a 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1beta1/CSIDriver.py +++ b/sdk/python/pulumi_kubernetes/storage/v1beta1/CSIDriver.py @@ -17,7 +17,7 @@ class CSIDriver(pulumi.CustomResource): determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1beta1/CSIDriverList.py b/sdk/python/pulumi_kubernetes/storage/v1beta1/CSIDriverList.py index a7661651cc..90b6193e36 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +++ b/sdk/python/pulumi_kubernetes/storage/v1beta1/CSIDriverList.py @@ -11,7 +11,7 @@ class CSIDriverList(pulumi.CustomResource): """ CSIDriverList is a collection of CSIDriver objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1beta1/CSINode.py b/sdk/python/pulumi_kubernetes/storage/v1beta1/CSINode.py index d37d456757..74f555f73d 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1beta1/CSINode.py +++ b/sdk/python/pulumi_kubernetes/storage/v1beta1/CSINode.py @@ -17,7 +17,7 @@ class CSINode(pulumi.CustomResource): enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1beta1/CSINodeList.py b/sdk/python/pulumi_kubernetes/storage/v1beta1/CSINodeList.py index 2c479da0cd..2bf2f97315 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1beta1/CSINodeList.py +++ b/sdk/python/pulumi_kubernetes/storage/v1beta1/CSINodeList.py @@ -11,7 +11,7 @@ class CSINodeList(pulumi.CustomResource): """ CSINodeList is a collection of CSINode objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClass.py b/sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClass.py index 9ca771135d..f9a11364e1 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClass.py +++ b/sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClass.py @@ -15,7 +15,7 @@ class StorageClass(pulumi.CustomResource): StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. """ - def __init__(self, __name__, __opts__=None, allow_volume_expansion=None, allowed_topologies=None, metadata=None, mount_options=None, parameters=None, provisioner=None, reclaim_policy=None, volume_binding_mode=None): + def __init__(self, __name__, __opts__=None, allow_volume_expansion=None, allowed_topologies=None, metadata=None, mount_options=None, parameters=None, provisioner=None, reclaim_policy=None, volume_binding_mode=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClassList.py b/sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClassList.py index a0eda1d560..e619f147dd 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClassList.py +++ b/sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClassList.py @@ -11,7 +11,7 @@ class StorageClassList(pulumi.CustomResource): """ StorageClassList is a collection of storage classes. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py b/sdk/python/pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py index c2ee960f6f..a3d42a6e51 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +++ b/sdk/python/pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py @@ -14,7 +14,7 @@ class VolumeAttachment(pulumi.CustomResource): VolumeAttachment objects are non-namespaced. """ - def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): + def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py b/sdk/python/pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py index 44a76c5125..b91ac16df8 100755 --- a/sdk/python/pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +++ b/sdk/python/pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py @@ -11,7 +11,7 @@ class VolumeAttachmentList(pulumi.CustomResource): """ VolumeAttachmentList is a collection of VolumeAttachment objects. """ - def __init__(self, __name__, __opts__=None, items=None, metadata=None): + def __init__(self, __name__, __opts__=None, items=None, metadata=None, **kwargs): if not __name__: raise TypeError('Missing resource name argument (for URN creation)') if not isinstance(__name__, str): diff --git a/sdk/python/pulumi_kubernetes/yaml.py b/sdk/python/pulumi_kubernetes/yaml.py index 956c230169..c006295c2f 100644 --- a/sdk/python/pulumi_kubernetes/yaml.py +++ b/sdk/python/pulumi_kubernetes/yaml.py @@ -61,8 +61,8 @@ class ConfigFile(pulumi.ComponentResource): :param str name: A name for a resource. :param str file_id: Path or a URL that uniquely identifies a file. :param Optional[ResourceOptions] opts: A bag of optional settings that control a resource's behavior. - :param Optional[List[Callable]] transformations: A set of transformations to apply to Kubernetes resource definitions - before registering with engine. + :param Optional[List[Callable]] transformations: A set of transformations to apply to Kubernetes + resource definitions before registering with engine. """ def __init__(self, name: str, file_id: str, opts: Optional[pulumi.ResourceOptions] = None, @@ -166,6 +166,12 @@ def _parse_yaml_object(obj, opts: Optional[pulumi.ResourceOptions] = None, raise Exception("YAML object does not have a .metadata.name: {}/{} {}".format( api_version, kind, json.dumps(obj))) + # Convert obj keys to Python casing + for key in obj: + new_key = tables._CASING_FORWARD_TABLE.get(key) or key + if new_key != key: + obj[new_key] = obj.pop(key) + metadata = obj["metadata"] spec = obj.get("spec") identifier: pulumi.Output = pulumi.Output.from_input(metadata["name"]) @@ -177,691 +183,691 @@ def _parse_yaml_object(obj, opts: Optional[pulumi.ResourceOptions] = None, if gvk == "admissionregistration.k8s.io/v1beta1/MutatingWebhookConfiguration": return [identifier.apply( lambda x: (f"admissionregistration.k8s.io/v1beta1/MutatingWebhookConfiguration:{x}", - MutatingWebhookConfiguration(x, opts, metadata, spec)))] + MutatingWebhookConfiguration(x, opts, **obj)))] if gvk == "admissionregistration.k8s.io/v1beta1/MutatingWebhookConfigurationList": return [identifier.apply( lambda x: (f"admissionregistration.k8s.io/v1beta1/MutatingWebhookConfigurationList:{x}", - MutatingWebhookConfigurationList(x, opts, metadata, spec)))] + MutatingWebhookConfigurationList(x, opts, **obj)))] if gvk == "admissionregistration.k8s.io/v1beta1/ValidatingWebhookConfiguration": return [identifier.apply( lambda x: (f"admissionregistration.k8s.io/v1beta1/ValidatingWebhookConfiguration:{x}", - ValidatingWebhookConfiguration(x, opts, metadata, spec)))] + ValidatingWebhookConfiguration(x, opts, **obj)))] if gvk == "admissionregistration.k8s.io/v1beta1/ValidatingWebhookConfigurationList": return [identifier.apply( lambda x: (f"admissionregistration.k8s.io/v1beta1/ValidatingWebhookConfigurationList:{x}", - ValidatingWebhookConfigurationList(x, opts, metadata, spec)))] + ValidatingWebhookConfigurationList(x, opts, **obj)))] if gvk == "apiextensions.k8s.io/v1beta1/CustomResourceDefinition": return [identifier.apply( lambda x: (f"apiextensions.k8s.io/v1beta1/CustomResourceDefinition:{x}", - CustomResourceDefinition(x, opts, metadata, spec)))] + CustomResourceDefinition(x, opts, **obj)))] if gvk == "apiextensions.k8s.io/v1beta1/CustomResourceDefinitionList": return [identifier.apply( lambda x: (f"apiextensions.k8s.io/v1beta1/CustomResourceDefinitionList:{x}", - CustomResourceDefinitionList(x, opts, metadata, spec)))] + CustomResourceDefinitionList(x, opts, **obj)))] if gvk == "apiregistration.k8s.io/v1/APIService": return [identifier.apply( lambda x: (f"apiregistration.k8s.io/v1/APIService:{x}", - APIService(x, opts, metadata, spec)))] + APIService(x, opts, **obj)))] if gvk == "apiregistration.k8s.io/v1/APIServiceList": return [identifier.apply( lambda x: (f"apiregistration.k8s.io/v1/APIServiceList:{x}", - APIServiceList(x, opts, metadata, spec)))] + APIServiceList(x, opts, **obj)))] if gvk == "apiregistration.k8s.io/v1beta1/APIService": return [identifier.apply( lambda x: (f"apiregistration.k8s.io/v1beta1/APIService:{x}", - APIService(x, opts, metadata, spec)))] + APIService(x, opts, **obj)))] if gvk == "apiregistration.k8s.io/v1beta1/APIServiceList": return [identifier.apply( lambda x: (f"apiregistration.k8s.io/v1beta1/APIServiceList:{x}", - APIServiceList(x, opts, metadata, spec)))] + APIServiceList(x, opts, **obj)))] if gvk == "apps/v1/ControllerRevision": return [identifier.apply( lambda x: (f"apps/v1/ControllerRevision:{x}", - ControllerRevision(x, opts, metadata, spec)))] + ControllerRevision(x, opts, **obj)))] if gvk == "apps/v1/ControllerRevisionList": return [identifier.apply( lambda x: (f"apps/v1/ControllerRevisionList:{x}", - ControllerRevisionList(x, opts, metadata, spec)))] + ControllerRevisionList(x, opts, **obj)))] if gvk == "apps/v1/DaemonSet": return [identifier.apply( lambda x: (f"apps/v1/DaemonSet:{x}", - DaemonSet(x, opts, metadata, spec)))] + DaemonSet(x, opts, **obj)))] if gvk == "apps/v1/DaemonSetList": return [identifier.apply( lambda x: (f"apps/v1/DaemonSetList:{x}", - DaemonSetList(x, opts, metadata, spec)))] + DaemonSetList(x, opts, **obj)))] if gvk == "apps/v1/Deployment": return [identifier.apply( lambda x: (f"apps/v1/Deployment:{x}", - Deployment(x, opts, metadata, spec)))] + Deployment(x, opts, **obj)))] if gvk == "apps/v1/DeploymentList": return [identifier.apply( lambda x: (f"apps/v1/DeploymentList:{x}", - DeploymentList(x, opts, metadata, spec)))] + DeploymentList(x, opts, **obj)))] if gvk == "apps/v1/ReplicaSet": return [identifier.apply( lambda x: (f"apps/v1/ReplicaSet:{x}", - ReplicaSet(x, opts, metadata, spec)))] + ReplicaSet(x, opts, **obj)))] if gvk == "apps/v1/ReplicaSetList": return [identifier.apply( lambda x: (f"apps/v1/ReplicaSetList:{x}", - ReplicaSetList(x, opts, metadata, spec)))] + ReplicaSetList(x, opts, **obj)))] if gvk == "apps/v1/StatefulSet": return [identifier.apply( lambda x: (f"apps/v1/StatefulSet:{x}", - StatefulSet(x, opts, metadata, spec)))] + StatefulSet(x, opts, **obj)))] if gvk == "apps/v1/StatefulSetList": return [identifier.apply( lambda x: (f"apps/v1/StatefulSetList:{x}", - StatefulSetList(x, opts, metadata, spec)))] + StatefulSetList(x, opts, **obj)))] if gvk == "apps/v1beta1/ControllerRevision": return [identifier.apply( lambda x: (f"apps/v1beta1/ControllerRevision:{x}", - ControllerRevision(x, opts, metadata, spec)))] + ControllerRevision(x, opts, **obj)))] if gvk == "apps/v1beta1/ControllerRevisionList": return [identifier.apply( lambda x: (f"apps/v1beta1/ControllerRevisionList:{x}", - ControllerRevisionList(x, opts, metadata, spec)))] + ControllerRevisionList(x, opts, **obj)))] if gvk == "apps/v1beta1/Deployment": return [identifier.apply( lambda x: (f"apps/v1beta1/Deployment:{x}", - Deployment(x, opts, metadata, spec)))] + Deployment(x, opts, **obj)))] if gvk == "apps/v1beta1/DeploymentList": return [identifier.apply( lambda x: (f"apps/v1beta1/DeploymentList:{x}", - DeploymentList(x, opts, metadata, spec)))] + DeploymentList(x, opts, **obj)))] if gvk == "apps/v1beta1/StatefulSet": return [identifier.apply( lambda x: (f"apps/v1beta1/StatefulSet:{x}", - StatefulSet(x, opts, metadata, spec)))] + StatefulSet(x, opts, **obj)))] if gvk == "apps/v1beta1/StatefulSetList": return [identifier.apply( lambda x: (f"apps/v1beta1/StatefulSetList:{x}", - StatefulSetList(x, opts, metadata, spec)))] + StatefulSetList(x, opts, **obj)))] if gvk == "apps/v1beta2/ControllerRevision": return [identifier.apply( lambda x: (f"apps/v1beta2/ControllerRevision:{x}", - ControllerRevision(x, opts, metadata, spec)))] + ControllerRevision(x, opts, **obj)))] if gvk == "apps/v1beta2/ControllerRevisionList": return [identifier.apply( lambda x: (f"apps/v1beta2/ControllerRevisionList:{x}", - ControllerRevisionList(x, opts, metadata, spec)))] + ControllerRevisionList(x, opts, **obj)))] if gvk == "apps/v1beta2/DaemonSet": return [identifier.apply( lambda x: (f"apps/v1beta2/DaemonSet:{x}", - DaemonSet(x, opts, metadata, spec)))] + DaemonSet(x, opts, **obj)))] if gvk == "apps/v1beta2/DaemonSetList": return [identifier.apply( lambda x: (f"apps/v1beta2/DaemonSetList:{x}", - DaemonSetList(x, opts, metadata, spec)))] + DaemonSetList(x, opts, **obj)))] if gvk == "apps/v1beta2/Deployment": return [identifier.apply( lambda x: (f"apps/v1beta2/Deployment:{x}", - Deployment(x, opts, metadata, spec)))] + Deployment(x, opts, **obj)))] if gvk == "apps/v1beta2/DeploymentList": return [identifier.apply( lambda x: (f"apps/v1beta2/DeploymentList:{x}", - DeploymentList(x, opts, metadata, spec)))] + DeploymentList(x, opts, **obj)))] if gvk == "apps/v1beta2/ReplicaSet": return [identifier.apply( lambda x: (f"apps/v1beta2/ReplicaSet:{x}", - ReplicaSet(x, opts, metadata, spec)))] + ReplicaSet(x, opts, **obj)))] if gvk == "apps/v1beta2/ReplicaSetList": return [identifier.apply( lambda x: (f"apps/v1beta2/ReplicaSetList:{x}", - ReplicaSetList(x, opts, metadata, spec)))] + ReplicaSetList(x, opts, **obj)))] if gvk == "apps/v1beta2/StatefulSet": return [identifier.apply( lambda x: (f"apps/v1beta2/StatefulSet:{x}", - StatefulSet(x, opts, metadata, spec)))] + StatefulSet(x, opts, **obj)))] if gvk == "apps/v1beta2/StatefulSetList": return [identifier.apply( lambda x: (f"apps/v1beta2/StatefulSetList:{x}", - StatefulSetList(x, opts, metadata, spec)))] + StatefulSetList(x, opts, **obj)))] if gvk == "auditregistration.k8s.io/v1alpha1/AuditSink": return [identifier.apply( lambda x: (f"auditregistration.k8s.io/v1alpha1/AuditSink:{x}", - AuditSink(x, opts, metadata, spec)))] + AuditSink(x, opts, **obj)))] if gvk == "auditregistration.k8s.io/v1alpha1/AuditSinkList": return [identifier.apply( lambda x: (f"auditregistration.k8s.io/v1alpha1/AuditSinkList:{x}", - AuditSinkList(x, opts, metadata, spec)))] + AuditSinkList(x, opts, **obj)))] if gvk == "authentication.k8s.io/v1/TokenReview": return [identifier.apply( lambda x: (f"authentication.k8s.io/v1/TokenReview:{x}", - TokenReview(x, opts, metadata, spec)))] + TokenReview(x, opts, **obj)))] if gvk == "authentication.k8s.io/v1beta1/TokenReview": return [identifier.apply( lambda x: (f"authentication.k8s.io/v1beta1/TokenReview:{x}", - TokenReview(x, opts, metadata, spec)))] + TokenReview(x, opts, **obj)))] if gvk == "authorization.k8s.io/v1/LocalSubjectAccessReview": return [identifier.apply( lambda x: (f"authorization.k8s.io/v1/LocalSubjectAccessReview:{x}", - LocalSubjectAccessReview(x, opts, metadata, spec)))] + LocalSubjectAccessReview(x, opts, **obj)))] if gvk == "authorization.k8s.io/v1/SelfSubjectAccessReview": return [identifier.apply( lambda x: (f"authorization.k8s.io/v1/SelfSubjectAccessReview:{x}", - SelfSubjectAccessReview(x, opts, metadata, spec)))] + SelfSubjectAccessReview(x, opts, **obj)))] if gvk == "authorization.k8s.io/v1/SelfSubjectRulesReview": return [identifier.apply( lambda x: (f"authorization.k8s.io/v1/SelfSubjectRulesReview:{x}", - SelfSubjectRulesReview(x, opts, metadata, spec)))] + SelfSubjectRulesReview(x, opts, **obj)))] if gvk == "authorization.k8s.io/v1/SubjectAccessReview": return [identifier.apply( lambda x: (f"authorization.k8s.io/v1/SubjectAccessReview:{x}", - SubjectAccessReview(x, opts, metadata, spec)))] + SubjectAccessReview(x, opts, **obj)))] if gvk == "authorization.k8s.io/v1beta1/LocalSubjectAccessReview": return [identifier.apply( lambda x: (f"authorization.k8s.io/v1beta1/LocalSubjectAccessReview:{x}", - LocalSubjectAccessReview(x, opts, metadata, spec)))] + LocalSubjectAccessReview(x, opts, **obj)))] if gvk == "authorization.k8s.io/v1beta1/SelfSubjectAccessReview": return [identifier.apply( lambda x: (f"authorization.k8s.io/v1beta1/SelfSubjectAccessReview:{x}", - SelfSubjectAccessReview(x, opts, metadata, spec)))] + SelfSubjectAccessReview(x, opts, **obj)))] if gvk == "authorization.k8s.io/v1beta1/SelfSubjectRulesReview": return [identifier.apply( lambda x: (f"authorization.k8s.io/v1beta1/SelfSubjectRulesReview:{x}", - SelfSubjectRulesReview(x, opts, metadata, spec)))] + SelfSubjectRulesReview(x, opts, **obj)))] if gvk == "authorization.k8s.io/v1beta1/SubjectAccessReview": return [identifier.apply( lambda x: (f"authorization.k8s.io/v1beta1/SubjectAccessReview:{x}", - SubjectAccessReview(x, opts, metadata, spec)))] + SubjectAccessReview(x, opts, **obj)))] if gvk == "autoscaling/v1/HorizontalPodAutoscaler": return [identifier.apply( lambda x: (f"autoscaling/v1/HorizontalPodAutoscaler:{x}", - HorizontalPodAutoscaler(x, opts, metadata, spec)))] + HorizontalPodAutoscaler(x, opts, **obj)))] if gvk == "autoscaling/v1/HorizontalPodAutoscalerList": return [identifier.apply( lambda x: (f"autoscaling/v1/HorizontalPodAutoscalerList:{x}", - HorizontalPodAutoscalerList(x, opts, metadata, spec)))] + HorizontalPodAutoscalerList(x, opts, **obj)))] if gvk == "autoscaling/v2beta1/HorizontalPodAutoscaler": return [identifier.apply( lambda x: (f"autoscaling/v2beta1/HorizontalPodAutoscaler:{x}", - HorizontalPodAutoscaler(x, opts, metadata, spec)))] + HorizontalPodAutoscaler(x, opts, **obj)))] if gvk == "autoscaling/v2beta1/HorizontalPodAutoscalerList": return [identifier.apply( lambda x: (f"autoscaling/v2beta1/HorizontalPodAutoscalerList:{x}", - HorizontalPodAutoscalerList(x, opts, metadata, spec)))] + HorizontalPodAutoscalerList(x, opts, **obj)))] if gvk == "autoscaling/v2beta2/HorizontalPodAutoscaler": return [identifier.apply( lambda x: (f"autoscaling/v2beta2/HorizontalPodAutoscaler:{x}", - HorizontalPodAutoscaler(x, opts, metadata, spec)))] + HorizontalPodAutoscaler(x, opts, **obj)))] if gvk == "autoscaling/v2beta2/HorizontalPodAutoscalerList": return [identifier.apply( lambda x: (f"autoscaling/v2beta2/HorizontalPodAutoscalerList:{x}", - HorizontalPodAutoscalerList(x, opts, metadata, spec)))] + HorizontalPodAutoscalerList(x, opts, **obj)))] if gvk == "batch/v1/Job": return [identifier.apply( lambda x: (f"batch/v1/Job:{x}", - Job(x, opts, metadata, spec)))] + Job(x, opts, **obj)))] if gvk == "batch/v1/JobList": return [identifier.apply( lambda x: (f"batch/v1/JobList:{x}", - JobList(x, opts, metadata, spec)))] + JobList(x, opts, **obj)))] if gvk == "batch/v1beta1/CronJob": return [identifier.apply( lambda x: (f"batch/v1beta1/CronJob:{x}", - CronJob(x, opts, metadata, spec)))] + CronJob(x, opts, **obj)))] if gvk == "batch/v1beta1/CronJobList": return [identifier.apply( lambda x: (f"batch/v1beta1/CronJobList:{x}", - CronJobList(x, opts, metadata, spec)))] + CronJobList(x, opts, **obj)))] if gvk == "batch/v2alpha1/CronJob": return [identifier.apply( lambda x: (f"batch/v2alpha1/CronJob:{x}", - CronJob(x, opts, metadata, spec)))] + CronJob(x, opts, **obj)))] if gvk == "batch/v2alpha1/CronJobList": return [identifier.apply( lambda x: (f"batch/v2alpha1/CronJobList:{x}", - CronJobList(x, opts, metadata, spec)))] + CronJobList(x, opts, **obj)))] if gvk == "certificates.k8s.io/v1beta1/CertificateSigningRequest": return [identifier.apply( lambda x: (f"certificates.k8s.io/v1beta1/CertificateSigningRequest:{x}", - CertificateSigningRequest(x, opts, metadata, spec)))] + CertificateSigningRequest(x, opts, **obj)))] if gvk == "certificates.k8s.io/v1beta1/CertificateSigningRequestList": return [identifier.apply( lambda x: (f"certificates.k8s.io/v1beta1/CertificateSigningRequestList:{x}", - CertificateSigningRequestList(x, opts, metadata, spec)))] + CertificateSigningRequestList(x, opts, **obj)))] if gvk == "coordination.k8s.io/v1/Lease": return [identifier.apply( lambda x: (f"coordination.k8s.io/v1/Lease:{x}", - Lease(x, opts, metadata, spec)))] + Lease(x, opts, **obj)))] if gvk == "coordination.k8s.io/v1/LeaseList": return [identifier.apply( lambda x: (f"coordination.k8s.io/v1/LeaseList:{x}", - LeaseList(x, opts, metadata, spec)))] + LeaseList(x, opts, **obj)))] if gvk == "coordination.k8s.io/v1beta1/Lease": return [identifier.apply( lambda x: (f"coordination.k8s.io/v1beta1/Lease:{x}", - Lease(x, opts, metadata, spec)))] + Lease(x, opts, **obj)))] if gvk == "coordination.k8s.io/v1beta1/LeaseList": return [identifier.apply( lambda x: (f"coordination.k8s.io/v1beta1/LeaseList:{x}", - LeaseList(x, opts, metadata, spec)))] + LeaseList(x, opts, **obj)))] if gvk == "v1/Binding": return [identifier.apply( lambda x: (f"v1/Binding:{x}", - Binding(x, opts, metadata, spec)))] + Binding(x, opts, **obj)))] if gvk == "v1/ComponentStatus": return [identifier.apply( lambda x: (f"v1/ComponentStatus:{x}", - ComponentStatus(x, opts, metadata, spec)))] + ComponentStatus(x, opts, **obj)))] if gvk == "v1/ComponentStatusList": return [identifier.apply( lambda x: (f"v1/ComponentStatusList:{x}", - ComponentStatusList(x, opts, metadata, spec)))] + ComponentStatusList(x, opts, **obj)))] if gvk == "v1/ConfigMap": return [identifier.apply( lambda x: (f"v1/ConfigMap:{x}", - ConfigMap(x, opts, metadata, spec)))] + ConfigMap(x, opts, **obj)))] if gvk == "v1/ConfigMapList": return [identifier.apply( lambda x: (f"v1/ConfigMapList:{x}", - ConfigMapList(x, opts, metadata, spec)))] + ConfigMapList(x, opts, **obj)))] if gvk == "v1/Endpoints": return [identifier.apply( lambda x: (f"v1/Endpoints:{x}", - Endpoints(x, opts, metadata, spec)))] + Endpoints(x, opts, **obj)))] if gvk == "v1/EndpointsList": return [identifier.apply( lambda x: (f"v1/EndpointsList:{x}", - EndpointsList(x, opts, metadata, spec)))] + EndpointsList(x, opts, **obj)))] if gvk == "v1/Event": return [identifier.apply( lambda x: (f"v1/Event:{x}", - Event(x, opts, metadata, spec)))] + Event(x, opts, **obj)))] if gvk == "v1/EventList": return [identifier.apply( lambda x: (f"v1/EventList:{x}", - EventList(x, opts, metadata, spec)))] + EventList(x, opts, **obj)))] if gvk == "v1/LimitRange": return [identifier.apply( lambda x: (f"v1/LimitRange:{x}", - LimitRange(x, opts, metadata, spec)))] + LimitRange(x, opts, **obj)))] if gvk == "v1/LimitRangeList": return [identifier.apply( lambda x: (f"v1/LimitRangeList:{x}", - LimitRangeList(x, opts, metadata, spec)))] + LimitRangeList(x, opts, **obj)))] if gvk == "v1/Namespace": return [identifier.apply( lambda x: (f"v1/Namespace:{x}", - Namespace(x, opts, metadata, spec)))] + Namespace(x, opts, **obj)))] if gvk == "v1/NamespaceList": return [identifier.apply( lambda x: (f"v1/NamespaceList:{x}", - NamespaceList(x, opts, metadata, spec)))] + NamespaceList(x, opts, **obj)))] if gvk == "v1/Node": return [identifier.apply( lambda x: (f"v1/Node:{x}", - Node(x, opts, metadata, spec)))] + Node(x, opts, **obj)))] if gvk == "v1/NodeList": return [identifier.apply( lambda x: (f"v1/NodeList:{x}", - NodeList(x, opts, metadata, spec)))] + NodeList(x, opts, **obj)))] if gvk == "v1/PersistentVolume": return [identifier.apply( lambda x: (f"v1/PersistentVolume:{x}", - PersistentVolume(x, opts, metadata, spec)))] + PersistentVolume(x, opts, **obj)))] if gvk == "v1/PersistentVolumeClaim": return [identifier.apply( lambda x: (f"v1/PersistentVolumeClaim:{x}", - PersistentVolumeClaim(x, opts, metadata, spec)))] + PersistentVolumeClaim(x, opts, **obj)))] if gvk == "v1/PersistentVolumeClaimList": return [identifier.apply( lambda x: (f"v1/PersistentVolumeClaimList:{x}", - PersistentVolumeClaimList(x, opts, metadata, spec)))] + PersistentVolumeClaimList(x, opts, **obj)))] if gvk == "v1/PersistentVolumeList": return [identifier.apply( lambda x: (f"v1/PersistentVolumeList:{x}", - PersistentVolumeList(x, opts, metadata, spec)))] + PersistentVolumeList(x, opts, **obj)))] if gvk == "v1/Pod": return [identifier.apply( lambda x: (f"v1/Pod:{x}", - Pod(x, opts, metadata, spec)))] + Pod(x, opts, **obj)))] if gvk == "v1/PodList": return [identifier.apply( lambda x: (f"v1/PodList:{x}", - PodList(x, opts, metadata, spec)))] + PodList(x, opts, **obj)))] if gvk == "v1/PodTemplate": return [identifier.apply( lambda x: (f"v1/PodTemplate:{x}", - PodTemplate(x, opts, metadata, spec)))] + PodTemplate(x, opts, **obj)))] if gvk == "v1/PodTemplateList": return [identifier.apply( lambda x: (f"v1/PodTemplateList:{x}", - PodTemplateList(x, opts, metadata, spec)))] + PodTemplateList(x, opts, **obj)))] if gvk == "v1/ReplicationController": return [identifier.apply( lambda x: (f"v1/ReplicationController:{x}", - ReplicationController(x, opts, metadata, spec)))] + ReplicationController(x, opts, **obj)))] if gvk == "v1/ReplicationControllerList": return [identifier.apply( lambda x: (f"v1/ReplicationControllerList:{x}", - ReplicationControllerList(x, opts, metadata, spec)))] + ReplicationControllerList(x, opts, **obj)))] if gvk == "v1/ResourceQuota": return [identifier.apply( lambda x: (f"v1/ResourceQuota:{x}", - ResourceQuota(x, opts, metadata, spec)))] + ResourceQuota(x, opts, **obj)))] if gvk == "v1/ResourceQuotaList": return [identifier.apply( lambda x: (f"v1/ResourceQuotaList:{x}", - ResourceQuotaList(x, opts, metadata, spec)))] + ResourceQuotaList(x, opts, **obj)))] if gvk == "v1/Secret": return [identifier.apply( lambda x: (f"v1/Secret:{x}", - Secret(x, opts, metadata, spec)))] + Secret(x, opts, **obj)))] if gvk == "v1/SecretList": return [identifier.apply( lambda x: (f"v1/SecretList:{x}", - SecretList(x, opts, metadata, spec)))] + SecretList(x, opts, **obj)))] if gvk == "v1/Service": return [identifier.apply( lambda x: (f"v1/Service:{x}", - Service(x, opts, metadata, spec)))] + Service(x, opts, **obj)))] if gvk == "v1/ServiceAccount": return [identifier.apply( lambda x: (f"v1/ServiceAccount:{x}", - ServiceAccount(x, opts, metadata, spec)))] + ServiceAccount(x, opts, **obj)))] if gvk == "v1/ServiceAccountList": return [identifier.apply( lambda x: (f"v1/ServiceAccountList:{x}", - ServiceAccountList(x, opts, metadata, spec)))] + ServiceAccountList(x, opts, **obj)))] if gvk == "v1/ServiceList": return [identifier.apply( lambda x: (f"v1/ServiceList:{x}", - ServiceList(x, opts, metadata, spec)))] + ServiceList(x, opts, **obj)))] if gvk == "events.k8s.io/v1beta1/Event": return [identifier.apply( lambda x: (f"events.k8s.io/v1beta1/Event:{x}", - Event(x, opts, metadata, spec)))] + Event(x, opts, **obj)))] if gvk == "events.k8s.io/v1beta1/EventList": return [identifier.apply( lambda x: (f"events.k8s.io/v1beta1/EventList:{x}", - EventList(x, opts, metadata, spec)))] + EventList(x, opts, **obj)))] if gvk == "extensions/v1beta1/DaemonSet": return [identifier.apply( lambda x: (f"extensions/v1beta1/DaemonSet:{x}", - DaemonSet(x, opts, metadata, spec)))] + DaemonSet(x, opts, **obj)))] if gvk == "extensions/v1beta1/DaemonSetList": return [identifier.apply( lambda x: (f"extensions/v1beta1/DaemonSetList:{x}", - DaemonSetList(x, opts, metadata, spec)))] + DaemonSetList(x, opts, **obj)))] if gvk == "extensions/v1beta1/Deployment": return [identifier.apply( lambda x: (f"extensions/v1beta1/Deployment:{x}", - Deployment(x, opts, metadata, spec)))] + Deployment(x, opts, **obj)))] if gvk == "extensions/v1beta1/DeploymentList": return [identifier.apply( lambda x: (f"extensions/v1beta1/DeploymentList:{x}", - DeploymentList(x, opts, metadata, spec)))] + DeploymentList(x, opts, **obj)))] if gvk == "extensions/v1beta1/Ingress": return [identifier.apply( lambda x: (f"extensions/v1beta1/Ingress:{x}", - Ingress(x, opts, metadata, spec)))] + Ingress(x, opts, **obj)))] if gvk == "extensions/v1beta1/IngressList": return [identifier.apply( lambda x: (f"extensions/v1beta1/IngressList:{x}", - IngressList(x, opts, metadata, spec)))] + IngressList(x, opts, **obj)))] if gvk == "extensions/v1beta1/NetworkPolicy": return [identifier.apply( lambda x: (f"extensions/v1beta1/NetworkPolicy:{x}", - NetworkPolicy(x, opts, metadata, spec)))] + NetworkPolicy(x, opts, **obj)))] if gvk == "extensions/v1beta1/NetworkPolicyList": return [identifier.apply( lambda x: (f"extensions/v1beta1/NetworkPolicyList:{x}", - NetworkPolicyList(x, opts, metadata, spec)))] + NetworkPolicyList(x, opts, **obj)))] if gvk == "extensions/v1beta1/PodSecurityPolicy": return [identifier.apply( lambda x: (f"extensions/v1beta1/PodSecurityPolicy:{x}", - PodSecurityPolicy(x, opts, metadata, spec)))] + PodSecurityPolicy(x, opts, **obj)))] if gvk == "extensions/v1beta1/PodSecurityPolicyList": return [identifier.apply( lambda x: (f"extensions/v1beta1/PodSecurityPolicyList:{x}", - PodSecurityPolicyList(x, opts, metadata, spec)))] + PodSecurityPolicyList(x, opts, **obj)))] if gvk == "extensions/v1beta1/ReplicaSet": return [identifier.apply( lambda x: (f"extensions/v1beta1/ReplicaSet:{x}", - ReplicaSet(x, opts, metadata, spec)))] + ReplicaSet(x, opts, **obj)))] if gvk == "extensions/v1beta1/ReplicaSetList": return [identifier.apply( lambda x: (f"extensions/v1beta1/ReplicaSetList:{x}", - ReplicaSetList(x, opts, metadata, spec)))] + ReplicaSetList(x, opts, **obj)))] if gvk == "v1/Status": return [identifier.apply( lambda x: (f"v1/Status:{x}", - Status(x, opts, metadata, spec)))] + Status(x, opts, **obj)))] if gvk == "networking.k8s.io/v1/NetworkPolicy": return [identifier.apply( lambda x: (f"networking.k8s.io/v1/NetworkPolicy:{x}", - NetworkPolicy(x, opts, metadata, spec)))] + NetworkPolicy(x, opts, **obj)))] if gvk == "networking.k8s.io/v1/NetworkPolicyList": return [identifier.apply( lambda x: (f"networking.k8s.io/v1/NetworkPolicyList:{x}", - NetworkPolicyList(x, opts, metadata, spec)))] + NetworkPolicyList(x, opts, **obj)))] if gvk == "networking.k8s.io/v1beta1/Ingress": return [identifier.apply( lambda x: (f"networking.k8s.io/v1beta1/Ingress:{x}", - Ingress(x, opts, metadata, spec)))] + Ingress(x, opts, **obj)))] if gvk == "networking.k8s.io/v1beta1/IngressList": return [identifier.apply( lambda x: (f"networking.k8s.io/v1beta1/IngressList:{x}", - IngressList(x, opts, metadata, spec)))] + IngressList(x, opts, **obj)))] if gvk == "node.k8s.io/v1alpha1/RuntimeClass": return [identifier.apply( lambda x: (f"node.k8s.io/v1alpha1/RuntimeClass:{x}", - RuntimeClass(x, opts, metadata, spec)))] + RuntimeClass(x, opts, **obj)))] if gvk == "node.k8s.io/v1alpha1/RuntimeClassList": return [identifier.apply( lambda x: (f"node.k8s.io/v1alpha1/RuntimeClassList:{x}", - RuntimeClassList(x, opts, metadata, spec)))] + RuntimeClassList(x, opts, **obj)))] if gvk == "node.k8s.io/v1beta1/RuntimeClass": return [identifier.apply( lambda x: (f"node.k8s.io/v1beta1/RuntimeClass:{x}", - RuntimeClass(x, opts, metadata, spec)))] + RuntimeClass(x, opts, **obj)))] if gvk == "node.k8s.io/v1beta1/RuntimeClassList": return [identifier.apply( lambda x: (f"node.k8s.io/v1beta1/RuntimeClassList:{x}", - RuntimeClassList(x, opts, metadata, spec)))] + RuntimeClassList(x, opts, **obj)))] if gvk == "policy/v1beta1/PodDisruptionBudget": return [identifier.apply( lambda x: (f"policy/v1beta1/PodDisruptionBudget:{x}", - PodDisruptionBudget(x, opts, metadata, spec)))] + PodDisruptionBudget(x, opts, **obj)))] if gvk == "policy/v1beta1/PodDisruptionBudgetList": return [identifier.apply( lambda x: (f"policy/v1beta1/PodDisruptionBudgetList:{x}", - PodDisruptionBudgetList(x, opts, metadata, spec)))] + PodDisruptionBudgetList(x, opts, **obj)))] if gvk == "policy/v1beta1/PodSecurityPolicy": return [identifier.apply( lambda x: (f"policy/v1beta1/PodSecurityPolicy:{x}", - PodSecurityPolicy(x, opts, metadata, spec)))] + PodSecurityPolicy(x, opts, **obj)))] if gvk == "policy/v1beta1/PodSecurityPolicyList": return [identifier.apply( lambda x: (f"policy/v1beta1/PodSecurityPolicyList:{x}", - PodSecurityPolicyList(x, opts, metadata, spec)))] + PodSecurityPolicyList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1/ClusterRole": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1/ClusterRole:{x}", - ClusterRole(x, opts, metadata, spec)))] + ClusterRole(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1/ClusterRoleBinding": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1/ClusterRoleBinding:{x}", - ClusterRoleBinding(x, opts, metadata, spec)))] + ClusterRoleBinding(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1/ClusterRoleBindingList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1/ClusterRoleBindingList:{x}", - ClusterRoleBindingList(x, opts, metadata, spec)))] + ClusterRoleBindingList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1/ClusterRoleList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1/ClusterRoleList:{x}", - ClusterRoleList(x, opts, metadata, spec)))] + ClusterRoleList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1/Role": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1/Role:{x}", - Role(x, opts, metadata, spec)))] + Role(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1/RoleBinding": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1/RoleBinding:{x}", - RoleBinding(x, opts, metadata, spec)))] + RoleBinding(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1/RoleBindingList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1/RoleBindingList:{x}", - RoleBindingList(x, opts, metadata, spec)))] + RoleBindingList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1/RoleList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1/RoleList:{x}", - RoleList(x, opts, metadata, spec)))] + RoleList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1alpha1/ClusterRole": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1alpha1/ClusterRole:{x}", - ClusterRole(x, opts, metadata, spec)))] + ClusterRole(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1alpha1/ClusterRoleBinding": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1alpha1/ClusterRoleBinding:{x}", - ClusterRoleBinding(x, opts, metadata, spec)))] + ClusterRoleBinding(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1alpha1/ClusterRoleBindingList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1alpha1/ClusterRoleBindingList:{x}", - ClusterRoleBindingList(x, opts, metadata, spec)))] + ClusterRoleBindingList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1alpha1/ClusterRoleList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1alpha1/ClusterRoleList:{x}", - ClusterRoleList(x, opts, metadata, spec)))] + ClusterRoleList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1alpha1/Role": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1alpha1/Role:{x}", - Role(x, opts, metadata, spec)))] + Role(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1alpha1/RoleBinding": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1alpha1/RoleBinding:{x}", - RoleBinding(x, opts, metadata, spec)))] + RoleBinding(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1alpha1/RoleBindingList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1alpha1/RoleBindingList:{x}", - RoleBindingList(x, opts, metadata, spec)))] + RoleBindingList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1alpha1/RoleList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1alpha1/RoleList:{x}", - RoleList(x, opts, metadata, spec)))] + RoleList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1beta1/ClusterRole": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1beta1/ClusterRole:{x}", - ClusterRole(x, opts, metadata, spec)))] + ClusterRole(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1beta1/ClusterRoleBinding": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1beta1/ClusterRoleBinding:{x}", - ClusterRoleBinding(x, opts, metadata, spec)))] + ClusterRoleBinding(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1beta1/ClusterRoleBindingList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1beta1/ClusterRoleBindingList:{x}", - ClusterRoleBindingList(x, opts, metadata, spec)))] + ClusterRoleBindingList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1beta1/ClusterRoleList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1beta1/ClusterRoleList:{x}", - ClusterRoleList(x, opts, metadata, spec)))] + ClusterRoleList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1beta1/Role": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1beta1/Role:{x}", - Role(x, opts, metadata, spec)))] + Role(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1beta1/RoleBinding": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1beta1/RoleBinding:{x}", - RoleBinding(x, opts, metadata, spec)))] + RoleBinding(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1beta1/RoleBindingList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1beta1/RoleBindingList:{x}", - RoleBindingList(x, opts, metadata, spec)))] + RoleBindingList(x, opts, **obj)))] if gvk == "rbac.authorization.k8s.io/v1beta1/RoleList": return [identifier.apply( lambda x: (f"rbac.authorization.k8s.io/v1beta1/RoleList:{x}", - RoleList(x, opts, metadata, spec)))] + RoleList(x, opts, **obj)))] if gvk == "scheduling.k8s.io/v1/PriorityClass": return [identifier.apply( lambda x: (f"scheduling.k8s.io/v1/PriorityClass:{x}", - PriorityClass(x, opts, metadata, spec)))] + PriorityClass(x, opts, **obj)))] if gvk == "scheduling.k8s.io/v1/PriorityClassList": return [identifier.apply( lambda x: (f"scheduling.k8s.io/v1/PriorityClassList:{x}", - PriorityClassList(x, opts, metadata, spec)))] + PriorityClassList(x, opts, **obj)))] if gvk == "scheduling.k8s.io/v1alpha1/PriorityClass": return [identifier.apply( lambda x: (f"scheduling.k8s.io/v1alpha1/PriorityClass:{x}", - PriorityClass(x, opts, metadata, spec)))] + PriorityClass(x, opts, **obj)))] if gvk == "scheduling.k8s.io/v1alpha1/PriorityClassList": return [identifier.apply( lambda x: (f"scheduling.k8s.io/v1alpha1/PriorityClassList:{x}", - PriorityClassList(x, opts, metadata, spec)))] + PriorityClassList(x, opts, **obj)))] if gvk == "scheduling.k8s.io/v1beta1/PriorityClass": return [identifier.apply( lambda x: (f"scheduling.k8s.io/v1beta1/PriorityClass:{x}", - PriorityClass(x, opts, metadata, spec)))] + PriorityClass(x, opts, **obj)))] if gvk == "scheduling.k8s.io/v1beta1/PriorityClassList": return [identifier.apply( lambda x: (f"scheduling.k8s.io/v1beta1/PriorityClassList:{x}", - PriorityClassList(x, opts, metadata, spec)))] + PriorityClassList(x, opts, **obj)))] if gvk == "settings.k8s.io/v1alpha1/PodPreset": return [identifier.apply( lambda x: (f"settings.k8s.io/v1alpha1/PodPreset:{x}", - PodPreset(x, opts, metadata, spec)))] + PodPreset(x, opts, **obj)))] if gvk == "settings.k8s.io/v1alpha1/PodPresetList": return [identifier.apply( lambda x: (f"settings.k8s.io/v1alpha1/PodPresetList:{x}", - PodPresetList(x, opts, metadata, spec)))] + PodPresetList(x, opts, **obj)))] if gvk == "storage.k8s.io/v1/StorageClass": return [identifier.apply( lambda x: (f"storage.k8s.io/v1/StorageClass:{x}", - StorageClass(x, opts, metadata, spec)))] + StorageClass(x, opts, **obj)))] if gvk == "storage.k8s.io/v1/StorageClassList": return [identifier.apply( lambda x: (f"storage.k8s.io/v1/StorageClassList:{x}", - StorageClassList(x, opts, metadata, spec)))] + StorageClassList(x, opts, **obj)))] if gvk == "storage.k8s.io/v1/VolumeAttachment": return [identifier.apply( lambda x: (f"storage.k8s.io/v1/VolumeAttachment:{x}", - VolumeAttachment(x, opts, metadata, spec)))] + VolumeAttachment(x, opts, **obj)))] if gvk == "storage.k8s.io/v1/VolumeAttachmentList": return [identifier.apply( lambda x: (f"storage.k8s.io/v1/VolumeAttachmentList:{x}", - VolumeAttachmentList(x, opts, metadata, spec)))] + VolumeAttachmentList(x, opts, **obj)))] if gvk == "storage.k8s.io/v1alpha1/VolumeAttachment": return [identifier.apply( lambda x: (f"storage.k8s.io/v1alpha1/VolumeAttachment:{x}", - VolumeAttachment(x, opts, metadata, spec)))] + VolumeAttachment(x, opts, **obj)))] if gvk == "storage.k8s.io/v1alpha1/VolumeAttachmentList": return [identifier.apply( lambda x: (f"storage.k8s.io/v1alpha1/VolumeAttachmentList:{x}", - VolumeAttachmentList(x, opts, metadata, spec)))] + VolumeAttachmentList(x, opts, **obj)))] if gvk == "storage.k8s.io/v1beta1/CSIDriver": return [identifier.apply( lambda x: (f"storage.k8s.io/v1beta1/CSIDriver:{x}", - CSIDriver(x, opts, metadata, spec)))] + CSIDriver(x, opts, **obj)))] if gvk == "storage.k8s.io/v1beta1/CSIDriverList": return [identifier.apply( lambda x: (f"storage.k8s.io/v1beta1/CSIDriverList:{x}", - CSIDriverList(x, opts, metadata, spec)))] + CSIDriverList(x, opts, **obj)))] if gvk == "storage.k8s.io/v1beta1/CSINode": return [identifier.apply( lambda x: (f"storage.k8s.io/v1beta1/CSINode:{x}", - CSINode(x, opts, metadata, spec)))] + CSINode(x, opts, **obj)))] if gvk == "storage.k8s.io/v1beta1/CSINodeList": return [identifier.apply( lambda x: (f"storage.k8s.io/v1beta1/CSINodeList:{x}", - CSINodeList(x, opts, metadata, spec)))] + CSINodeList(x, opts, **obj)))] if gvk == "storage.k8s.io/v1beta1/StorageClass": return [identifier.apply( lambda x: (f"storage.k8s.io/v1beta1/StorageClass:{x}", - StorageClass(x, opts, metadata, spec)))] + StorageClass(x, opts, **obj)))] if gvk == "storage.k8s.io/v1beta1/StorageClassList": return [identifier.apply( lambda x: (f"storage.k8s.io/v1beta1/StorageClassList:{x}", - StorageClassList(x, opts, metadata, spec)))] + StorageClassList(x, opts, **obj)))] if gvk == "storage.k8s.io/v1beta1/VolumeAttachment": return [identifier.apply( lambda x: (f"storage.k8s.io/v1beta1/VolumeAttachment:{x}", - VolumeAttachment(x, opts, metadata, spec)))] + VolumeAttachment(x, opts, **obj)))] if gvk == "storage.k8s.io/v1beta1/VolumeAttachmentList": return [identifier.apply( lambda x: (f"storage.k8s.io/v1beta1/VolumeAttachmentList:{x}", - VolumeAttachmentList(x, opts, metadata, spec)))] + VolumeAttachmentList(x, opts, **obj)))] return [identifier.apply( lambda x: (f"{gvk}:{x}", CustomResource(x, opts, api_version, kind, metadata, spec)))]