From fb548ed7f94179bc0ed3d0da5990fa090a8eff19 Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Tue, 10 Jul 2018 18:19:49 -0700 Subject: [PATCH 1/3] Update version constants for master branch Kubernetes 1.11 snapshot --- scripts/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index 64cd75caa8..6c0c18af71 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -15,10 +15,10 @@ import sys # Kubernetes branch to get the OpenAPI spec from. -KUBERNETES_BRANCH = "release-1.10" +KUBERNETES_BRANCH = "release-1.11" # client version for packaging and releasing. -CLIENT_VERSION = "6.0.0-snapshot" +CLIENT_VERSION = "7.0.0-snapshot" # Name of the release package PACKAGE_NAME = "kubernetes" From 5f81a65909618521109cc20e107ce5a245885846 Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Wed, 11 Jul 2018 13:28:22 -0700 Subject: [PATCH 2/3] Generated client change for Kubernetes 1.11 --- kubernetes/README.md | 38 +- kubernetes/__init__.py | 2 +- kubernetes/client/__init__.py | 21 +- kubernetes/client/api_client.py | 4 +- kubernetes/client/apis/__init__.py | 1 + .../client/apis/admissionregistration_api.py | 2 +- .../admissionregistration_v1alpha1_api.py | 2 +- .../apis/admissionregistration_v1beta1_api.py | 2 +- kubernetes/client/apis/apiextensions_api.py | 2 +- .../client/apis/apiextensions_v1beta1_api.py | 209 +- kubernetes/client/apis/apiregistration_api.py | 2 +- .../client/apis/apiregistration_v1_api.py | 209 +- .../apis/apiregistration_v1beta1_api.py | 209 +- kubernetes/client/apis/apis_api.py | 2 +- kubernetes/client/apis/apps_api.py | 2 +- kubernetes/client/apis/apps_v1_api.py | 2 +- kubernetes/client/apis/apps_v1beta1_api.py | 2 +- kubernetes/client/apis/apps_v1beta2_api.py | 2 +- kubernetes/client/apis/authentication_api.py | 2 +- .../client/apis/authentication_v1_api.py | 2 +- .../client/apis/authentication_v1beta1_api.py | 2 +- kubernetes/client/apis/authorization_api.py | 2 +- .../client/apis/authorization_v1_api.py | 2 +- .../client/apis/authorization_v1beta1_api.py | 2 +- kubernetes/client/apis/autoscaling_api.py | 2 +- kubernetes/client/apis/autoscaling_v1_api.py | 2 +- .../client/apis/autoscaling_v2beta1_api.py | 2 +- kubernetes/client/apis/batch_api.py | 2 +- kubernetes/client/apis/batch_v1_api.py | 2 +- kubernetes/client/apis/batch_v1beta1_api.py | 2 +- kubernetes/client/apis/batch_v2alpha1_api.py | 2 +- kubernetes/client/apis/certificates_api.py | 2 +- .../client/apis/certificates_v1beta1_api.py | 209 +- kubernetes/client/apis/core_api.py | 2 +- kubernetes/client/apis/core_v1_api.py | 2 +- kubernetes/client/apis/custom_objects_api.py | 2 +- kubernetes/client/apis/events_api.py | 2 +- kubernetes/client/apis/events_v1beta1_api.py | 2 +- kubernetes/client/apis/extensions_api.py | 2 +- .../client/apis/extensions_v1beta1_api.py | 2 +- kubernetes/client/apis/logs_api.py | 2 +- kubernetes/client/apis/networking_api.py | 2 +- kubernetes/client/apis/networking_v1_api.py | 2 +- kubernetes/client/apis/policy_api.py | 2 +- kubernetes/client/apis/policy_v1beta1_api.py | 2 +- .../client/apis/rbac_authorization_api.py | 2 +- .../client/apis/rbac_authorization_v1_api.py | 2 +- .../apis/rbac_authorization_v1alpha1_api.py | 2 +- .../apis/rbac_authorization_v1beta1_api.py | 2 +- kubernetes/client/apis/scheduling_api.py | 2 +- .../client/apis/scheduling_v1alpha1_api.py | 2 +- .../client/apis/scheduling_v1beta1_api.py | 915 +++++++ kubernetes/client/apis/settings_api.py | 2 +- .../client/apis/settings_v1alpha1_api.py | 2 +- kubernetes/client/apis/storage_api.py | 2 +- kubernetes/client/apis/storage_v1_api.py | 2 +- .../client/apis/storage_v1alpha1_api.py | 2 +- kubernetes/client/apis/storage_v1beta1_api.py | 2 +- kubernetes/client/apis/version_api.py | 2 +- kubernetes/client/configuration.py | 6 +- kubernetes/client/models/__init__.py | 20 +- ...nregistration_v1beta1_service_reference.py | 2 +- ...iregistration_v1beta1_service_reference.py | 2 +- .../client/models/apps_v1beta1_deployment.py | 2 +- .../apps_v1beta1_deployment_condition.py | 2 +- .../models/apps_v1beta1_deployment_list.py | 2 +- .../apps_v1beta1_deployment_rollback.py | 2 +- .../models/apps_v1beta1_deployment_spec.py | 2 +- .../models/apps_v1beta1_deployment_status.py | 2 +- .../apps_v1beta1_deployment_strategy.py | 2 +- .../models/apps_v1beta1_rollback_config.py | 2 +- .../apps_v1beta1_rolling_update_deployment.py | 10 +- .../client/models/apps_v1beta1_scale.py | 2 +- .../client/models/apps_v1beta1_scale_spec.py | 2 +- .../models/apps_v1beta1_scale_status.py | 2 +- .../extensions_v1beta1_allowed_flex_volume.py | 6 +- .../extensions_v1beta1_allowed_host_path.py | 40 +- .../models/extensions_v1beta1_deployment.py | 2 +- ...extensions_v1beta1_deployment_condition.py | 2 +- .../extensions_v1beta1_deployment_list.py | 2 +- .../extensions_v1beta1_deployment_rollback.py | 2 +- .../extensions_v1beta1_deployment_spec.py | 2 +- .../extensions_v1beta1_deployment_status.py | 2 +- .../extensions_v1beta1_deployment_strategy.py | 2 +- ...sions_v1beta1_fs_group_strategy_options.py | 10 +- .../extensions_v1beta1_host_port_range.py | 2 +- .../models/extensions_v1beta1_id_range.py | 10 +- .../extensions_v1beta1_pod_security_policy.py | 2 +- ...nsions_v1beta1_pod_security_policy_list.py | 6 +- ...nsions_v1beta1_pod_security_policy_spec.py | 104 +- .../extensions_v1beta1_rollback_config.py | 2 +- ...sions_v1beta1_rolling_update_deployment.py | 2 +- ...ns_v1beta1_run_as_user_strategy_options.py | 10 +- .../client/models/extensions_v1beta1_scale.py | 2 +- .../models/extensions_v1beta1_scale_spec.py | 2 +- .../models/extensions_v1beta1_scale_status.py | 2 +- ...sions_v1beta1_se_linux_strategy_options.py | 6 +- ...a1_supplemental_groups_strategy_options.py | 10 +- .../policy_v1beta1_allowed_flex_volume.py | 6 +- .../policy_v1beta1_allowed_host_path.py | 40 +- ...olicy_v1beta1_fs_group_strategy_options.py | 10 +- .../models/policy_v1beta1_host_port_range.py | 2 +- .../client/models/policy_v1beta1_id_range.py | 10 +- .../policy_v1beta1_pod_security_policy.py | 2 +- ...policy_v1beta1_pod_security_policy_list.py | 6 +- ...policy_v1beta1_pod_security_policy_spec.py | 104 +- ...cy_v1beta1_run_as_user_strategy_options.py | 10 +- ...olicy_v1beta1_se_linux_strategy_options.py | 6 +- ...a1_supplemental_groups_strategy_options.py | 10 +- .../client/models/runtime_raw_extension.py | 2 +- kubernetes/client/models/v1_affinity.py | 2 +- .../client/models/v1_aggregation_rule.py | 2 +- kubernetes/client/models/v1_api_group.py | 7 +- kubernetes/client/models/v1_api_group_list.py | 2 +- kubernetes/client/models/v1_api_resource.py | 2 +- .../client/models/v1_api_resource_list.py | 2 +- kubernetes/client/models/v1_api_service.py | 2 +- .../client/models/v1_api_service_condition.py | 2 +- .../client/models/v1_api_service_list.py | 2 +- .../client/models/v1_api_service_spec.py | 11 +- .../client/models/v1_api_service_status.py | 2 +- kubernetes/client/models/v1_api_versions.py | 2 +- .../client/models/v1_attached_volume.py | 2 +- ...1_aws_elastic_block_store_volume_source.py | 2 +- .../models/v1_azure_disk_volume_source.py | 2 +- .../v1_azure_file_persistent_volume_source.py | 2 +- .../models/v1_azure_file_volume_source.py | 2 +- kubernetes/client/models/v1_binding.py | 2 +- kubernetes/client/models/v1_capabilities.py | 2 +- .../v1_ceph_fs_persistent_volume_source.py | 2 +- .../client/models/v1_ceph_fs_volume_source.py | 2 +- .../v1_cinder_persistent_volume_source.py | 211 ++ .../client/models/v1_cinder_volume_source.py | 32 +- .../client/models/v1_client_ip_config.py | 2 +- kubernetes/client/models/v1_cluster_role.py | 2 +- .../client/models/v1_cluster_role_binding.py | 7 +- .../models/v1_cluster_role_binding_list.py | 2 +- .../client/models/v1_cluster_role_list.py | 2 +- .../client/models/v1_component_condition.py | 2 +- .../client/models/v1_component_status.py | 2 +- .../client/models/v1_component_status_list.py | 2 +- kubernetes/client/models/v1_config_map.py | 2 +- .../client/models/v1_config_map_env_source.py | 2 +- .../models/v1_config_map_key_selector.py | 2 +- .../client/models/v1_config_map_list.py | 2 +- .../v1_config_map_node_config_source.py | 241 ++ .../client/models/v1_config_map_projection.py | 2 +- .../models/v1_config_map_volume_source.py | 2 +- kubernetes/client/models/v1_container.py | 2 +- .../client/models/v1_container_image.py | 2 +- kubernetes/client/models/v1_container_port.py | 2 +- .../client/models/v1_container_state.py | 2 +- .../models/v1_container_state_running.py | 2 +- .../models/v1_container_state_terminated.py | 2 +- .../models/v1_container_state_waiting.py | 2 +- .../client/models/v1_container_status.py | 2 +- .../client/models/v1_controller_revision.py | 2 +- .../models/v1_controller_revision_list.py | 2 +- .../v1_cross_version_object_reference.py | 2 +- .../models/v1_csi_persistent_volume_source.py | 2 +- .../client/models/v1_daemon_endpoint.py | 2 +- kubernetes/client/models/v1_daemon_set.py | 2 +- .../client/models/v1_daemon_set_condition.py | 2 +- .../client/models/v1_daemon_set_list.py | 2 +- .../client/models/v1_daemon_set_spec.py | 2 +- .../client/models/v1_daemon_set_status.py | 2 +- .../models/v1_daemon_set_update_strategy.py | 2 +- kubernetes/client/models/v1_delete_options.py | 2 +- kubernetes/client/models/v1_deployment.py | 2 +- .../client/models/v1_deployment_condition.py | 2 +- .../client/models/v1_deployment_list.py | 2 +- .../client/models/v1_deployment_spec.py | 2 +- .../client/models/v1_deployment_status.py | 2 +- .../client/models/v1_deployment_strategy.py | 2 +- .../models/v1_downward_api_projection.py | 2 +- .../models/v1_downward_api_volume_file.py | 2 +- .../models/v1_downward_api_volume_source.py | 2 +- .../models/v1_empty_dir_volume_source.py | 2 +- .../client/models/v1_endpoint_address.py | 2 +- kubernetes/client/models/v1_endpoint_port.py | 2 +- .../client/models/v1_endpoint_subset.py | 2 +- kubernetes/client/models/v1_endpoints.py | 2 +- kubernetes/client/models/v1_endpoints_list.py | 2 +- .../client/models/v1_env_from_source.py | 2 +- kubernetes/client/models/v1_env_var.py | 2 +- kubernetes/client/models/v1_env_var_source.py | 2 +- kubernetes/client/models/v1_event.py | 2 +- kubernetes/client/models/v1_event_list.py | 2 +- kubernetes/client/models/v1_event_series.py | 2 +- kubernetes/client/models/v1_event_source.py | 2 +- kubernetes/client/models/v1_exec_action.py | 2 +- .../client/models/v1_fc_volume_source.py | 2 +- .../v1_flex_persistent_volume_source.py | 2 +- .../client/models/v1_flex_volume_source.py | 2 +- .../client/models/v1_flocker_volume_source.py | 2 +- .../v1_gce_persistent_disk_volume_source.py | 2 +- .../models/v1_git_repo_volume_source.py | 2 +- .../models/v1_glusterfs_volume_source.py | 2 +- .../models/v1_group_version_for_discovery.py | 2 +- kubernetes/client/models/v1_handler.py | 2 +- .../models/v1_horizontal_pod_autoscaler.py | 2 +- .../v1_horizontal_pod_autoscaler_list.py | 2 +- .../v1_horizontal_pod_autoscaler_spec.py | 2 +- .../v1_horizontal_pod_autoscaler_status.py | 2 +- kubernetes/client/models/v1_host_alias.py | 2 +- .../models/v1_host_path_volume_source.py | 2 +- .../client/models/v1_http_get_action.py | 2 +- kubernetes/client/models/v1_http_header.py | 2 +- kubernetes/client/models/v1_initializer.py | 2 +- kubernetes/client/models/v1_initializers.py | 2 +- kubernetes/client/models/v1_ip_block.py | 2 +- .../v1_iscsi_persistent_volume_source.py | 2 +- .../client/models/v1_iscsi_volume_source.py | 2 +- kubernetes/client/models/v1_job.py | 2 +- kubernetes/client/models/v1_job_condition.py | 2 +- kubernetes/client/models/v1_job_list.py | 2 +- kubernetes/client/models/v1_job_spec.py | 2 +- kubernetes/client/models/v1_job_status.py | 2 +- kubernetes/client/models/v1_key_to_path.py | 2 +- kubernetes/client/models/v1_label_selector.py | 2 +- .../models/v1_label_selector_requirement.py | 2 +- kubernetes/client/models/v1_lifecycle.py | 2 +- kubernetes/client/models/v1_limit_range.py | 2 +- .../client/models/v1_limit_range_item.py | 2 +- .../client/models/v1_limit_range_list.py | 2 +- .../client/models/v1_limit_range_spec.py | 2 +- kubernetes/client/models/v1_list_meta.py | 2 +- .../client/models/v1_load_balancer_ingress.py | 2 +- .../client/models/v1_load_balancer_status.py | 2 +- .../models/v1_local_object_reference.py | 2 +- .../models/v1_local_subject_access_review.py | 2 +- .../client/models/v1_local_volume_source.py | 6 +- kubernetes/client/models/v1_namespace.py | 2 +- kubernetes/client/models/v1_namespace_list.py | 2 +- kubernetes/client/models/v1_namespace_spec.py | 2 +- .../client/models/v1_namespace_status.py | 2 +- kubernetes/client/models/v1_network_policy.py | 2 +- .../models/v1_network_policy_egress_rule.py | 2 +- .../models/v1_network_policy_ingress_rule.py | 2 +- .../client/models/v1_network_policy_list.py | 2 +- .../client/models/v1_network_policy_peer.py | 14 +- .../client/models/v1_network_policy_port.py | 2 +- .../client/models/v1_network_policy_spec.py | 2 +- .../client/models/v1_nfs_volume_source.py | 2 +- kubernetes/client/models/v1_node.py | 2 +- kubernetes/client/models/v1_node_address.py | 2 +- kubernetes/client/models/v1_node_affinity.py | 2 +- kubernetes/client/models/v1_node_condition.py | 2 +- .../client/models/v1_node_config_source.py | 94 +- .../client/models/v1_node_config_status.py | 210 ++ .../client/models/v1_node_daemon_endpoints.py | 2 +- kubernetes/client/models/v1_node_list.py | 2 +- kubernetes/client/models/v1_node_selector.py | 2 +- .../models/v1_node_selector_requirement.py | 2 +- .../client/models/v1_node_selector_term.py | 45 +- kubernetes/client/models/v1_node_spec.py | 6 +- kubernetes/client/models/v1_node_status.py | 32 +- .../client/models/v1_node_system_info.py | 2 +- .../models/v1_non_resource_attributes.py | 2 +- .../client/models/v1_non_resource_rule.py | 2 +- .../client/models/v1_object_field_selector.py | 2 +- kubernetes/client/models/v1_object_meta.py | 2 +- .../client/models/v1_object_reference.py | 2 +- .../client/models/v1_owner_reference.py | 2 +- .../client/models/v1_persistent_volume.py | 2 +- .../models/v1_persistent_volume_claim.py | 2 +- .../v1_persistent_volume_claim_condition.py | 2 +- .../models/v1_persistent_volume_claim_list.py | 2 +- .../models/v1_persistent_volume_claim_spec.py | 2 +- .../v1_persistent_volume_claim_status.py | 2 +- ...1_persistent_volume_claim_volume_source.py | 2 +- .../models/v1_persistent_volume_list.py | 2 +- .../models/v1_persistent_volume_spec.py | 8 +- .../models/v1_persistent_volume_status.py | 2 +- ...v1_photon_persistent_disk_volume_source.py | 2 +- kubernetes/client/models/v1_pod.py | 2 +- kubernetes/client/models/v1_pod_affinity.py | 2 +- .../client/models/v1_pod_affinity_term.py | 2 +- .../client/models/v1_pod_anti_affinity.py | 2 +- kubernetes/client/models/v1_pod_condition.py | 6 +- kubernetes/client/models/v1_pod_dns_config.py | 2 +- .../client/models/v1_pod_dns_config_option.py | 2 +- kubernetes/client/models/v1_pod_list.py | 2 +- ...beta1_json.py => v1_pod_readiness_gate.py} | 44 +- .../client/models/v1_pod_security_context.py | 36 +- kubernetes/client/models/v1_pod_spec.py | 32 +- kubernetes/client/models/v1_pod_status.py | 6 +- kubernetes/client/models/v1_pod_template.py | 2 +- .../client/models/v1_pod_template_list.py | 2 +- .../client/models/v1_pod_template_spec.py | 2 +- kubernetes/client/models/v1_policy_rule.py | 2 +- .../models/v1_portworx_volume_source.py | 2 +- kubernetes/client/models/v1_preconditions.py | 2 +- .../models/v1_preferred_scheduling_term.py | 2 +- kubernetes/client/models/v1_probe.py | 2 +- .../models/v1_projected_volume_source.py | 2 +- .../client/models/v1_quobyte_volume_source.py | 2 +- .../models/v1_rbd_persistent_volume_source.py | 2 +- .../client/models/v1_rbd_volume_source.py | 2 +- kubernetes/client/models/v1_replica_set.py | 2 +- .../client/models/v1_replica_set_condition.py | 2 +- .../client/models/v1_replica_set_list.py | 2 +- .../client/models/v1_replica_set_spec.py | 2 +- .../client/models/v1_replica_set_status.py | 2 +- .../models/v1_replication_controller.py | 2 +- .../v1_replication_controller_condition.py | 2 +- .../models/v1_replication_controller_list.py | 2 +- .../models/v1_replication_controller_spec.py | 2 +- .../v1_replication_controller_status.py | 2 +- .../client/models/v1_resource_attributes.py | 2 +- .../models/v1_resource_field_selector.py | 2 +- kubernetes/client/models/v1_resource_quota.py | 2 +- .../client/models/v1_resource_quota_list.py | 2 +- .../client/models/v1_resource_quota_spec.py | 36 +- .../client/models/v1_resource_quota_status.py | 2 +- .../client/models/v1_resource_requirements.py | 2 +- kubernetes/client/models/v1_resource_rule.py | 2 +- kubernetes/client/models/v1_role.py | 2 +- kubernetes/client/models/v1_role_binding.py | 7 +- .../client/models/v1_role_binding_list.py | 2 +- kubernetes/client/models/v1_role_list.py | 2 +- kubernetes/client/models/v1_role_ref.py | 2 +- .../models/v1_rolling_update_daemon_set.py | 2 +- .../models/v1_rolling_update_deployment.py | 10 +- ...v1_rolling_update_stateful_set_strategy.py | 2 +- kubernetes/client/models/v1_scale.py | 2 +- .../v1_scale_io_persistent_volume_source.py | 2 +- .../models/v1_scale_io_volume_source.py | 2 +- kubernetes/client/models/v1_scale_spec.py | 2 +- kubernetes/client/models/v1_scale_status.py | 2 +- kubernetes/client/models/v1_scope_selector.py | 126 + ...v1_scoped_resource_selector_requirement.py | 184 ++ .../client/models/v1_se_linux_options.py | 2 +- kubernetes/client/models/v1_secret.py | 2 +- .../client/models/v1_secret_env_source.py | 2 +- .../client/models/v1_secret_key_selector.py | 2 +- kubernetes/client/models/v1_secret_list.py | 2 +- .../client/models/v1_secret_projection.py | 2 +- .../client/models/v1_secret_reference.py | 2 +- .../client/models/v1_secret_volume_source.py | 2 +- .../client/models/v1_security_context.py | 2 +- .../models/v1_self_subject_access_review.py | 2 +- .../v1_self_subject_access_review_spec.py | 2 +- .../models/v1_self_subject_rules_review.py | 2 +- .../v1_self_subject_rules_review_spec.py | 2 +- .../v1_server_address_by_client_cidr.py | 2 +- kubernetes/client/models/v1_service.py | 2 +- .../client/models/v1_service_account.py | 2 +- .../client/models/v1_service_account_list.py | 2 +- .../v1_service_account_token_projection.py | 183 ++ kubernetes/client/models/v1_service_list.py | 2 +- kubernetes/client/models/v1_service_port.py | 2 +- .../client/models/v1_service_reference.py | 2 +- kubernetes/client/models/v1_service_spec.py | 6 +- kubernetes/client/models/v1_service_status.py | 2 +- .../models/v1_session_affinity_config.py | 2 +- kubernetes/client/models/v1_stateful_set.py | 2 +- .../models/v1_stateful_set_condition.py | 2 +- .../client/models/v1_stateful_set_list.py | 2 +- .../client/models/v1_stateful_set_spec.py | 2 +- .../client/models/v1_stateful_set_status.py | 2 +- .../models/v1_stateful_set_update_strategy.py | 2 +- kubernetes/client/models/v1_status.py | 2 +- kubernetes/client/models/v1_status_cause.py | 2 +- kubernetes/client/models/v1_status_details.py | 2 +- kubernetes/client/models/v1_storage_class.py | 32 +- .../client/models/v1_storage_class_list.py | 2 +- .../v1_storage_os_persistent_volume_source.py | 2 +- .../models/v1_storage_os_volume_source.py | 2 +- kubernetes/client/models/v1_subject.py | 2 +- .../client/models/v1_subject_access_review.py | 2 +- .../models/v1_subject_access_review_spec.py | 2 +- .../models/v1_subject_access_review_status.py | 2 +- .../models/v1_subject_rules_review_status.py | 2 +- ...n_schema_props_or_bool.py => v1_sysctl.py} | 82 +- kubernetes/client/models/v1_taint.py | 2 +- .../client/models/v1_tcp_socket_action.py | 2 +- kubernetes/client/models/v1_token_review.py | 2 +- .../client/models/v1_token_review_spec.py | 2 +- .../client/models/v1_token_review_status.py | 2 +- kubernetes/client/models/v1_toleration.py | 2 +- ...v1_topology_selector_label_requirement.py} | 82 +- ..._array.py => v1_topology_selector_term.py} | 72 +- kubernetes/client/models/v1_user_info.py | 2 +- kubernetes/client/models/v1_volume.py | 6 +- kubernetes/client/models/v1_volume_device.py | 2 +- kubernetes/client/models/v1_volume_mount.py | 6 +- .../client/models/v1_volume_node_affinity.py | 2 +- .../client/models/v1_volume_projection.py | 36 +- .../v1_vsphere_virtual_disk_volume_source.py | 2 +- kubernetes/client/models/v1_watch_event.py | 2 +- .../models/v1_weighted_pod_affinity_term.py | 2 +- .../models/v1alpha1_aggregation_rule.py | 2 +- .../client/models/v1alpha1_cluster_role.py | 2 +- .../models/v1alpha1_cluster_role_binding.py | 7 +- .../v1alpha1_cluster_role_binding_list.py | 2 +- .../models/v1alpha1_cluster_role_list.py | 2 +- .../client/models/v1alpha1_initializer.py | 2 +- .../v1alpha1_initializer_configuration.py | 2 +- ...v1alpha1_initializer_configuration_list.py | 2 +- .../client/models/v1alpha1_pod_preset.py | 2 +- .../client/models/v1alpha1_pod_preset_list.py | 2 +- .../client/models/v1alpha1_pod_preset_spec.py | 2 +- .../client/models/v1alpha1_policy_rule.py | 2 +- .../client/models/v1alpha1_priority_class.py | 2 +- .../models/v1alpha1_priority_class_list.py | 2 +- kubernetes/client/models/v1alpha1_role.py | 2 +- .../client/models/v1alpha1_role_binding.py | 7 +- .../models/v1alpha1_role_binding_list.py | 2 +- .../client/models/v1alpha1_role_list.py | 2 +- kubernetes/client/models/v1alpha1_role_ref.py | 2 +- kubernetes/client/models/v1alpha1_rule.py | 2 +- kubernetes/client/models/v1alpha1_subject.py | 2 +- .../models/v1alpha1_volume_attachment.py | 2 +- .../models/v1alpha1_volume_attachment_list.py | 2 +- .../v1alpha1_volume_attachment_source.py | 2 +- .../models/v1alpha1_volume_attachment_spec.py | 2 +- .../v1alpha1_volume_attachment_status.py | 2 +- .../client/models/v1alpha1_volume_error.py | 2 +- .../client/models/v1beta1_aggregation_rule.py | 2 +- .../client/models/v1beta1_api_service.py | 2 +- .../models/v1beta1_api_service_condition.py | 2 +- .../client/models/v1beta1_api_service_list.py | 2 +- .../client/models/v1beta1_api_service_spec.py | 11 +- .../models/v1beta1_api_service_status.py | 2 +- .../v1beta1_certificate_signing_request.py | 2 +- ...1_certificate_signing_request_condition.py | 2 +- ...1beta1_certificate_signing_request_list.py | 2 +- ...1beta1_certificate_signing_request_spec.py | 2 +- ...eta1_certificate_signing_request_status.py | 2 +- .../client/models/v1beta1_cluster_role.py | 2 +- .../models/v1beta1_cluster_role_binding.py | 7 +- .../v1beta1_cluster_role_binding_list.py | 2 +- .../models/v1beta1_cluster_role_list.py | 2 +- .../models/v1beta1_controller_revision.py | 2 +- .../v1beta1_controller_revision_list.py | 2 +- kubernetes/client/models/v1beta1_cron_job.py | 2 +- .../client/models/v1beta1_cron_job_list.py | 2 +- .../client/models/v1beta1_cron_job_spec.py | 2 +- .../client/models/v1beta1_cron_job_status.py | 2 +- ...beta1_custom_resource_column_definition.py | 269 ++ .../v1beta1_custom_resource_definition.py | 2 +- ...a1_custom_resource_definition_condition.py | 2 +- ...v1beta1_custom_resource_definition_list.py | 2 +- ...1beta1_custom_resource_definition_names.py | 2 +- ...v1beta1_custom_resource_definition_spec.py | 77 +- ...beta1_custom_resource_definition_status.py | 37 +- ...eta1_custom_resource_definition_version.py | 185 ++ ...beta1_custom_resource_subresource_scale.py | 2 +- .../v1beta1_custom_resource_subresources.py | 2 +- .../v1beta1_custom_resource_validation.py | 2 +- .../client/models/v1beta1_daemon_set.py | 2 +- .../models/v1beta1_daemon_set_condition.py | 2 +- .../client/models/v1beta1_daemon_set_list.py | 2 +- .../client/models/v1beta1_daemon_set_spec.py | 2 +- .../models/v1beta1_daemon_set_status.py | 2 +- .../v1beta1_daemon_set_update_strategy.py | 2 +- kubernetes/client/models/v1beta1_event.py | 2 +- .../client/models/v1beta1_event_list.py | 2 +- .../client/models/v1beta1_event_series.py | 2 +- kubernetes/client/models/v1beta1_eviction.py | 2 +- .../models/v1beta1_external_documentation.py | 2 +- .../models/v1beta1_http_ingress_path.py | 2 +- .../models/v1beta1_http_ingress_rule_value.py | 2 +- kubernetes/client/models/v1beta1_ingress.py | 2 +- .../client/models/v1beta1_ingress_backend.py | 2 +- .../client/models/v1beta1_ingress_list.py | 2 +- .../client/models/v1beta1_ingress_rule.py | 2 +- .../client/models/v1beta1_ingress_spec.py | 2 +- .../client/models/v1beta1_ingress_status.py | 2 +- .../client/models/v1beta1_ingress_tls.py | 2 +- kubernetes/client/models/v1beta1_ip_block.py | 2 +- .../models/v1beta1_job_template_spec.py | 2 +- .../models/v1beta1_json_schema_props.py | 54 +- .../v1beta1_local_subject_access_review.py | 2 +- .../v1beta1_mutating_webhook_configuration.py | 2 +- ...ta1_mutating_webhook_configuration_list.py | 2 +- .../client/models/v1beta1_network_policy.py | 2 +- .../v1beta1_network_policy_egress_rule.py | 2 +- .../v1beta1_network_policy_ingress_rule.py | 2 +- .../models/v1beta1_network_policy_list.py | 2 +- .../models/v1beta1_network_policy_peer.py | 14 +- .../models/v1beta1_network_policy_port.py | 2 +- .../models/v1beta1_network_policy_spec.py | 2 +- .../models/v1beta1_non_resource_attributes.py | 2 +- .../models/v1beta1_non_resource_rule.py | 2 +- .../models/v1beta1_pod_disruption_budget.py | 2 +- .../v1beta1_pod_disruption_budget_list.py | 2 +- .../v1beta1_pod_disruption_budget_spec.py | 2 +- .../v1beta1_pod_disruption_budget_status.py | 2 +- .../client/models/v1beta1_policy_rule.py | 2 +- .../client/models/v1beta1_priority_class.py | 267 ++ .../models/v1beta1_priority_class_list.py | 211 ++ .../client/models/v1beta1_replica_set.py | 2 +- .../models/v1beta1_replica_set_condition.py | 2 +- .../client/models/v1beta1_replica_set_list.py | 2 +- .../client/models/v1beta1_replica_set_spec.py | 2 +- .../models/v1beta1_replica_set_status.py | 2 +- .../models/v1beta1_resource_attributes.py | 2 +- .../client/models/v1beta1_resource_rule.py | 2 +- kubernetes/client/models/v1beta1_role.py | 2 +- .../client/models/v1beta1_role_binding.py | 7 +- .../models/v1beta1_role_binding_list.py | 2 +- kubernetes/client/models/v1beta1_role_list.py | 2 +- kubernetes/client/models/v1beta1_role_ref.py | 2 +- .../v1beta1_rolling_update_daemon_set.py | 2 +- ...a1_rolling_update_stateful_set_strategy.py | 2 +- .../models/v1beta1_rule_with_operations.py | 2 +- .../v1beta1_self_subject_access_review.py | 2 +- ...v1beta1_self_subject_access_review_spec.py | 2 +- .../v1beta1_self_subject_rules_review.py | 2 +- .../v1beta1_self_subject_rules_review_spec.py | 2 +- .../client/models/v1beta1_stateful_set.py | 2 +- .../models/v1beta1_stateful_set_condition.py | 2 +- .../models/v1beta1_stateful_set_list.py | 2 +- .../models/v1beta1_stateful_set_spec.py | 2 +- .../models/v1beta1_stateful_set_status.py | 2 +- .../v1beta1_stateful_set_update_strategy.py | 2 +- .../client/models/v1beta1_storage_class.py | 32 +- .../models/v1beta1_storage_class_list.py | 2 +- kubernetes/client/models/v1beta1_subject.py | 2 +- .../models/v1beta1_subject_access_review.py | 2 +- .../v1beta1_subject_access_review_spec.py | 2 +- .../v1beta1_subject_access_review_status.py | 2 +- .../v1beta1_subject_rules_review_status.py | 2 +- .../client/models/v1beta1_token_review.py | 2 +- .../models/v1beta1_token_review_spec.py | 2 +- .../models/v1beta1_token_review_status.py | 2 +- kubernetes/client/models/v1beta1_user_info.py | 2 +- ...1beta1_validating_webhook_configuration.py | 2 +- ...1_validating_webhook_configuration_list.py | 2 +- .../models/v1beta1_volume_attachment.py | 2 +- .../models/v1beta1_volume_attachment_list.py | 2 +- .../v1beta1_volume_attachment_source.py | 2 +- .../models/v1beta1_volume_attachment_spec.py | 2 +- .../v1beta1_volume_attachment_status.py | 2 +- .../client/models/v1beta1_volume_error.py | 2 +- kubernetes/client/models/v1beta1_webhook.py | 2 +- .../models/v1beta1_webhook_client_config.py | 6 +- .../models/v1beta2_controller_revision.py | 2 +- .../v1beta2_controller_revision_list.py | 2 +- .../client/models/v1beta2_daemon_set.py | 2 +- .../models/v1beta2_daemon_set_condition.py | 2 +- .../client/models/v1beta2_daemon_set_list.py | 2 +- .../client/models/v1beta2_daemon_set_spec.py | 2 +- .../models/v1beta2_daemon_set_status.py | 2 +- .../v1beta2_daemon_set_update_strategy.py | 2 +- .../client/models/v1beta2_deployment.py | 2 +- .../models/v1beta2_deployment_condition.py | 2 +- .../client/models/v1beta2_deployment_list.py | 2 +- .../client/models/v1beta2_deployment_spec.py | 2 +- .../models/v1beta2_deployment_status.py | 2 +- .../models/v1beta2_deployment_strategy.py | 2 +- .../client/models/v1beta2_replica_set.py | 2 +- .../models/v1beta2_replica_set_condition.py | 2 +- .../client/models/v1beta2_replica_set_list.py | 2 +- .../client/models/v1beta2_replica_set_spec.py | 2 +- .../models/v1beta2_replica_set_status.py | 2 +- .../v1beta2_rolling_update_daemon_set.py | 2 +- .../v1beta2_rolling_update_deployment.py | 10 +- ...a2_rolling_update_stateful_set_strategy.py | 2 +- kubernetes/client/models/v1beta2_scale.py | 2 +- .../client/models/v1beta2_scale_spec.py | 2 +- .../client/models/v1beta2_scale_status.py | 2 +- .../client/models/v1beta2_stateful_set.py | 2 +- .../models/v1beta2_stateful_set_condition.py | 2 +- .../models/v1beta2_stateful_set_list.py | 2 +- .../models/v1beta2_stateful_set_spec.py | 2 +- .../models/v1beta2_stateful_set_status.py | 2 +- .../v1beta2_stateful_set_update_strategy.py | 2 +- kubernetes/client/models/v2alpha1_cron_job.py | 2 +- .../client/models/v2alpha1_cron_job_list.py | 2 +- .../client/models/v2alpha1_cron_job_spec.py | 2 +- .../client/models/v2alpha1_cron_job_status.py | 2 +- .../models/v2alpha1_job_template_spec.py | 2 +- .../v2beta1_cross_version_object_reference.py | 2 +- .../models/v2beta1_external_metric_source.py | 2 +- .../models/v2beta1_external_metric_status.py | 2 +- .../v2beta1_horizontal_pod_autoscaler.py | 2 +- ...ta1_horizontal_pod_autoscaler_condition.py | 2 +- .../v2beta1_horizontal_pod_autoscaler_list.py | 2 +- .../v2beta1_horizontal_pod_autoscaler_spec.py | 2 +- ...2beta1_horizontal_pod_autoscaler_status.py | 2 +- .../client/models/v2beta1_metric_spec.py | 2 +- .../client/models/v2beta1_metric_status.py | 2 +- .../models/v2beta1_object_metric_source.py | 2 +- .../models/v2beta1_object_metric_status.py | 2 +- .../models/v2beta1_pods_metric_source.py | 2 +- .../models/v2beta1_pods_metric_status.py | 2 +- .../models/v2beta1_resource_metric_source.py | 2 +- .../models/v2beta1_resource_metric_status.py | 2 +- kubernetes/client/models/version_info.py | 2 +- kubernetes/client/rest.py | 2 +- kubernetes/docs/ApiextensionsV1beta1Api.md | 114 + kubernetes/docs/ApiregistrationV1Api.md | 114 + kubernetes/docs/ApiregistrationV1beta1Api.md | 114 + .../AppsV1beta1RollingUpdateDeployment.md | 4 +- kubernetes/docs/CertificatesV1beta1Api.md | 114 + .../ExtensionsV1beta1AllowedFlexVolume.md | 2 +- .../docs/ExtensionsV1beta1AllowedHostPath.md | 3 +- ...ExtensionsV1beta1FSGroupStrategyOptions.md | 4 +- kubernetes/docs/ExtensionsV1beta1IDRange.md | 4 +- .../ExtensionsV1beta1PodSecurityPolicyList.md | 2 +- .../ExtensionsV1beta1PodSecurityPolicySpec.md | 24 +- ...tensionsV1beta1RunAsUserStrategyOptions.md | 4 +- ...ExtensionsV1beta1SELinuxStrategyOptions.md | 2 +- ...1beta1SupplementalGroupsStrategyOptions.md | 4 +- .../docs/PolicyV1beta1AllowedFlexVolume.md | 2 +- .../docs/PolicyV1beta1AllowedHostPath.md | 3 +- .../PolicyV1beta1FSGroupStrategyOptions.md | 4 +- kubernetes/docs/PolicyV1beta1IDRange.md | 4 +- .../PolicyV1beta1PodSecurityPolicyList.md | 2 +- .../PolicyV1beta1PodSecurityPolicySpec.md | 24 +- .../PolicyV1beta1RunAsUserStrategyOptions.md | 4 +- .../PolicyV1beta1SELinuxStrategyOptions.md | 2 +- ...1beta1SupplementalGroupsStrategyOptions.md | 4 +- kubernetes/docs/SchedulingV1beta1Api.md | 494 ++++ kubernetes/docs/V1APIGroup.md | 2 +- kubernetes/docs/V1APIServiceSpec.md | 4 +- .../docs/V1CinderPersistentVolumeSource.md | 13 + kubernetes/docs/V1CinderVolumeSource.md | 1 + kubernetes/docs/V1ClusterRoleBinding.md | 2 +- .../docs/V1ConfigMapNodeConfigSource.md | 14 + kubernetes/docs/V1LocalVolumeSource.md | 2 +- kubernetes/docs/V1NetworkPolicyPeer.md | 6 +- kubernetes/docs/V1NodeConfigSource.md | 4 +- kubernetes/docs/V1NodeConfigStatus.md | 13 + kubernetes/docs/V1NodeSelectorTerm.md | 3 +- kubernetes/docs/V1NodeSpec.md | 2 +- kubernetes/docs/V1NodeStatus.md | 1 + kubernetes/docs/V1PersistentVolumeSpec.md | 2 +- kubernetes/docs/V1PodCondition.md | 2 +- ...maPropsOrBool.md => V1PodReadinessGate.md} | 5 +- kubernetes/docs/V1PodSecurityContext.md | 1 + kubernetes/docs/V1PodSpec.md | 1 + kubernetes/docs/V1PodStatus.md | 2 +- kubernetes/docs/V1ResourceQuotaSpec.md | 3 +- kubernetes/docs/V1RoleBinding.md | 2 +- kubernetes/docs/V1RollingUpdateDeployment.md | 4 +- ...opsOrStringArray.md => V1ScopeSelector.md} | 5 +- .../V1ScopedResourceSelectorRequirement.md | 12 + .../docs/V1ServiceAccountTokenProjection.md | 12 + kubernetes/docs/V1ServiceSpec.md | 2 +- kubernetes/docs/V1StorageClass.md | 1 + .../docs/{V1beta1JSON.md => V1Sysctl.md} | 5 +- .../V1TopologySelectorLabelRequirement.md | 11 + ...psOrArray.md => V1TopologySelectorTerm.md} | 5 +- kubernetes/docs/V1Volume.md | 2 +- kubernetes/docs/V1VolumeMount.md | 2 +- kubernetes/docs/V1VolumeProjection.md | 1 + kubernetes/docs/V1alpha1ClusterRoleBinding.md | 2 +- kubernetes/docs/V1alpha1RoleBinding.md | 2 +- kubernetes/docs/V1beta1APIServiceSpec.md | 4 +- kubernetes/docs/V1beta1ClusterRoleBinding.md | 2 +- .../V1beta1CustomResourceColumnDefinition.md | 15 + .../V1beta1CustomResourceDefinitionSpec.md | 6 +- .../V1beta1CustomResourceDefinitionStatus.md | 1 + .../V1beta1CustomResourceDefinitionVersion.md | 12 + kubernetes/docs/V1beta1JSONSchemaProps.md | 14 +- kubernetes/docs/V1beta1NetworkPolicyPeer.md | 6 +- kubernetes/docs/V1beta1PriorityClass.md | 15 + kubernetes/docs/V1beta1PriorityClassList.md | 13 + kubernetes/docs/V1beta1RoleBinding.md | 2 +- kubernetes/docs/V1beta1StorageClass.md | 1 + kubernetes/docs/V1beta1WebhookClientConfig.md | 2 +- .../docs/V1beta2RollingUpdateDeployment.md | 4 +- kubernetes/swagger.json.unprocessed | 2109 ++++++++++++-- .../test/test_admissionregistration_api.py | 2 +- ...test_admissionregistration_v1alpha1_api.py | 2 +- .../test_admissionregistration_v1beta1_api.py | 2 +- ...nregistration_v1beta1_service_reference.py | 2 +- kubernetes/test/test_apiextensions_api.py | 2 +- .../test/test_apiextensions_v1beta1_api.py | 18 +- kubernetes/test/test_apiregistration_api.py | 2 +- .../test/test_apiregistration_v1_api.py | 18 +- .../test/test_apiregistration_v1beta1_api.py | 18 +- ...iregistration_v1beta1_service_reference.py | 2 +- kubernetes/test/test_apis_api.py | 2 +- kubernetes/test/test_apps_api.py | 2 +- kubernetes/test/test_apps_v1_api.py | 2 +- kubernetes/test/test_apps_v1beta1_api.py | 2 +- .../test/test_apps_v1beta1_deployment.py | 2 +- .../test_apps_v1beta1_deployment_condition.py | 2 +- .../test/test_apps_v1beta1_deployment_list.py | 2 +- .../test_apps_v1beta1_deployment_rollback.py | 2 +- .../test/test_apps_v1beta1_deployment_spec.py | 2 +- .../test_apps_v1beta1_deployment_status.py | 2 +- .../test_apps_v1beta1_deployment_strategy.py | 2 +- .../test/test_apps_v1beta1_rollback_config.py | 2 +- ..._apps_v1beta1_rolling_update_deployment.py | 2 +- kubernetes/test/test_apps_v1beta1_scale.py | 2 +- .../test/test_apps_v1beta1_scale_spec.py | 2 +- .../test/test_apps_v1beta1_scale_status.py | 2 +- kubernetes/test/test_apps_v1beta2_api.py | 2 +- kubernetes/test/test_authentication_api.py | 2 +- kubernetes/test/test_authentication_v1_api.py | 2 +- .../test/test_authentication_v1beta1_api.py | 2 +- kubernetes/test/test_authorization_api.py | 2 +- kubernetes/test/test_authorization_v1_api.py | 2 +- .../test/test_authorization_v1beta1_api.py | 2 +- kubernetes/test/test_autoscaling_api.py | 2 +- kubernetes/test/test_autoscaling_v1_api.py | 2 +- .../test/test_autoscaling_v2beta1_api.py | 2 +- kubernetes/test/test_batch_api.py | 2 +- kubernetes/test/test_batch_v1_api.py | 2 +- kubernetes/test/test_batch_v1beta1_api.py | 2 +- kubernetes/test/test_batch_v2alpha1_api.py | 2 +- kubernetes/test/test_certificates_api.py | 2 +- .../test/test_certificates_v1beta1_api.py | 18 +- kubernetes/test/test_core_api.py | 2 +- kubernetes/test/test_core_v1_api.py | 2 +- kubernetes/test/test_custom_objects_api.py | 2 +- kubernetes/test/test_events_api.py | 2 +- kubernetes/test/test_events_v1beta1_api.py | 2 +- kubernetes/test/test_extensions_api.py | 2 +- ..._extensions_v1beta1_allowed_flex_volume.py | 2 +- ...st_extensions_v1beta1_allowed_host_path.py | 2 +- .../test/test_extensions_v1beta1_api.py | 2 +- .../test_extensions_v1beta1_deployment.py | 2 +- ...extensions_v1beta1_deployment_condition.py | 2 +- ...test_extensions_v1beta1_deployment_list.py | 2 +- ..._extensions_v1beta1_deployment_rollback.py | 2 +- ...test_extensions_v1beta1_deployment_spec.py | 2 +- ...st_extensions_v1beta1_deployment_status.py | 2 +- ..._extensions_v1beta1_deployment_strategy.py | 2 +- ...sions_v1beta1_fs_group_strategy_options.py | 2 +- ...test_extensions_v1beta1_host_port_range.py | 2 +- .../test/test_extensions_v1beta1_id_range.py | 2 +- ..._extensions_v1beta1_pod_security_policy.py | 2 +- ...nsions_v1beta1_pod_security_policy_list.py | 2 +- ...nsions_v1beta1_pod_security_policy_spec.py | 2 +- ...test_extensions_v1beta1_rollback_config.py | 2 +- ...sions_v1beta1_rolling_update_deployment.py | 2 +- ...ns_v1beta1_run_as_user_strategy_options.py | 2 +- .../test/test_extensions_v1beta1_scale.py | 2 +- .../test_extensions_v1beta1_scale_spec.py | 2 +- .../test_extensions_v1beta1_scale_status.py | 2 +- ...sions_v1beta1_se_linux_strategy_options.py | 2 +- ...a1_supplemental_groups_strategy_options.py | 2 +- kubernetes/test/test_logs_api.py | 2 +- kubernetes/test/test_networking_api.py | 2 +- kubernetes/test/test_networking_v1_api.py | 2 +- kubernetes/test/test_policy_api.py | 2 +- ...test_policy_v1beta1_allowed_flex_volume.py | 2 +- .../test_policy_v1beta1_allowed_host_path.py | 2 +- kubernetes/test/test_policy_v1beta1_api.py | 2 +- ...olicy_v1beta1_fs_group_strategy_options.py | 2 +- .../test_policy_v1beta1_host_port_range.py | 2 +- .../test/test_policy_v1beta1_id_range.py | 2 +- ...test_policy_v1beta1_pod_security_policy.py | 2 +- ...policy_v1beta1_pod_security_policy_list.py | 2 +- ...policy_v1beta1_pod_security_policy_spec.py | 2 +- ...cy_v1beta1_run_as_user_strategy_options.py | 2 +- ...olicy_v1beta1_se_linux_strategy_options.py | 2 +- ...a1_supplemental_groups_strategy_options.py | 2 +- .../test/test_rbac_authorization_api.py | 2 +- .../test/test_rbac_authorization_v1_api.py | 2 +- .../test_rbac_authorization_v1alpha1_api.py | 2 +- .../test_rbac_authorization_v1beta1_api.py | 2 +- kubernetes/test/test_runtime_raw_extension.py | 2 +- kubernetes/test/test_scheduling_api.py | 2 +- .../test/test_scheduling_v1alpha1_api.py | 2 +- .../test/test_scheduling_v1beta1_api.py | 100 + kubernetes/test/test_settings_api.py | 2 +- kubernetes/test/test_settings_v1alpha1_api.py | 2 +- kubernetes/test/test_storage_api.py | 2 +- kubernetes/test/test_storage_v1_api.py | 2 +- kubernetes/test/test_storage_v1alpha1_api.py | 2 +- kubernetes/test/test_storage_v1beta1_api.py | 2 +- kubernetes/test/test_v1_affinity.py | 2 +- kubernetes/test/test_v1_aggregation_rule.py | 2 +- kubernetes/test/test_v1_api_group.py | 2 +- kubernetes/test/test_v1_api_group_list.py | 2 +- kubernetes/test/test_v1_api_resource.py | 2 +- kubernetes/test/test_v1_api_resource_list.py | 2 +- kubernetes/test/test_v1_api_service.py | 2 +- .../test/test_v1_api_service_condition.py | 2 +- kubernetes/test/test_v1_api_service_list.py | 2 +- kubernetes/test/test_v1_api_service_spec.py | 2 +- kubernetes/test/test_v1_api_service_status.py | 2 +- kubernetes/test/test_v1_api_versions.py | 2 +- kubernetes/test/test_v1_attached_volume.py | 2 +- ...1_aws_elastic_block_store_volume_source.py | 2 +- .../test/test_v1_azure_disk_volume_source.py | 2 +- ..._v1_azure_file_persistent_volume_source.py | 2 +- .../test/test_v1_azure_file_volume_source.py | 2 +- kubernetes/test/test_v1_binding.py | 2 +- kubernetes/test/test_v1_capabilities.py | 2 +- ...est_v1_ceph_fs_persistent_volume_source.py | 2 +- .../test/test_v1_ceph_fs_volume_source.py | 2 +- ...test_v1_cinder_persistent_volume_source.py | 44 + .../test/test_v1_cinder_volume_source.py | 2 +- kubernetes/test/test_v1_client_ip_config.py | 2 +- kubernetes/test/test_v1_cluster_role.py | 2 +- .../test/test_v1_cluster_role_binding.py | 2 +- .../test/test_v1_cluster_role_binding_list.py | 2 +- kubernetes/test/test_v1_cluster_role_list.py | 2 +- .../test/test_v1_component_condition.py | 2 +- kubernetes/test/test_v1_component_status.py | 2 +- .../test/test_v1_component_status_list.py | 2 +- kubernetes/test/test_v1_config_map.py | 2 +- .../test/test_v1_config_map_env_source.py | 2 +- .../test/test_v1_config_map_key_selector.py | 2 +- kubernetes/test/test_v1_config_map_list.py | 2 +- ... test_v1_config_map_node_config_source.py} | 14 +- .../test/test_v1_config_map_projection.py | 2 +- .../test/test_v1_config_map_volume_source.py | 2 +- kubernetes/test/test_v1_container.py | 2 +- kubernetes/test/test_v1_container_image.py | 2 +- kubernetes/test/test_v1_container_port.py | 2 +- kubernetes/test/test_v1_container_state.py | 2 +- .../test/test_v1_container_state_running.py | 2 +- .../test_v1_container_state_terminated.py | 2 +- .../test/test_v1_container_state_waiting.py | 2 +- kubernetes/test/test_v1_container_status.py | 2 +- .../test/test_v1_controller_revision.py | 2 +- .../test/test_v1_controller_revision_list.py | 2 +- .../test_v1_cross_version_object_reference.py | 2 +- .../test_v1_csi_persistent_volume_source.py | 2 +- kubernetes/test/test_v1_daemon_endpoint.py | 2 +- kubernetes/test/test_v1_daemon_set.py | 2 +- .../test/test_v1_daemon_set_condition.py | 2 +- kubernetes/test/test_v1_daemon_set_list.py | 2 +- kubernetes/test/test_v1_daemon_set_spec.py | 2 +- kubernetes/test/test_v1_daemon_set_status.py | 2 +- .../test_v1_daemon_set_update_strategy.py | 2 +- kubernetes/test/test_v1_delete_options.py | 2 +- kubernetes/test/test_v1_deployment.py | 2 +- .../test/test_v1_deployment_condition.py | 2 +- kubernetes/test/test_v1_deployment_list.py | 2 +- kubernetes/test/test_v1_deployment_spec.py | 2 +- kubernetes/test/test_v1_deployment_status.py | 2 +- .../test/test_v1_deployment_strategy.py | 2 +- .../test/test_v1_downward_api_projection.py | 2 +- .../test/test_v1_downward_api_volume_file.py | 2 +- .../test_v1_downward_api_volume_source.py | 2 +- .../test/test_v1_empty_dir_volume_source.py | 2 +- kubernetes/test/test_v1_endpoint_address.py | 2 +- kubernetes/test/test_v1_endpoint_port.py | 2 +- kubernetes/test/test_v1_endpoint_subset.py | 2 +- kubernetes/test/test_v1_endpoints.py | 2 +- kubernetes/test/test_v1_endpoints_list.py | 2 +- kubernetes/test/test_v1_env_from_source.py | 2 +- kubernetes/test/test_v1_env_var.py | 2 +- kubernetes/test/test_v1_env_var_source.py | 2 +- kubernetes/test/test_v1_event.py | 2 +- kubernetes/test/test_v1_event_list.py | 2 +- kubernetes/test/test_v1_event_series.py | 2 +- kubernetes/test/test_v1_event_source.py | 2 +- kubernetes/test/test_v1_exec_action.py | 2 +- kubernetes/test/test_v1_fc_volume_source.py | 2 +- .../test_v1_flex_persistent_volume_source.py | 2 +- kubernetes/test/test_v1_flex_volume_source.py | 2 +- .../test/test_v1_flocker_volume_source.py | 2 +- ...st_v1_gce_persistent_disk_volume_source.py | 2 +- .../test/test_v1_git_repo_volume_source.py | 2 +- .../test/test_v1_glusterfs_volume_source.py | 2 +- .../test_v1_group_version_for_discovery.py | 2 +- kubernetes/test/test_v1_handler.py | 2 +- .../test/test_v1_horizontal_pod_autoscaler.py | 2 +- .../test_v1_horizontal_pod_autoscaler_list.py | 2 +- .../test_v1_horizontal_pod_autoscaler_spec.py | 2 +- ...est_v1_horizontal_pod_autoscaler_status.py | 2 +- kubernetes/test/test_v1_host_alias.py | 2 +- .../test/test_v1_host_path_volume_source.py | 2 +- kubernetes/test/test_v1_http_get_action.py | 2 +- kubernetes/test/test_v1_http_header.py | 2 +- kubernetes/test/test_v1_initializer.py | 2 +- kubernetes/test/test_v1_initializers.py | 2 +- kubernetes/test/test_v1_ip_block.py | 2 +- .../test_v1_iscsi_persistent_volume_source.py | 2 +- .../test/test_v1_iscsi_volume_source.py | 2 +- kubernetes/test/test_v1_job.py | 2 +- kubernetes/test/test_v1_job_condition.py | 2 +- kubernetes/test/test_v1_job_list.py | 2 +- kubernetes/test/test_v1_job_spec.py | 2 +- kubernetes/test/test_v1_job_status.py | 2 +- kubernetes/test/test_v1_key_to_path.py | 2 +- kubernetes/test/test_v1_label_selector.py | 2 +- .../test_v1_label_selector_requirement.py | 2 +- kubernetes/test/test_v1_lifecycle.py | 2 +- kubernetes/test/test_v1_limit_range.py | 2 +- kubernetes/test/test_v1_limit_range_item.py | 2 +- kubernetes/test/test_v1_limit_range_list.py | 2 +- kubernetes/test/test_v1_limit_range_spec.py | 2 +- kubernetes/test/test_v1_list_meta.py | 2 +- .../test/test_v1_load_balancer_ingress.py | 2 +- .../test/test_v1_load_balancer_status.py | 2 +- .../test/test_v1_local_object_reference.py | 2 +- .../test_v1_local_subject_access_review.py | 2 +- .../test/test_v1_local_volume_source.py | 2 +- kubernetes/test/test_v1_namespace.py | 2 +- kubernetes/test/test_v1_namespace_list.py | 2 +- kubernetes/test/test_v1_namespace_spec.py | 2 +- kubernetes/test/test_v1_namespace_status.py | 2 +- kubernetes/test/test_v1_network_policy.py | 2 +- .../test_v1_network_policy_egress_rule.py | 2 +- .../test_v1_network_policy_ingress_rule.py | 2 +- .../test/test_v1_network_policy_list.py | 2 +- .../test/test_v1_network_policy_peer.py | 2 +- .../test/test_v1_network_policy_port.py | 2 +- .../test/test_v1_network_policy_spec.py | 2 +- kubernetes/test/test_v1_nfs_volume_source.py | 2 +- kubernetes/test/test_v1_node.py | 2 +- kubernetes/test/test_v1_node_address.py | 2 +- kubernetes/test/test_v1_node_affinity.py | 2 +- kubernetes/test/test_v1_node_condition.py | 2 +- kubernetes/test/test_v1_node_config_source.py | 2 +- ...array.py => test_v1_node_config_status.py} | 14 +- .../test/test_v1_node_daemon_endpoints.py | 2 +- kubernetes/test/test_v1_node_list.py | 2 +- kubernetes/test/test_v1_node_selector.py | 2 +- .../test/test_v1_node_selector_requirement.py | 2 +- kubernetes/test/test_v1_node_selector_term.py | 2 +- kubernetes/test/test_v1_node_spec.py | 2 +- kubernetes/test/test_v1_node_status.py | 2 +- kubernetes/test/test_v1_node_system_info.py | 2 +- .../test/test_v1_non_resource_attributes.py | 2 +- kubernetes/test/test_v1_non_resource_rule.py | 2 +- .../test/test_v1_object_field_selector.py | 2 +- kubernetes/test/test_v1_object_meta.py | 2 +- kubernetes/test/test_v1_object_reference.py | 2 +- kubernetes/test/test_v1_owner_reference.py | 2 +- kubernetes/test/test_v1_persistent_volume.py | 2 +- .../test/test_v1_persistent_volume_claim.py | 2 +- ...st_v1_persistent_volume_claim_condition.py | 2 +- .../test_v1_persistent_volume_claim_list.py | 2 +- .../test_v1_persistent_volume_claim_spec.py | 2 +- .../test_v1_persistent_volume_claim_status.py | 2 +- ...1_persistent_volume_claim_volume_source.py | 2 +- .../test/test_v1_persistent_volume_list.py | 2 +- .../test/test_v1_persistent_volume_spec.py | 2 +- .../test/test_v1_persistent_volume_status.py | 2 +- ...v1_photon_persistent_disk_volume_source.py | 2 +- kubernetes/test/test_v1_pod.py | 2 +- kubernetes/test/test_v1_pod_affinity.py | 2 +- kubernetes/test/test_v1_pod_affinity_term.py | 2 +- kubernetes/test/test_v1_pod_anti_affinity.py | 2 +- kubernetes/test/test_v1_pod_condition.py | 2 +- kubernetes/test/test_v1_pod_dns_config.py | 2 +- .../test/test_v1_pod_dns_config_option.py | 2 +- kubernetes/test/test_v1_pod_list.py | 2 +- kubernetes/test/test_v1_pod_readiness_gate.py | 44 + .../test/test_v1_pod_security_context.py | 2 +- kubernetes/test/test_v1_pod_spec.py | 2 +- kubernetes/test/test_v1_pod_status.py | 2 +- kubernetes/test/test_v1_pod_template.py | 2 +- kubernetes/test/test_v1_pod_template_list.py | 2 +- kubernetes/test/test_v1_pod_template_spec.py | 2 +- kubernetes/test/test_v1_policy_rule.py | 2 +- .../test/test_v1_portworx_volume_source.py | 2 +- kubernetes/test/test_v1_preconditions.py | 2 +- .../test/test_v1_preferred_scheduling_term.py | 2 +- kubernetes/test/test_v1_probe.py | 2 +- .../test/test_v1_projected_volume_source.py | 2 +- .../test/test_v1_quobyte_volume_source.py | 2 +- .../test_v1_rbd_persistent_volume_source.py | 2 +- kubernetes/test/test_v1_rbd_volume_source.py | 2 +- kubernetes/test/test_v1_replica_set.py | 2 +- .../test/test_v1_replica_set_condition.py | 2 +- kubernetes/test/test_v1_replica_set_list.py | 2 +- kubernetes/test/test_v1_replica_set_spec.py | 2 +- kubernetes/test/test_v1_replica_set_status.py | 2 +- .../test/test_v1_replication_controller.py | 2 +- ...est_v1_replication_controller_condition.py | 2 +- .../test_v1_replication_controller_list.py | 2 +- .../test_v1_replication_controller_spec.py | 2 +- .../test_v1_replication_controller_status.py | 2 +- .../test/test_v1_resource_attributes.py | 2 +- .../test/test_v1_resource_field_selector.py | 2 +- kubernetes/test/test_v1_resource_quota.py | 2 +- .../test/test_v1_resource_quota_list.py | 2 +- .../test/test_v1_resource_quota_spec.py | 2 +- .../test/test_v1_resource_quota_status.py | 2 +- .../test/test_v1_resource_requirements.py | 2 +- kubernetes/test/test_v1_resource_rule.py | 2 +- kubernetes/test/test_v1_role.py | 2 +- kubernetes/test/test_v1_role_binding.py | 2 +- kubernetes/test/test_v1_role_binding_list.py | 2 +- kubernetes/test/test_v1_role_list.py | 2 +- kubernetes/test/test_v1_role_ref.py | 2 +- .../test/test_v1_rolling_update_daemon_set.py | 2 +- .../test/test_v1_rolling_update_deployment.py | 2 +- ...v1_rolling_update_stateful_set_strategy.py | 2 +- kubernetes/test/test_v1_scale.py | 2 +- ...st_v1_scale_io_persistent_volume_source.py | 2 +- .../test/test_v1_scale_io_volume_source.py | 2 +- kubernetes/test/test_v1_scale_spec.py | 2 +- kubernetes/test/test_v1_scale_status.py | 2 +- kubernetes/test/test_v1_scope_selector.py | 44 + ...1_scoped_resource_selector_requirement.py} | 14 +- kubernetes/test/test_v1_se_linux_options.py | 2 +- kubernetes/test/test_v1_secret.py | 2 +- kubernetes/test/test_v1_secret_env_source.py | 2 +- .../test/test_v1_secret_key_selector.py | 2 +- kubernetes/test/test_v1_secret_list.py | 2 +- kubernetes/test/test_v1_secret_projection.py | 2 +- kubernetes/test/test_v1_secret_reference.py | 2 +- .../test/test_v1_secret_volume_source.py | 2 +- kubernetes/test/test_v1_security_context.py | 2 +- .../test_v1_self_subject_access_review.py | 2 +- ...test_v1_self_subject_access_review_spec.py | 2 +- .../test/test_v1_self_subject_rules_review.py | 2 +- .../test_v1_self_subject_rules_review_spec.py | 2 +- .../test_v1_server_address_by_client_cidr.py | 2 +- kubernetes/test/test_v1_service.py | 2 +- kubernetes/test/test_v1_service_account.py | 2 +- .../test/test_v1_service_account_list.py | 2 +- ...est_v1_service_account_token_projection.py | 44 + kubernetes/test/test_v1_service_list.py | 2 +- kubernetes/test/test_v1_service_port.py | 2 +- kubernetes/test/test_v1_service_reference.py | 2 +- kubernetes/test/test_v1_service_spec.py | 2 +- kubernetes/test/test_v1_service_status.py | 2 +- .../test/test_v1_session_affinity_config.py | 2 +- kubernetes/test/test_v1_stateful_set.py | 2 +- .../test/test_v1_stateful_set_condition.py | 2 +- kubernetes/test/test_v1_stateful_set_list.py | 2 +- kubernetes/test/test_v1_stateful_set_spec.py | 2 +- .../test/test_v1_stateful_set_status.py | 2 +- .../test_v1_stateful_set_update_strategy.py | 2 +- kubernetes/test/test_v1_status.py | 2 +- kubernetes/test/test_v1_status_cause.py | 2 +- kubernetes/test/test_v1_status_details.py | 2 +- kubernetes/test/test_v1_storage_class.py | 2 +- kubernetes/test/test_v1_storage_class_list.py | 2 +- ..._v1_storage_os_persistent_volume_source.py | 2 +- .../test/test_v1_storage_os_volume_source.py | 2 +- kubernetes/test/test_v1_subject.py | 2 +- .../test/test_v1_subject_access_review.py | 2 +- .../test_v1_subject_access_review_spec.py | 2 +- .../test_v1_subject_access_review_status.py | 2 +- .../test_v1_subject_rules_review_status.py | 2 +- ...test_v1beta1_json.py => test_v1_sysctl.py} | 14 +- kubernetes/test/test_v1_taint.py | 2 +- kubernetes/test/test_v1_tcp_socket_action.py | 2 +- kubernetes/test/test_v1_token_review.py | 2 +- kubernetes/test/test_v1_token_review_spec.py | 2 +- .../test/test_v1_token_review_status.py | 2 +- kubernetes/test/test_v1_toleration.py | 2 +- ..._v1_topology_selector_label_requirement.py | 44 + .../test/test_v1_topology_selector_term.py | 44 + kubernetes/test/test_v1_user_info.py | 2 +- kubernetes/test/test_v1_volume.py | 2 +- kubernetes/test/test_v1_volume_device.py | 2 +- kubernetes/test/test_v1_volume_mount.py | 2 +- .../test/test_v1_volume_node_affinity.py | 2 +- kubernetes/test/test_v1_volume_projection.py | 2 +- ...t_v1_vsphere_virtual_disk_volume_source.py | 2 +- kubernetes/test/test_v1_watch_event.py | 2 +- .../test_v1_weighted_pod_affinity_term.py | 2 +- .../test/test_v1alpha1_aggregation_rule.py | 2 +- kubernetes/test/test_v1alpha1_cluster_role.py | 2 +- .../test_v1alpha1_cluster_role_binding.py | 2 +- ...test_v1alpha1_cluster_role_binding_list.py | 2 +- .../test/test_v1alpha1_cluster_role_list.py | 2 +- kubernetes/test/test_v1alpha1_initializer.py | 2 +- ...test_v1alpha1_initializer_configuration.py | 2 +- ...v1alpha1_initializer_configuration_list.py | 2 +- kubernetes/test/test_v1alpha1_pod_preset.py | 2 +- .../test/test_v1alpha1_pod_preset_list.py | 2 +- .../test/test_v1alpha1_pod_preset_spec.py | 2 +- kubernetes/test/test_v1alpha1_policy_rule.py | 2 +- .../test/test_v1alpha1_priority_class.py | 2 +- .../test/test_v1alpha1_priority_class_list.py | 2 +- kubernetes/test/test_v1alpha1_role.py | 2 +- kubernetes/test/test_v1alpha1_role_binding.py | 2 +- .../test/test_v1alpha1_role_binding_list.py | 2 +- kubernetes/test/test_v1alpha1_role_list.py | 2 +- kubernetes/test/test_v1alpha1_role_ref.py | 2 +- kubernetes/test/test_v1alpha1_rule.py | 2 +- kubernetes/test/test_v1alpha1_subject.py | 2 +- .../test/test_v1alpha1_volume_attachment.py | 2 +- .../test_v1alpha1_volume_attachment_list.py | 2 +- .../test_v1alpha1_volume_attachment_source.py | 2 +- .../test_v1alpha1_volume_attachment_spec.py | 2 +- .../test_v1alpha1_volume_attachment_status.py | 2 +- kubernetes/test/test_v1alpha1_volume_error.py | 2 +- .../test/test_v1beta1_aggregation_rule.py | 2 +- kubernetes/test/test_v1beta1_api_service.py | 2 +- .../test_v1beta1_api_service_condition.py | 2 +- .../test/test_v1beta1_api_service_list.py | 2 +- .../test/test_v1beta1_api_service_spec.py | 2 +- .../test/test_v1beta1_api_service_status.py | 2 +- ...est_v1beta1_certificate_signing_request.py | 2 +- ...1_certificate_signing_request_condition.py | 2 +- ...1beta1_certificate_signing_request_list.py | 2 +- ...1beta1_certificate_signing_request_spec.py | 2 +- ...eta1_certificate_signing_request_status.py | 2 +- kubernetes/test/test_v1beta1_cluster_role.py | 2 +- .../test/test_v1beta1_cluster_role_binding.py | 2 +- .../test_v1beta1_cluster_role_binding_list.py | 2 +- .../test/test_v1beta1_cluster_role_list.py | 2 +- .../test/test_v1beta1_controller_revision.py | 2 +- .../test_v1beta1_controller_revision_list.py | 2 +- kubernetes/test/test_v1beta1_cron_job.py | 2 +- kubernetes/test/test_v1beta1_cron_job_list.py | 2 +- kubernetes/test/test_v1beta1_cron_job_spec.py | 2 +- .../test/test_v1beta1_cron_job_status.py | 2 +- ...beta1_custom_resource_column_definition.py | 44 + ...test_v1beta1_custom_resource_definition.py | 2 +- ...a1_custom_resource_definition_condition.py | 2 +- ...v1beta1_custom_resource_definition_list.py | 2 +- ...1beta1_custom_resource_definition_names.py | 2 +- ...v1beta1_custom_resource_definition_spec.py | 2 +- ...beta1_custom_resource_definition_status.py | 2 +- ...eta1_custom_resource_definition_version.py | 44 + ...beta1_custom_resource_subresource_scale.py | 2 +- ...st_v1beta1_custom_resource_subresources.py | 2 +- ...test_v1beta1_custom_resource_validation.py | 2 +- kubernetes/test/test_v1beta1_daemon_set.py | 2 +- .../test/test_v1beta1_daemon_set_condition.py | 2 +- .../test/test_v1beta1_daemon_set_list.py | 2 +- .../test/test_v1beta1_daemon_set_spec.py | 2 +- .../test/test_v1beta1_daemon_set_status.py | 2 +- ...test_v1beta1_daemon_set_update_strategy.py | 2 +- kubernetes/test/test_v1beta1_event.py | 2 +- kubernetes/test/test_v1beta1_event_list.py | 2 +- kubernetes/test/test_v1beta1_event_series.py | 2 +- kubernetes/test/test_v1beta1_eviction.py | 2 +- .../test_v1beta1_external_documentation.py | 2 +- .../test/test_v1beta1_http_ingress_path.py | 2 +- .../test_v1beta1_http_ingress_rule_value.py | 2 +- kubernetes/test/test_v1beta1_ingress.py | 2 +- .../test/test_v1beta1_ingress_backend.py | 2 +- kubernetes/test/test_v1beta1_ingress_list.py | 2 +- kubernetes/test/test_v1beta1_ingress_rule.py | 2 +- kubernetes/test/test_v1beta1_ingress_spec.py | 2 +- .../test/test_v1beta1_ingress_status.py | 2 +- kubernetes/test/test_v1beta1_ingress_tls.py | 2 +- kubernetes/test/test_v1beta1_ip_block.py | 2 +- .../test/test_v1beta1_job_template_spec.py | 2 +- .../test/test_v1beta1_json_schema_props.py | 2 +- ...est_v1beta1_local_subject_access_review.py | 2 +- ..._v1beta1_mutating_webhook_configuration.py | 2 +- ...ta1_mutating_webhook_configuration_list.py | 2 +- .../test/test_v1beta1_network_policy.py | 2 +- ...test_v1beta1_network_policy_egress_rule.py | 2 +- ...est_v1beta1_network_policy_ingress_rule.py | 2 +- .../test/test_v1beta1_network_policy_list.py | 2 +- .../test/test_v1beta1_network_policy_peer.py | 2 +- .../test/test_v1beta1_network_policy_port.py | 2 +- .../test/test_v1beta1_network_policy_spec.py | 2 +- .../test_v1beta1_non_resource_attributes.py | 2 +- .../test/test_v1beta1_non_resource_rule.py | 2 +- .../test_v1beta1_pod_disruption_budget.py | 2 +- ...test_v1beta1_pod_disruption_budget_list.py | 2 +- ...test_v1beta1_pod_disruption_budget_spec.py | 2 +- ...st_v1beta1_pod_disruption_budget_status.py | 2 +- kubernetes/test/test_v1beta1_policy_rule.py | 2 +- .../test/test_v1beta1_priority_class.py | 44 + .../test/test_v1beta1_priority_class_list.py | 44 + kubernetes/test/test_v1beta1_replica_set.py | 2 +- .../test_v1beta1_replica_set_condition.py | 2 +- .../test/test_v1beta1_replica_set_list.py | 2 +- .../test/test_v1beta1_replica_set_spec.py | 2 +- .../test/test_v1beta1_replica_set_status.py | 2 +- .../test/test_v1beta1_resource_attributes.py | 2 +- kubernetes/test/test_v1beta1_resource_rule.py | 2 +- kubernetes/test/test_v1beta1_role.py | 2 +- kubernetes/test/test_v1beta1_role_binding.py | 2 +- .../test/test_v1beta1_role_binding_list.py | 2 +- kubernetes/test/test_v1beta1_role_list.py | 2 +- kubernetes/test/test_v1beta1_role_ref.py | 2 +- .../test_v1beta1_rolling_update_daemon_set.py | 2 +- ...a1_rolling_update_stateful_set_strategy.py | 2 +- .../test/test_v1beta1_rule_with_operations.py | 2 +- ...test_v1beta1_self_subject_access_review.py | 2 +- ...v1beta1_self_subject_access_review_spec.py | 2 +- .../test_v1beta1_self_subject_rules_review.py | 2 +- ..._v1beta1_self_subject_rules_review_spec.py | 2 +- kubernetes/test/test_v1beta1_stateful_set.py | 2 +- .../test_v1beta1_stateful_set_condition.py | 2 +- .../test/test_v1beta1_stateful_set_list.py | 2 +- .../test/test_v1beta1_stateful_set_spec.py | 2 +- .../test/test_v1beta1_stateful_set_status.py | 2 +- ...st_v1beta1_stateful_set_update_strategy.py | 2 +- kubernetes/test/test_v1beta1_storage_class.py | 2 +- .../test/test_v1beta1_storage_class_list.py | 2 +- kubernetes/test/test_v1beta1_subject.py | 2 +- .../test_v1beta1_subject_access_review.py | 2 +- ...test_v1beta1_subject_access_review_spec.py | 2 +- ...st_v1beta1_subject_access_review_status.py | 2 +- ...est_v1beta1_subject_rules_review_status.py | 2 +- kubernetes/test/test_v1beta1_token_review.py | 2 +- .../test/test_v1beta1_token_review_spec.py | 2 +- .../test/test_v1beta1_token_review_status.py | 2 +- kubernetes/test/test_v1beta1_user_info.py | 2 +- ...1beta1_validating_webhook_configuration.py | 2 +- ...1_validating_webhook_configuration_list.py | 2 +- .../test/test_v1beta1_volume_attachment.py | 2 +- .../test_v1beta1_volume_attachment_list.py | 2 +- .../test_v1beta1_volume_attachment_source.py | 2 +- .../test_v1beta1_volume_attachment_spec.py | 2 +- .../test_v1beta1_volume_attachment_status.py | 2 +- kubernetes/test/test_v1beta1_volume_error.py | 2 +- kubernetes/test/test_v1beta1_webhook.py | 2 +- .../test_v1beta1_webhook_client_config.py | 2 +- .../test/test_v1beta2_controller_revision.py | 2 +- .../test_v1beta2_controller_revision_list.py | 2 +- kubernetes/test/test_v1beta2_daemon_set.py | 2 +- .../test/test_v1beta2_daemon_set_condition.py | 2 +- .../test/test_v1beta2_daemon_set_list.py | 2 +- .../test/test_v1beta2_daemon_set_spec.py | 2 +- .../test/test_v1beta2_daemon_set_status.py | 2 +- ...test_v1beta2_daemon_set_update_strategy.py | 2 +- kubernetes/test/test_v1beta2_deployment.py | 2 +- .../test/test_v1beta2_deployment_condition.py | 2 +- .../test/test_v1beta2_deployment_list.py | 2 +- .../test/test_v1beta2_deployment_spec.py | 2 +- .../test/test_v1beta2_deployment_status.py | 2 +- .../test/test_v1beta2_deployment_strategy.py | 2 +- kubernetes/test/test_v1beta2_replica_set.py | 2 +- .../test_v1beta2_replica_set_condition.py | 2 +- .../test/test_v1beta2_replica_set_list.py | 2 +- .../test/test_v1beta2_replica_set_spec.py | 2 +- .../test/test_v1beta2_replica_set_status.py | 2 +- .../test_v1beta2_rolling_update_daemon_set.py | 2 +- .../test_v1beta2_rolling_update_deployment.py | 2 +- ...a2_rolling_update_stateful_set_strategy.py | 2 +- kubernetes/test/test_v1beta2_scale.py | 2 +- kubernetes/test/test_v1beta2_scale_spec.py | 2 +- kubernetes/test/test_v1beta2_scale_status.py | 2 +- kubernetes/test/test_v1beta2_stateful_set.py | 2 +- .../test_v1beta2_stateful_set_condition.py | 2 +- .../test/test_v1beta2_stateful_set_list.py | 2 +- .../test/test_v1beta2_stateful_set_spec.py | 2 +- .../test/test_v1beta2_stateful_set_status.py | 2 +- ...st_v1beta2_stateful_set_update_strategy.py | 2 +- kubernetes/test/test_v2alpha1_cron_job.py | 2 +- .../test/test_v2alpha1_cron_job_list.py | 2 +- .../test/test_v2alpha1_cron_job_spec.py | 2 +- .../test/test_v2alpha1_cron_job_status.py | 2 +- .../test/test_v2alpha1_job_template_spec.py | 2 +- ..._v2beta1_cross_version_object_reference.py | 2 +- .../test_v2beta1_external_metric_source.py | 2 +- .../test_v2beta1_external_metric_status.py | 2 +- .../test_v2beta1_horizontal_pod_autoscaler.py | 2 +- ...ta1_horizontal_pod_autoscaler_condition.py | 2 +- ..._v2beta1_horizontal_pod_autoscaler_list.py | 2 +- ..._v2beta1_horizontal_pod_autoscaler_spec.py | 2 +- ...2beta1_horizontal_pod_autoscaler_status.py | 2 +- kubernetes/test/test_v2beta1_metric_spec.py | 2 +- kubernetes/test/test_v2beta1_metric_status.py | 2 +- .../test/test_v2beta1_object_metric_source.py | 2 +- .../test/test_v2beta1_object_metric_status.py | 2 +- .../test/test_v2beta1_pods_metric_source.py | 2 +- .../test/test_v2beta1_pods_metric_status.py | 2 +- .../test_v2beta1_resource_metric_source.py | 2 +- .../test_v2beta1_resource_metric_status.py | 2 +- kubernetes/test/test_version_api.py | 2 +- kubernetes/test/test_version_info.py | 2 +- scripts/swagger.json | 2438 +++++++++++++---- setup.py | 2 +- 1254 files changed, 11504 insertions(+), 2545 deletions(-) create mode 100644 kubernetes/client/apis/scheduling_v1beta1_api.py create mode 100644 kubernetes/client/models/v1_cinder_persistent_volume_source.py create mode 100644 kubernetes/client/models/v1_config_map_node_config_source.py create mode 100644 kubernetes/client/models/v1_node_config_status.py rename kubernetes/client/models/{v1beta1_json.py => v1_pod_readiness_gate.py} (67%) create mode 100644 kubernetes/client/models/v1_scope_selector.py create mode 100644 kubernetes/client/models/v1_scoped_resource_selector_requirement.py create mode 100644 kubernetes/client/models/v1_service_account_token_projection.py rename kubernetes/client/models/{v1beta1_json_schema_props_or_bool.py => v1_sysctl.py} (59%) rename kubernetes/client/models/{v1beta1_json_schema_props_or_string_array.py => v1_topology_selector_label_requirement.py} (56%) rename kubernetes/client/models/{v1beta1_json_schema_props_or_array.py => v1_topology_selector_term.py} (54%) create mode 100644 kubernetes/client/models/v1beta1_custom_resource_column_definition.py create mode 100644 kubernetes/client/models/v1beta1_custom_resource_definition_version.py create mode 100644 kubernetes/client/models/v1beta1_priority_class.py create mode 100644 kubernetes/client/models/v1beta1_priority_class_list.py create mode 100644 kubernetes/docs/SchedulingV1beta1Api.md create mode 100644 kubernetes/docs/V1CinderPersistentVolumeSource.md create mode 100644 kubernetes/docs/V1ConfigMapNodeConfigSource.md create mode 100644 kubernetes/docs/V1NodeConfigStatus.md rename kubernetes/docs/{V1beta1JSONSchemaPropsOrBool.md => V1PodReadinessGate.md} (65%) rename kubernetes/docs/{V1beta1JSONSchemaPropsOrStringArray.md => V1ScopeSelector.md} (56%) create mode 100644 kubernetes/docs/V1ScopedResourceSelectorRequirement.md create mode 100644 kubernetes/docs/V1ServiceAccountTokenProjection.md rename kubernetes/docs/{V1beta1JSON.md => V1Sysctl.md} (70%) create mode 100644 kubernetes/docs/V1TopologySelectorLabelRequirement.md rename kubernetes/docs/{V1beta1JSONSchemaPropsOrArray.md => V1TopologySelectorTerm.md} (56%) create mode 100644 kubernetes/docs/V1beta1CustomResourceColumnDefinition.md create mode 100644 kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md create mode 100644 kubernetes/docs/V1beta1PriorityClass.md create mode 100644 kubernetes/docs/V1beta1PriorityClassList.md create mode 100644 kubernetes/test/test_scheduling_v1beta1_api.py create mode 100644 kubernetes/test/test_v1_cinder_persistent_volume_source.py rename kubernetes/test/{test_v1beta1_json_schema_props_or_bool.py => test_v1_config_map_node_config_source.py} (57%) rename kubernetes/test/{test_v1beta1_json_schema_props_or_array.py => test_v1_node_config_status.py} (57%) create mode 100644 kubernetes/test/test_v1_pod_readiness_gate.py create mode 100644 kubernetes/test/test_v1_scope_selector.py rename kubernetes/test/{test_v1beta1_json_schema_props_or_string_array.py => test_v1_scoped_resource_selector_requirement.py} (55%) create mode 100644 kubernetes/test/test_v1_service_account_token_projection.py rename kubernetes/test/{test_v1beta1_json.py => test_v1_sysctl.py} (67%) create mode 100644 kubernetes/test/test_v1_topology_selector_label_requirement.py create mode 100644 kubernetes/test/test_v1_topology_selector_term.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_column_definition.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_version.py create mode 100644 kubernetes/test/test_v1beta1_priority_class.py create mode 100644 kubernetes/test/test_v1beta1_priority_class_list.py diff --git a/kubernetes/README.md b/kubernetes/README.md index 13a4208cb0..3e3c7eb180 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -3,8 +3,8 @@ No description provided (generated by Swagger Codegen https://github.com/swagger This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: v1.10.0 -- Package version: 6.0.0-snapshot +- API version: v1.11.1 +- Package version: 7.0.0-snapshot - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. @@ -103,7 +103,9 @@ Class | Method | HTTP request | Description *ApiextensionsV1beta1Api* | [**get_api_resources**](docs/ApiextensionsV1beta1Api.md#get_api_resources) | **GET** /apis/apiextensions.k8s.io/v1beta1/ | *ApiextensionsV1beta1Api* | [**list_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#list_custom_resource_definition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions | *ApiextensionsV1beta1Api* | [**patch_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#patch_custom_resource_definition) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +*ApiextensionsV1beta1Api* | [**patch_custom_resource_definition_status**](docs/ApiextensionsV1beta1Api.md#patch_custom_resource_definition_status) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | *ApiextensionsV1beta1Api* | [**read_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#read_custom_resource_definition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +*ApiextensionsV1beta1Api* | [**read_custom_resource_definition_status**](docs/ApiextensionsV1beta1Api.md#read_custom_resource_definition_status) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | *ApiextensionsV1beta1Api* | [**replace_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#replace_custom_resource_definition) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | *ApiextensionsV1beta1Api* | [**replace_custom_resource_definition_status**](docs/ApiextensionsV1beta1Api.md#replace_custom_resource_definition_status) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | *ApiregistrationApi* | [**get_api_group**](docs/ApiregistrationApi.md#get_api_group) | **GET** /apis/apiregistration.k8s.io/ | @@ -113,7 +115,9 @@ Class | Method | HTTP request | Description *ApiregistrationV1Api* | [**get_api_resources**](docs/ApiregistrationV1Api.md#get_api_resources) | **GET** /apis/apiregistration.k8s.io/v1/ | *ApiregistrationV1Api* | [**list_api_service**](docs/ApiregistrationV1Api.md#list_api_service) | **GET** /apis/apiregistration.k8s.io/v1/apiservices | *ApiregistrationV1Api* | [**patch_api_service**](docs/ApiregistrationV1Api.md#patch_api_service) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +*ApiregistrationV1Api* | [**patch_api_service_status**](docs/ApiregistrationV1Api.md#patch_api_service_status) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | *ApiregistrationV1Api* | [**read_api_service**](docs/ApiregistrationV1Api.md#read_api_service) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +*ApiregistrationV1Api* | [**read_api_service_status**](docs/ApiregistrationV1Api.md#read_api_service_status) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | *ApiregistrationV1Api* | [**replace_api_service**](docs/ApiregistrationV1Api.md#replace_api_service) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name} | *ApiregistrationV1Api* | [**replace_api_service_status**](docs/ApiregistrationV1Api.md#replace_api_service_status) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | *ApiregistrationV1beta1Api* | [**create_api_service**](docs/ApiregistrationV1beta1Api.md#create_api_service) | **POST** /apis/apiregistration.k8s.io/v1beta1/apiservices | @@ -122,7 +126,9 @@ Class | Method | HTTP request | Description *ApiregistrationV1beta1Api* | [**get_api_resources**](docs/ApiregistrationV1beta1Api.md#get_api_resources) | **GET** /apis/apiregistration.k8s.io/v1beta1/ | *ApiregistrationV1beta1Api* | [**list_api_service**](docs/ApiregistrationV1beta1Api.md#list_api_service) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices | *ApiregistrationV1beta1Api* | [**patch_api_service**](docs/ApiregistrationV1beta1Api.md#patch_api_service) | **PATCH** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +*ApiregistrationV1beta1Api* | [**patch_api_service_status**](docs/ApiregistrationV1beta1Api.md#patch_api_service_status) | **PATCH** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | *ApiregistrationV1beta1Api* | [**read_api_service**](docs/ApiregistrationV1beta1Api.md#read_api_service) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +*ApiregistrationV1beta1Api* | [**read_api_service_status**](docs/ApiregistrationV1beta1Api.md#read_api_service_status) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | *ApiregistrationV1beta1Api* | [**replace_api_service**](docs/ApiregistrationV1beta1Api.md#replace_api_service) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | *ApiregistrationV1beta1Api* | [**replace_api_service_status**](docs/ApiregistrationV1beta1Api.md#replace_api_service_status) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | *ApisApi* | [**get_api_versions**](docs/ApisApi.md#get_api_versions) | **GET** /apis/ | @@ -374,7 +380,9 @@ Class | Method | HTTP request | Description *CertificatesV1beta1Api* | [**get_api_resources**](docs/CertificatesV1beta1Api.md#get_api_resources) | **GET** /apis/certificates.k8s.io/v1beta1/ | *CertificatesV1beta1Api* | [**list_certificate_signing_request**](docs/CertificatesV1beta1Api.md#list_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests | *CertificatesV1beta1Api* | [**patch_certificate_signing_request**](docs/CertificatesV1beta1Api.md#patch_certificate_signing_request) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +*CertificatesV1beta1Api* | [**patch_certificate_signing_request_status**](docs/CertificatesV1beta1Api.md#patch_certificate_signing_request_status) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | *CertificatesV1beta1Api* | [**read_certificate_signing_request**](docs/CertificatesV1beta1Api.md#read_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +*CertificatesV1beta1Api* | [**read_certificate_signing_request_status**](docs/CertificatesV1beta1Api.md#read_certificate_signing_request_status) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | *CertificatesV1beta1Api* | [**replace_certificate_signing_request**](docs/CertificatesV1beta1Api.md#replace_certificate_signing_request) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | *CertificatesV1beta1Api* | [**replace_certificate_signing_request_approval**](docs/CertificatesV1beta1Api.md#replace_certificate_signing_request_approval) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval | *CertificatesV1beta1Api* | [**replace_certificate_signing_request_status**](docs/CertificatesV1beta1Api.md#replace_certificate_signing_request_status) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | @@ -805,6 +813,14 @@ Class | Method | HTTP request | Description *SchedulingV1alpha1Api* | [**patch_priority_class**](docs/SchedulingV1alpha1Api.md#patch_priority_class) | **PATCH** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | *SchedulingV1alpha1Api* | [**read_priority_class**](docs/SchedulingV1alpha1Api.md#read_priority_class) | **GET** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | *SchedulingV1alpha1Api* | [**replace_priority_class**](docs/SchedulingV1alpha1Api.md#replace_priority_class) | **PUT** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | +*SchedulingV1beta1Api* | [**create_priority_class**](docs/SchedulingV1beta1Api.md#create_priority_class) | **POST** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +*SchedulingV1beta1Api* | [**delete_collection_priority_class**](docs/SchedulingV1beta1Api.md#delete_collection_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +*SchedulingV1beta1Api* | [**delete_priority_class**](docs/SchedulingV1beta1Api.md#delete_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +*SchedulingV1beta1Api* | [**get_api_resources**](docs/SchedulingV1beta1Api.md#get_api_resources) | **GET** /apis/scheduling.k8s.io/v1beta1/ | +*SchedulingV1beta1Api* | [**list_priority_class**](docs/SchedulingV1beta1Api.md#list_priority_class) | **GET** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +*SchedulingV1beta1Api* | [**patch_priority_class**](docs/SchedulingV1beta1Api.md#patch_priority_class) | **PATCH** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +*SchedulingV1beta1Api* | [**read_priority_class**](docs/SchedulingV1beta1Api.md#read_priority_class) | **GET** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +*SchedulingV1beta1Api* | [**replace_priority_class**](docs/SchedulingV1beta1Api.md#replace_priority_class) | **PUT** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | *SettingsApi* | [**get_api_group**](docs/SettingsApi.md#get_api_group) | **GET** /apis/settings.k8s.io/ | *SettingsV1alpha1Api* | [**create_namespaced_pod_preset**](docs/SettingsV1alpha1Api.md#create_namespaced_pod_preset) | **POST** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets | *SettingsV1alpha1Api* | [**delete_collection_namespaced_pod_preset**](docs/SettingsV1alpha1Api.md#delete_collection_namespaced_pod_preset) | **DELETE** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets | @@ -923,6 +939,7 @@ Class | Method | HTTP request | Description - [V1Capabilities](docs/V1Capabilities.md) - [V1CephFSPersistentVolumeSource](docs/V1CephFSPersistentVolumeSource.md) - [V1CephFSVolumeSource](docs/V1CephFSVolumeSource.md) + - [V1CinderPersistentVolumeSource](docs/V1CinderPersistentVolumeSource.md) - [V1CinderVolumeSource](docs/V1CinderVolumeSource.md) - [V1ClientIPConfig](docs/V1ClientIPConfig.md) - [V1ClusterRole](docs/V1ClusterRole.md) @@ -936,6 +953,7 @@ Class | Method | HTTP request | Description - [V1ConfigMapEnvSource](docs/V1ConfigMapEnvSource.md) - [V1ConfigMapKeySelector](docs/V1ConfigMapKeySelector.md) - [V1ConfigMapList](docs/V1ConfigMapList.md) + - [V1ConfigMapNodeConfigSource](docs/V1ConfigMapNodeConfigSource.md) - [V1ConfigMapProjection](docs/V1ConfigMapProjection.md) - [V1ConfigMapVolumeSource](docs/V1ConfigMapVolumeSource.md) - [V1Container](docs/V1Container.md) @@ -1038,6 +1056,7 @@ Class | Method | HTTP request | Description - [V1NodeAffinity](docs/V1NodeAffinity.md) - [V1NodeCondition](docs/V1NodeCondition.md) - [V1NodeConfigSource](docs/V1NodeConfigSource.md) + - [V1NodeConfigStatus](docs/V1NodeConfigStatus.md) - [V1NodeDaemonEndpoints](docs/V1NodeDaemonEndpoints.md) - [V1NodeList](docs/V1NodeList.md) - [V1NodeSelector](docs/V1NodeSelector.md) @@ -1071,6 +1090,7 @@ Class | Method | HTTP request | Description - [V1PodDNSConfig](docs/V1PodDNSConfig.md) - [V1PodDNSConfigOption](docs/V1PodDNSConfigOption.md) - [V1PodList](docs/V1PodList.md) + - [V1PodReadinessGate](docs/V1PodReadinessGate.md) - [V1PodSecurityContext](docs/V1PodSecurityContext.md) - [V1PodSpec](docs/V1PodSpec.md) - [V1PodStatus](docs/V1PodStatus.md) @@ -1118,6 +1138,8 @@ Class | Method | HTTP request | Description - [V1ScaleIOVolumeSource](docs/V1ScaleIOVolumeSource.md) - [V1ScaleSpec](docs/V1ScaleSpec.md) - [V1ScaleStatus](docs/V1ScaleStatus.md) + - [V1ScopeSelector](docs/V1ScopeSelector.md) + - [V1ScopedResourceSelectorRequirement](docs/V1ScopedResourceSelectorRequirement.md) - [V1Secret](docs/V1Secret.md) - [V1SecretEnvSource](docs/V1SecretEnvSource.md) - [V1SecretKeySelector](docs/V1SecretKeySelector.md) @@ -1134,6 +1156,7 @@ Class | Method | HTTP request | Description - [V1Service](docs/V1Service.md) - [V1ServiceAccount](docs/V1ServiceAccount.md) - [V1ServiceAccountList](docs/V1ServiceAccountList.md) + - [V1ServiceAccountTokenProjection](docs/V1ServiceAccountTokenProjection.md) - [V1ServiceList](docs/V1ServiceList.md) - [V1ServicePort](docs/V1ServicePort.md) - [V1ServiceReference](docs/V1ServiceReference.md) @@ -1158,12 +1181,15 @@ Class | Method | HTTP request | Description - [V1SubjectAccessReviewSpec](docs/V1SubjectAccessReviewSpec.md) - [V1SubjectAccessReviewStatus](docs/V1SubjectAccessReviewStatus.md) - [V1SubjectRulesReviewStatus](docs/V1SubjectRulesReviewStatus.md) + - [V1Sysctl](docs/V1Sysctl.md) - [V1TCPSocketAction](docs/V1TCPSocketAction.md) - [V1Taint](docs/V1Taint.md) - [V1TokenReview](docs/V1TokenReview.md) - [V1TokenReviewSpec](docs/V1TokenReviewSpec.md) - [V1TokenReviewStatus](docs/V1TokenReviewStatus.md) - [V1Toleration](docs/V1Toleration.md) + - [V1TopologySelectorLabelRequirement](docs/V1TopologySelectorLabelRequirement.md) + - [V1TopologySelectorTerm](docs/V1TopologySelectorTerm.md) - [V1UserInfo](docs/V1UserInfo.md) - [V1Volume](docs/V1Volume.md) - [V1VolumeDevice](docs/V1VolumeDevice.md) @@ -1221,12 +1247,14 @@ Class | Method | HTTP request | Description - [V1beta1CronJobList](docs/V1beta1CronJobList.md) - [V1beta1CronJobSpec](docs/V1beta1CronJobSpec.md) - [V1beta1CronJobStatus](docs/V1beta1CronJobStatus.md) + - [V1beta1CustomResourceColumnDefinition](docs/V1beta1CustomResourceColumnDefinition.md) - [V1beta1CustomResourceDefinition](docs/V1beta1CustomResourceDefinition.md) - [V1beta1CustomResourceDefinitionCondition](docs/V1beta1CustomResourceDefinitionCondition.md) - [V1beta1CustomResourceDefinitionList](docs/V1beta1CustomResourceDefinitionList.md) - [V1beta1CustomResourceDefinitionNames](docs/V1beta1CustomResourceDefinitionNames.md) - [V1beta1CustomResourceDefinitionSpec](docs/V1beta1CustomResourceDefinitionSpec.md) - [V1beta1CustomResourceDefinitionStatus](docs/V1beta1CustomResourceDefinitionStatus.md) + - [V1beta1CustomResourceDefinitionVersion](docs/V1beta1CustomResourceDefinitionVersion.md) - [V1beta1CustomResourceSubresourceScale](docs/V1beta1CustomResourceSubresourceScale.md) - [V1beta1CustomResourceSubresources](docs/V1beta1CustomResourceSubresources.md) - [V1beta1CustomResourceValidation](docs/V1beta1CustomResourceValidation.md) @@ -1251,11 +1279,7 @@ Class | Method | HTTP request | Description - [V1beta1IngressSpec](docs/V1beta1IngressSpec.md) - [V1beta1IngressStatus](docs/V1beta1IngressStatus.md) - [V1beta1IngressTLS](docs/V1beta1IngressTLS.md) - - [V1beta1JSON](docs/V1beta1JSON.md) - [V1beta1JSONSchemaProps](docs/V1beta1JSONSchemaProps.md) - - [V1beta1JSONSchemaPropsOrArray](docs/V1beta1JSONSchemaPropsOrArray.md) - - [V1beta1JSONSchemaPropsOrBool](docs/V1beta1JSONSchemaPropsOrBool.md) - - [V1beta1JSONSchemaPropsOrStringArray](docs/V1beta1JSONSchemaPropsOrStringArray.md) - [V1beta1JobTemplateSpec](docs/V1beta1JobTemplateSpec.md) - [V1beta1LocalSubjectAccessReview](docs/V1beta1LocalSubjectAccessReview.md) - [V1beta1MutatingWebhookConfiguration](docs/V1beta1MutatingWebhookConfiguration.md) @@ -1274,6 +1298,8 @@ Class | Method | HTTP request | Description - [V1beta1PodDisruptionBudgetSpec](docs/V1beta1PodDisruptionBudgetSpec.md) - [V1beta1PodDisruptionBudgetStatus](docs/V1beta1PodDisruptionBudgetStatus.md) - [V1beta1PolicyRule](docs/V1beta1PolicyRule.md) + - [V1beta1PriorityClass](docs/V1beta1PriorityClass.md) + - [V1beta1PriorityClassList](docs/V1beta1PriorityClassList.md) - [V1beta1ReplicaSet](docs/V1beta1ReplicaSet.md) - [V1beta1ReplicaSetCondition](docs/V1beta1ReplicaSetCondition.md) - [V1beta1ReplicaSetList](docs/V1beta1ReplicaSetList.md) diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 72c0a99497..eea580f30c 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "6.0.0-snapshot" +__version__ = "7.0.0-snapshot" import kubernetes.client import kubernetes.config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index c0718216ed..57351a9e36 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -85,6 +85,7 @@ from .models.v1_capabilities import V1Capabilities from .models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource from .models.v1_ceph_fs_volume_source import V1CephFSVolumeSource +from .models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource from .models.v1_cinder_volume_source import V1CinderVolumeSource from .models.v1_client_ip_config import V1ClientIPConfig from .models.v1_cluster_role import V1ClusterRole @@ -98,6 +99,7 @@ from .models.v1_config_map_env_source import V1ConfigMapEnvSource from .models.v1_config_map_key_selector import V1ConfigMapKeySelector from .models.v1_config_map_list import V1ConfigMapList +from .models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource from .models.v1_config_map_projection import V1ConfigMapProjection from .models.v1_config_map_volume_source import V1ConfigMapVolumeSource from .models.v1_container import V1Container @@ -200,6 +202,7 @@ from .models.v1_node_affinity import V1NodeAffinity from .models.v1_node_condition import V1NodeCondition from .models.v1_node_config_source import V1NodeConfigSource +from .models.v1_node_config_status import V1NodeConfigStatus from .models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints from .models.v1_node_list import V1NodeList from .models.v1_node_selector import V1NodeSelector @@ -233,6 +236,7 @@ from .models.v1_pod_dns_config import V1PodDNSConfig from .models.v1_pod_dns_config_option import V1PodDNSConfigOption from .models.v1_pod_list import V1PodList +from .models.v1_pod_readiness_gate import V1PodReadinessGate from .models.v1_pod_security_context import V1PodSecurityContext from .models.v1_pod_spec import V1PodSpec from .models.v1_pod_status import V1PodStatus @@ -280,6 +284,8 @@ from .models.v1_scale_io_volume_source import V1ScaleIOVolumeSource from .models.v1_scale_spec import V1ScaleSpec from .models.v1_scale_status import V1ScaleStatus +from .models.v1_scope_selector import V1ScopeSelector +from .models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement from .models.v1_secret import V1Secret from .models.v1_secret_env_source import V1SecretEnvSource from .models.v1_secret_key_selector import V1SecretKeySelector @@ -296,6 +302,7 @@ from .models.v1_service import V1Service from .models.v1_service_account import V1ServiceAccount from .models.v1_service_account_list import V1ServiceAccountList +from .models.v1_service_account_token_projection import V1ServiceAccountTokenProjection from .models.v1_service_list import V1ServiceList from .models.v1_service_port import V1ServicePort from .models.v1_service_reference import V1ServiceReference @@ -320,12 +327,15 @@ from .models.v1_subject_access_review_spec import V1SubjectAccessReviewSpec from .models.v1_subject_access_review_status import V1SubjectAccessReviewStatus from .models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus +from .models.v1_sysctl import V1Sysctl from .models.v1_tcp_socket_action import V1TCPSocketAction from .models.v1_taint import V1Taint from .models.v1_token_review import V1TokenReview from .models.v1_token_review_spec import V1TokenReviewSpec from .models.v1_token_review_status import V1TokenReviewStatus from .models.v1_toleration import V1Toleration +from .models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement +from .models.v1_topology_selector_term import V1TopologySelectorTerm from .models.v1_user_info import V1UserInfo from .models.v1_volume import V1Volume from .models.v1_volume_device import V1VolumeDevice @@ -383,12 +393,14 @@ from .models.v1beta1_cron_job_list import V1beta1CronJobList from .models.v1beta1_cron_job_spec import V1beta1CronJobSpec from .models.v1beta1_cron_job_status import V1beta1CronJobStatus +from .models.v1beta1_custom_resource_column_definition import V1beta1CustomResourceColumnDefinition from .models.v1beta1_custom_resource_definition import V1beta1CustomResourceDefinition from .models.v1beta1_custom_resource_definition_condition import V1beta1CustomResourceDefinitionCondition from .models.v1beta1_custom_resource_definition_list import V1beta1CustomResourceDefinitionList from .models.v1beta1_custom_resource_definition_names import V1beta1CustomResourceDefinitionNames from .models.v1beta1_custom_resource_definition_spec import V1beta1CustomResourceDefinitionSpec from .models.v1beta1_custom_resource_definition_status import V1beta1CustomResourceDefinitionStatus +from .models.v1beta1_custom_resource_definition_version import V1beta1CustomResourceDefinitionVersion from .models.v1beta1_custom_resource_subresource_scale import V1beta1CustomResourceSubresourceScale from .models.v1beta1_custom_resource_subresources import V1beta1CustomResourceSubresources from .models.v1beta1_custom_resource_validation import V1beta1CustomResourceValidation @@ -413,11 +425,7 @@ from .models.v1beta1_ingress_spec import V1beta1IngressSpec from .models.v1beta1_ingress_status import V1beta1IngressStatus from .models.v1beta1_ingress_tls import V1beta1IngressTLS -from .models.v1beta1_json import V1beta1JSON from .models.v1beta1_json_schema_props import V1beta1JSONSchemaProps -from .models.v1beta1_json_schema_props_or_array import V1beta1JSONSchemaPropsOrArray -from .models.v1beta1_json_schema_props_or_bool import V1beta1JSONSchemaPropsOrBool -from .models.v1beta1_json_schema_props_or_string_array import V1beta1JSONSchemaPropsOrStringArray from .models.v1beta1_job_template_spec import V1beta1JobTemplateSpec from .models.v1beta1_local_subject_access_review import V1beta1LocalSubjectAccessReview from .models.v1beta1_mutating_webhook_configuration import V1beta1MutatingWebhookConfiguration @@ -436,6 +444,8 @@ from .models.v1beta1_pod_disruption_budget_spec import V1beta1PodDisruptionBudgetSpec from .models.v1beta1_pod_disruption_budget_status import V1beta1PodDisruptionBudgetStatus from .models.v1beta1_policy_rule import V1beta1PolicyRule +from .models.v1beta1_priority_class import V1beta1PriorityClass +from .models.v1beta1_priority_class_list import V1beta1PriorityClassList from .models.v1beta1_replica_set import V1beta1ReplicaSet from .models.v1beta1_replica_set_condition import V1beta1ReplicaSetCondition from .models.v1beta1_replica_set_list import V1beta1ReplicaSetList @@ -583,6 +593,7 @@ from .apis.rbac_authorization_v1beta1_api import RbacAuthorizationV1beta1Api from .apis.scheduling_api import SchedulingApi from .apis.scheduling_v1alpha1_api import SchedulingV1alpha1Api +from .apis.scheduling_v1beta1_api import SchedulingV1beta1Api from .apis.settings_api import SettingsApi from .apis.settings_v1alpha1_api import SettingsV1alpha1Api from .apis.storage_api import StorageApi diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index b9d9fba47f..81535a8966 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -4,7 +4,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -71,7 +71,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/6.0.0-snapshot/python' + self.user_agent = 'Swagger-Codegen/7.0.0-snapshot/python' def __del__(self): self.pool.close() diff --git a/kubernetes/client/apis/__init__.py b/kubernetes/client/apis/__init__.py index ee7ed6f527..c735d9beba 100644 --- a/kubernetes/client/apis/__init__.py +++ b/kubernetes/client/apis/__init__.py @@ -47,6 +47,7 @@ from .rbac_authorization_v1beta1_api import RbacAuthorizationV1beta1Api from .scheduling_api import SchedulingApi from .scheduling_v1alpha1_api import SchedulingV1alpha1Api +from .scheduling_v1beta1_api import SchedulingV1beta1Api from .settings_api import SettingsApi from .settings_v1alpha1_api import SettingsV1alpha1Api from .storage_api import StorageApi diff --git a/kubernetes/client/apis/admissionregistration_api.py b/kubernetes/client/apis/admissionregistration_api.py index c0a5c80f97..b84e36e64b 100644 --- a/kubernetes/client/apis/admissionregistration_api.py +++ b/kubernetes/client/apis/admissionregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/admissionregistration_v1alpha1_api.py b/kubernetes/client/apis/admissionregistration_v1alpha1_api.py index 7863955c23..5c86f96998 100644 --- a/kubernetes/client/apis/admissionregistration_v1alpha1_api.py +++ b/kubernetes/client/apis/admissionregistration_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/admissionregistration_v1beta1_api.py b/kubernetes/client/apis/admissionregistration_v1beta1_api.py index 72cada6603..f7294c39f6 100644 --- a/kubernetes/client/apis/admissionregistration_v1beta1_api.py +++ b/kubernetes/client/apis/admissionregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apiextensions_api.py b/kubernetes/client/apis/apiextensions_api.py index 7cec3126f0..e69d2afcae 100644 --- a/kubernetes/client/apis/apiextensions_api.py +++ b/kubernetes/client/apis/apiextensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apiextensions_v1beta1_api.py b/kubernetes/client/apis/apiextensions_v1beta1_api.py index 30225a4609..fc4ee54eea 100644 --- a/kubernetes/client/apis/apiextensions_v1beta1_api.py +++ b/kubernetes/client/apis/apiextensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -699,6 +699,113 @@ def patch_custom_resource_definition_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def patch_custom_resource_definition_status(self, name, body, **kwargs): + """ + partially update status of the specified CustomResourceDefinition + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_custom_resource_definition_status(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the CustomResourceDefinition (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1CustomResourceDefinition + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.patch_custom_resource_definition_status_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_custom_resource_definition_status_with_http_info(name, body, **kwargs) + return data + + def patch_custom_resource_definition_status_with_http_info(self, name, body, **kwargs): + """ + partially update status of the specified CustomResourceDefinition + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_custom_resource_definition_status_with_http_info(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the CustomResourceDefinition (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1CustomResourceDefinition + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_custom_resource_definition_status" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_custom_resource_definition_status`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_custom_resource_definition_status`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1CustomResourceDefinition', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def read_custom_resource_definition(self, name, **kwargs): """ read the specified CustomResourceDefinition @@ -807,6 +914,106 @@ def read_custom_resource_definition_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def read_custom_resource_definition_status(self, name, **kwargs): + """ + read status of the specified CustomResourceDefinition + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_custom_resource_definition_status(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the CustomResourceDefinition (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1CustomResourceDefinition + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.read_custom_resource_definition_status_with_http_info(name, **kwargs) + else: + (data) = self.read_custom_resource_definition_status_with_http_info(name, **kwargs) + return data + + def read_custom_resource_definition_status_with_http_info(self, name, **kwargs): + """ + read status of the specified CustomResourceDefinition + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_custom_resource_definition_status_with_http_info(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the CustomResourceDefinition (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1CustomResourceDefinition + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method read_custom_resource_definition_status" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_custom_resource_definition_status`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1CustomResourceDefinition', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def replace_custom_resource_definition(self, name, body, **kwargs): """ replace the specified CustomResourceDefinition diff --git a/kubernetes/client/apis/apiregistration_api.py b/kubernetes/client/apis/apiregistration_api.py index 5b3047e542..3787afde4d 100644 --- a/kubernetes/client/apis/apiregistration_api.py +++ b/kubernetes/client/apis/apiregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apiregistration_v1_api.py b/kubernetes/client/apis/apiregistration_v1_api.py index 34794eda64..28de611c99 100644 --- a/kubernetes/client/apis/apiregistration_v1_api.py +++ b/kubernetes/client/apis/apiregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -699,6 +699,113 @@ def patch_api_service_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def patch_api_service_status(self, name, body, **kwargs): + """ + partially update status of the specified APIService + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_api_service_status(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the APIService (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1APIService + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.patch_api_service_status_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_api_service_status_with_http_info(name, body, **kwargs) + return data + + def patch_api_service_status_with_http_info(self, name, body, **kwargs): + """ + partially update status of the specified APIService + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_api_service_status_with_http_info(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the APIService (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1APIService + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_api_service_status" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_api_service_status`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_api_service_status`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/apiregistration.k8s.io/v1/apiservices/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIService', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def read_api_service(self, name, **kwargs): """ read the specified APIService @@ -807,6 +914,106 @@ def read_api_service_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def read_api_service_status(self, name, **kwargs): + """ + read status of the specified APIService + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_api_service_status(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the APIService (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1APIService + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.read_api_service_status_with_http_info(name, **kwargs) + else: + (data) = self.read_api_service_status_with_http_info(name, **kwargs) + return data + + def read_api_service_status_with_http_info(self, name, **kwargs): + """ + read status of the specified APIService + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_api_service_status_with_http_info(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the APIService (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1APIService + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method read_api_service_status" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_api_service_status`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/apiregistration.k8s.io/v1/apiservices/{name}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIService', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def replace_api_service(self, name, body, **kwargs): """ replace the specified APIService diff --git a/kubernetes/client/apis/apiregistration_v1beta1_api.py b/kubernetes/client/apis/apiregistration_v1beta1_api.py index e48cf332f6..bf573d5b60 100644 --- a/kubernetes/client/apis/apiregistration_v1beta1_api.py +++ b/kubernetes/client/apis/apiregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -699,6 +699,113 @@ def patch_api_service_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def patch_api_service_status(self, name, body, **kwargs): + """ + partially update status of the specified APIService + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_api_service_status(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the APIService (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1APIService + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.patch_api_service_status_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_api_service_status_with_http_info(name, body, **kwargs) + return data + + def patch_api_service_status_with_http_info(self, name, body, **kwargs): + """ + partially update status of the specified APIService + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_api_service_status_with_http_info(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the APIService (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1APIService + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_api_service_status" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_api_service_status`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_api_service_status`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1APIService', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def read_api_service(self, name, **kwargs): """ read the specified APIService @@ -807,6 +914,106 @@ def read_api_service_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def read_api_service_status(self, name, **kwargs): + """ + read status of the specified APIService + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_api_service_status(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the APIService (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1APIService + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.read_api_service_status_with_http_info(name, **kwargs) + else: + (data) = self.read_api_service_status_with_http_info(name, **kwargs) + return data + + def read_api_service_status_with_http_info(self, name, **kwargs): + """ + read status of the specified APIService + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_api_service_status_with_http_info(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the APIService (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1APIService + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method read_api_service_status" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_api_service_status`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1APIService', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def replace_api_service(self, name, body, **kwargs): """ replace the specified APIService diff --git a/kubernetes/client/apis/apis_api.py b/kubernetes/client/apis/apis_api.py index a2f10a691f..439f3a1412 100644 --- a/kubernetes/client/apis/apis_api.py +++ b/kubernetes/client/apis/apis_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apps_api.py b/kubernetes/client/apis/apps_api.py index fce87a4a31..fa8f680e42 100644 --- a/kubernetes/client/apis/apps_api.py +++ b/kubernetes/client/apis/apps_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apps_v1_api.py b/kubernetes/client/apis/apps_v1_api.py index 9e4599b4ae..78e9cd5184 100644 --- a/kubernetes/client/apis/apps_v1_api.py +++ b/kubernetes/client/apis/apps_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apps_v1beta1_api.py b/kubernetes/client/apis/apps_v1beta1_api.py index 7cac091139..290c62c88d 100644 --- a/kubernetes/client/apis/apps_v1beta1_api.py +++ b/kubernetes/client/apis/apps_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apps_v1beta2_api.py b/kubernetes/client/apis/apps_v1beta2_api.py index b1d93f0442..a2d8325639 100644 --- a/kubernetes/client/apis/apps_v1beta2_api.py +++ b/kubernetes/client/apis/apps_v1beta2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authentication_api.py b/kubernetes/client/apis/authentication_api.py index 5ac150dbd6..4f0e245363 100644 --- a/kubernetes/client/apis/authentication_api.py +++ b/kubernetes/client/apis/authentication_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authentication_v1_api.py b/kubernetes/client/apis/authentication_v1_api.py index 82a4674cea..ac127a612b 100644 --- a/kubernetes/client/apis/authentication_v1_api.py +++ b/kubernetes/client/apis/authentication_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authentication_v1beta1_api.py b/kubernetes/client/apis/authentication_v1beta1_api.py index 86b6c5859e..028a576bf6 100644 --- a/kubernetes/client/apis/authentication_v1beta1_api.py +++ b/kubernetes/client/apis/authentication_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authorization_api.py b/kubernetes/client/apis/authorization_api.py index 5d6c8664d0..87ffaf7685 100644 --- a/kubernetes/client/apis/authorization_api.py +++ b/kubernetes/client/apis/authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authorization_v1_api.py b/kubernetes/client/apis/authorization_v1_api.py index 54eae99f55..f0371a6048 100644 --- a/kubernetes/client/apis/authorization_v1_api.py +++ b/kubernetes/client/apis/authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authorization_v1beta1_api.py b/kubernetes/client/apis/authorization_v1beta1_api.py index 9de22c2423..20e0075c09 100644 --- a/kubernetes/client/apis/authorization_v1beta1_api.py +++ b/kubernetes/client/apis/authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/autoscaling_api.py b/kubernetes/client/apis/autoscaling_api.py index 79eee6ceef..6029abcaf1 100644 --- a/kubernetes/client/apis/autoscaling_api.py +++ b/kubernetes/client/apis/autoscaling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/autoscaling_v1_api.py b/kubernetes/client/apis/autoscaling_v1_api.py index 1c9e2e05d4..0d3eaf383a 100644 --- a/kubernetes/client/apis/autoscaling_v1_api.py +++ b/kubernetes/client/apis/autoscaling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/autoscaling_v2beta1_api.py b/kubernetes/client/apis/autoscaling_v2beta1_api.py index 6687881e82..3f55cd22dd 100644 --- a/kubernetes/client/apis/autoscaling_v2beta1_api.py +++ b/kubernetes/client/apis/autoscaling_v2beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/batch_api.py b/kubernetes/client/apis/batch_api.py index 5ca58c3d34..6596cca663 100644 --- a/kubernetes/client/apis/batch_api.py +++ b/kubernetes/client/apis/batch_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/batch_v1_api.py b/kubernetes/client/apis/batch_v1_api.py index a41640e1bc..d57b86c50c 100644 --- a/kubernetes/client/apis/batch_v1_api.py +++ b/kubernetes/client/apis/batch_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/batch_v1beta1_api.py b/kubernetes/client/apis/batch_v1beta1_api.py index b2b42ade78..c4189ecefc 100644 --- a/kubernetes/client/apis/batch_v1beta1_api.py +++ b/kubernetes/client/apis/batch_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/batch_v2alpha1_api.py b/kubernetes/client/apis/batch_v2alpha1_api.py index 777b2eb1b1..289bda74c5 100644 --- a/kubernetes/client/apis/batch_v2alpha1_api.py +++ b/kubernetes/client/apis/batch_v2alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/certificates_api.py b/kubernetes/client/apis/certificates_api.py index c7eb79cdaf..83a996b6d7 100644 --- a/kubernetes/client/apis/certificates_api.py +++ b/kubernetes/client/apis/certificates_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/certificates_v1beta1_api.py b/kubernetes/client/apis/certificates_v1beta1_api.py index bdded85296..e4d9393e39 100644 --- a/kubernetes/client/apis/certificates_v1beta1_api.py +++ b/kubernetes/client/apis/certificates_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -699,6 +699,113 @@ def patch_certificate_signing_request_with_http_info(self, name, body, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def patch_certificate_signing_request_status(self, name, body, **kwargs): + """ + partially update status of the specified CertificateSigningRequest + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_certificate_signing_request_status(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the CertificateSigningRequest (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1CertificateSigningRequest + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.patch_certificate_signing_request_status_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_certificate_signing_request_status_with_http_info(name, body, **kwargs) + return data + + def patch_certificate_signing_request_status_with_http_info(self, name, body, **kwargs): + """ + partially update status of the specified CertificateSigningRequest + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_certificate_signing_request_status_with_http_info(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the CertificateSigningRequest (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1CertificateSigningRequest + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_certificate_signing_request_status" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_certificate_signing_request_status`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_certificate_signing_request_status`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1CertificateSigningRequest', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def read_certificate_signing_request(self, name, **kwargs): """ read the specified CertificateSigningRequest @@ -807,6 +914,106 @@ def read_certificate_signing_request_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def read_certificate_signing_request_status(self, name, **kwargs): + """ + read status of the specified CertificateSigningRequest + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_certificate_signing_request_status(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the CertificateSigningRequest (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1CertificateSigningRequest + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.read_certificate_signing_request_status_with_http_info(name, **kwargs) + else: + (data) = self.read_certificate_signing_request_status_with_http_info(name, **kwargs) + return data + + def read_certificate_signing_request_status_with_http_info(self, name, **kwargs): + """ + read status of the specified CertificateSigningRequest + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_certificate_signing_request_status_with_http_info(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the CertificateSigningRequest (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1CertificateSigningRequest + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method read_certificate_signing_request_status" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_certificate_signing_request_status`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1CertificateSigningRequest', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def replace_certificate_signing_request(self, name, body, **kwargs): """ replace the specified CertificateSigningRequest diff --git a/kubernetes/client/apis/core_api.py b/kubernetes/client/apis/core_api.py index 3b403f97c2..da529f6068 100644 --- a/kubernetes/client/apis/core_api.py +++ b/kubernetes/client/apis/core_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/core_v1_api.py b/kubernetes/client/apis/core_v1_api.py index cae4f63134..e63d1dfe0d 100644 --- a/kubernetes/client/apis/core_v1_api.py +++ b/kubernetes/client/apis/core_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/custom_objects_api.py b/kubernetes/client/apis/custom_objects_api.py index b10e0932c1..f178b6707f 100644 --- a/kubernetes/client/apis/custom_objects_api.py +++ b/kubernetes/client/apis/custom_objects_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/events_api.py b/kubernetes/client/apis/events_api.py index a9a7947439..4835746fab 100644 --- a/kubernetes/client/apis/events_api.py +++ b/kubernetes/client/apis/events_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/events_v1beta1_api.py b/kubernetes/client/apis/events_v1beta1_api.py index 9b0e2c3f26..d9247c9e86 100644 --- a/kubernetes/client/apis/events_v1beta1_api.py +++ b/kubernetes/client/apis/events_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/extensions_api.py b/kubernetes/client/apis/extensions_api.py index 33d0b5a086..aa39ca30a6 100644 --- a/kubernetes/client/apis/extensions_api.py +++ b/kubernetes/client/apis/extensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/extensions_v1beta1_api.py b/kubernetes/client/apis/extensions_v1beta1_api.py index ef4abe4f94..021f6a0c0a 100644 --- a/kubernetes/client/apis/extensions_v1beta1_api.py +++ b/kubernetes/client/apis/extensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/logs_api.py b/kubernetes/client/apis/logs_api.py index c104a79fc5..d69c5261f3 100644 --- a/kubernetes/client/apis/logs_api.py +++ b/kubernetes/client/apis/logs_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/networking_api.py b/kubernetes/client/apis/networking_api.py index a814029cb5..a9ad5c9522 100644 --- a/kubernetes/client/apis/networking_api.py +++ b/kubernetes/client/apis/networking_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/networking_v1_api.py b/kubernetes/client/apis/networking_v1_api.py index 598f33b5ee..ddf2546130 100644 --- a/kubernetes/client/apis/networking_v1_api.py +++ b/kubernetes/client/apis/networking_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/policy_api.py b/kubernetes/client/apis/policy_api.py index 223831cf24..613f7f333c 100644 --- a/kubernetes/client/apis/policy_api.py +++ b/kubernetes/client/apis/policy_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/policy_v1beta1_api.py b/kubernetes/client/apis/policy_v1beta1_api.py index ef96088f13..f2512fb338 100644 --- a/kubernetes/client/apis/policy_v1beta1_api.py +++ b/kubernetes/client/apis/policy_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/rbac_authorization_api.py b/kubernetes/client/apis/rbac_authorization_api.py index 9002427dc8..48ca0eb917 100644 --- a/kubernetes/client/apis/rbac_authorization_api.py +++ b/kubernetes/client/apis/rbac_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/rbac_authorization_v1_api.py b/kubernetes/client/apis/rbac_authorization_v1_api.py index 97a0171424..d4c1b8e293 100644 --- a/kubernetes/client/apis/rbac_authorization_v1_api.py +++ b/kubernetes/client/apis/rbac_authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py b/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py index 7a79159ecc..645ee7d75a 100644 --- a/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py +++ b/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/rbac_authorization_v1beta1_api.py b/kubernetes/client/apis/rbac_authorization_v1beta1_api.py index 686c08d4df..3becc079b0 100644 --- a/kubernetes/client/apis/rbac_authorization_v1beta1_api.py +++ b/kubernetes/client/apis/rbac_authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/scheduling_api.py b/kubernetes/client/apis/scheduling_api.py index 2dc576b55a..6a23e2b6a3 100644 --- a/kubernetes/client/apis/scheduling_api.py +++ b/kubernetes/client/apis/scheduling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/scheduling_v1alpha1_api.py b/kubernetes/client/apis/scheduling_v1alpha1_api.py index 6dce5b5cb8..eeeac350f4 100644 --- a/kubernetes/client/apis/scheduling_v1alpha1_api.py +++ b/kubernetes/client/apis/scheduling_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/scheduling_v1beta1_api.py b/kubernetes/client/apis/scheduling_v1beta1_api.py new file mode 100644 index 0000000000..269117f32a --- /dev/null +++ b/kubernetes/client/apis/scheduling_v1beta1_api.py @@ -0,0 +1,915 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..api_client import ApiClient + + +class SchedulingV1beta1Api(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_priority_class(self, body, **kwargs): + """ + create a PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.create_priority_class(body, async=True) + >>> result = thread.get() + + :param async bool + :param V1beta1PriorityClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1PriorityClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.create_priority_class_with_http_info(body, **kwargs) + else: + (data) = self.create_priority_class_with_http_info(body, **kwargs) + return data + + def create_priority_class_with_http_info(self, body, **kwargs): + """ + create a PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.create_priority_class_with_http_info(body, async=True) + >>> result = thread.get() + + :param async bool + :param V1beta1PriorityClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1PriorityClass + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_priority_class" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_priority_class`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/scheduling.k8s.io/v1beta1/priorityclasses', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PriorityClass', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_priority_class(self, **kwargs): + """ + delete collection of PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.delete_collection_priority_class(async=True) + >>> result = thread.get() + + :param async bool + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.delete_collection_priority_class_with_http_info(**kwargs) + else: + (data) = self.delete_collection_priority_class_with_http_info(**kwargs) + return data + + def delete_collection_priority_class_with_http_info(self, **kwargs): + """ + delete collection of PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.delete_collection_priority_class_with_http_info(async=True) + >>> result = thread.get() + + :param async bool + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['pretty', '_continue', 'field_selector', 'include_uninitialized', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_priority_class" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if '_continue' in params: + query_params.append(('continue', params['_continue'])) + if 'field_selector' in params: + query_params.append(('fieldSelector', params['field_selector'])) + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'label_selector' in params: + query_params.append(('labelSelector', params['label_selector'])) + if 'limit' in params: + query_params.append(('limit', params['limit'])) + if 'resource_version' in params: + query_params.append(('resourceVersion', params['resource_version'])) + if 'timeout_seconds' in params: + query_params.append(('timeoutSeconds', params['timeout_seconds'])) + if 'watch' in params: + query_params.append(('watch', params['watch'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/scheduling.k8s.io/v1beta1/priorityclasses', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_priority_class(self, name, body, **kwargs): + """ + delete a PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.delete_priority_class(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the PriorityClass (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.delete_priority_class_with_http_info(name, body, **kwargs) + else: + (data) = self.delete_priority_class_with_http_info(name, body, **kwargs) + return data + + def delete_priority_class_with_http_info(self, name, body, **kwargs): + """ + delete a PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.delete_priority_class_with_http_info(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the PriorityClass (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_priority_class" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_priority_class`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_priority_class`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'grace_period_seconds' in params: + query_params.append(('gracePeriodSeconds', params['grace_period_seconds'])) + if 'orphan_dependents' in params: + query_params.append(('orphanDependents', params['orphan_dependents'])) + if 'propagation_policy' in params: + query_params.append(('propagationPolicy', params['propagation_policy'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.get_api_resources(async=True) + >>> result = thread.get() + + :param async bool + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.get_api_resources_with_http_info(**kwargs) + else: + (data) = self.get_api_resources_with_http_info(**kwargs) + return data + + def get_api_resources_with_http_info(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.get_api_resources_with_http_info(async=True) + >>> result = thread.get() + + :param async bool + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/scheduling.k8s.io/v1beta1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIResourceList', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_priority_class(self, **kwargs): + """ + list or watch objects of kind PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.list_priority_class(async=True) + >>> result = thread.get() + + :param async bool + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1beta1PriorityClassList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.list_priority_class_with_http_info(**kwargs) + else: + (data) = self.list_priority_class_with_http_info(**kwargs) + return data + + def list_priority_class_with_http_info(self, **kwargs): + """ + list or watch objects of kind PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.list_priority_class_with_http_info(async=True) + >>> result = thread.get() + + :param async bool + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1beta1PriorityClassList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['pretty', '_continue', 'field_selector', 'include_uninitialized', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_priority_class" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if '_continue' in params: + query_params.append(('continue', params['_continue'])) + if 'field_selector' in params: + query_params.append(('fieldSelector', params['field_selector'])) + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'label_selector' in params: + query_params.append(('labelSelector', params['label_selector'])) + if 'limit' in params: + query_params.append(('limit', params['limit'])) + if 'resource_version' in params: + query_params.append(('resourceVersion', params['resource_version'])) + if 'timeout_seconds' in params: + query_params.append(('timeoutSeconds', params['timeout_seconds'])) + if 'watch' in params: + query_params.append(('watch', params['watch'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/scheduling.k8s.io/v1beta1/priorityclasses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PriorityClassList', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_priority_class(self, name, body, **kwargs): + """ + partially update the specified PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_priority_class(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the PriorityClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1PriorityClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.patch_priority_class_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_priority_class_with_http_info(name, body, **kwargs) + return data + + def patch_priority_class_with_http_info(self, name, body, **kwargs): + """ + partially update the specified PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.patch_priority_class_with_http_info(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the PriorityClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1PriorityClass + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_priority_class" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_priority_class`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_priority_class`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PriorityClass', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_priority_class(self, name, **kwargs): + """ + read the specified PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_priority_class(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the PriorityClass (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1beta1PriorityClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.read_priority_class_with_http_info(name, **kwargs) + else: + (data) = self.read_priority_class_with_http_info(name, **kwargs) + return data + + def read_priority_class_with_http_info(self, name, **kwargs): + """ + read the specified PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.read_priority_class_with_http_info(name, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the PriorityClass (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1beta1PriorityClass + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty', 'exact', 'export'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method read_priority_class" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_priority_class`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'exact' in params: + query_params.append(('exact', params['exact'])) + if 'export' in params: + query_params.append(('export', params['export'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PriorityClass', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_priority_class(self, name, body, **kwargs): + """ + replace the specified PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.replace_priority_class(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the PriorityClass (required) + :param V1beta1PriorityClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1PriorityClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async'): + return self.replace_priority_class_with_http_info(name, body, **kwargs) + else: + (data) = self.replace_priority_class_with_http_info(name, body, **kwargs) + return data + + def replace_priority_class_with_http_info(self, name, body, **kwargs): + """ + replace the specified PriorityClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async=True + >>> thread = api.replace_priority_class_with_http_info(name, body, async=True) + >>> result = thread.get() + + :param async bool + :param str name: name of the PriorityClass (required) + :param V1beta1PriorityClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1beta1PriorityClass + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty'] + all_params.append('async') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_priority_class" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `replace_priority_class`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `replace_priority_class`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PriorityClass', + auth_settings=auth_settings, + async=params.get('async'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/settings_api.py b/kubernetes/client/apis/settings_api.py index 606f4466c1..3f3c0c3e68 100644 --- a/kubernetes/client/apis/settings_api.py +++ b/kubernetes/client/apis/settings_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/settings_v1alpha1_api.py b/kubernetes/client/apis/settings_v1alpha1_api.py index 1bb3180506..e476d5f3d3 100644 --- a/kubernetes/client/apis/settings_v1alpha1_api.py +++ b/kubernetes/client/apis/settings_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/storage_api.py b/kubernetes/client/apis/storage_api.py index c715d860a1..da1a1b1337 100644 --- a/kubernetes/client/apis/storage_api.py +++ b/kubernetes/client/apis/storage_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/storage_v1_api.py b/kubernetes/client/apis/storage_v1_api.py index d93b1d86e0..f3f7bf7fef 100644 --- a/kubernetes/client/apis/storage_v1_api.py +++ b/kubernetes/client/apis/storage_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/storage_v1alpha1_api.py b/kubernetes/client/apis/storage_v1alpha1_api.py index cf7a8f3030..bffe698f4a 100644 --- a/kubernetes/client/apis/storage_v1alpha1_api.py +++ b/kubernetes/client/apis/storage_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/storage_v1beta1_api.py b/kubernetes/client/apis/storage_v1beta1_api.py index 458abad686..c1adcba9cb 100644 --- a/kubernetes/client/apis/storage_v1beta1_api.py +++ b/kubernetes/client/apis/storage_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/version_api.py b/kubernetes/client/apis/version_api.py index 5f4a575c32..674cb3c024 100644 --- a/kubernetes/client/apis/version_api.py +++ b/kubernetes/client/apis/version_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index fe798e7bc1..a22450d7f6 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -239,6 +239,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v1.10.0\n"\ - "SDK Package Version: 6.0.0-snapshot".\ + "Version of the API: v1.11.1\n"\ + "SDK Package Version: 7.0.0-snapshot".\ format(env=sys.platform, pyversion=sys.version) diff --git a/kubernetes/client/models/__init__.py b/kubernetes/client/models/__init__.py index 8c63442cdd..2ca3bdc6a5 100644 --- a/kubernetes/client/models/__init__.py +++ b/kubernetes/client/models/__init__.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -85,6 +85,7 @@ from .v1_capabilities import V1Capabilities from .v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource from .v1_ceph_fs_volume_source import V1CephFSVolumeSource +from .v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource from .v1_cinder_volume_source import V1CinderVolumeSource from .v1_client_ip_config import V1ClientIPConfig from .v1_cluster_role import V1ClusterRole @@ -98,6 +99,7 @@ from .v1_config_map_env_source import V1ConfigMapEnvSource from .v1_config_map_key_selector import V1ConfigMapKeySelector from .v1_config_map_list import V1ConfigMapList +from .v1_config_map_node_config_source import V1ConfigMapNodeConfigSource from .v1_config_map_projection import V1ConfigMapProjection from .v1_config_map_volume_source import V1ConfigMapVolumeSource from .v1_container import V1Container @@ -200,6 +202,7 @@ from .v1_node_affinity import V1NodeAffinity from .v1_node_condition import V1NodeCondition from .v1_node_config_source import V1NodeConfigSource +from .v1_node_config_status import V1NodeConfigStatus from .v1_node_daemon_endpoints import V1NodeDaemonEndpoints from .v1_node_list import V1NodeList from .v1_node_selector import V1NodeSelector @@ -233,6 +236,7 @@ from .v1_pod_dns_config import V1PodDNSConfig from .v1_pod_dns_config_option import V1PodDNSConfigOption from .v1_pod_list import V1PodList +from .v1_pod_readiness_gate import V1PodReadinessGate from .v1_pod_security_context import V1PodSecurityContext from .v1_pod_spec import V1PodSpec from .v1_pod_status import V1PodStatus @@ -280,6 +284,8 @@ from .v1_scale_io_volume_source import V1ScaleIOVolumeSource from .v1_scale_spec import V1ScaleSpec from .v1_scale_status import V1ScaleStatus +from .v1_scope_selector import V1ScopeSelector +from .v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement from .v1_secret import V1Secret from .v1_secret_env_source import V1SecretEnvSource from .v1_secret_key_selector import V1SecretKeySelector @@ -296,6 +302,7 @@ from .v1_service import V1Service from .v1_service_account import V1ServiceAccount from .v1_service_account_list import V1ServiceAccountList +from .v1_service_account_token_projection import V1ServiceAccountTokenProjection from .v1_service_list import V1ServiceList from .v1_service_port import V1ServicePort from .v1_service_reference import V1ServiceReference @@ -320,12 +327,15 @@ from .v1_subject_access_review_spec import V1SubjectAccessReviewSpec from .v1_subject_access_review_status import V1SubjectAccessReviewStatus from .v1_subject_rules_review_status import V1SubjectRulesReviewStatus +from .v1_sysctl import V1Sysctl from .v1_tcp_socket_action import V1TCPSocketAction from .v1_taint import V1Taint from .v1_token_review import V1TokenReview from .v1_token_review_spec import V1TokenReviewSpec from .v1_token_review_status import V1TokenReviewStatus from .v1_toleration import V1Toleration +from .v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement +from .v1_topology_selector_term import V1TopologySelectorTerm from .v1_user_info import V1UserInfo from .v1_volume import V1Volume from .v1_volume_device import V1VolumeDevice @@ -383,12 +393,14 @@ from .v1beta1_cron_job_list import V1beta1CronJobList from .v1beta1_cron_job_spec import V1beta1CronJobSpec from .v1beta1_cron_job_status import V1beta1CronJobStatus +from .v1beta1_custom_resource_column_definition import V1beta1CustomResourceColumnDefinition from .v1beta1_custom_resource_definition import V1beta1CustomResourceDefinition from .v1beta1_custom_resource_definition_condition import V1beta1CustomResourceDefinitionCondition from .v1beta1_custom_resource_definition_list import V1beta1CustomResourceDefinitionList from .v1beta1_custom_resource_definition_names import V1beta1CustomResourceDefinitionNames from .v1beta1_custom_resource_definition_spec import V1beta1CustomResourceDefinitionSpec from .v1beta1_custom_resource_definition_status import V1beta1CustomResourceDefinitionStatus +from .v1beta1_custom_resource_definition_version import V1beta1CustomResourceDefinitionVersion from .v1beta1_custom_resource_subresource_scale import V1beta1CustomResourceSubresourceScale from .v1beta1_custom_resource_subresources import V1beta1CustomResourceSubresources from .v1beta1_custom_resource_validation import V1beta1CustomResourceValidation @@ -413,11 +425,7 @@ from .v1beta1_ingress_spec import V1beta1IngressSpec from .v1beta1_ingress_status import V1beta1IngressStatus from .v1beta1_ingress_tls import V1beta1IngressTLS -from .v1beta1_json import V1beta1JSON from .v1beta1_json_schema_props import V1beta1JSONSchemaProps -from .v1beta1_json_schema_props_or_array import V1beta1JSONSchemaPropsOrArray -from .v1beta1_json_schema_props_or_bool import V1beta1JSONSchemaPropsOrBool -from .v1beta1_json_schema_props_or_string_array import V1beta1JSONSchemaPropsOrStringArray from .v1beta1_job_template_spec import V1beta1JobTemplateSpec from .v1beta1_local_subject_access_review import V1beta1LocalSubjectAccessReview from .v1beta1_mutating_webhook_configuration import V1beta1MutatingWebhookConfiguration @@ -436,6 +444,8 @@ from .v1beta1_pod_disruption_budget_spec import V1beta1PodDisruptionBudgetSpec from .v1beta1_pod_disruption_budget_status import V1beta1PodDisruptionBudgetStatus from .v1beta1_policy_rule import V1beta1PolicyRule +from .v1beta1_priority_class import V1beta1PriorityClass +from .v1beta1_priority_class_list import V1beta1PriorityClassList from .v1beta1_replica_set import V1beta1ReplicaSet from .v1beta1_replica_set_condition import V1beta1ReplicaSetCondition from .v1beta1_replica_set_list import V1beta1ReplicaSetList diff --git a/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py b/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py index 9e58a5ed3a..6f9ace9342 100644 --- a/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py +++ b/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apiregistration_v1beta1_service_reference.py b/kubernetes/client/models/apiregistration_v1beta1_service_reference.py index d06382bd3e..4c387810ac 100644 --- a/kubernetes/client/models/apiregistration_v1beta1_service_reference.py +++ b/kubernetes/client/models/apiregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment.py b/kubernetes/client/models/apps_v1beta1_deployment.py index 283eba26cd..de36d7b4d1 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment.py +++ b/kubernetes/client/models/apps_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_condition.py b/kubernetes/client/models/apps_v1beta1_deployment_condition.py index dd531a335b..0122e767be 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_condition.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_list.py b/kubernetes/client/models/apps_v1beta1_deployment_list.py index 52a5f40b44..0d187907bc 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_list.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_rollback.py b/kubernetes/client/models/apps_v1beta1_deployment_rollback.py index 12ef5de015..c32820da47 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_rollback.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_spec.py b/kubernetes/client/models/apps_v1beta1_deployment_spec.py index 7f81bad7f9..41ab2c5801 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_spec.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_status.py b/kubernetes/client/models/apps_v1beta1_deployment_status.py index cacdcb325c..5de81322f1 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_status.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_strategy.py b/kubernetes/client/models/apps_v1beta1_deployment_strategy.py index 20fec9dac0..01034938e4 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_strategy.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_rollback_config.py b/kubernetes/client/models/apps_v1beta1_rollback_config.py index 80c322a101..fd9c1e89fd 100644 --- a/kubernetes/client/models/apps_v1beta1_rollback_config.py +++ b/kubernetes/client/models/apps_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py b/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py index 89006c717d..1e77d61539 100644 --- a/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py +++ b/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -58,7 +58,7 @@ def __init__(self, max_surge=None, max_unavailable=None): def max_surge(self): """ Gets the max_surge of this AppsV1beta1RollingUpdateDeployment. - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. + The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. :return: The max_surge of this AppsV1beta1RollingUpdateDeployment. :rtype: object @@ -69,7 +69,7 @@ def max_surge(self): def max_surge(self, max_surge): """ Sets the max_surge of this AppsV1beta1RollingUpdateDeployment. - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. + The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. :param max_surge: The max_surge of this AppsV1beta1RollingUpdateDeployment. :type: object @@ -81,7 +81,7 @@ def max_surge(self, max_surge): def max_unavailable(self): """ Gets the max_unavailable of this AppsV1beta1RollingUpdateDeployment. - The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. :return: The max_unavailable of this AppsV1beta1RollingUpdateDeployment. :rtype: object @@ -92,7 +92,7 @@ def max_unavailable(self): def max_unavailable(self, max_unavailable): """ Sets the max_unavailable of this AppsV1beta1RollingUpdateDeployment. - The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. :param max_unavailable: The max_unavailable of this AppsV1beta1RollingUpdateDeployment. :type: object diff --git a/kubernetes/client/models/apps_v1beta1_scale.py b/kubernetes/client/models/apps_v1beta1_scale.py index 7a510592fd..02eb2dbf4a 100644 --- a/kubernetes/client/models/apps_v1beta1_scale.py +++ b/kubernetes/client/models/apps_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_scale_spec.py b/kubernetes/client/models/apps_v1beta1_scale_spec.py index 67adbaa422..3cd0198e9b 100644 --- a/kubernetes/client/models/apps_v1beta1_scale_spec.py +++ b/kubernetes/client/models/apps_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_scale_status.py b/kubernetes/client/models/apps_v1beta1_scale_status.py index 8b9e14b7b7..f147bb5576 100644 --- a/kubernetes/client/models/apps_v1beta1_scale_status.py +++ b/kubernetes/client/models/apps_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py b/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py index 23ff794923..245bbfab6d 100644 --- a/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py +++ b/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -52,7 +52,7 @@ def __init__(self, driver=None): def driver(self): """ Gets the driver of this ExtensionsV1beta1AllowedFlexVolume. - Driver is the name of the Flexvolume driver. + driver is the name of the Flexvolume driver. :return: The driver of this ExtensionsV1beta1AllowedFlexVolume. :rtype: str @@ -63,7 +63,7 @@ def driver(self): def driver(self, driver): """ Sets the driver of this ExtensionsV1beta1AllowedFlexVolume. - Driver is the name of the Flexvolume driver. + driver is the name of the Flexvolume driver. :param driver: The driver of this ExtensionsV1beta1AllowedFlexVolume. :type: str diff --git a/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py b/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py index 4b3fc283da..f099c19146 100644 --- a/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py +++ b/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,29 +31,34 @@ class ExtensionsV1beta1AllowedHostPath(object): and the value is json key in definition. """ swagger_types = { - 'path_prefix': 'str' + 'path_prefix': 'str', + 'read_only': 'bool' } attribute_map = { - 'path_prefix': 'pathPrefix' + 'path_prefix': 'pathPrefix', + 'read_only': 'readOnly' } - def __init__(self, path_prefix=None): + def __init__(self, path_prefix=None, read_only=None): """ ExtensionsV1beta1AllowedHostPath - a model defined in Swagger """ self._path_prefix = None + self._read_only = None self.discriminator = None if path_prefix is not None: self.path_prefix = path_prefix + if read_only is not None: + self.read_only = read_only @property def path_prefix(self): """ Gets the path_prefix of this ExtensionsV1beta1AllowedHostPath. - is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` + pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` :return: The path_prefix of this ExtensionsV1beta1AllowedHostPath. :rtype: str @@ -64,7 +69,7 @@ def path_prefix(self): def path_prefix(self, path_prefix): """ Sets the path_prefix of this ExtensionsV1beta1AllowedHostPath. - is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` + pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` :param path_prefix: The path_prefix of this ExtensionsV1beta1AllowedHostPath. :type: str @@ -72,6 +77,29 @@ def path_prefix(self, path_prefix): self._path_prefix = path_prefix + @property + def read_only(self): + """ + Gets the read_only of this ExtensionsV1beta1AllowedHostPath. + when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. + + :return: The read_only of this ExtensionsV1beta1AllowedHostPath. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this ExtensionsV1beta1AllowedHostPath. + when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. + + :param read_only: The read_only of this ExtensionsV1beta1AllowedHostPath. + :type: bool + """ + + self._read_only = read_only + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/extensions_v1beta1_deployment.py b/kubernetes/client/models/extensions_v1beta1_deployment.py index 598a5fe64c..d0dc24b2d4 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_condition.py b/kubernetes/client/models/extensions_v1beta1_deployment_condition.py index 253d86d445..10ab90f6b5 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_condition.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_list.py b/kubernetes/client/models/extensions_v1beta1_deployment_list.py index 17c8c53913..695c90a583 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_list.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py b/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py index 77692b53a2..8a821a1544 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_spec.py b/kubernetes/client/models/extensions_v1beta1_deployment_spec.py index b8c7371b19..6e355f272c 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_status.py b/kubernetes/client/models/extensions_v1beta1_deployment_status.py index 199839ee12..f9f7979133 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_status.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py b/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py index 449523ce01..1aaea8cc9e 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py index d99a7aa824..43daf13c04 100644 --- a/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -58,7 +58,7 @@ def __init__(self, ranges=None, rule=None): def ranges(self): """ Gets the ranges of this ExtensionsV1beta1FSGroupStrategyOptions. - Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. + ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. :return: The ranges of this ExtensionsV1beta1FSGroupStrategyOptions. :rtype: list[ExtensionsV1beta1IDRange] @@ -69,7 +69,7 @@ def ranges(self): def ranges(self, ranges): """ Sets the ranges of this ExtensionsV1beta1FSGroupStrategyOptions. - Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. + ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. :param ranges: The ranges of this ExtensionsV1beta1FSGroupStrategyOptions. :type: list[ExtensionsV1beta1IDRange] @@ -81,7 +81,7 @@ def ranges(self, ranges): def rule(self): """ Gets the rule of this ExtensionsV1beta1FSGroupStrategyOptions. - Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + rule is the strategy that will dictate what FSGroup is used in the SecurityContext. :return: The rule of this ExtensionsV1beta1FSGroupStrategyOptions. :rtype: str @@ -92,7 +92,7 @@ def rule(self): def rule(self, rule): """ Sets the rule of this ExtensionsV1beta1FSGroupStrategyOptions. - Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + rule is the strategy that will dictate what FSGroup is used in the SecurityContext. :param rule: The rule of this ExtensionsV1beta1FSGroupStrategyOptions. :type: str diff --git a/kubernetes/client/models/extensions_v1beta1_host_port_range.py b/kubernetes/client/models/extensions_v1beta1_host_port_range.py index ed77488c0b..a6d60b88e1 100644 --- a/kubernetes/client/models/extensions_v1beta1_host_port_range.py +++ b/kubernetes/client/models/extensions_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_id_range.py b/kubernetes/client/models/extensions_v1beta1_id_range.py index c36009fc9b..f53419dc56 100644 --- a/kubernetes/client/models/extensions_v1beta1_id_range.py +++ b/kubernetes/client/models/extensions_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, max=None, min=None): def max(self): """ Gets the max of this ExtensionsV1beta1IDRange. - Max is the end of the range, inclusive. + max is the end of the range, inclusive. :return: The max of this ExtensionsV1beta1IDRange. :rtype: int @@ -67,7 +67,7 @@ def max(self): def max(self, max): """ Sets the max of this ExtensionsV1beta1IDRange. - Max is the end of the range, inclusive. + max is the end of the range, inclusive. :param max: The max of this ExtensionsV1beta1IDRange. :type: int @@ -81,7 +81,7 @@ def max(self, max): def min(self): """ Gets the min of this ExtensionsV1beta1IDRange. - Min is the start of the range, inclusive. + min is the start of the range, inclusive. :return: The min of this ExtensionsV1beta1IDRange. :rtype: int @@ -92,7 +92,7 @@ def min(self): def min(self, min): """ Sets the min of this ExtensionsV1beta1IDRange. - Min is the start of the range, inclusive. + min is the start of the range, inclusive. :param min: The min of this ExtensionsV1beta1IDRange. :type: int diff --git a/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py b/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py index 3dd2b51a2c..3577fea7f5 100644 --- a/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py +++ b/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py index c3b654aa74..43713867da 100644 --- a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py +++ b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -90,7 +90,7 @@ def api_version(self, api_version): def items(self): """ Gets the items of this ExtensionsV1beta1PodSecurityPolicyList. - Items is a list of schema objects. + items is a list of schema objects. :return: The items of this ExtensionsV1beta1PodSecurityPolicyList. :rtype: list[ExtensionsV1beta1PodSecurityPolicy] @@ -101,7 +101,7 @@ def items(self): def items(self, items): """ Sets the items of this ExtensionsV1beta1PodSecurityPolicyList. - Items is a list of schema objects. + items is a list of schema objects. :param items: The items of this ExtensionsV1beta1PodSecurityPolicyList. :type: list[ExtensionsV1beta1PodSecurityPolicy] diff --git a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py index 45632d4c53..021670333e 100644 --- a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -35,8 +35,10 @@ class ExtensionsV1beta1PodSecurityPolicySpec(object): 'allowed_capabilities': 'list[str]', 'allowed_flex_volumes': 'list[ExtensionsV1beta1AllowedFlexVolume]', 'allowed_host_paths': 'list[ExtensionsV1beta1AllowedHostPath]', + 'allowed_unsafe_sysctls': 'list[str]', 'default_add_capabilities': 'list[str]', 'default_allow_privilege_escalation': 'bool', + 'forbidden_sysctls': 'list[str]', 'fs_group': 'ExtensionsV1beta1FSGroupStrategyOptions', 'host_ipc': 'bool', 'host_network': 'bool', @@ -56,8 +58,10 @@ class ExtensionsV1beta1PodSecurityPolicySpec(object): 'allowed_capabilities': 'allowedCapabilities', 'allowed_flex_volumes': 'allowedFlexVolumes', 'allowed_host_paths': 'allowedHostPaths', + 'allowed_unsafe_sysctls': 'allowedUnsafeSysctls', 'default_add_capabilities': 'defaultAddCapabilities', 'default_allow_privilege_escalation': 'defaultAllowPrivilegeEscalation', + 'forbidden_sysctls': 'forbiddenSysctls', 'fs_group': 'fsGroup', 'host_ipc': 'hostIPC', 'host_network': 'hostNetwork', @@ -72,7 +76,7 @@ class ExtensionsV1beta1PodSecurityPolicySpec(object): 'volumes': 'volumes' } - def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, allowed_flex_volumes=None, allowed_host_paths=None, default_add_capabilities=None, default_allow_privilege_escalation=None, fs_group=None, host_ipc=None, host_network=None, host_pid=None, host_ports=None, privileged=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_user=None, se_linux=None, supplemental_groups=None, volumes=None): + def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, allowed_flex_volumes=None, allowed_host_paths=None, allowed_unsafe_sysctls=None, default_add_capabilities=None, default_allow_privilege_escalation=None, forbidden_sysctls=None, fs_group=None, host_ipc=None, host_network=None, host_pid=None, host_ports=None, privileged=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_user=None, se_linux=None, supplemental_groups=None, volumes=None): """ ExtensionsV1beta1PodSecurityPolicySpec - a model defined in Swagger """ @@ -81,8 +85,10 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a self._allowed_capabilities = None self._allowed_flex_volumes = None self._allowed_host_paths = None + self._allowed_unsafe_sysctls = None self._default_add_capabilities = None self._default_allow_privilege_escalation = None + self._forbidden_sysctls = None self._fs_group = None self._host_ipc = None self._host_network = None @@ -105,10 +111,14 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a self.allowed_flex_volumes = allowed_flex_volumes if allowed_host_paths is not None: self.allowed_host_paths = allowed_host_paths + if allowed_unsafe_sysctls is not None: + self.allowed_unsafe_sysctls = allowed_unsafe_sysctls if default_add_capabilities is not None: self.default_add_capabilities = default_add_capabilities if default_allow_privilege_escalation is not None: self.default_allow_privilege_escalation = default_allow_privilege_escalation + if forbidden_sysctls is not None: + self.forbidden_sysctls = forbidden_sysctls self.fs_group = fs_group if host_ipc is not None: self.host_ipc = host_ipc @@ -134,7 +144,7 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a def allow_privilege_escalation(self): """ Gets the allow_privilege_escalation of this ExtensionsV1beta1PodSecurityPolicySpec. - AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. + allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. :return: The allow_privilege_escalation of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: bool @@ -145,7 +155,7 @@ def allow_privilege_escalation(self): def allow_privilege_escalation(self, allow_privilege_escalation): """ Sets the allow_privilege_escalation of this ExtensionsV1beta1PodSecurityPolicySpec. - AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. + allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. :param allow_privilege_escalation: The allow_privilege_escalation of this ExtensionsV1beta1PodSecurityPolicySpec. :type: bool @@ -157,7 +167,7 @@ def allow_privilege_escalation(self, allow_privilege_escalation): def allowed_capabilities(self): """ Gets the allowed_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. - AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. + allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. :return: The allowed_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: list[str] @@ -168,7 +178,7 @@ def allowed_capabilities(self): def allowed_capabilities(self, allowed_capabilities): """ Sets the allowed_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. - AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. + allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. :param allowed_capabilities: The allowed_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. :type: list[str] @@ -180,7 +190,7 @@ def allowed_capabilities(self, allowed_capabilities): def allowed_flex_volumes(self): """ Gets the allowed_flex_volumes of this ExtensionsV1beta1PodSecurityPolicySpec. - AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field. + allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. :return: The allowed_flex_volumes of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: list[ExtensionsV1beta1AllowedFlexVolume] @@ -191,7 +201,7 @@ def allowed_flex_volumes(self): def allowed_flex_volumes(self, allowed_flex_volumes): """ Sets the allowed_flex_volumes of this ExtensionsV1beta1PodSecurityPolicySpec. - AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field. + allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. :param allowed_flex_volumes: The allowed_flex_volumes of this ExtensionsV1beta1PodSecurityPolicySpec. :type: list[ExtensionsV1beta1AllowedFlexVolume] @@ -203,7 +213,7 @@ def allowed_flex_volumes(self, allowed_flex_volumes): def allowed_host_paths(self): """ Gets the allowed_host_paths of this ExtensionsV1beta1PodSecurityPolicySpec. - is a white list of allowed host paths. Empty indicates that all host paths may be used. + allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. :return: The allowed_host_paths of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: list[ExtensionsV1beta1AllowedHostPath] @@ -214,7 +224,7 @@ def allowed_host_paths(self): def allowed_host_paths(self, allowed_host_paths): """ Sets the allowed_host_paths of this ExtensionsV1beta1PodSecurityPolicySpec. - is a white list of allowed host paths. Empty indicates that all host paths may be used. + allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. :param allowed_host_paths: The allowed_host_paths of this ExtensionsV1beta1PodSecurityPolicySpec. :type: list[ExtensionsV1beta1AllowedHostPath] @@ -222,11 +232,34 @@ def allowed_host_paths(self, allowed_host_paths): self._allowed_host_paths = allowed_host_paths + @property + def allowed_unsafe_sysctls(self): + """ + Gets the allowed_unsafe_sysctls of this ExtensionsV1beta1PodSecurityPolicySpec. + allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. + + :return: The allowed_unsafe_sysctls of this ExtensionsV1beta1PodSecurityPolicySpec. + :rtype: list[str] + """ + return self._allowed_unsafe_sysctls + + @allowed_unsafe_sysctls.setter + def allowed_unsafe_sysctls(self, allowed_unsafe_sysctls): + """ + Sets the allowed_unsafe_sysctls of this ExtensionsV1beta1PodSecurityPolicySpec. + allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. + + :param allowed_unsafe_sysctls: The allowed_unsafe_sysctls of this ExtensionsV1beta1PodSecurityPolicySpec. + :type: list[str] + """ + + self._allowed_unsafe_sysctls = allowed_unsafe_sysctls + @property def default_add_capabilities(self): """ Gets the default_add_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. - DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list. + defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. :return: The default_add_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: list[str] @@ -237,7 +270,7 @@ def default_add_capabilities(self): def default_add_capabilities(self, default_add_capabilities): """ Sets the default_add_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. - DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list. + defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. :param default_add_capabilities: The default_add_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. :type: list[str] @@ -249,7 +282,7 @@ def default_add_capabilities(self, default_add_capabilities): def default_allow_privilege_escalation(self): """ Gets the default_allow_privilege_escalation of this ExtensionsV1beta1PodSecurityPolicySpec. - DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. + defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. :return: The default_allow_privilege_escalation of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: bool @@ -260,7 +293,7 @@ def default_allow_privilege_escalation(self): def default_allow_privilege_escalation(self, default_allow_privilege_escalation): """ Sets the default_allow_privilege_escalation of this ExtensionsV1beta1PodSecurityPolicySpec. - DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. + defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. :param default_allow_privilege_escalation: The default_allow_privilege_escalation of this ExtensionsV1beta1PodSecurityPolicySpec. :type: bool @@ -268,11 +301,34 @@ def default_allow_privilege_escalation(self, default_allow_privilege_escalation) self._default_allow_privilege_escalation = default_allow_privilege_escalation + @property + def forbidden_sysctls(self): + """ + Gets the forbidden_sysctls of this ExtensionsV1beta1PodSecurityPolicySpec. + forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. + + :return: The forbidden_sysctls of this ExtensionsV1beta1PodSecurityPolicySpec. + :rtype: list[str] + """ + return self._forbidden_sysctls + + @forbidden_sysctls.setter + def forbidden_sysctls(self, forbidden_sysctls): + """ + Sets the forbidden_sysctls of this ExtensionsV1beta1PodSecurityPolicySpec. + forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. + + :param forbidden_sysctls: The forbidden_sysctls of this ExtensionsV1beta1PodSecurityPolicySpec. + :type: list[str] + """ + + self._forbidden_sysctls = forbidden_sysctls + @property def fs_group(self): """ Gets the fs_group of this ExtensionsV1beta1PodSecurityPolicySpec. - FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. + fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. :return: The fs_group of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: ExtensionsV1beta1FSGroupStrategyOptions @@ -283,7 +339,7 @@ def fs_group(self): def fs_group(self, fs_group): """ Sets the fs_group of this ExtensionsV1beta1PodSecurityPolicySpec. - FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. + fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. :param fs_group: The fs_group of this ExtensionsV1beta1PodSecurityPolicySpec. :type: ExtensionsV1beta1FSGroupStrategyOptions @@ -412,7 +468,7 @@ def privileged(self, privileged): def read_only_root_filesystem(self): """ Gets the read_only_root_filesystem of this ExtensionsV1beta1PodSecurityPolicySpec. - ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. + readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. :return: The read_only_root_filesystem of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: bool @@ -423,7 +479,7 @@ def read_only_root_filesystem(self): def read_only_root_filesystem(self, read_only_root_filesystem): """ Sets the read_only_root_filesystem of this ExtensionsV1beta1PodSecurityPolicySpec. - ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. + readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. :param read_only_root_filesystem: The read_only_root_filesystem of this ExtensionsV1beta1PodSecurityPolicySpec. :type: bool @@ -435,7 +491,7 @@ def read_only_root_filesystem(self, read_only_root_filesystem): def required_drop_capabilities(self): """ Gets the required_drop_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. - RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. + requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. :return: The required_drop_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: list[str] @@ -446,7 +502,7 @@ def required_drop_capabilities(self): def required_drop_capabilities(self, required_drop_capabilities): """ Sets the required_drop_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. - RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. + requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. :param required_drop_capabilities: The required_drop_capabilities of this ExtensionsV1beta1PodSecurityPolicySpec. :type: list[str] @@ -508,7 +564,7 @@ def se_linux(self, se_linux): def supplemental_groups(self): """ Gets the supplemental_groups of this ExtensionsV1beta1PodSecurityPolicySpec. - SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. + supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. :return: The supplemental_groups of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: ExtensionsV1beta1SupplementalGroupsStrategyOptions @@ -519,7 +575,7 @@ def supplemental_groups(self): def supplemental_groups(self, supplemental_groups): """ Sets the supplemental_groups of this ExtensionsV1beta1PodSecurityPolicySpec. - SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. + supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. :param supplemental_groups: The supplemental_groups of this ExtensionsV1beta1PodSecurityPolicySpec. :type: ExtensionsV1beta1SupplementalGroupsStrategyOptions @@ -533,7 +589,7 @@ def supplemental_groups(self, supplemental_groups): def volumes(self): """ Gets the volumes of this ExtensionsV1beta1PodSecurityPolicySpec. - volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. + volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. :return: The volumes of this ExtensionsV1beta1PodSecurityPolicySpec. :rtype: list[str] @@ -544,7 +600,7 @@ def volumes(self): def volumes(self, volumes): """ Sets the volumes of this ExtensionsV1beta1PodSecurityPolicySpec. - volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. + volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. :param volumes: The volumes of this ExtensionsV1beta1PodSecurityPolicySpec. :type: list[str] diff --git a/kubernetes/client/models/extensions_v1beta1_rollback_config.py b/kubernetes/client/models/extensions_v1beta1_rollback_config.py index c286870a79..a6af8b7845 100644 --- a/kubernetes/client/models/extensions_v1beta1_rollback_config.py +++ b/kubernetes/client/models/extensions_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py b/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py index 1edd266c82..c425cbcc27 100644 --- a/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py +++ b/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py index 8a1eb17ea6..303ca5ecb9 100644 --- a/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -57,7 +57,7 @@ def __init__(self, ranges=None, rule=None): def ranges(self): """ Gets the ranges of this ExtensionsV1beta1RunAsUserStrategyOptions. - Ranges are the allowed ranges of uids that may be used. + ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. :return: The ranges of this ExtensionsV1beta1RunAsUserStrategyOptions. :rtype: list[ExtensionsV1beta1IDRange] @@ -68,7 +68,7 @@ def ranges(self): def ranges(self, ranges): """ Sets the ranges of this ExtensionsV1beta1RunAsUserStrategyOptions. - Ranges are the allowed ranges of uids that may be used. + ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. :param ranges: The ranges of this ExtensionsV1beta1RunAsUserStrategyOptions. :type: list[ExtensionsV1beta1IDRange] @@ -80,7 +80,7 @@ def ranges(self, ranges): def rule(self): """ Gets the rule of this ExtensionsV1beta1RunAsUserStrategyOptions. - Rule is the strategy that will dictate the allowable RunAsUser values that may be set. + rule is the strategy that will dictate the allowable RunAsUser values that may be set. :return: The rule of this ExtensionsV1beta1RunAsUserStrategyOptions. :rtype: str @@ -91,7 +91,7 @@ def rule(self): def rule(self, rule): """ Sets the rule of this ExtensionsV1beta1RunAsUserStrategyOptions. - Rule is the strategy that will dictate the allowable RunAsUser values that may be set. + rule is the strategy that will dictate the allowable RunAsUser values that may be set. :param rule: The rule of this ExtensionsV1beta1RunAsUserStrategyOptions. :type: str diff --git a/kubernetes/client/models/extensions_v1beta1_scale.py b/kubernetes/client/models/extensions_v1beta1_scale.py index 03deeb3733..ca2977bf8b 100644 --- a/kubernetes/client/models/extensions_v1beta1_scale.py +++ b/kubernetes/client/models/extensions_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_scale_spec.py b/kubernetes/client/models/extensions_v1beta1_scale_spec.py index 4827f11568..68e97a3652 100644 --- a/kubernetes/client/models/extensions_v1beta1_scale_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_scale_status.py b/kubernetes/client/models/extensions_v1beta1_scale_status.py index e35811f95a..47873abfe0 100644 --- a/kubernetes/client/models/extensions_v1beta1_scale_status.py +++ b/kubernetes/client/models/extensions_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py index d62db00c24..3b06ac69c9 100644 --- a/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -57,7 +57,7 @@ def __init__(self, rule=None, se_linux_options=None): def rule(self): """ Gets the rule of this ExtensionsV1beta1SELinuxStrategyOptions. - type is the strategy that will dictate the allowable labels that may be set. + rule is the strategy that will dictate the allowable labels that may be set. :return: The rule of this ExtensionsV1beta1SELinuxStrategyOptions. :rtype: str @@ -68,7 +68,7 @@ def rule(self): def rule(self, rule): """ Sets the rule of this ExtensionsV1beta1SELinuxStrategyOptions. - type is the strategy that will dictate the allowable labels that may be set. + rule is the strategy that will dictate the allowable labels that may be set. :param rule: The rule of this ExtensionsV1beta1SELinuxStrategyOptions. :type: str diff --git a/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py index 6963f75464..1afb06ceca 100644 --- a/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -58,7 +58,7 @@ def __init__(self, ranges=None, rule=None): def ranges(self): """ Gets the ranges of this ExtensionsV1beta1SupplementalGroupsStrategyOptions. - Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. + ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. :return: The ranges of this ExtensionsV1beta1SupplementalGroupsStrategyOptions. :rtype: list[ExtensionsV1beta1IDRange] @@ -69,7 +69,7 @@ def ranges(self): def ranges(self, ranges): """ Sets the ranges of this ExtensionsV1beta1SupplementalGroupsStrategyOptions. - Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. + ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. :param ranges: The ranges of this ExtensionsV1beta1SupplementalGroupsStrategyOptions. :type: list[ExtensionsV1beta1IDRange] @@ -81,7 +81,7 @@ def ranges(self, ranges): def rule(self): """ Gets the rule of this ExtensionsV1beta1SupplementalGroupsStrategyOptions. - Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. + rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. :return: The rule of this ExtensionsV1beta1SupplementalGroupsStrategyOptions. :rtype: str @@ -92,7 +92,7 @@ def rule(self): def rule(self, rule): """ Sets the rule of this ExtensionsV1beta1SupplementalGroupsStrategyOptions. - Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. + rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. :param rule: The rule of this ExtensionsV1beta1SupplementalGroupsStrategyOptions. :type: str diff --git a/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py b/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py index e09f42910d..5e7e0e0408 100644 --- a/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py +++ b/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -52,7 +52,7 @@ def __init__(self, driver=None): def driver(self): """ Gets the driver of this PolicyV1beta1AllowedFlexVolume. - Driver is the name of the Flexvolume driver. + driver is the name of the Flexvolume driver. :return: The driver of this PolicyV1beta1AllowedFlexVolume. :rtype: str @@ -63,7 +63,7 @@ def driver(self): def driver(self, driver): """ Sets the driver of this PolicyV1beta1AllowedFlexVolume. - Driver is the name of the Flexvolume driver. + driver is the name of the Flexvolume driver. :param driver: The driver of this PolicyV1beta1AllowedFlexVolume. :type: str diff --git a/kubernetes/client/models/policy_v1beta1_allowed_host_path.py b/kubernetes/client/models/policy_v1beta1_allowed_host_path.py index b20a1bbb2e..316c3df788 100644 --- a/kubernetes/client/models/policy_v1beta1_allowed_host_path.py +++ b/kubernetes/client/models/policy_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,29 +31,34 @@ class PolicyV1beta1AllowedHostPath(object): and the value is json key in definition. """ swagger_types = { - 'path_prefix': 'str' + 'path_prefix': 'str', + 'read_only': 'bool' } attribute_map = { - 'path_prefix': 'pathPrefix' + 'path_prefix': 'pathPrefix', + 'read_only': 'readOnly' } - def __init__(self, path_prefix=None): + def __init__(self, path_prefix=None, read_only=None): """ PolicyV1beta1AllowedHostPath - a model defined in Swagger """ self._path_prefix = None + self._read_only = None self.discriminator = None if path_prefix is not None: self.path_prefix = path_prefix + if read_only is not None: + self.read_only = read_only @property def path_prefix(self): """ Gets the path_prefix of this PolicyV1beta1AllowedHostPath. - is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` + pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` :return: The path_prefix of this PolicyV1beta1AllowedHostPath. :rtype: str @@ -64,7 +69,7 @@ def path_prefix(self): def path_prefix(self, path_prefix): """ Sets the path_prefix of this PolicyV1beta1AllowedHostPath. - is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` + pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` :param path_prefix: The path_prefix of this PolicyV1beta1AllowedHostPath. :type: str @@ -72,6 +77,29 @@ def path_prefix(self, path_prefix): self._path_prefix = path_prefix + @property + def read_only(self): + """ + Gets the read_only of this PolicyV1beta1AllowedHostPath. + when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. + + :return: The read_only of this PolicyV1beta1AllowedHostPath. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this PolicyV1beta1AllowedHostPath. + when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. + + :param read_only: The read_only of this PolicyV1beta1AllowedHostPath. + :type: bool + """ + + self._read_only = read_only + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py b/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py index a658e53bf2..124faab1b4 100644 --- a/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -58,7 +58,7 @@ def __init__(self, ranges=None, rule=None): def ranges(self): """ Gets the ranges of this PolicyV1beta1FSGroupStrategyOptions. - Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. + ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. :return: The ranges of this PolicyV1beta1FSGroupStrategyOptions. :rtype: list[PolicyV1beta1IDRange] @@ -69,7 +69,7 @@ def ranges(self): def ranges(self, ranges): """ Sets the ranges of this PolicyV1beta1FSGroupStrategyOptions. - Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. + ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. :param ranges: The ranges of this PolicyV1beta1FSGroupStrategyOptions. :type: list[PolicyV1beta1IDRange] @@ -81,7 +81,7 @@ def ranges(self, ranges): def rule(self): """ Gets the rule of this PolicyV1beta1FSGroupStrategyOptions. - Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + rule is the strategy that will dictate what FSGroup is used in the SecurityContext. :return: The rule of this PolicyV1beta1FSGroupStrategyOptions. :rtype: str @@ -92,7 +92,7 @@ def rule(self): def rule(self, rule): """ Sets the rule of this PolicyV1beta1FSGroupStrategyOptions. - Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + rule is the strategy that will dictate what FSGroup is used in the SecurityContext. :param rule: The rule of this PolicyV1beta1FSGroupStrategyOptions. :type: str diff --git a/kubernetes/client/models/policy_v1beta1_host_port_range.py b/kubernetes/client/models/policy_v1beta1_host_port_range.py index b4c418564e..52d9fb938d 100644 --- a/kubernetes/client/models/policy_v1beta1_host_port_range.py +++ b/kubernetes/client/models/policy_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_id_range.py b/kubernetes/client/models/policy_v1beta1_id_range.py index dbf460739a..789402aec8 100644 --- a/kubernetes/client/models/policy_v1beta1_id_range.py +++ b/kubernetes/client/models/policy_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, max=None, min=None): def max(self): """ Gets the max of this PolicyV1beta1IDRange. - Max is the end of the range, inclusive. + max is the end of the range, inclusive. :return: The max of this PolicyV1beta1IDRange. :rtype: int @@ -67,7 +67,7 @@ def max(self): def max(self, max): """ Sets the max of this PolicyV1beta1IDRange. - Max is the end of the range, inclusive. + max is the end of the range, inclusive. :param max: The max of this PolicyV1beta1IDRange. :type: int @@ -81,7 +81,7 @@ def max(self, max): def min(self): """ Gets the min of this PolicyV1beta1IDRange. - Min is the start of the range, inclusive. + min is the start of the range, inclusive. :return: The min of this PolicyV1beta1IDRange. :rtype: int @@ -92,7 +92,7 @@ def min(self): def min(self, min): """ Sets the min of this PolicyV1beta1IDRange. - Min is the start of the range, inclusive. + min is the start of the range, inclusive. :param min: The min of this PolicyV1beta1IDRange. :type: int diff --git a/kubernetes/client/models/policy_v1beta1_pod_security_policy.py b/kubernetes/client/models/policy_v1beta1_pod_security_policy.py index c96abf577a..570572f7f4 100644 --- a/kubernetes/client/models/policy_v1beta1_pod_security_policy.py +++ b/kubernetes/client/models/policy_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py b/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py index 06d210aefd..1a9262a757 100644 --- a/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py +++ b/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -90,7 +90,7 @@ def api_version(self, api_version): def items(self): """ Gets the items of this PolicyV1beta1PodSecurityPolicyList. - Items is a list of schema objects. + items is a list of schema objects. :return: The items of this PolicyV1beta1PodSecurityPolicyList. :rtype: list[PolicyV1beta1PodSecurityPolicy] @@ -101,7 +101,7 @@ def items(self): def items(self, items): """ Sets the items of this PolicyV1beta1PodSecurityPolicyList. - Items is a list of schema objects. + items is a list of schema objects. :param items: The items of this PolicyV1beta1PodSecurityPolicyList. :type: list[PolicyV1beta1PodSecurityPolicy] diff --git a/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py b/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py index c0d414ec13..453ef1e57a 100644 --- a/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -35,8 +35,10 @@ class PolicyV1beta1PodSecurityPolicySpec(object): 'allowed_capabilities': 'list[str]', 'allowed_flex_volumes': 'list[PolicyV1beta1AllowedFlexVolume]', 'allowed_host_paths': 'list[PolicyV1beta1AllowedHostPath]', + 'allowed_unsafe_sysctls': 'list[str]', 'default_add_capabilities': 'list[str]', 'default_allow_privilege_escalation': 'bool', + 'forbidden_sysctls': 'list[str]', 'fs_group': 'PolicyV1beta1FSGroupStrategyOptions', 'host_ipc': 'bool', 'host_network': 'bool', @@ -56,8 +58,10 @@ class PolicyV1beta1PodSecurityPolicySpec(object): 'allowed_capabilities': 'allowedCapabilities', 'allowed_flex_volumes': 'allowedFlexVolumes', 'allowed_host_paths': 'allowedHostPaths', + 'allowed_unsafe_sysctls': 'allowedUnsafeSysctls', 'default_add_capabilities': 'defaultAddCapabilities', 'default_allow_privilege_escalation': 'defaultAllowPrivilegeEscalation', + 'forbidden_sysctls': 'forbiddenSysctls', 'fs_group': 'fsGroup', 'host_ipc': 'hostIPC', 'host_network': 'hostNetwork', @@ -72,7 +76,7 @@ class PolicyV1beta1PodSecurityPolicySpec(object): 'volumes': 'volumes' } - def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, allowed_flex_volumes=None, allowed_host_paths=None, default_add_capabilities=None, default_allow_privilege_escalation=None, fs_group=None, host_ipc=None, host_network=None, host_pid=None, host_ports=None, privileged=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_user=None, se_linux=None, supplemental_groups=None, volumes=None): + def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, allowed_flex_volumes=None, allowed_host_paths=None, allowed_unsafe_sysctls=None, default_add_capabilities=None, default_allow_privilege_escalation=None, forbidden_sysctls=None, fs_group=None, host_ipc=None, host_network=None, host_pid=None, host_ports=None, privileged=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_user=None, se_linux=None, supplemental_groups=None, volumes=None): """ PolicyV1beta1PodSecurityPolicySpec - a model defined in Swagger """ @@ -81,8 +85,10 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a self._allowed_capabilities = None self._allowed_flex_volumes = None self._allowed_host_paths = None + self._allowed_unsafe_sysctls = None self._default_add_capabilities = None self._default_allow_privilege_escalation = None + self._forbidden_sysctls = None self._fs_group = None self._host_ipc = None self._host_network = None @@ -105,10 +111,14 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a self.allowed_flex_volumes = allowed_flex_volumes if allowed_host_paths is not None: self.allowed_host_paths = allowed_host_paths + if allowed_unsafe_sysctls is not None: + self.allowed_unsafe_sysctls = allowed_unsafe_sysctls if default_add_capabilities is not None: self.default_add_capabilities = default_add_capabilities if default_allow_privilege_escalation is not None: self.default_allow_privilege_escalation = default_allow_privilege_escalation + if forbidden_sysctls is not None: + self.forbidden_sysctls = forbidden_sysctls self.fs_group = fs_group if host_ipc is not None: self.host_ipc = host_ipc @@ -134,7 +144,7 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a def allow_privilege_escalation(self): """ Gets the allow_privilege_escalation of this PolicyV1beta1PodSecurityPolicySpec. - AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. + allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. :return: The allow_privilege_escalation of this PolicyV1beta1PodSecurityPolicySpec. :rtype: bool @@ -145,7 +155,7 @@ def allow_privilege_escalation(self): def allow_privilege_escalation(self, allow_privilege_escalation): """ Sets the allow_privilege_escalation of this PolicyV1beta1PodSecurityPolicySpec. - AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. + allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. :param allow_privilege_escalation: The allow_privilege_escalation of this PolicyV1beta1PodSecurityPolicySpec. :type: bool @@ -157,7 +167,7 @@ def allow_privilege_escalation(self, allow_privilege_escalation): def allowed_capabilities(self): """ Gets the allowed_capabilities of this PolicyV1beta1PodSecurityPolicySpec. - AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. + allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. :return: The allowed_capabilities of this PolicyV1beta1PodSecurityPolicySpec. :rtype: list[str] @@ -168,7 +178,7 @@ def allowed_capabilities(self): def allowed_capabilities(self, allowed_capabilities): """ Sets the allowed_capabilities of this PolicyV1beta1PodSecurityPolicySpec. - AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. + allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. :param allowed_capabilities: The allowed_capabilities of this PolicyV1beta1PodSecurityPolicySpec. :type: list[str] @@ -180,7 +190,7 @@ def allowed_capabilities(self, allowed_capabilities): def allowed_flex_volumes(self): """ Gets the allowed_flex_volumes of this PolicyV1beta1PodSecurityPolicySpec. - AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field. + allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. :return: The allowed_flex_volumes of this PolicyV1beta1PodSecurityPolicySpec. :rtype: list[PolicyV1beta1AllowedFlexVolume] @@ -191,7 +201,7 @@ def allowed_flex_volumes(self): def allowed_flex_volumes(self, allowed_flex_volumes): """ Sets the allowed_flex_volumes of this PolicyV1beta1PodSecurityPolicySpec. - AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field. + allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. :param allowed_flex_volumes: The allowed_flex_volumes of this PolicyV1beta1PodSecurityPolicySpec. :type: list[PolicyV1beta1AllowedFlexVolume] @@ -203,7 +213,7 @@ def allowed_flex_volumes(self, allowed_flex_volumes): def allowed_host_paths(self): """ Gets the allowed_host_paths of this PolicyV1beta1PodSecurityPolicySpec. - is a white list of allowed host paths. Empty indicates that all host paths may be used. + allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. :return: The allowed_host_paths of this PolicyV1beta1PodSecurityPolicySpec. :rtype: list[PolicyV1beta1AllowedHostPath] @@ -214,7 +224,7 @@ def allowed_host_paths(self): def allowed_host_paths(self, allowed_host_paths): """ Sets the allowed_host_paths of this PolicyV1beta1PodSecurityPolicySpec. - is a white list of allowed host paths. Empty indicates that all host paths may be used. + allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. :param allowed_host_paths: The allowed_host_paths of this PolicyV1beta1PodSecurityPolicySpec. :type: list[PolicyV1beta1AllowedHostPath] @@ -222,11 +232,34 @@ def allowed_host_paths(self, allowed_host_paths): self._allowed_host_paths = allowed_host_paths + @property + def allowed_unsafe_sysctls(self): + """ + Gets the allowed_unsafe_sysctls of this PolicyV1beta1PodSecurityPolicySpec. + allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. + + :return: The allowed_unsafe_sysctls of this PolicyV1beta1PodSecurityPolicySpec. + :rtype: list[str] + """ + return self._allowed_unsafe_sysctls + + @allowed_unsafe_sysctls.setter + def allowed_unsafe_sysctls(self, allowed_unsafe_sysctls): + """ + Sets the allowed_unsafe_sysctls of this PolicyV1beta1PodSecurityPolicySpec. + allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. + + :param allowed_unsafe_sysctls: The allowed_unsafe_sysctls of this PolicyV1beta1PodSecurityPolicySpec. + :type: list[str] + """ + + self._allowed_unsafe_sysctls = allowed_unsafe_sysctls + @property def default_add_capabilities(self): """ Gets the default_add_capabilities of this PolicyV1beta1PodSecurityPolicySpec. - DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list. + defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. :return: The default_add_capabilities of this PolicyV1beta1PodSecurityPolicySpec. :rtype: list[str] @@ -237,7 +270,7 @@ def default_add_capabilities(self): def default_add_capabilities(self, default_add_capabilities): """ Sets the default_add_capabilities of this PolicyV1beta1PodSecurityPolicySpec. - DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list. + defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. :param default_add_capabilities: The default_add_capabilities of this PolicyV1beta1PodSecurityPolicySpec. :type: list[str] @@ -249,7 +282,7 @@ def default_add_capabilities(self, default_add_capabilities): def default_allow_privilege_escalation(self): """ Gets the default_allow_privilege_escalation of this PolicyV1beta1PodSecurityPolicySpec. - DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. + defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. :return: The default_allow_privilege_escalation of this PolicyV1beta1PodSecurityPolicySpec. :rtype: bool @@ -260,7 +293,7 @@ def default_allow_privilege_escalation(self): def default_allow_privilege_escalation(self, default_allow_privilege_escalation): """ Sets the default_allow_privilege_escalation of this PolicyV1beta1PodSecurityPolicySpec. - DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. + defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. :param default_allow_privilege_escalation: The default_allow_privilege_escalation of this PolicyV1beta1PodSecurityPolicySpec. :type: bool @@ -268,11 +301,34 @@ def default_allow_privilege_escalation(self, default_allow_privilege_escalation) self._default_allow_privilege_escalation = default_allow_privilege_escalation + @property + def forbidden_sysctls(self): + """ + Gets the forbidden_sysctls of this PolicyV1beta1PodSecurityPolicySpec. + forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. + + :return: The forbidden_sysctls of this PolicyV1beta1PodSecurityPolicySpec. + :rtype: list[str] + """ + return self._forbidden_sysctls + + @forbidden_sysctls.setter + def forbidden_sysctls(self, forbidden_sysctls): + """ + Sets the forbidden_sysctls of this PolicyV1beta1PodSecurityPolicySpec. + forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. + + :param forbidden_sysctls: The forbidden_sysctls of this PolicyV1beta1PodSecurityPolicySpec. + :type: list[str] + """ + + self._forbidden_sysctls = forbidden_sysctls + @property def fs_group(self): """ Gets the fs_group of this PolicyV1beta1PodSecurityPolicySpec. - FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. + fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. :return: The fs_group of this PolicyV1beta1PodSecurityPolicySpec. :rtype: PolicyV1beta1FSGroupStrategyOptions @@ -283,7 +339,7 @@ def fs_group(self): def fs_group(self, fs_group): """ Sets the fs_group of this PolicyV1beta1PodSecurityPolicySpec. - FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. + fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. :param fs_group: The fs_group of this PolicyV1beta1PodSecurityPolicySpec. :type: PolicyV1beta1FSGroupStrategyOptions @@ -412,7 +468,7 @@ def privileged(self, privileged): def read_only_root_filesystem(self): """ Gets the read_only_root_filesystem of this PolicyV1beta1PodSecurityPolicySpec. - ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. + readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. :return: The read_only_root_filesystem of this PolicyV1beta1PodSecurityPolicySpec. :rtype: bool @@ -423,7 +479,7 @@ def read_only_root_filesystem(self): def read_only_root_filesystem(self, read_only_root_filesystem): """ Sets the read_only_root_filesystem of this PolicyV1beta1PodSecurityPolicySpec. - ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. + readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. :param read_only_root_filesystem: The read_only_root_filesystem of this PolicyV1beta1PodSecurityPolicySpec. :type: bool @@ -435,7 +491,7 @@ def read_only_root_filesystem(self, read_only_root_filesystem): def required_drop_capabilities(self): """ Gets the required_drop_capabilities of this PolicyV1beta1PodSecurityPolicySpec. - RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. + requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. :return: The required_drop_capabilities of this PolicyV1beta1PodSecurityPolicySpec. :rtype: list[str] @@ -446,7 +502,7 @@ def required_drop_capabilities(self): def required_drop_capabilities(self, required_drop_capabilities): """ Sets the required_drop_capabilities of this PolicyV1beta1PodSecurityPolicySpec. - RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. + requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. :param required_drop_capabilities: The required_drop_capabilities of this PolicyV1beta1PodSecurityPolicySpec. :type: list[str] @@ -508,7 +564,7 @@ def se_linux(self, se_linux): def supplemental_groups(self): """ Gets the supplemental_groups of this PolicyV1beta1PodSecurityPolicySpec. - SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. + supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. :return: The supplemental_groups of this PolicyV1beta1PodSecurityPolicySpec. :rtype: PolicyV1beta1SupplementalGroupsStrategyOptions @@ -519,7 +575,7 @@ def supplemental_groups(self): def supplemental_groups(self, supplemental_groups): """ Sets the supplemental_groups of this PolicyV1beta1PodSecurityPolicySpec. - SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. + supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. :param supplemental_groups: The supplemental_groups of this PolicyV1beta1PodSecurityPolicySpec. :type: PolicyV1beta1SupplementalGroupsStrategyOptions @@ -533,7 +589,7 @@ def supplemental_groups(self, supplemental_groups): def volumes(self): """ Gets the volumes of this PolicyV1beta1PodSecurityPolicySpec. - volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. + volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. :return: The volumes of this PolicyV1beta1PodSecurityPolicySpec. :rtype: list[str] @@ -544,7 +600,7 @@ def volumes(self): def volumes(self, volumes): """ Sets the volumes of this PolicyV1beta1PodSecurityPolicySpec. - volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. + volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. :param volumes: The volumes of this PolicyV1beta1PodSecurityPolicySpec. :type: list[str] diff --git a/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py b/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py index 25052ca025..15c833ecd0 100644 --- a/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -57,7 +57,7 @@ def __init__(self, ranges=None, rule=None): def ranges(self): """ Gets the ranges of this PolicyV1beta1RunAsUserStrategyOptions. - Ranges are the allowed ranges of uids that may be used. + ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. :return: The ranges of this PolicyV1beta1RunAsUserStrategyOptions. :rtype: list[PolicyV1beta1IDRange] @@ -68,7 +68,7 @@ def ranges(self): def ranges(self, ranges): """ Sets the ranges of this PolicyV1beta1RunAsUserStrategyOptions. - Ranges are the allowed ranges of uids that may be used. + ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. :param ranges: The ranges of this PolicyV1beta1RunAsUserStrategyOptions. :type: list[PolicyV1beta1IDRange] @@ -80,7 +80,7 @@ def ranges(self, ranges): def rule(self): """ Gets the rule of this PolicyV1beta1RunAsUserStrategyOptions. - Rule is the strategy that will dictate the allowable RunAsUser values that may be set. + rule is the strategy that will dictate the allowable RunAsUser values that may be set. :return: The rule of this PolicyV1beta1RunAsUserStrategyOptions. :rtype: str @@ -91,7 +91,7 @@ def rule(self): def rule(self, rule): """ Sets the rule of this PolicyV1beta1RunAsUserStrategyOptions. - Rule is the strategy that will dictate the allowable RunAsUser values that may be set. + rule is the strategy that will dictate the allowable RunAsUser values that may be set. :param rule: The rule of this PolicyV1beta1RunAsUserStrategyOptions. :type: str diff --git a/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py b/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py index 048e039476..3d6d3d951f 100644 --- a/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -57,7 +57,7 @@ def __init__(self, rule=None, se_linux_options=None): def rule(self): """ Gets the rule of this PolicyV1beta1SELinuxStrategyOptions. - type is the strategy that will dictate the allowable labels that may be set. + rule is the strategy that will dictate the allowable labels that may be set. :return: The rule of this PolicyV1beta1SELinuxStrategyOptions. :rtype: str @@ -68,7 +68,7 @@ def rule(self): def rule(self, rule): """ Sets the rule of this PolicyV1beta1SELinuxStrategyOptions. - type is the strategy that will dictate the allowable labels that may be set. + rule is the strategy that will dictate the allowable labels that may be set. :param rule: The rule of this PolicyV1beta1SELinuxStrategyOptions. :type: str diff --git a/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py index 39727398db..ab2af4ef4c 100644 --- a/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -58,7 +58,7 @@ def __init__(self, ranges=None, rule=None): def ranges(self): """ Gets the ranges of this PolicyV1beta1SupplementalGroupsStrategyOptions. - Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. + ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. :return: The ranges of this PolicyV1beta1SupplementalGroupsStrategyOptions. :rtype: list[PolicyV1beta1IDRange] @@ -69,7 +69,7 @@ def ranges(self): def ranges(self, ranges): """ Sets the ranges of this PolicyV1beta1SupplementalGroupsStrategyOptions. - Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. + ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. :param ranges: The ranges of this PolicyV1beta1SupplementalGroupsStrategyOptions. :type: list[PolicyV1beta1IDRange] @@ -81,7 +81,7 @@ def ranges(self, ranges): def rule(self): """ Gets the rule of this PolicyV1beta1SupplementalGroupsStrategyOptions. - Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. + rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. :return: The rule of this PolicyV1beta1SupplementalGroupsStrategyOptions. :rtype: str @@ -92,7 +92,7 @@ def rule(self): def rule(self, rule): """ Sets the rule of this PolicyV1beta1SupplementalGroupsStrategyOptions. - Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. + rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. :param rule: The rule of this PolicyV1beta1SupplementalGroupsStrategyOptions. :type: str diff --git a/kubernetes/client/models/runtime_raw_extension.py b/kubernetes/client/models/runtime_raw_extension.py index 6ae140fd41..d5ac8c7a58 100644 --- a/kubernetes/client/models/runtime_raw_extension.py +++ b/kubernetes/client/models/runtime_raw_extension.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_affinity.py b/kubernetes/client/models/v1_affinity.py index 84f42d645d..5f06499b14 100644 --- a/kubernetes/client/models/v1_affinity.py +++ b/kubernetes/client/models/v1_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_aggregation_rule.py b/kubernetes/client/models/v1_aggregation_rule.py index a279dbfeec..6a50bf3bf7 100644 --- a/kubernetes/client/models/v1_aggregation_rule.py +++ b/kubernetes/client/models/v1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_group.py b/kubernetes/client/models/v1_api_group.py index 3a7141b4d8..671913fbb6 100644 --- a/kubernetes/client/models/v1_api_group.py +++ b/kubernetes/client/models/v1_api_group.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -68,7 +68,8 @@ def __init__(self, api_version=None, kind=None, name=None, preferred_version=Non self.name = name if preferred_version is not None: self.preferred_version = preferred_version - self.server_address_by_client_cid_rs = server_address_by_client_cid_rs + if server_address_by_client_cid_rs is not None: + self.server_address_by_client_cid_rs = server_address_by_client_cid_rs self.versions = versions @property @@ -185,8 +186,6 @@ def server_address_by_client_cid_rs(self, server_address_by_client_cid_rs): :param server_address_by_client_cid_rs: The server_address_by_client_cid_rs of this V1APIGroup. :type: list[V1ServerAddressByClientCIDR] """ - if server_address_by_client_cid_rs is None: - raise ValueError("Invalid value for `server_address_by_client_cid_rs`, must not be `None`") self._server_address_by_client_cid_rs = server_address_by_client_cid_rs diff --git a/kubernetes/client/models/v1_api_group_list.py b/kubernetes/client/models/v1_api_group_list.py index a5f42c7d1c..fe1e0cf8ed 100644 --- a/kubernetes/client/models/v1_api_group_list.py +++ b/kubernetes/client/models/v1_api_group_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_resource.py b/kubernetes/client/models/v1_api_resource.py index 1817a418cd..beed264d52 100644 --- a/kubernetes/client/models/v1_api_resource.py +++ b/kubernetes/client/models/v1_api_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_resource_list.py b/kubernetes/client/models/v1_api_resource_list.py index dfeb7ad83d..a8b3c772ff 100644 --- a/kubernetes/client/models/v1_api_resource_list.py +++ b/kubernetes/client/models/v1_api_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_service.py b/kubernetes/client/models/v1_api_service.py index 212425666f..f4cfd323d6 100644 --- a/kubernetes/client/models/v1_api_service.py +++ b/kubernetes/client/models/v1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_service_condition.py b/kubernetes/client/models/v1_api_service_condition.py index 51db8ad178..78b8845eb8 100644 --- a/kubernetes/client/models/v1_api_service_condition.py +++ b/kubernetes/client/models/v1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_service_list.py b/kubernetes/client/models/v1_api_service_list.py index b8b29a940a..b25922a127 100644 --- a/kubernetes/client/models/v1_api_service_list.py +++ b/kubernetes/client/models/v1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_service_spec.py b/kubernetes/client/models/v1_api_service_spec.py index 5e4c9b3ab3..672243138f 100644 --- a/kubernetes/client/models/v1_api_service_spec.py +++ b/kubernetes/client/models/v1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -64,7 +64,8 @@ def __init__(self, ca_bundle=None, group=None, group_priority_minimum=None, inse self._version_priority = None self.discriminator = None - self.ca_bundle = ca_bundle + if ca_bundle is not None: + self.ca_bundle = ca_bundle if group is not None: self.group = group self.group_priority_minimum = group_priority_minimum @@ -95,8 +96,6 @@ def ca_bundle(self, ca_bundle): :param ca_bundle: The ca_bundle of this V1APIServiceSpec. :type: str """ - if ca_bundle is None: - raise ValueError("Invalid value for `ca_bundle`, must not be `None`") if ca_bundle is not None and not re.search('^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', ca_bundle): raise ValueError("Invalid value for `ca_bundle`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") @@ -225,7 +224,7 @@ def version(self, version): def version_priority(self): """ Gets the version_priority of this V1APIServiceSpec. - VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. + VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. :return: The version_priority of this V1APIServiceSpec. :rtype: int @@ -236,7 +235,7 @@ def version_priority(self): def version_priority(self, version_priority): """ Sets the version_priority of this V1APIServiceSpec. - VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. + VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. :param version_priority: The version_priority of this V1APIServiceSpec. :type: int diff --git a/kubernetes/client/models/v1_api_service_status.py b/kubernetes/client/models/v1_api_service_status.py index fce8eccda3..9faee9eeee 100644 --- a/kubernetes/client/models/v1_api_service_status.py +++ b/kubernetes/client/models/v1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_versions.py b/kubernetes/client/models/v1_api_versions.py index a4f5adc032..1587725918 100644 --- a/kubernetes/client/models/v1_api_versions.py +++ b/kubernetes/client/models/v1_api_versions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_attached_volume.py b/kubernetes/client/models/v1_attached_volume.py index 732ebdc4f1..397c7e4bd8 100644 --- a/kubernetes/client/models/v1_attached_volume.py +++ b/kubernetes/client/models/v1_attached_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py index 63c961b453..07bef8db25 100644 --- a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_azure_disk_volume_source.py b/kubernetes/client/models/v1_azure_disk_volume_source.py index bd823280b4..c85052ea1b 100644 --- a/kubernetes/client/models/v1_azure_disk_volume_source.py +++ b/kubernetes/client/models/v1_azure_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py index d4f0ceab39..71fa0a4203 100644 --- a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_azure_file_volume_source.py b/kubernetes/client/models/v1_azure_file_volume_source.py index cd9c9940a6..295bd2d061 100644 --- a/kubernetes/client/models/v1_azure_file_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_binding.py b/kubernetes/client/models/v1_binding.py index 4cfc6ebcd0..c1553fd978 100644 --- a/kubernetes/client/models/v1_binding.py +++ b/kubernetes/client/models/v1_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_capabilities.py b/kubernetes/client/models/v1_capabilities.py index ebfa1c1669..70c19b1b20 100644 --- a/kubernetes/client/models/v1_capabilities.py +++ b/kubernetes/client/models/v1_capabilities.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py index 501c275e0c..6b2186d65e 100644 --- a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_ceph_fs_volume_source.py b/kubernetes/client/models/v1_ceph_fs_volume_source.py index 2e028786aa..48c5b2a3d9 100644 --- a/kubernetes/client/models/v1_ceph_fs_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cinder_persistent_volume_source.py b/kubernetes/client/models/v1_cinder_persistent_volume_source.py new file mode 100644 index 0000000000..c8c88c07d5 --- /dev/null +++ b/kubernetes/client/models/v1_cinder_persistent_volume_source.py @@ -0,0 +1,211 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1CinderPersistentVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'fs_type': 'str', + 'read_only': 'bool', + 'secret_ref': 'V1SecretReference', + 'volume_id': 'str' + } + + attribute_map = { + 'fs_type': 'fsType', + 'read_only': 'readOnly', + 'secret_ref': 'secretRef', + 'volume_id': 'volumeID' + } + + def __init__(self, fs_type=None, read_only=None, secret_ref=None, volume_id=None): + """ + V1CinderPersistentVolumeSource - a model defined in Swagger + """ + + self._fs_type = None + self._read_only = None + self._secret_ref = None + self._volume_id = None + self.discriminator = None + + if fs_type is not None: + self.fs_type = fs_type + if read_only is not None: + self.read_only = read_only + if secret_ref is not None: + self.secret_ref = secret_ref + self.volume_id = volume_id + + @property + def fs_type(self): + """ + Gets the fs_type of this V1CinderPersistentVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :return: The fs_type of this V1CinderPersistentVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1CinderPersistentVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :param fs_type: The fs_type of this V1CinderPersistentVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def read_only(self): + """ + Gets the read_only of this V1CinderPersistentVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :return: The read_only of this V1CinderPersistentVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1CinderPersistentVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :param read_only: The read_only of this V1CinderPersistentVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def secret_ref(self): + """ + Gets the secret_ref of this V1CinderPersistentVolumeSource. + Optional: points to a secret object containing parameters used to connect to OpenStack. + + :return: The secret_ref of this V1CinderPersistentVolumeSource. + :rtype: V1SecretReference + """ + return self._secret_ref + + @secret_ref.setter + def secret_ref(self, secret_ref): + """ + Sets the secret_ref of this V1CinderPersistentVolumeSource. + Optional: points to a secret object containing parameters used to connect to OpenStack. + + :param secret_ref: The secret_ref of this V1CinderPersistentVolumeSource. + :type: V1SecretReference + """ + + self._secret_ref = secret_ref + + @property + def volume_id(self): + """ + Gets the volume_id of this V1CinderPersistentVolumeSource. + volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :return: The volume_id of this V1CinderPersistentVolumeSource. + :rtype: str + """ + return self._volume_id + + @volume_id.setter + def volume_id(self, volume_id): + """ + Sets the volume_id of this V1CinderPersistentVolumeSource. + volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :param volume_id: The volume_id of this V1CinderPersistentVolumeSource. + :type: str + """ + if volume_id is None: + raise ValueError("Invalid value for `volume_id`, must not be `None`") + + self._volume_id = volume_id + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1CinderPersistentVolumeSource): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_cinder_volume_source.py b/kubernetes/client/models/v1_cinder_volume_source.py index fb943b56e8..7c9ccb668c 100644 --- a/kubernetes/client/models/v1_cinder_volume_source.py +++ b/kubernetes/client/models/v1_cinder_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -33,22 +33,25 @@ class V1CinderVolumeSource(object): swagger_types = { 'fs_type': 'str', 'read_only': 'bool', + 'secret_ref': 'V1LocalObjectReference', 'volume_id': 'str' } attribute_map = { 'fs_type': 'fsType', 'read_only': 'readOnly', + 'secret_ref': 'secretRef', 'volume_id': 'volumeID' } - def __init__(self, fs_type=None, read_only=None, volume_id=None): + def __init__(self, fs_type=None, read_only=None, secret_ref=None, volume_id=None): """ V1CinderVolumeSource - a model defined in Swagger """ self._fs_type = None self._read_only = None + self._secret_ref = None self._volume_id = None self.discriminator = None @@ -56,6 +59,8 @@ def __init__(self, fs_type=None, read_only=None, volume_id=None): self.fs_type = fs_type if read_only is not None: self.read_only = read_only + if secret_ref is not None: + self.secret_ref = secret_ref self.volume_id = volume_id @property @@ -104,6 +109,29 @@ def read_only(self, read_only): self._read_only = read_only + @property + def secret_ref(self): + """ + Gets the secret_ref of this V1CinderVolumeSource. + Optional: points to a secret object containing parameters used to connect to OpenStack. + + :return: The secret_ref of this V1CinderVolumeSource. + :rtype: V1LocalObjectReference + """ + return self._secret_ref + + @secret_ref.setter + def secret_ref(self, secret_ref): + """ + Sets the secret_ref of this V1CinderVolumeSource. + Optional: points to a secret object containing parameters used to connect to OpenStack. + + :param secret_ref: The secret_ref of this V1CinderVolumeSource. + :type: V1LocalObjectReference + """ + + self._secret_ref = secret_ref + @property def volume_id(self): """ diff --git a/kubernetes/client/models/v1_client_ip_config.py b/kubernetes/client/models/v1_client_ip_config.py index 3bf59c20f3..427ab8c80a 100644 --- a/kubernetes/client/models/v1_client_ip_config.py +++ b/kubernetes/client/models/v1_client_ip_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cluster_role.py b/kubernetes/client/models/v1_cluster_role.py index 7a828f96fd..113ebf537b 100644 --- a/kubernetes/client/models/v1_cluster_role.py +++ b/kubernetes/client/models/v1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cluster_role_binding.py b/kubernetes/client/models/v1_cluster_role_binding.py index 59549185a6..0ef9d85dfe 100644 --- a/kubernetes/client/models/v1_cluster_role_binding.py +++ b/kubernetes/client/models/v1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -65,7 +65,8 @@ def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, su if metadata is not None: self.metadata = metadata self.role_ref = role_ref - self.subjects = subjects + if subjects is not None: + self.subjects = subjects @property def api_version(self): @@ -181,8 +182,6 @@ def subjects(self, subjects): :param subjects: The subjects of this V1ClusterRoleBinding. :type: list[V1Subject] """ - if subjects is None: - raise ValueError("Invalid value for `subjects`, must not be `None`") self._subjects = subjects diff --git a/kubernetes/client/models/v1_cluster_role_binding_list.py b/kubernetes/client/models/v1_cluster_role_binding_list.py index a0281dc7b7..bdf4b24052 100644 --- a/kubernetes/client/models/v1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cluster_role_list.py b/kubernetes/client/models/v1_cluster_role_list.py index d44151bd48..4b52fce161 100644 --- a/kubernetes/client/models/v1_cluster_role_list.py +++ b/kubernetes/client/models/v1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_component_condition.py b/kubernetes/client/models/v1_component_condition.py index bd5f1dc3ca..a002f94752 100644 --- a/kubernetes/client/models/v1_component_condition.py +++ b/kubernetes/client/models/v1_component_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_component_status.py b/kubernetes/client/models/v1_component_status.py index 9883b73cb6..8bbba2ecb1 100644 --- a/kubernetes/client/models/v1_component_status.py +++ b/kubernetes/client/models/v1_component_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_component_status_list.py b/kubernetes/client/models/v1_component_status_list.py index aa8ded7ebc..ad4a70f2f9 100644 --- a/kubernetes/client/models/v1_component_status_list.py +++ b/kubernetes/client/models/v1_component_status_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map.py b/kubernetes/client/models/v1_config_map.py index fd283779b9..fe288879d9 100644 --- a/kubernetes/client/models/v1_config_map.py +++ b/kubernetes/client/models/v1_config_map.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_env_source.py b/kubernetes/client/models/v1_config_map_env_source.py index 319ca59746..350bb35ed9 100644 --- a/kubernetes/client/models/v1_config_map_env_source.py +++ b/kubernetes/client/models/v1_config_map_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_key_selector.py b/kubernetes/client/models/v1_config_map_key_selector.py index f87f5cf51b..bbbf3bc7dc 100644 --- a/kubernetes/client/models/v1_config_map_key_selector.py +++ b/kubernetes/client/models/v1_config_map_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_list.py b/kubernetes/client/models/v1_config_map_list.py index 94b7454046..ceeb981117 100644 --- a/kubernetes/client/models/v1_config_map_list.py +++ b/kubernetes/client/models/v1_config_map_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_node_config_source.py b/kubernetes/client/models/v1_config_map_node_config_source.py new file mode 100644 index 0000000000..14bc75f9a1 --- /dev/null +++ b/kubernetes/client/models/v1_config_map_node_config_source.py @@ -0,0 +1,241 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1ConfigMapNodeConfigSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'kubelet_config_key': 'str', + 'name': 'str', + 'namespace': 'str', + 'resource_version': 'str', + 'uid': 'str' + } + + attribute_map = { + 'kubelet_config_key': 'kubeletConfigKey', + 'name': 'name', + 'namespace': 'namespace', + 'resource_version': 'resourceVersion', + 'uid': 'uid' + } + + def __init__(self, kubelet_config_key=None, name=None, namespace=None, resource_version=None, uid=None): + """ + V1ConfigMapNodeConfigSource - a model defined in Swagger + """ + + self._kubelet_config_key = None + self._name = None + self._namespace = None + self._resource_version = None + self._uid = None + self.discriminator = None + + self.kubelet_config_key = kubelet_config_key + self.name = name + self.namespace = namespace + if resource_version is not None: + self.resource_version = resource_version + if uid is not None: + self.uid = uid + + @property + def kubelet_config_key(self): + """ + Gets the kubelet_config_key of this V1ConfigMapNodeConfigSource. + KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. + + :return: The kubelet_config_key of this V1ConfigMapNodeConfigSource. + :rtype: str + """ + return self._kubelet_config_key + + @kubelet_config_key.setter + def kubelet_config_key(self, kubelet_config_key): + """ + Sets the kubelet_config_key of this V1ConfigMapNodeConfigSource. + KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. + + :param kubelet_config_key: The kubelet_config_key of this V1ConfigMapNodeConfigSource. + :type: str + """ + if kubelet_config_key is None: + raise ValueError("Invalid value for `kubelet_config_key`, must not be `None`") + + self._kubelet_config_key = kubelet_config_key + + @property + def name(self): + """ + Gets the name of this V1ConfigMapNodeConfigSource. + Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. + + :return: The name of this V1ConfigMapNodeConfigSource. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this V1ConfigMapNodeConfigSource. + Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. + + :param name: The name of this V1ConfigMapNodeConfigSource. + :type: str + """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") + + self._name = name + + @property + def namespace(self): + """ + Gets the namespace of this V1ConfigMapNodeConfigSource. + Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. + + :return: The namespace of this V1ConfigMapNodeConfigSource. + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """ + Sets the namespace of this V1ConfigMapNodeConfigSource. + Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. + + :param namespace: The namespace of this V1ConfigMapNodeConfigSource. + :type: str + """ + if namespace is None: + raise ValueError("Invalid value for `namespace`, must not be `None`") + + self._namespace = namespace + + @property + def resource_version(self): + """ + Gets the resource_version of this V1ConfigMapNodeConfigSource. + ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. + + :return: The resource_version of this V1ConfigMapNodeConfigSource. + :rtype: str + """ + return self._resource_version + + @resource_version.setter + def resource_version(self, resource_version): + """ + Sets the resource_version of this V1ConfigMapNodeConfigSource. + ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. + + :param resource_version: The resource_version of this V1ConfigMapNodeConfigSource. + :type: str + """ + + self._resource_version = resource_version + + @property + def uid(self): + """ + Gets the uid of this V1ConfigMapNodeConfigSource. + UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. + + :return: The uid of this V1ConfigMapNodeConfigSource. + :rtype: str + """ + return self._uid + + @uid.setter + def uid(self, uid): + """ + Sets the uid of this V1ConfigMapNodeConfigSource. + UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. + + :param uid: The uid of this V1ConfigMapNodeConfigSource. + :type: str + """ + + self._uid = uid + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1ConfigMapNodeConfigSource): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_config_map_projection.py b/kubernetes/client/models/v1_config_map_projection.py index eeb79f505a..89a83fcf97 100644 --- a/kubernetes/client/models/v1_config_map_projection.py +++ b/kubernetes/client/models/v1_config_map_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_volume_source.py b/kubernetes/client/models/v1_config_map_volume_source.py index e635bd3442..1b5aacca39 100644 --- a/kubernetes/client/models/v1_config_map_volume_source.py +++ b/kubernetes/client/models/v1_config_map_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container.py b/kubernetes/client/models/v1_container.py index 0d31765830..738261494c 100644 --- a/kubernetes/client/models/v1_container.py +++ b/kubernetes/client/models/v1_container.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_image.py b/kubernetes/client/models/v1_container_image.py index b6ff5abc6a..b8ca6cb6f6 100644 --- a/kubernetes/client/models/v1_container_image.py +++ b/kubernetes/client/models/v1_container_image.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_port.py b/kubernetes/client/models/v1_container_port.py index 92e6c447c6..3ff1bc15c7 100644 --- a/kubernetes/client/models/v1_container_port.py +++ b/kubernetes/client/models/v1_container_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_state.py b/kubernetes/client/models/v1_container_state.py index 0e183edff1..b4097b24df 100644 --- a/kubernetes/client/models/v1_container_state.py +++ b/kubernetes/client/models/v1_container_state.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_state_running.py b/kubernetes/client/models/v1_container_state_running.py index 4f0fed1c65..6888c45c38 100644 --- a/kubernetes/client/models/v1_container_state_running.py +++ b/kubernetes/client/models/v1_container_state_running.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_state_terminated.py b/kubernetes/client/models/v1_container_state_terminated.py index 7b137f3cd1..c85a883a84 100644 --- a/kubernetes/client/models/v1_container_state_terminated.py +++ b/kubernetes/client/models/v1_container_state_terminated.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_state_waiting.py b/kubernetes/client/models/v1_container_state_waiting.py index 51ecc1a9ef..fb7a025182 100644 --- a/kubernetes/client/models/v1_container_state_waiting.py +++ b/kubernetes/client/models/v1_container_state_waiting.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_status.py b/kubernetes/client/models/v1_container_status.py index e2a25b64b8..bc598f4ba3 100644 --- a/kubernetes/client/models/v1_container_status.py +++ b/kubernetes/client/models/v1_container_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_controller_revision.py b/kubernetes/client/models/v1_controller_revision.py index e62827e8f8..5eb3ec88e0 100644 --- a/kubernetes/client/models/v1_controller_revision.py +++ b/kubernetes/client/models/v1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_controller_revision_list.py b/kubernetes/client/models/v1_controller_revision_list.py index bff1c16345..9c53c1d898 100644 --- a/kubernetes/client/models/v1_controller_revision_list.py +++ b/kubernetes/client/models/v1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cross_version_object_reference.py b/kubernetes/client/models/v1_cross_version_object_reference.py index 30835a0325..c46548d1ee 100644 --- a/kubernetes/client/models/v1_cross_version_object_reference.py +++ b/kubernetes/client/models/v1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_csi_persistent_volume_source.py b/kubernetes/client/models/v1_csi_persistent_volume_source.py index 8021e52ff4..14bd7569c9 100644 --- a/kubernetes/client/models/v1_csi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_csi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_endpoint.py b/kubernetes/client/models/v1_daemon_endpoint.py index 3c5378566e..af730db363 100644 --- a/kubernetes/client/models/v1_daemon_endpoint.py +++ b/kubernetes/client/models/v1_daemon_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set.py b/kubernetes/client/models/v1_daemon_set.py index bf80a59acc..33124f8400 100644 --- a/kubernetes/client/models/v1_daemon_set.py +++ b/kubernetes/client/models/v1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_condition.py b/kubernetes/client/models/v1_daemon_set_condition.py index 40fd78e2f8..1b924fecff 100644 --- a/kubernetes/client/models/v1_daemon_set_condition.py +++ b/kubernetes/client/models/v1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_list.py b/kubernetes/client/models/v1_daemon_set_list.py index da108a7357..e9db18efe6 100644 --- a/kubernetes/client/models/v1_daemon_set_list.py +++ b/kubernetes/client/models/v1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_spec.py b/kubernetes/client/models/v1_daemon_set_spec.py index 142339a20a..42af978aea 100644 --- a/kubernetes/client/models/v1_daemon_set_spec.py +++ b/kubernetes/client/models/v1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_status.py b/kubernetes/client/models/v1_daemon_set_status.py index 878f773796..071018f7cb 100644 --- a/kubernetes/client/models/v1_daemon_set_status.py +++ b/kubernetes/client/models/v1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_update_strategy.py b/kubernetes/client/models/v1_daemon_set_update_strategy.py index a47895c626..0aaa2e9ff9 100644 --- a/kubernetes/client/models/v1_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_delete_options.py b/kubernetes/client/models/v1_delete_options.py index 575bcf443e..a4efb6ed59 100644 --- a/kubernetes/client/models/v1_delete_options.py +++ b/kubernetes/client/models/v1_delete_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment.py b/kubernetes/client/models/v1_deployment.py index 172a77e03e..1fc24504a0 100644 --- a/kubernetes/client/models/v1_deployment.py +++ b/kubernetes/client/models/v1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_condition.py b/kubernetes/client/models/v1_deployment_condition.py index f7e1e82f6a..8b0f18c6c2 100644 --- a/kubernetes/client/models/v1_deployment_condition.py +++ b/kubernetes/client/models/v1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_list.py b/kubernetes/client/models/v1_deployment_list.py index bb9dacb583..0ef38853a7 100644 --- a/kubernetes/client/models/v1_deployment_list.py +++ b/kubernetes/client/models/v1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_spec.py b/kubernetes/client/models/v1_deployment_spec.py index 7a4c3caa9c..1499e39606 100644 --- a/kubernetes/client/models/v1_deployment_spec.py +++ b/kubernetes/client/models/v1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_status.py b/kubernetes/client/models/v1_deployment_status.py index 0c34176147..3bd66a22b8 100644 --- a/kubernetes/client/models/v1_deployment_status.py +++ b/kubernetes/client/models/v1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_strategy.py b/kubernetes/client/models/v1_deployment_strategy.py index 869b2fcab2..f6c1ec3c76 100644 --- a/kubernetes/client/models/v1_deployment_strategy.py +++ b/kubernetes/client/models/v1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_downward_api_projection.py b/kubernetes/client/models/v1_downward_api_projection.py index dd5c9829f6..d6452bcba3 100644 --- a/kubernetes/client/models/v1_downward_api_projection.py +++ b/kubernetes/client/models/v1_downward_api_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_downward_api_volume_file.py b/kubernetes/client/models/v1_downward_api_volume_file.py index 6cfb3c66d0..6a6e4f351c 100644 --- a/kubernetes/client/models/v1_downward_api_volume_file.py +++ b/kubernetes/client/models/v1_downward_api_volume_file.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_downward_api_volume_source.py b/kubernetes/client/models/v1_downward_api_volume_source.py index 86c1419d88..a43f9ec6a8 100644 --- a/kubernetes/client/models/v1_downward_api_volume_source.py +++ b/kubernetes/client/models/v1_downward_api_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_empty_dir_volume_source.py b/kubernetes/client/models/v1_empty_dir_volume_source.py index e8d57bc44b..85a6cedbd7 100644 --- a/kubernetes/client/models/v1_empty_dir_volume_source.py +++ b/kubernetes/client/models/v1_empty_dir_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoint_address.py b/kubernetes/client/models/v1_endpoint_address.py index e4dac7c6a9..acfb66d809 100644 --- a/kubernetes/client/models/v1_endpoint_address.py +++ b/kubernetes/client/models/v1_endpoint_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoint_port.py b/kubernetes/client/models/v1_endpoint_port.py index c89653f1f0..4bb1f83cca 100644 --- a/kubernetes/client/models/v1_endpoint_port.py +++ b/kubernetes/client/models/v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoint_subset.py b/kubernetes/client/models/v1_endpoint_subset.py index 504ac60eaf..51e6d2fef4 100644 --- a/kubernetes/client/models/v1_endpoint_subset.py +++ b/kubernetes/client/models/v1_endpoint_subset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoints.py b/kubernetes/client/models/v1_endpoints.py index 54145641a7..2d55f55cf9 100644 --- a/kubernetes/client/models/v1_endpoints.py +++ b/kubernetes/client/models/v1_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoints_list.py b/kubernetes/client/models/v1_endpoints_list.py index be09883ca1..a62b2398e2 100644 --- a/kubernetes/client/models/v1_endpoints_list.py +++ b/kubernetes/client/models/v1_endpoints_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_env_from_source.py b/kubernetes/client/models/v1_env_from_source.py index 3967e3265d..e93b56d143 100644 --- a/kubernetes/client/models/v1_env_from_source.py +++ b/kubernetes/client/models/v1_env_from_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_env_var.py b/kubernetes/client/models/v1_env_var.py index 93a5e4fbff..29a20b9704 100644 --- a/kubernetes/client/models/v1_env_var.py +++ b/kubernetes/client/models/v1_env_var.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_env_var_source.py b/kubernetes/client/models/v1_env_var_source.py index 183acf606e..66538fb223 100644 --- a/kubernetes/client/models/v1_env_var_source.py +++ b/kubernetes/client/models/v1_env_var_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_event.py b/kubernetes/client/models/v1_event.py index 667c8540c0..660a64934d 100644 --- a/kubernetes/client/models/v1_event.py +++ b/kubernetes/client/models/v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_event_list.py b/kubernetes/client/models/v1_event_list.py index c85e2e50ee..1053a36c07 100644 --- a/kubernetes/client/models/v1_event_list.py +++ b/kubernetes/client/models/v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_event_series.py b/kubernetes/client/models/v1_event_series.py index 93b4ab76b7..7f6586e059 100644 --- a/kubernetes/client/models/v1_event_series.py +++ b/kubernetes/client/models/v1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_event_source.py b/kubernetes/client/models/v1_event_source.py index b528957463..3ad2d4aed4 100644 --- a/kubernetes/client/models/v1_event_source.py +++ b/kubernetes/client/models/v1_event_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_exec_action.py b/kubernetes/client/models/v1_exec_action.py index 3375dde1d8..a3a8333689 100644 --- a/kubernetes/client/models/v1_exec_action.py +++ b/kubernetes/client/models/v1_exec_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_fc_volume_source.py b/kubernetes/client/models/v1_fc_volume_source.py index 252a2b9332..43a930a126 100644 --- a/kubernetes/client/models/v1_fc_volume_source.py +++ b/kubernetes/client/models/v1_fc_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_flex_persistent_volume_source.py b/kubernetes/client/models/v1_flex_persistent_volume_source.py index 8d97a99cf4..4ec0cd5ea4 100644 --- a/kubernetes/client/models/v1_flex_persistent_volume_source.py +++ b/kubernetes/client/models/v1_flex_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_flex_volume_source.py b/kubernetes/client/models/v1_flex_volume_source.py index a1fdac29c5..519730bff0 100644 --- a/kubernetes/client/models/v1_flex_volume_source.py +++ b/kubernetes/client/models/v1_flex_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_flocker_volume_source.py b/kubernetes/client/models/v1_flocker_volume_source.py index ae70cd0745..ffb9bebf71 100644 --- a/kubernetes/client/models/v1_flocker_volume_source.py +++ b/kubernetes/client/models/v1_flocker_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py index cfbc8514e1..4eabfcf41f 100644 --- a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_git_repo_volume_source.py b/kubernetes/client/models/v1_git_repo_volume_source.py index 542d18db5b..c52d093739 100644 --- a/kubernetes/client/models/v1_git_repo_volume_source.py +++ b/kubernetes/client/models/v1_git_repo_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_glusterfs_volume_source.py b/kubernetes/client/models/v1_glusterfs_volume_source.py index 4552b1b891..fe16dffbab 100644 --- a/kubernetes/client/models/v1_glusterfs_volume_source.py +++ b/kubernetes/client/models/v1_glusterfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_group_version_for_discovery.py b/kubernetes/client/models/v1_group_version_for_discovery.py index 2fa7b3a309..82325a2cf7 100644 --- a/kubernetes/client/models/v1_group_version_for_discovery.py +++ b/kubernetes/client/models/v1_group_version_for_discovery.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_handler.py b/kubernetes/client/models/v1_handler.py index 73e39ea71f..18043e58b4 100644 --- a/kubernetes/client/models/v1_handler.py +++ b/kubernetes/client/models/v1_handler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py index 6f4fc051c8..b52d513742 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py index 0d90c1e3c1..bcf424f8df 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py index 6525f74f7b..16072220ef 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py index 04bb7f957d..49efd320e8 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_host_alias.py b/kubernetes/client/models/v1_host_alias.py index d47abaf47a..59d9abeea8 100644 --- a/kubernetes/client/models/v1_host_alias.py +++ b/kubernetes/client/models/v1_host_alias.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_host_path_volume_source.py b/kubernetes/client/models/v1_host_path_volume_source.py index f094108293..8dc88a3b46 100644 --- a/kubernetes/client/models/v1_host_path_volume_source.py +++ b/kubernetes/client/models/v1_host_path_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_http_get_action.py b/kubernetes/client/models/v1_http_get_action.py index a3afbc2c20..cecbf50039 100644 --- a/kubernetes/client/models/v1_http_get_action.py +++ b/kubernetes/client/models/v1_http_get_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_http_header.py b/kubernetes/client/models/v1_http_header.py index 1f385fb7bd..86173e052e 100644 --- a/kubernetes/client/models/v1_http_header.py +++ b/kubernetes/client/models/v1_http_header.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_initializer.py b/kubernetes/client/models/v1_initializer.py index 31f4a6468d..a3ce288d0e 100644 --- a/kubernetes/client/models/v1_initializer.py +++ b/kubernetes/client/models/v1_initializer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_initializers.py b/kubernetes/client/models/v1_initializers.py index 9de91d1276..702aa2f4a9 100644 --- a/kubernetes/client/models/v1_initializers.py +++ b/kubernetes/client/models/v1_initializers.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_ip_block.py b/kubernetes/client/models/v1_ip_block.py index 3c0a6c7fb5..bf21023c3e 100644 --- a/kubernetes/client/models/v1_ip_block.py +++ b/kubernetes/client/models/v1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py index addcb1f4ee..2ac6905ab9 100644 --- a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_iscsi_volume_source.py b/kubernetes/client/models/v1_iscsi_volume_source.py index ecfe439742..a6edd24d3d 100644 --- a/kubernetes/client/models/v1_iscsi_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job.py b/kubernetes/client/models/v1_job.py index ba04222029..c131497b24 100644 --- a/kubernetes/client/models/v1_job.py +++ b/kubernetes/client/models/v1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job_condition.py b/kubernetes/client/models/v1_job_condition.py index 1b16c0e623..220303ab37 100644 --- a/kubernetes/client/models/v1_job_condition.py +++ b/kubernetes/client/models/v1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job_list.py b/kubernetes/client/models/v1_job_list.py index 7804670ed9..f262668751 100644 --- a/kubernetes/client/models/v1_job_list.py +++ b/kubernetes/client/models/v1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job_spec.py b/kubernetes/client/models/v1_job_spec.py index bef8d45834..0f3763c5c9 100644 --- a/kubernetes/client/models/v1_job_spec.py +++ b/kubernetes/client/models/v1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job_status.py b/kubernetes/client/models/v1_job_status.py index 43b9cf6ea6..ea61000f89 100644 --- a/kubernetes/client/models/v1_job_status.py +++ b/kubernetes/client/models/v1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_key_to_path.py b/kubernetes/client/models/v1_key_to_path.py index 934c1cfcb2..165c302961 100644 --- a/kubernetes/client/models/v1_key_to_path.py +++ b/kubernetes/client/models/v1_key_to_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_label_selector.py b/kubernetes/client/models/v1_label_selector.py index 0e683e800c..d385355d4b 100644 --- a/kubernetes/client/models/v1_label_selector.py +++ b/kubernetes/client/models/v1_label_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_label_selector_requirement.py b/kubernetes/client/models/v1_label_selector_requirement.py index f5796a7862..5224fa640d 100644 --- a/kubernetes/client/models/v1_label_selector_requirement.py +++ b/kubernetes/client/models/v1_label_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_lifecycle.py b/kubernetes/client/models/v1_lifecycle.py index 204f2c34a3..b57887f7fe 100644 --- a/kubernetes/client/models/v1_lifecycle.py +++ b/kubernetes/client/models/v1_lifecycle.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_limit_range.py b/kubernetes/client/models/v1_limit_range.py index 1503648f98..1fe8eafe0b 100644 --- a/kubernetes/client/models/v1_limit_range.py +++ b/kubernetes/client/models/v1_limit_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_limit_range_item.py b/kubernetes/client/models/v1_limit_range_item.py index 73f41a6d2d..9c9fb226c6 100644 --- a/kubernetes/client/models/v1_limit_range_item.py +++ b/kubernetes/client/models/v1_limit_range_item.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_limit_range_list.py b/kubernetes/client/models/v1_limit_range_list.py index 120fef482d..08f5df2d04 100644 --- a/kubernetes/client/models/v1_limit_range_list.py +++ b/kubernetes/client/models/v1_limit_range_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_limit_range_spec.py b/kubernetes/client/models/v1_limit_range_spec.py index f571019f55..6382eb8c8b 100644 --- a/kubernetes/client/models/v1_limit_range_spec.py +++ b/kubernetes/client/models/v1_limit_range_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_list_meta.py b/kubernetes/client/models/v1_list_meta.py index 738b51a536..5cef7192ba 100644 --- a/kubernetes/client/models/v1_list_meta.py +++ b/kubernetes/client/models/v1_list_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_load_balancer_ingress.py b/kubernetes/client/models/v1_load_balancer_ingress.py index 48313d3c46..ab08a788a7 100644 --- a/kubernetes/client/models/v1_load_balancer_ingress.py +++ b/kubernetes/client/models/v1_load_balancer_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_load_balancer_status.py b/kubernetes/client/models/v1_load_balancer_status.py index 6b3db334e1..8c51a2da9b 100644 --- a/kubernetes/client/models/v1_load_balancer_status.py +++ b/kubernetes/client/models/v1_load_balancer_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_local_object_reference.py b/kubernetes/client/models/v1_local_object_reference.py index cf47f30307..4186c36ecc 100644 --- a/kubernetes/client/models/v1_local_object_reference.py +++ b/kubernetes/client/models/v1_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_local_subject_access_review.py b/kubernetes/client/models/v1_local_subject_access_review.py index e8c0c44f78..7e9a3dcee2 100644 --- a/kubernetes/client/models/v1_local_subject_access_review.py +++ b/kubernetes/client/models/v1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_local_volume_source.py b/kubernetes/client/models/v1_local_volume_source.py index 6c130a39db..9fdef178bf 100644 --- a/kubernetes/client/models/v1_local_volume_source.py +++ b/kubernetes/client/models/v1_local_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -52,7 +52,7 @@ def __init__(self, path=None): def path(self): """ Gets the path of this V1LocalVolumeSource. - The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device + The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled. :return: The path of this V1LocalVolumeSource. :rtype: str @@ -63,7 +63,7 @@ def path(self): def path(self, path): """ Sets the path of this V1LocalVolumeSource. - The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device + The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled. :param path: The path of this V1LocalVolumeSource. :type: str diff --git a/kubernetes/client/models/v1_namespace.py b/kubernetes/client/models/v1_namespace.py index 7250c3f568..e73a196a93 100644 --- a/kubernetes/client/models/v1_namespace.py +++ b/kubernetes/client/models/v1_namespace.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_namespace_list.py b/kubernetes/client/models/v1_namespace_list.py index 2d2f2a8f3a..40a5296003 100644 --- a/kubernetes/client/models/v1_namespace_list.py +++ b/kubernetes/client/models/v1_namespace_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_namespace_spec.py b/kubernetes/client/models/v1_namespace_spec.py index 5d90926476..2d8fa5a9c1 100644 --- a/kubernetes/client/models/v1_namespace_spec.py +++ b/kubernetes/client/models/v1_namespace_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_namespace_status.py b/kubernetes/client/models/v1_namespace_status.py index ec631c78db..b983c3aac4 100644 --- a/kubernetes/client/models/v1_namespace_status.py +++ b/kubernetes/client/models/v1_namespace_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy.py b/kubernetes/client/models/v1_network_policy.py index 032f50e0ca..6a25cb7fcb 100644 --- a/kubernetes/client/models/v1_network_policy.py +++ b/kubernetes/client/models/v1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_egress_rule.py b/kubernetes/client/models/v1_network_policy_egress_rule.py index 9c2ad9b8ff..d0ecf10aeb 100644 --- a/kubernetes/client/models/v1_network_policy_egress_rule.py +++ b/kubernetes/client/models/v1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_ingress_rule.py b/kubernetes/client/models/v1_network_policy_ingress_rule.py index 88532f3e6b..c11d8b1b31 100644 --- a/kubernetes/client/models/v1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_list.py b/kubernetes/client/models/v1_network_policy_list.py index eb9f76028e..c83f90a097 100644 --- a/kubernetes/client/models/v1_network_policy_list.py +++ b/kubernetes/client/models/v1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_peer.py b/kubernetes/client/models/v1_network_policy_peer.py index 07d2974391..77e865da44 100644 --- a/kubernetes/client/models/v1_network_policy_peer.py +++ b/kubernetes/client/models/v1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -63,7 +63,7 @@ def __init__(self, ip_block=None, namespace_selector=None, pod_selector=None): def ip_block(self): """ Gets the ip_block of this V1NetworkPolicyPeer. - IPBlock defines policy on a particular IPBlock + IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. :return: The ip_block of this V1NetworkPolicyPeer. :rtype: V1IPBlock @@ -74,7 +74,7 @@ def ip_block(self): def ip_block(self, ip_block): """ Sets the ip_block of this V1NetworkPolicyPeer. - IPBlock defines policy on a particular IPBlock + IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. :param ip_block: The ip_block of this V1NetworkPolicyPeer. :type: V1IPBlock @@ -86,7 +86,7 @@ def ip_block(self, ip_block): def namespace_selector(self): """ Gets the namespace_selector of this V1NetworkPolicyPeer. - Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. + Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. :return: The namespace_selector of this V1NetworkPolicyPeer. :rtype: V1LabelSelector @@ -97,7 +97,7 @@ def namespace_selector(self): def namespace_selector(self, namespace_selector): """ Sets the namespace_selector of this V1NetworkPolicyPeer. - Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. + Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. :param namespace_selector: The namespace_selector of this V1NetworkPolicyPeer. :type: V1LabelSelector @@ -109,7 +109,7 @@ def namespace_selector(self, namespace_selector): def pod_selector(self): """ Gets the pod_selector of this V1NetworkPolicyPeer. - This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. + This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. :return: The pod_selector of this V1NetworkPolicyPeer. :rtype: V1LabelSelector @@ -120,7 +120,7 @@ def pod_selector(self): def pod_selector(self, pod_selector): """ Sets the pod_selector of this V1NetworkPolicyPeer. - This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. + This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. :param pod_selector: The pod_selector of this V1NetworkPolicyPeer. :type: V1LabelSelector diff --git a/kubernetes/client/models/v1_network_policy_port.py b/kubernetes/client/models/v1_network_policy_port.py index 81df018e3e..96900c2ee9 100644 --- a/kubernetes/client/models/v1_network_policy_port.py +++ b/kubernetes/client/models/v1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_spec.py b/kubernetes/client/models/v1_network_policy_spec.py index 80aca81555..0a9ce76a89 100644 --- a/kubernetes/client/models/v1_network_policy_spec.py +++ b/kubernetes/client/models/v1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_nfs_volume_source.py b/kubernetes/client/models/v1_nfs_volume_source.py index 76ff3d9634..e58e9d3a9d 100644 --- a/kubernetes/client/models/v1_nfs_volume_source.py +++ b/kubernetes/client/models/v1_nfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node.py b/kubernetes/client/models/v1_node.py index 0a58d187d6..0f848144b1 100644 --- a/kubernetes/client/models/v1_node.py +++ b/kubernetes/client/models/v1_node.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_address.py b/kubernetes/client/models/v1_node_address.py index fbf40d0803..59cb9e3014 100644 --- a/kubernetes/client/models/v1_node_address.py +++ b/kubernetes/client/models/v1_node_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_affinity.py b/kubernetes/client/models/v1_node_affinity.py index b71e34b4d0..178f5f50cd 100644 --- a/kubernetes/client/models/v1_node_affinity.py +++ b/kubernetes/client/models/v1_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_condition.py b/kubernetes/client/models/v1_node_condition.py index 5b20d89a01..5b6191db68 100644 --- a/kubernetes/client/models/v1_node_condition.py +++ b/kubernetes/client/models/v1_node_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_config_source.py b/kubernetes/client/models/v1_node_config_source.py index 371f68287d..3cb7726d25 100644 --- a/kubernetes/client/models/v1_node_config_source.py +++ b/kubernetes/client/models/v1_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,100 +31,46 @@ class V1NodeConfigSource(object): and the value is json key in definition. """ swagger_types = { - 'api_version': 'str', - 'config_map_ref': 'V1ObjectReference', - 'kind': 'str' + 'config_map': 'V1ConfigMapNodeConfigSource' } attribute_map = { - 'api_version': 'apiVersion', - 'config_map_ref': 'configMapRef', - 'kind': 'kind' + 'config_map': 'configMap' } - def __init__(self, api_version=None, config_map_ref=None, kind=None): + def __init__(self, config_map=None): """ V1NodeConfigSource - a model defined in Swagger """ - self._api_version = None - self._config_map_ref = None - self._kind = None + self._config_map = None self.discriminator = None - if api_version is not None: - self.api_version = api_version - if config_map_ref is not None: - self.config_map_ref = config_map_ref - if kind is not None: - self.kind = kind + if config_map is not None: + self.config_map = config_map @property - def api_version(self): + def config_map(self): """ - Gets the api_version of this V1NodeConfigSource. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + Gets the config_map of this V1NodeConfigSource. + ConfigMap is a reference to a Node's ConfigMap - :return: The api_version of this V1NodeConfigSource. - :rtype: str + :return: The config_map of this V1NodeConfigSource. + :rtype: V1ConfigMapNodeConfigSource """ - return self._api_version + return self._config_map - @api_version.setter - def api_version(self, api_version): + @config_map.setter + def config_map(self, config_map): """ - Sets the api_version of this V1NodeConfigSource. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + Sets the config_map of this V1NodeConfigSource. + ConfigMap is a reference to a Node's ConfigMap - :param api_version: The api_version of this V1NodeConfigSource. - :type: str + :param config_map: The config_map of this V1NodeConfigSource. + :type: V1ConfigMapNodeConfigSource """ - self._api_version = api_version - - @property - def config_map_ref(self): - """ - Gets the config_map_ref of this V1NodeConfigSource. - - :return: The config_map_ref of this V1NodeConfigSource. - :rtype: V1ObjectReference - """ - return self._config_map_ref - - @config_map_ref.setter - def config_map_ref(self, config_map_ref): - """ - Sets the config_map_ref of this V1NodeConfigSource. - - :param config_map_ref: The config_map_ref of this V1NodeConfigSource. - :type: V1ObjectReference - """ - - self._config_map_ref = config_map_ref - - @property - def kind(self): - """ - Gets the kind of this V1NodeConfigSource. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - - :return: The kind of this V1NodeConfigSource. - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """ - Sets the kind of this V1NodeConfigSource. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - - :param kind: The kind of this V1NodeConfigSource. - :type: str - """ - - self._kind = kind + self._config_map = config_map def to_dict(self): """ diff --git a/kubernetes/client/models/v1_node_config_status.py b/kubernetes/client/models/v1_node_config_status.py new file mode 100644 index 0000000000..1ba61df696 --- /dev/null +++ b/kubernetes/client/models/v1_node_config_status.py @@ -0,0 +1,210 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1NodeConfigStatus(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'active': 'V1NodeConfigSource', + 'assigned': 'V1NodeConfigSource', + 'error': 'str', + 'last_known_good': 'V1NodeConfigSource' + } + + attribute_map = { + 'active': 'active', + 'assigned': 'assigned', + 'error': 'error', + 'last_known_good': 'lastKnownGood' + } + + def __init__(self, active=None, assigned=None, error=None, last_known_good=None): + """ + V1NodeConfigStatus - a model defined in Swagger + """ + + self._active = None + self._assigned = None + self._error = None + self._last_known_good = None + self.discriminator = None + + if active is not None: + self.active = active + if assigned is not None: + self.assigned = assigned + if error is not None: + self.error = error + if last_known_good is not None: + self.last_known_good = last_known_good + + @property + def active(self): + """ + Gets the active of this V1NodeConfigStatus. + Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. + + :return: The active of this V1NodeConfigStatus. + :rtype: V1NodeConfigSource + """ + return self._active + + @active.setter + def active(self, active): + """ + Sets the active of this V1NodeConfigStatus. + Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. + + :param active: The active of this V1NodeConfigStatus. + :type: V1NodeConfigSource + """ + + self._active = active + + @property + def assigned(self): + """ + Gets the assigned of this V1NodeConfigStatus. + Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. + + :return: The assigned of this V1NodeConfigStatus. + :rtype: V1NodeConfigSource + """ + return self._assigned + + @assigned.setter + def assigned(self, assigned): + """ + Sets the assigned of this V1NodeConfigStatus. + Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. + + :param assigned: The assigned of this V1NodeConfigStatus. + :type: V1NodeConfigSource + """ + + self._assigned = assigned + + @property + def error(self): + """ + Gets the error of this V1NodeConfigStatus. + Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. + + :return: The error of this V1NodeConfigStatus. + :rtype: str + """ + return self._error + + @error.setter + def error(self, error): + """ + Sets the error of this V1NodeConfigStatus. + Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. + + :param error: The error of this V1NodeConfigStatus. + :type: str + """ + + self._error = error + + @property + def last_known_good(self): + """ + Gets the last_known_good of this V1NodeConfigStatus. + LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. + + :return: The last_known_good of this V1NodeConfigStatus. + :rtype: V1NodeConfigSource + """ + return self._last_known_good + + @last_known_good.setter + def last_known_good(self, last_known_good): + """ + Sets the last_known_good of this V1NodeConfigStatus. + LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. + + :param last_known_good: The last_known_good of this V1NodeConfigStatus. + :type: V1NodeConfigSource + """ + + self._last_known_good = last_known_good + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1NodeConfigStatus): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_node_daemon_endpoints.py b/kubernetes/client/models/v1_node_daemon_endpoints.py index 4f0c7f8231..e39d77590b 100644 --- a/kubernetes/client/models/v1_node_daemon_endpoints.py +++ b/kubernetes/client/models/v1_node_daemon_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_list.py b/kubernetes/client/models/v1_node_list.py index 06bd147a98..e768013621 100644 --- a/kubernetes/client/models/v1_node_list.py +++ b/kubernetes/client/models/v1_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_selector.py b/kubernetes/client/models/v1_node_selector.py index db163c85cc..f4b7beccf7 100644 --- a/kubernetes/client/models/v1_node_selector.py +++ b/kubernetes/client/models/v1_node_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_selector_requirement.py b/kubernetes/client/models/v1_node_selector_requirement.py index 02de76978c..f6215762b8 100644 --- a/kubernetes/client/models/v1_node_selector_requirement.py +++ b/kubernetes/client/models/v1_node_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_selector_term.py b/kubernetes/client/models/v1_node_selector_term.py index c92ff8a10f..722b966951 100644 --- a/kubernetes/client/models/v1_node_selector_term.py +++ b/kubernetes/client/models/v1_node_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,28 +31,34 @@ class V1NodeSelectorTerm(object): and the value is json key in definition. """ swagger_types = { - 'match_expressions': 'list[V1NodeSelectorRequirement]' + 'match_expressions': 'list[V1NodeSelectorRequirement]', + 'match_fields': 'list[V1NodeSelectorRequirement]' } attribute_map = { - 'match_expressions': 'matchExpressions' + 'match_expressions': 'matchExpressions', + 'match_fields': 'matchFields' } - def __init__(self, match_expressions=None): + def __init__(self, match_expressions=None, match_fields=None): """ V1NodeSelectorTerm - a model defined in Swagger """ self._match_expressions = None + self._match_fields = None self.discriminator = None - self.match_expressions = match_expressions + if match_expressions is not None: + self.match_expressions = match_expressions + if match_fields is not None: + self.match_fields = match_fields @property def match_expressions(self): """ Gets the match_expressions of this V1NodeSelectorTerm. - Required. A list of node selector requirements. The requirements are ANDed. + A list of node selector requirements by node's labels. :return: The match_expressions of this V1NodeSelectorTerm. :rtype: list[V1NodeSelectorRequirement] @@ -63,16 +69,37 @@ def match_expressions(self): def match_expressions(self, match_expressions): """ Sets the match_expressions of this V1NodeSelectorTerm. - Required. A list of node selector requirements. The requirements are ANDed. + A list of node selector requirements by node's labels. :param match_expressions: The match_expressions of this V1NodeSelectorTerm. :type: list[V1NodeSelectorRequirement] """ - if match_expressions is None: - raise ValueError("Invalid value for `match_expressions`, must not be `None`") self._match_expressions = match_expressions + @property + def match_fields(self): + """ + Gets the match_fields of this V1NodeSelectorTerm. + A list of node selector requirements by node's fields. + + :return: The match_fields of this V1NodeSelectorTerm. + :rtype: list[V1NodeSelectorRequirement] + """ + return self._match_fields + + @match_fields.setter + def match_fields(self, match_fields): + """ + Sets the match_fields of this V1NodeSelectorTerm. + A list of node selector requirements by node's fields. + + :param match_fields: The match_fields of this V1NodeSelectorTerm. + :type: list[V1NodeSelectorRequirement] + """ + + self._match_fields = match_fields + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1_node_spec.py b/kubernetes/client/models/v1_node_spec.py index 5e3c6dee72..f9009ad3f6 100644 --- a/kubernetes/client/models/v1_node_spec.py +++ b/kubernetes/client/models/v1_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -101,7 +101,7 @@ def config_source(self, config_source): def external_id(self): """ Gets the external_id of this V1NodeSpec. - External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. + Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 :return: The external_id of this V1NodeSpec. :rtype: str @@ -112,7 +112,7 @@ def external_id(self): def external_id(self, external_id): """ Sets the external_id of this V1NodeSpec. - External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. + Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 :param external_id: The external_id of this V1NodeSpec. :type: str diff --git a/kubernetes/client/models/v1_node_status.py b/kubernetes/client/models/v1_node_status.py index a8f11abb91..3f061b062b 100644 --- a/kubernetes/client/models/v1_node_status.py +++ b/kubernetes/client/models/v1_node_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -35,6 +35,7 @@ class V1NodeStatus(object): 'allocatable': 'dict(str, str)', 'capacity': 'dict(str, str)', 'conditions': 'list[V1NodeCondition]', + 'config': 'V1NodeConfigStatus', 'daemon_endpoints': 'V1NodeDaemonEndpoints', 'images': 'list[V1ContainerImage]', 'node_info': 'V1NodeSystemInfo', @@ -48,6 +49,7 @@ class V1NodeStatus(object): 'allocatable': 'allocatable', 'capacity': 'capacity', 'conditions': 'conditions', + 'config': 'config', 'daemon_endpoints': 'daemonEndpoints', 'images': 'images', 'node_info': 'nodeInfo', @@ -56,7 +58,7 @@ class V1NodeStatus(object): 'volumes_in_use': 'volumesInUse' } - def __init__(self, addresses=None, allocatable=None, capacity=None, conditions=None, daemon_endpoints=None, images=None, node_info=None, phase=None, volumes_attached=None, volumes_in_use=None): + def __init__(self, addresses=None, allocatable=None, capacity=None, conditions=None, config=None, daemon_endpoints=None, images=None, node_info=None, phase=None, volumes_attached=None, volumes_in_use=None): """ V1NodeStatus - a model defined in Swagger """ @@ -65,6 +67,7 @@ def __init__(self, addresses=None, allocatable=None, capacity=None, conditions=N self._allocatable = None self._capacity = None self._conditions = None + self._config = None self._daemon_endpoints = None self._images = None self._node_info = None @@ -81,6 +84,8 @@ def __init__(self, addresses=None, allocatable=None, capacity=None, conditions=N self.capacity = capacity if conditions is not None: self.conditions = conditions + if config is not None: + self.config = config if daemon_endpoints is not None: self.daemon_endpoints = daemon_endpoints if images is not None: @@ -186,6 +191,29 @@ def conditions(self, conditions): self._conditions = conditions + @property + def config(self): + """ + Gets the config of this V1NodeStatus. + Status of the config assigned to the node via the dynamic Kubelet config feature. + + :return: The config of this V1NodeStatus. + :rtype: V1NodeConfigStatus + """ + return self._config + + @config.setter + def config(self, config): + """ + Sets the config of this V1NodeStatus. + Status of the config assigned to the node via the dynamic Kubelet config feature. + + :param config: The config of this V1NodeStatus. + :type: V1NodeConfigStatus + """ + + self._config = config + @property def daemon_endpoints(self): """ diff --git a/kubernetes/client/models/v1_node_system_info.py b/kubernetes/client/models/v1_node_system_info.py index d4a293fa5b..f424a9a0a5 100644 --- a/kubernetes/client/models/v1_node_system_info.py +++ b/kubernetes/client/models/v1_node_system_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_non_resource_attributes.py b/kubernetes/client/models/v1_non_resource_attributes.py index 32a089ef9d..8d2e0b2a1d 100644 --- a/kubernetes/client/models/v1_non_resource_attributes.py +++ b/kubernetes/client/models/v1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_non_resource_rule.py b/kubernetes/client/models/v1_non_resource_rule.py index 988cf4f2b0..2b0742afe4 100644 --- a/kubernetes/client/models/v1_non_resource_rule.py +++ b/kubernetes/client/models/v1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_object_field_selector.py b/kubernetes/client/models/v1_object_field_selector.py index 526b764f33..886f8c537e 100644 --- a/kubernetes/client/models/v1_object_field_selector.py +++ b/kubernetes/client/models/v1_object_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_object_meta.py b/kubernetes/client/models/v1_object_meta.py index 83cc8305c7..eefe900ab8 100644 --- a/kubernetes/client/models/v1_object_meta.py +++ b/kubernetes/client/models/v1_object_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_object_reference.py b/kubernetes/client/models/v1_object_reference.py index ffef35a858..0d8638917b 100644 --- a/kubernetes/client/models/v1_object_reference.py +++ b/kubernetes/client/models/v1_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_owner_reference.py b/kubernetes/client/models/v1_owner_reference.py index 907372387a..23d73bcefb 100644 --- a/kubernetes/client/models/v1_owner_reference.py +++ b/kubernetes/client/models/v1_owner_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume.py b/kubernetes/client/models/v1_persistent_volume.py index d6305eb885..9aa25c9a71 100644 --- a/kubernetes/client/models/v1_persistent_volume.py +++ b/kubernetes/client/models/v1_persistent_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim.py b/kubernetes/client/models/v1_persistent_volume_claim.py index 8b68b7dfe3..4653dc89e3 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim.py +++ b/kubernetes/client/models/v1_persistent_volume_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_condition.py b/kubernetes/client/models/v1_persistent_volume_claim_condition.py index 00f736ae75..ab7f150a1c 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_condition.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_list.py b/kubernetes/client/models/v1_persistent_volume_claim_list.py index 6dba18bd83..bf9321f4e2 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_list.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_spec.py b/kubernetes/client/models/v1_persistent_volume_claim_spec.py index aad03e7dd1..e5f377040d 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_status.py b/kubernetes/client/models/v1_persistent_volume_claim_status.py index 303ea67496..21c9b73ac5 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_status.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py index 1f392f6f63..b8a6bdb4d4 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_list.py b/kubernetes/client/models/v1_persistent_volume_list.py index 555e65a69c..65fbe4ee4c 100644 --- a/kubernetes/client/models/v1_persistent_volume_list.py +++ b/kubernetes/client/models/v1_persistent_volume_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_spec.py b/kubernetes/client/models/v1_persistent_volume_spec.py index 3be70d7b54..dc262ec81d 100644 --- a/kubernetes/client/models/v1_persistent_volume_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -37,7 +37,7 @@ class V1PersistentVolumeSpec(object): 'azure_file': 'V1AzureFilePersistentVolumeSource', 'capacity': 'dict(str, str)', 'cephfs': 'V1CephFSPersistentVolumeSource', - 'cinder': 'V1CinderVolumeSource', + 'cinder': 'V1CinderPersistentVolumeSource', 'claim_ref': 'V1ObjectReference', 'csi': 'V1CSIPersistentVolumeSource', 'fc': 'V1FCVolumeSource', @@ -339,7 +339,7 @@ def cinder(self): Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md :return: The cinder of this V1PersistentVolumeSpec. - :rtype: V1CinderVolumeSource + :rtype: V1CinderPersistentVolumeSource """ return self._cinder @@ -350,7 +350,7 @@ def cinder(self, cinder): Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md :param cinder: The cinder of this V1PersistentVolumeSpec. - :type: V1CinderVolumeSource + :type: V1CinderPersistentVolumeSource """ self._cinder = cinder diff --git a/kubernetes/client/models/v1_persistent_volume_status.py b/kubernetes/client/models/v1_persistent_volume_status.py index d1bdf2c70c..4e19809933 100644 --- a/kubernetes/client/models/v1_persistent_volume_status.py +++ b/kubernetes/client/models/v1_persistent_volume_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py index 83ea87cf01..cbbb6d28a0 100644 --- a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod.py b/kubernetes/client/models/v1_pod.py index ae1ae2a788..ccc8c0198f 100644 --- a/kubernetes/client/models/v1_pod.py +++ b/kubernetes/client/models/v1_pod.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_affinity.py b/kubernetes/client/models/v1_pod_affinity.py index 1c76815a43..a5ba463683 100644 --- a/kubernetes/client/models/v1_pod_affinity.py +++ b/kubernetes/client/models/v1_pod_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_affinity_term.py b/kubernetes/client/models/v1_pod_affinity_term.py index 1dd039fdbe..7fe8b53729 100644 --- a/kubernetes/client/models/v1_pod_affinity_term.py +++ b/kubernetes/client/models/v1_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_anti_affinity.py b/kubernetes/client/models/v1_pod_anti_affinity.py index 22e5cf56af..0e95814376 100644 --- a/kubernetes/client/models/v1_pod_anti_affinity.py +++ b/kubernetes/client/models/v1_pod_anti_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_condition.py b/kubernetes/client/models/v1_pod_condition.py index a58e05caf5..d780595d74 100644 --- a/kubernetes/client/models/v1_pod_condition.py +++ b/kubernetes/client/models/v1_pod_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -193,7 +193,7 @@ def status(self, status): def type(self): """ Gets the type of this V1PodCondition. - Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions :return: The type of this V1PodCondition. :rtype: str @@ -204,7 +204,7 @@ def type(self): def type(self, type): """ Sets the type of this V1PodCondition. - Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions :param type: The type of this V1PodCondition. :type: str diff --git a/kubernetes/client/models/v1_pod_dns_config.py b/kubernetes/client/models/v1_pod_dns_config.py index 4deb2b93cd..5233763469 100644 --- a/kubernetes/client/models/v1_pod_dns_config.py +++ b/kubernetes/client/models/v1_pod_dns_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_dns_config_option.py b/kubernetes/client/models/v1_pod_dns_config_option.py index ec81c2f2f6..0b0eba8e35 100644 --- a/kubernetes/client/models/v1_pod_dns_config_option.py +++ b/kubernetes/client/models/v1_pod_dns_config_option.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_list.py b/kubernetes/client/models/v1_pod_list.py index 7143d58235..0739aa27b1 100644 --- a/kubernetes/client/models/v1_pod_list.py +++ b/kubernetes/client/models/v1_pod_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_json.py b/kubernetes/client/models/v1_pod_readiness_gate.py similarity index 67% rename from kubernetes/client/models/v1beta1_json.py rename to kubernetes/client/models/v1_pod_readiness_gate.py index a32a0eb7b8..1954d559c2 100644 --- a/kubernetes/client/models/v1beta1_json.py +++ b/kubernetes/client/models/v1_pod_readiness_gate.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,7 +16,7 @@ import re -class V1beta1JSON(object): +class V1PodReadinessGate(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -31,47 +31,47 @@ class V1beta1JSON(object): and the value is json key in definition. """ swagger_types = { - 'raw': 'str' + 'condition_type': 'str' } attribute_map = { - 'raw': 'Raw' + 'condition_type': 'conditionType' } - def __init__(self, raw=None): + def __init__(self, condition_type=None): """ - V1beta1JSON - a model defined in Swagger + V1PodReadinessGate - a model defined in Swagger """ - self._raw = None + self._condition_type = None self.discriminator = None - self.raw = raw + self.condition_type = condition_type @property - def raw(self): + def condition_type(self): """ - Gets the raw of this V1beta1JSON. + Gets the condition_type of this V1PodReadinessGate. + ConditionType refers to a condition in the pod's condition list with matching type. - :return: The raw of this V1beta1JSON. + :return: The condition_type of this V1PodReadinessGate. :rtype: str """ - return self._raw + return self._condition_type - @raw.setter - def raw(self, raw): + @condition_type.setter + def condition_type(self, condition_type): """ - Sets the raw of this V1beta1JSON. + Sets the condition_type of this V1PodReadinessGate. + ConditionType refers to a condition in the pod's condition list with matching type. - :param raw: The raw of this V1beta1JSON. + :param condition_type: The condition_type of this V1PodReadinessGate. :type: str """ - if raw is None: - raise ValueError("Invalid value for `raw`, must not be `None`") - if raw is not None and not re.search('^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', raw): - raise ValueError("Invalid value for `raw`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") + if condition_type is None: + raise ValueError("Invalid value for `condition_type`, must not be `None`") - self._raw = raw + self._condition_type = condition_type def to_dict(self): """ @@ -115,7 +115,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1JSON): + if not isinstance(other, V1PodReadinessGate): return False return self.__dict__ == other.__dict__ diff --git a/kubernetes/client/models/v1_pod_security_context.py b/kubernetes/client/models/v1_pod_security_context.py index d5e3169e78..eef41bdba7 100644 --- a/kubernetes/client/models/v1_pod_security_context.py +++ b/kubernetes/client/models/v1_pod_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -36,7 +36,8 @@ class V1PodSecurityContext(object): 'run_as_non_root': 'bool', 'run_as_user': 'int', 'se_linux_options': 'V1SELinuxOptions', - 'supplemental_groups': 'list[int]' + 'supplemental_groups': 'list[int]', + 'sysctls': 'list[V1Sysctl]' } attribute_map = { @@ -45,10 +46,11 @@ class V1PodSecurityContext(object): 'run_as_non_root': 'runAsNonRoot', 'run_as_user': 'runAsUser', 'se_linux_options': 'seLinuxOptions', - 'supplemental_groups': 'supplementalGroups' + 'supplemental_groups': 'supplementalGroups', + 'sysctls': 'sysctls' } - def __init__(self, fs_group=None, run_as_group=None, run_as_non_root=None, run_as_user=None, se_linux_options=None, supplemental_groups=None): + def __init__(self, fs_group=None, run_as_group=None, run_as_non_root=None, run_as_user=None, se_linux_options=None, supplemental_groups=None, sysctls=None): """ V1PodSecurityContext - a model defined in Swagger """ @@ -59,6 +61,7 @@ def __init__(self, fs_group=None, run_as_group=None, run_as_non_root=None, run_a self._run_as_user = None self._se_linux_options = None self._supplemental_groups = None + self._sysctls = None self.discriminator = None if fs_group is not None: @@ -73,6 +76,8 @@ def __init__(self, fs_group=None, run_as_group=None, run_as_non_root=None, run_a self.se_linux_options = se_linux_options if supplemental_groups is not None: self.supplemental_groups = supplemental_groups + if sysctls is not None: + self.sysctls = sysctls @property def fs_group(self): @@ -212,6 +217,29 @@ def supplemental_groups(self, supplemental_groups): self._supplemental_groups = supplemental_groups + @property + def sysctls(self): + """ + Gets the sysctls of this V1PodSecurityContext. + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. + + :return: The sysctls of this V1PodSecurityContext. + :rtype: list[V1Sysctl] + """ + return self._sysctls + + @sysctls.setter + def sysctls(self, sysctls): + """ + Sets the sysctls of this V1PodSecurityContext. + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. + + :param sysctls: The sysctls of this V1PodSecurityContext. + :type: list[V1Sysctl] + """ + + self._sysctls = sysctls + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1_pod_spec.py b/kubernetes/client/models/v1_pod_spec.py index db8cbf152e..e2b25cc24d 100644 --- a/kubernetes/client/models/v1_pod_spec.py +++ b/kubernetes/client/models/v1_pod_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -48,6 +48,7 @@ class V1PodSpec(object): 'node_selector': 'dict(str, str)', 'priority': 'int', 'priority_class_name': 'str', + 'readiness_gates': 'list[V1PodReadinessGate]', 'restart_policy': 'str', 'scheduler_name': 'str', 'security_context': 'V1PodSecurityContext', @@ -78,6 +79,7 @@ class V1PodSpec(object): 'node_selector': 'nodeSelector', 'priority': 'priority', 'priority_class_name': 'priorityClassName', + 'readiness_gates': 'readinessGates', 'restart_policy': 'restartPolicy', 'scheduler_name': 'schedulerName', 'security_context': 'securityContext', @@ -90,7 +92,7 @@ class V1PodSpec(object): 'volumes': 'volumes' } - def __init__(self, active_deadline_seconds=None, affinity=None, automount_service_account_token=None, containers=None, dns_config=None, dns_policy=None, host_aliases=None, host_ipc=None, host_network=None, host_pid=None, hostname=None, image_pull_secrets=None, init_containers=None, node_name=None, node_selector=None, priority=None, priority_class_name=None, restart_policy=None, scheduler_name=None, security_context=None, service_account=None, service_account_name=None, share_process_namespace=None, subdomain=None, termination_grace_period_seconds=None, tolerations=None, volumes=None): + def __init__(self, active_deadline_seconds=None, affinity=None, automount_service_account_token=None, containers=None, dns_config=None, dns_policy=None, host_aliases=None, host_ipc=None, host_network=None, host_pid=None, hostname=None, image_pull_secrets=None, init_containers=None, node_name=None, node_selector=None, priority=None, priority_class_name=None, readiness_gates=None, restart_policy=None, scheduler_name=None, security_context=None, service_account=None, service_account_name=None, share_process_namespace=None, subdomain=None, termination_grace_period_seconds=None, tolerations=None, volumes=None): """ V1PodSpec - a model defined in Swagger """ @@ -112,6 +114,7 @@ def __init__(self, active_deadline_seconds=None, affinity=None, automount_servic self._node_selector = None self._priority = None self._priority_class_name = None + self._readiness_gates = None self._restart_policy = None self._scheduler_name = None self._security_context = None @@ -157,6 +160,8 @@ def __init__(self, active_deadline_seconds=None, affinity=None, automount_servic self.priority = priority if priority_class_name is not None: self.priority_class_name = priority_class_name + if readiness_gates is not None: + self.readiness_gates = readiness_gates if restart_policy is not None: self.restart_policy = restart_policy if scheduler_name is not None: @@ -571,6 +576,29 @@ def priority_class_name(self, priority_class_name): self._priority_class_name = priority_class_name + @property + def readiness_gates(self): + """ + Gets the readiness_gates of this V1PodSpec. + If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md + + :return: The readiness_gates of this V1PodSpec. + :rtype: list[V1PodReadinessGate] + """ + return self._readiness_gates + + @readiness_gates.setter + def readiness_gates(self, readiness_gates): + """ + Sets the readiness_gates of this V1PodSpec. + If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md + + :param readiness_gates: The readiness_gates of this V1PodSpec. + :type: list[V1PodReadinessGate] + """ + + self._readiness_gates = readiness_gates + @property def restart_policy(self): """ diff --git a/kubernetes/client/models/v1_pod_status.py b/kubernetes/client/models/v1_pod_status.py index 7428e67081..76fee9a621 100644 --- a/kubernetes/client/models/v1_pod_status.py +++ b/kubernetes/client/models/v1_pod_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -241,7 +241,7 @@ def nominated_node_name(self, nominated_node_name): def phase(self): """ Gets the phase of this V1PodStatus. - Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase + The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase :return: The phase of this V1PodStatus. :rtype: str @@ -252,7 +252,7 @@ def phase(self): def phase(self, phase): """ Sets the phase of this V1PodStatus. - Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase + The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase :param phase: The phase of this V1PodStatus. :type: str diff --git a/kubernetes/client/models/v1_pod_template.py b/kubernetes/client/models/v1_pod_template.py index 42479fad74..ac1503642a 100644 --- a/kubernetes/client/models/v1_pod_template.py +++ b/kubernetes/client/models/v1_pod_template.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_template_list.py b/kubernetes/client/models/v1_pod_template_list.py index 8cd58f83ef..0fed0e4046 100644 --- a/kubernetes/client/models/v1_pod_template_list.py +++ b/kubernetes/client/models/v1_pod_template_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_template_spec.py b/kubernetes/client/models/v1_pod_template_spec.py index 67e2d7a892..ea9921f528 100644 --- a/kubernetes/client/models/v1_pod_template_spec.py +++ b/kubernetes/client/models/v1_pod_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_policy_rule.py b/kubernetes/client/models/v1_policy_rule.py index a7a4d6b2b1..dfa846ac0e 100644 --- a/kubernetes/client/models/v1_policy_rule.py +++ b/kubernetes/client/models/v1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_portworx_volume_source.py b/kubernetes/client/models/v1_portworx_volume_source.py index 611c15aa07..467bf8d8e7 100644 --- a/kubernetes/client/models/v1_portworx_volume_source.py +++ b/kubernetes/client/models/v1_portworx_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_preconditions.py b/kubernetes/client/models/v1_preconditions.py index 48775b6b79..a059bd9c91 100644 --- a/kubernetes/client/models/v1_preconditions.py +++ b/kubernetes/client/models/v1_preconditions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_preferred_scheduling_term.py b/kubernetes/client/models/v1_preferred_scheduling_term.py index 423941ef3d..b5cc084708 100644 --- a/kubernetes/client/models/v1_preferred_scheduling_term.py +++ b/kubernetes/client/models/v1_preferred_scheduling_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_probe.py b/kubernetes/client/models/v1_probe.py index 3b9d2a2987..b24c18477c 100644 --- a/kubernetes/client/models/v1_probe.py +++ b/kubernetes/client/models/v1_probe.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_projected_volume_source.py b/kubernetes/client/models/v1_projected_volume_source.py index cc65803071..4393d84bd5 100644 --- a/kubernetes/client/models/v1_projected_volume_source.py +++ b/kubernetes/client/models/v1_projected_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_quobyte_volume_source.py b/kubernetes/client/models/v1_quobyte_volume_source.py index bea2c7ad4a..fa22cc5958 100644 --- a/kubernetes/client/models/v1_quobyte_volume_source.py +++ b/kubernetes/client/models/v1_quobyte_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_rbd_persistent_volume_source.py b/kubernetes/client/models/v1_rbd_persistent_volume_source.py index 648da8e6a7..bc91bcfb00 100644 --- a/kubernetes/client/models/v1_rbd_persistent_volume_source.py +++ b/kubernetes/client/models/v1_rbd_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_rbd_volume_source.py b/kubernetes/client/models/v1_rbd_volume_source.py index 3e9d60430a..fb152b4c7b 100644 --- a/kubernetes/client/models/v1_rbd_volume_source.py +++ b/kubernetes/client/models/v1_rbd_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set.py b/kubernetes/client/models/v1_replica_set.py index 7d07e52e6f..ec03fcce65 100644 --- a/kubernetes/client/models/v1_replica_set.py +++ b/kubernetes/client/models/v1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set_condition.py b/kubernetes/client/models/v1_replica_set_condition.py index d177da97b9..41fb3cb4b8 100644 --- a/kubernetes/client/models/v1_replica_set_condition.py +++ b/kubernetes/client/models/v1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set_list.py b/kubernetes/client/models/v1_replica_set_list.py index f8cd288ab0..0da52bbc7e 100644 --- a/kubernetes/client/models/v1_replica_set_list.py +++ b/kubernetes/client/models/v1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set_spec.py b/kubernetes/client/models/v1_replica_set_spec.py index 2a8ee69561..718eda7638 100644 --- a/kubernetes/client/models/v1_replica_set_spec.py +++ b/kubernetes/client/models/v1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set_status.py b/kubernetes/client/models/v1_replica_set_status.py index 368463ac1e..6fcc2dc55e 100644 --- a/kubernetes/client/models/v1_replica_set_status.py +++ b/kubernetes/client/models/v1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller.py b/kubernetes/client/models/v1_replication_controller.py index cce19797df..840064fde7 100644 --- a/kubernetes/client/models/v1_replication_controller.py +++ b/kubernetes/client/models/v1_replication_controller.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller_condition.py b/kubernetes/client/models/v1_replication_controller_condition.py index 8415c76d73..981498ddb1 100644 --- a/kubernetes/client/models/v1_replication_controller_condition.py +++ b/kubernetes/client/models/v1_replication_controller_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller_list.py b/kubernetes/client/models/v1_replication_controller_list.py index 62a949f5cc..07f6ab18ea 100644 --- a/kubernetes/client/models/v1_replication_controller_list.py +++ b/kubernetes/client/models/v1_replication_controller_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller_spec.py b/kubernetes/client/models/v1_replication_controller_spec.py index bcb0a8be44..6cd5a9fedb 100644 --- a/kubernetes/client/models/v1_replication_controller_spec.py +++ b/kubernetes/client/models/v1_replication_controller_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller_status.py b/kubernetes/client/models/v1_replication_controller_status.py index 6c200b6922..60f0449cf3 100644 --- a/kubernetes/client/models/v1_replication_controller_status.py +++ b/kubernetes/client/models/v1_replication_controller_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_attributes.py b/kubernetes/client/models/v1_resource_attributes.py index 4c4e5c5ea1..d819860b83 100644 --- a/kubernetes/client/models/v1_resource_attributes.py +++ b/kubernetes/client/models/v1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_field_selector.py b/kubernetes/client/models/v1_resource_field_selector.py index c5c3e96ea3..b1d2b1c407 100644 --- a/kubernetes/client/models/v1_resource_field_selector.py +++ b/kubernetes/client/models/v1_resource_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_quota.py b/kubernetes/client/models/v1_resource_quota.py index b1bc0f7f63..366d522d50 100644 --- a/kubernetes/client/models/v1_resource_quota.py +++ b/kubernetes/client/models/v1_resource_quota.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_quota_list.py b/kubernetes/client/models/v1_resource_quota_list.py index 3f64caa0f5..6aeef7ddb5 100644 --- a/kubernetes/client/models/v1_resource_quota_list.py +++ b/kubernetes/client/models/v1_resource_quota_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_quota_spec.py b/kubernetes/client/models/v1_resource_quota_spec.py index 8ac002cd8b..335806f8f4 100644 --- a/kubernetes/client/models/v1_resource_quota_spec.py +++ b/kubernetes/client/models/v1_resource_quota_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,25 +32,30 @@ class V1ResourceQuotaSpec(object): """ swagger_types = { 'hard': 'dict(str, str)', + 'scope_selector': 'V1ScopeSelector', 'scopes': 'list[str]' } attribute_map = { 'hard': 'hard', + 'scope_selector': 'scopeSelector', 'scopes': 'scopes' } - def __init__(self, hard=None, scopes=None): + def __init__(self, hard=None, scope_selector=None, scopes=None): """ V1ResourceQuotaSpec - a model defined in Swagger """ self._hard = None + self._scope_selector = None self._scopes = None self.discriminator = None if hard is not None: self.hard = hard + if scope_selector is not None: + self.scope_selector = scope_selector if scopes is not None: self.scopes = scopes @@ -58,7 +63,7 @@ def __init__(self, hard=None, scopes=None): def hard(self): """ Gets the hard of this V1ResourceQuotaSpec. - Hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ :return: The hard of this V1ResourceQuotaSpec. :rtype: dict(str, str) @@ -69,7 +74,7 @@ def hard(self): def hard(self, hard): """ Sets the hard of this V1ResourceQuotaSpec. - Hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ :param hard: The hard of this V1ResourceQuotaSpec. :type: dict(str, str) @@ -77,6 +82,29 @@ def hard(self, hard): self._hard = hard + @property + def scope_selector(self): + """ + Gets the scope_selector of this V1ResourceQuotaSpec. + scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. + + :return: The scope_selector of this V1ResourceQuotaSpec. + :rtype: V1ScopeSelector + """ + return self._scope_selector + + @scope_selector.setter + def scope_selector(self, scope_selector): + """ + Sets the scope_selector of this V1ResourceQuotaSpec. + scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. + + :param scope_selector: The scope_selector of this V1ResourceQuotaSpec. + :type: V1ScopeSelector + """ + + self._scope_selector = scope_selector + @property def scopes(self): """ diff --git a/kubernetes/client/models/v1_resource_quota_status.py b/kubernetes/client/models/v1_resource_quota_status.py index 2cb70c0be0..cbd3272ff1 100644 --- a/kubernetes/client/models/v1_resource_quota_status.py +++ b/kubernetes/client/models/v1_resource_quota_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_requirements.py b/kubernetes/client/models/v1_resource_requirements.py index f1bafb8302..d0e146acc0 100644 --- a/kubernetes/client/models/v1_resource_requirements.py +++ b/kubernetes/client/models/v1_resource_requirements.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_rule.py b/kubernetes/client/models/v1_resource_rule.py index 7b8278c4ec..95312b94e9 100644 --- a/kubernetes/client/models/v1_resource_rule.py +++ b/kubernetes/client/models/v1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_role.py b/kubernetes/client/models/v1_role.py index ec10e73edc..33e8ac902d 100644 --- a/kubernetes/client/models/v1_role.py +++ b/kubernetes/client/models/v1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_role_binding.py b/kubernetes/client/models/v1_role_binding.py index e52f67fd75..21a375492e 100644 --- a/kubernetes/client/models/v1_role_binding.py +++ b/kubernetes/client/models/v1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -65,7 +65,8 @@ def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, su if metadata is not None: self.metadata = metadata self.role_ref = role_ref - self.subjects = subjects + if subjects is not None: + self.subjects = subjects @property def api_version(self): @@ -181,8 +182,6 @@ def subjects(self, subjects): :param subjects: The subjects of this V1RoleBinding. :type: list[V1Subject] """ - if subjects is None: - raise ValueError("Invalid value for `subjects`, must not be `None`") self._subjects = subjects diff --git a/kubernetes/client/models/v1_role_binding_list.py b/kubernetes/client/models/v1_role_binding_list.py index 032e05a86e..93770fdd02 100644 --- a/kubernetes/client/models/v1_role_binding_list.py +++ b/kubernetes/client/models/v1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_role_list.py b/kubernetes/client/models/v1_role_list.py index 9129822676..dfc5111baf 100644 --- a/kubernetes/client/models/v1_role_list.py +++ b/kubernetes/client/models/v1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_role_ref.py b/kubernetes/client/models/v1_role_ref.py index 89d42e3d87..2b3e545327 100644 --- a/kubernetes/client/models/v1_role_ref.py +++ b/kubernetes/client/models/v1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_rolling_update_daemon_set.py b/kubernetes/client/models/v1_rolling_update_daemon_set.py index e7b712cd60..3bea8db074 100644 --- a/kubernetes/client/models/v1_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_rolling_update_deployment.py b/kubernetes/client/models/v1_rolling_update_deployment.py index efbf4f11d6..7b11f9878b 100644 --- a/kubernetes/client/models/v1_rolling_update_deployment.py +++ b/kubernetes/client/models/v1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -58,7 +58,7 @@ def __init__(self, max_surge=None, max_unavailable=None): def max_surge(self): """ Gets the max_surge of this V1RollingUpdateDeployment. - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. + The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. :return: The max_surge of this V1RollingUpdateDeployment. :rtype: object @@ -69,7 +69,7 @@ def max_surge(self): def max_surge(self, max_surge): """ Sets the max_surge of this V1RollingUpdateDeployment. - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. + The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. :param max_surge: The max_surge of this V1RollingUpdateDeployment. :type: object @@ -81,7 +81,7 @@ def max_surge(self, max_surge): def max_unavailable(self): """ Gets the max_unavailable of this V1RollingUpdateDeployment. - The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. :return: The max_unavailable of this V1RollingUpdateDeployment. :rtype: object @@ -92,7 +92,7 @@ def max_unavailable(self): def max_unavailable(self, max_unavailable): """ Sets the max_unavailable of this V1RollingUpdateDeployment. - The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. :param max_unavailable: The max_unavailable of this V1RollingUpdateDeployment. :type: object diff --git a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py index a5a10010ef..e0b4427604 100644 --- a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale.py b/kubernetes/client/models/v1_scale.py index b2d317b775..a01b0b62fe 100644 --- a/kubernetes/client/models/v1_scale.py +++ b/kubernetes/client/models/v1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py index 740df9b05d..2470d63cd0 100644 --- a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale_io_volume_source.py b/kubernetes/client/models/v1_scale_io_volume_source.py index 865d66202a..d8cd2680f5 100644 --- a/kubernetes/client/models/v1_scale_io_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale_spec.py b/kubernetes/client/models/v1_scale_spec.py index ca1db637d5..461b1cbba9 100644 --- a/kubernetes/client/models/v1_scale_spec.py +++ b/kubernetes/client/models/v1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale_status.py b/kubernetes/client/models/v1_scale_status.py index 34c651e6d4..68b64f7daa 100644 --- a/kubernetes/client/models/v1_scale_status.py +++ b/kubernetes/client/models/v1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scope_selector.py b/kubernetes/client/models/v1_scope_selector.py new file mode 100644 index 0000000000..98e2463d98 --- /dev/null +++ b/kubernetes/client/models/v1_scope_selector.py @@ -0,0 +1,126 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1ScopeSelector(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'match_expressions': 'list[V1ScopedResourceSelectorRequirement]' + } + + attribute_map = { + 'match_expressions': 'matchExpressions' + } + + def __init__(self, match_expressions=None): + """ + V1ScopeSelector - a model defined in Swagger + """ + + self._match_expressions = None + self.discriminator = None + + if match_expressions is not None: + self.match_expressions = match_expressions + + @property + def match_expressions(self): + """ + Gets the match_expressions of this V1ScopeSelector. + A list of scope selector requirements by scope of the resources. + + :return: The match_expressions of this V1ScopeSelector. + :rtype: list[V1ScopedResourceSelectorRequirement] + """ + return self._match_expressions + + @match_expressions.setter + def match_expressions(self, match_expressions): + """ + Sets the match_expressions of this V1ScopeSelector. + A list of scope selector requirements by scope of the resources. + + :param match_expressions: The match_expressions of this V1ScopeSelector. + :type: list[V1ScopedResourceSelectorRequirement] + """ + + self._match_expressions = match_expressions + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1ScopeSelector): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_scoped_resource_selector_requirement.py b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py new file mode 100644 index 0000000000..c5a389fd20 --- /dev/null +++ b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py @@ -0,0 +1,184 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1ScopedResourceSelectorRequirement(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'operator': 'str', + 'scope_name': 'str', + 'values': 'list[str]' + } + + attribute_map = { + 'operator': 'operator', + 'scope_name': 'scopeName', + 'values': 'values' + } + + def __init__(self, operator=None, scope_name=None, values=None): + """ + V1ScopedResourceSelectorRequirement - a model defined in Swagger + """ + + self._operator = None + self._scope_name = None + self._values = None + self.discriminator = None + + self.operator = operator + self.scope_name = scope_name + if values is not None: + self.values = values + + @property + def operator(self): + """ + Gets the operator of this V1ScopedResourceSelectorRequirement. + Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. + + :return: The operator of this V1ScopedResourceSelectorRequirement. + :rtype: str + """ + return self._operator + + @operator.setter + def operator(self, operator): + """ + Sets the operator of this V1ScopedResourceSelectorRequirement. + Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. + + :param operator: The operator of this V1ScopedResourceSelectorRequirement. + :type: str + """ + if operator is None: + raise ValueError("Invalid value for `operator`, must not be `None`") + + self._operator = operator + + @property + def scope_name(self): + """ + Gets the scope_name of this V1ScopedResourceSelectorRequirement. + The name of the scope that the selector applies to. + + :return: The scope_name of this V1ScopedResourceSelectorRequirement. + :rtype: str + """ + return self._scope_name + + @scope_name.setter + def scope_name(self, scope_name): + """ + Sets the scope_name of this V1ScopedResourceSelectorRequirement. + The name of the scope that the selector applies to. + + :param scope_name: The scope_name of this V1ScopedResourceSelectorRequirement. + :type: str + """ + if scope_name is None: + raise ValueError("Invalid value for `scope_name`, must not be `None`") + + self._scope_name = scope_name + + @property + def values(self): + """ + Gets the values of this V1ScopedResourceSelectorRequirement. + An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + + :return: The values of this V1ScopedResourceSelectorRequirement. + :rtype: list[str] + """ + return self._values + + @values.setter + def values(self, values): + """ + Sets the values of this V1ScopedResourceSelectorRequirement. + An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + + :param values: The values of this V1ScopedResourceSelectorRequirement. + :type: list[str] + """ + + self._values = values + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1ScopedResourceSelectorRequirement): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_se_linux_options.py b/kubernetes/client/models/v1_se_linux_options.py index 14833a17d4..43b5417fcc 100644 --- a/kubernetes/client/models/v1_se_linux_options.py +++ b/kubernetes/client/models/v1_se_linux_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret.py b/kubernetes/client/models/v1_secret.py index 7ec1c2a3db..be6dc55963 100644 --- a/kubernetes/client/models/v1_secret.py +++ b/kubernetes/client/models/v1_secret.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_env_source.py b/kubernetes/client/models/v1_secret_env_source.py index a8a7b172b3..3426126a22 100644 --- a/kubernetes/client/models/v1_secret_env_source.py +++ b/kubernetes/client/models/v1_secret_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_key_selector.py b/kubernetes/client/models/v1_secret_key_selector.py index 920728e45d..0a54d65d22 100644 --- a/kubernetes/client/models/v1_secret_key_selector.py +++ b/kubernetes/client/models/v1_secret_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_list.py b/kubernetes/client/models/v1_secret_list.py index cddd8287e5..51c615294a 100644 --- a/kubernetes/client/models/v1_secret_list.py +++ b/kubernetes/client/models/v1_secret_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_projection.py b/kubernetes/client/models/v1_secret_projection.py index 5a997a1297..e01f9f23ca 100644 --- a/kubernetes/client/models/v1_secret_projection.py +++ b/kubernetes/client/models/v1_secret_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_reference.py b/kubernetes/client/models/v1_secret_reference.py index 072423749f..b1b6061019 100644 --- a/kubernetes/client/models/v1_secret_reference.py +++ b/kubernetes/client/models/v1_secret_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_volume_source.py b/kubernetes/client/models/v1_secret_volume_source.py index a8a98d8ea4..1b8e92d92a 100644 --- a/kubernetes/client/models/v1_secret_volume_source.py +++ b/kubernetes/client/models/v1_secret_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_security_context.py b/kubernetes/client/models/v1_security_context.py index b361d3ad23..c52f15713c 100644 --- a/kubernetes/client/models/v1_security_context.py +++ b/kubernetes/client/models/v1_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_self_subject_access_review.py b/kubernetes/client/models/v1_self_subject_access_review.py index b15b7e5ff5..0b4b75d7e4 100644 --- a/kubernetes/client/models/v1_self_subject_access_review.py +++ b/kubernetes/client/models/v1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_self_subject_access_review_spec.py b/kubernetes/client/models/v1_self_subject_access_review_spec.py index d9ef84d2a1..22a953e52a 100644 --- a/kubernetes/client/models/v1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_self_subject_rules_review.py b/kubernetes/client/models/v1_self_subject_rules_review.py index a04efeb199..294646ba7c 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review.py +++ b/kubernetes/client/models/v1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_self_subject_rules_review_spec.py b/kubernetes/client/models/v1_self_subject_rules_review_spec.py index 7038986913..c8ddbc0507 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_server_address_by_client_cidr.py b/kubernetes/client/models/v1_server_address_by_client_cidr.py index 1049895929..4139060421 100644 --- a/kubernetes/client/models/v1_server_address_by_client_cidr.py +++ b/kubernetes/client/models/v1_server_address_by_client_cidr.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service.py b/kubernetes/client/models/v1_service.py index 5c80e8a9e0..f4c9d9a818 100644 --- a/kubernetes/client/models/v1_service.py +++ b/kubernetes/client/models/v1_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_account.py b/kubernetes/client/models/v1_service_account.py index 917ebca41f..2ba6adb251 100644 --- a/kubernetes/client/models/v1_service_account.py +++ b/kubernetes/client/models/v1_service_account.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_account_list.py b/kubernetes/client/models/v1_service_account_list.py index 9c4b7774dd..b753aa2ef8 100644 --- a/kubernetes/client/models/v1_service_account_list.py +++ b/kubernetes/client/models/v1_service_account_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_account_token_projection.py b/kubernetes/client/models/v1_service_account_token_projection.py new file mode 100644 index 0000000000..e6259ef8f6 --- /dev/null +++ b/kubernetes/client/models/v1_service_account_token_projection.py @@ -0,0 +1,183 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1ServiceAccountTokenProjection(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'audience': 'str', + 'expiration_seconds': 'int', + 'path': 'str' + } + + attribute_map = { + 'audience': 'audience', + 'expiration_seconds': 'expirationSeconds', + 'path': 'path' + } + + def __init__(self, audience=None, expiration_seconds=None, path=None): + """ + V1ServiceAccountTokenProjection - a model defined in Swagger + """ + + self._audience = None + self._expiration_seconds = None + self._path = None + self.discriminator = None + + if audience is not None: + self.audience = audience + if expiration_seconds is not None: + self.expiration_seconds = expiration_seconds + self.path = path + + @property + def audience(self): + """ + Gets the audience of this V1ServiceAccountTokenProjection. + Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. + + :return: The audience of this V1ServiceAccountTokenProjection. + :rtype: str + """ + return self._audience + + @audience.setter + def audience(self, audience): + """ + Sets the audience of this V1ServiceAccountTokenProjection. + Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. + + :param audience: The audience of this V1ServiceAccountTokenProjection. + :type: str + """ + + self._audience = audience + + @property + def expiration_seconds(self): + """ + Gets the expiration_seconds of this V1ServiceAccountTokenProjection. + ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. + + :return: The expiration_seconds of this V1ServiceAccountTokenProjection. + :rtype: int + """ + return self._expiration_seconds + + @expiration_seconds.setter + def expiration_seconds(self, expiration_seconds): + """ + Sets the expiration_seconds of this V1ServiceAccountTokenProjection. + ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. + + :param expiration_seconds: The expiration_seconds of this V1ServiceAccountTokenProjection. + :type: int + """ + + self._expiration_seconds = expiration_seconds + + @property + def path(self): + """ + Gets the path of this V1ServiceAccountTokenProjection. + Path is the path relative to the mount point of the file to project the token into. + + :return: The path of this V1ServiceAccountTokenProjection. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1ServiceAccountTokenProjection. + Path is the path relative to the mount point of the file to project the token into. + + :param path: The path of this V1ServiceAccountTokenProjection. + :type: str + """ + if path is None: + raise ValueError("Invalid value for `path`, must not be `None`") + + self._path = path + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1ServiceAccountTokenProjection): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_service_list.py b/kubernetes/client/models/v1_service_list.py index 26ac930fda..6897191071 100644 --- a/kubernetes/client/models/v1_service_list.py +++ b/kubernetes/client/models/v1_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_port.py b/kubernetes/client/models/v1_service_port.py index 7694bff3c0..c2eaacd1b0 100644 --- a/kubernetes/client/models/v1_service_port.py +++ b/kubernetes/client/models/v1_service_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_reference.py b/kubernetes/client/models/v1_service_reference.py index 34ca82564e..4548395c12 100644 --- a/kubernetes/client/models/v1_service_reference.py +++ b/kubernetes/client/models/v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_spec.py b/kubernetes/client/models/v1_service_spec.py index 70747a48ac..5c8ff104db 100644 --- a/kubernetes/client/models/v1_service_spec.py +++ b/kubernetes/client/models/v1_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -297,7 +297,7 @@ def ports(self, ports): def publish_not_ready_addresses(self): """ Gets the publish_not_ready_addresses of this V1ServiceSpec. - publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field. + publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. :return: The publish_not_ready_addresses of this V1ServiceSpec. :rtype: bool @@ -308,7 +308,7 @@ def publish_not_ready_addresses(self): def publish_not_ready_addresses(self, publish_not_ready_addresses): """ Sets the publish_not_ready_addresses of this V1ServiceSpec. - publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field. + publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. :param publish_not_ready_addresses: The publish_not_ready_addresses of this V1ServiceSpec. :type: bool diff --git a/kubernetes/client/models/v1_service_status.py b/kubernetes/client/models/v1_service_status.py index 084a6ebd3e..6753ac4c7a 100644 --- a/kubernetes/client/models/v1_service_status.py +++ b/kubernetes/client/models/v1_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_session_affinity_config.py b/kubernetes/client/models/v1_session_affinity_config.py index 132febee6c..3e0f067945 100644 --- a/kubernetes/client/models/v1_session_affinity_config.py +++ b/kubernetes/client/models/v1_session_affinity_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set.py b/kubernetes/client/models/v1_stateful_set.py index 7ee16462f2..1459e2d067 100644 --- a/kubernetes/client/models/v1_stateful_set.py +++ b/kubernetes/client/models/v1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_condition.py b/kubernetes/client/models/v1_stateful_set_condition.py index e357819ca4..7a5116dfb7 100644 --- a/kubernetes/client/models/v1_stateful_set_condition.py +++ b/kubernetes/client/models/v1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_list.py b/kubernetes/client/models/v1_stateful_set_list.py index 0a96722042..90fd78a4c1 100644 --- a/kubernetes/client/models/v1_stateful_set_list.py +++ b/kubernetes/client/models/v1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_spec.py b/kubernetes/client/models/v1_stateful_set_spec.py index 9e73a8a5c9..1986b5deaa 100644 --- a/kubernetes/client/models/v1_stateful_set_spec.py +++ b/kubernetes/client/models/v1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_status.py b/kubernetes/client/models/v1_stateful_set_status.py index d3ea277a8a..96892568d4 100644 --- a/kubernetes/client/models/v1_stateful_set_status.py +++ b/kubernetes/client/models/v1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_update_strategy.py b/kubernetes/client/models/v1_stateful_set_update_strategy.py index f6cbd849c5..2edfd9cbcd 100644 --- a/kubernetes/client/models/v1_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_status.py b/kubernetes/client/models/v1_status.py index 31b3d59a69..c8fb27fc68 100644 --- a/kubernetes/client/models/v1_status.py +++ b/kubernetes/client/models/v1_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_status_cause.py b/kubernetes/client/models/v1_status_cause.py index f4acdaf509..3111696207 100644 --- a/kubernetes/client/models/v1_status_cause.py +++ b/kubernetes/client/models/v1_status_cause.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_status_details.py b/kubernetes/client/models/v1_status_details.py index 5cdd764d0a..bdd2274997 100644 --- a/kubernetes/client/models/v1_status_details.py +++ b/kubernetes/client/models/v1_status_details.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_storage_class.py b/kubernetes/client/models/v1_storage_class.py index 289687c436..dafc17582a 100644 --- a/kubernetes/client/models/v1_storage_class.py +++ b/kubernetes/client/models/v1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,6 +32,7 @@ class V1StorageClass(object): """ swagger_types = { 'allow_volume_expansion': 'bool', + 'allowed_topologies': 'list[V1TopologySelectorTerm]', 'api_version': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', @@ -44,6 +45,7 @@ class V1StorageClass(object): attribute_map = { 'allow_volume_expansion': 'allowVolumeExpansion', + 'allowed_topologies': 'allowedTopologies', 'api_version': 'apiVersion', 'kind': 'kind', 'metadata': 'metadata', @@ -54,12 +56,13 @@ class V1StorageClass(object): 'volume_binding_mode': 'volumeBindingMode' } - def __init__(self, allow_volume_expansion=None, api_version=None, kind=None, metadata=None, mount_options=None, parameters=None, provisioner=None, reclaim_policy=None, volume_binding_mode=None): + def __init__(self, allow_volume_expansion=None, allowed_topologies=None, api_version=None, kind=None, metadata=None, mount_options=None, parameters=None, provisioner=None, reclaim_policy=None, volume_binding_mode=None): """ V1StorageClass - a model defined in Swagger """ self._allow_volume_expansion = None + self._allowed_topologies = None self._api_version = None self._kind = None self._metadata = None @@ -72,6 +75,8 @@ def __init__(self, allow_volume_expansion=None, api_version=None, kind=None, met if allow_volume_expansion is not None: self.allow_volume_expansion = allow_volume_expansion + if allowed_topologies is not None: + self.allowed_topologies = allowed_topologies if api_version is not None: self.api_version = api_version if kind is not None: @@ -111,6 +116,29 @@ def allow_volume_expansion(self, allow_volume_expansion): self._allow_volume_expansion = allow_volume_expansion + @property + def allowed_topologies(self): + """ + Gets the allowed_topologies of this V1StorageClass. + Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature. + + :return: The allowed_topologies of this V1StorageClass. + :rtype: list[V1TopologySelectorTerm] + """ + return self._allowed_topologies + + @allowed_topologies.setter + def allowed_topologies(self, allowed_topologies): + """ + Sets the allowed_topologies of this V1StorageClass. + Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature. + + :param allowed_topologies: The allowed_topologies of this V1StorageClass. + :type: list[V1TopologySelectorTerm] + """ + + self._allowed_topologies = allowed_topologies + @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_storage_class_list.py b/kubernetes/client/models/v1_storage_class_list.py index 56efba187f..5b10d9eb15 100644 --- a/kubernetes/client/models/v1_storage_class_list.py +++ b/kubernetes/client/models/v1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py index 0e5a36978a..67d0e025f0 100644 --- a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_storage_os_volume_source.py b/kubernetes/client/models/v1_storage_os_volume_source.py index 548ceb161e..cf10e2028e 100644 --- a/kubernetes/client/models/v1_storage_os_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject.py b/kubernetes/client/models/v1_subject.py index 796fd0155f..3478347a52 100644 --- a/kubernetes/client/models/v1_subject.py +++ b/kubernetes/client/models/v1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject_access_review.py b/kubernetes/client/models/v1_subject_access_review.py index 57ab462b34..28baaaf6c9 100644 --- a/kubernetes/client/models/v1_subject_access_review.py +++ b/kubernetes/client/models/v1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject_access_review_spec.py b/kubernetes/client/models/v1_subject_access_review_spec.py index e0c99be790..8035015fbd 100644 --- a/kubernetes/client/models/v1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject_access_review_status.py b/kubernetes/client/models/v1_subject_access_review_status.py index 28af884311..5323828b88 100644 --- a/kubernetes/client/models/v1_subject_access_review_status.py +++ b/kubernetes/client/models/v1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject_rules_review_status.py b/kubernetes/client/models/v1_subject_rules_review_status.py index 36a2af84e0..dfae4acf02 100644 --- a/kubernetes/client/models/v1_subject_rules_review_status.py +++ b/kubernetes/client/models/v1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_json_schema_props_or_bool.py b/kubernetes/client/models/v1_sysctl.py similarity index 59% rename from kubernetes/client/models/v1beta1_json_schema_props_or_bool.py rename to kubernetes/client/models/v1_sysctl.py index 62d27b9dbb..00da5f091e 100644 --- a/kubernetes/client/models/v1beta1_json_schema_props_or_bool.py +++ b/kubernetes/client/models/v1_sysctl.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,7 +16,7 @@ import re -class V1beta1JSONSchemaPropsOrBool(object): +class V1Sysctl(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -31,72 +31,76 @@ class V1beta1JSONSchemaPropsOrBool(object): and the value is json key in definition. """ swagger_types = { - 'allows': 'bool', - 'schema': 'V1beta1JSONSchemaProps' + 'name': 'str', + 'value': 'str' } attribute_map = { - 'allows': 'Allows', - 'schema': 'Schema' + 'name': 'name', + 'value': 'value' } - def __init__(self, allows=None, schema=None): + def __init__(self, name=None, value=None): """ - V1beta1JSONSchemaPropsOrBool - a model defined in Swagger + V1Sysctl - a model defined in Swagger """ - self._allows = None - self._schema = None + self._name = None + self._value = None self.discriminator = None - self.allows = allows - self.schema = schema + self.name = name + self.value = value @property - def allows(self): + def name(self): """ - Gets the allows of this V1beta1JSONSchemaPropsOrBool. + Gets the name of this V1Sysctl. + Name of a property to set - :return: The allows of this V1beta1JSONSchemaPropsOrBool. - :rtype: bool + :return: The name of this V1Sysctl. + :rtype: str """ - return self._allows + return self._name - @allows.setter - def allows(self, allows): + @name.setter + def name(self, name): """ - Sets the allows of this V1beta1JSONSchemaPropsOrBool. + Sets the name of this V1Sysctl. + Name of a property to set - :param allows: The allows of this V1beta1JSONSchemaPropsOrBool. - :type: bool + :param name: The name of this V1Sysctl. + :type: str """ - if allows is None: - raise ValueError("Invalid value for `allows`, must not be `None`") + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") - self._allows = allows + self._name = name @property - def schema(self): + def value(self): """ - Gets the schema of this V1beta1JSONSchemaPropsOrBool. + Gets the value of this V1Sysctl. + Value of a property to set - :return: The schema of this V1beta1JSONSchemaPropsOrBool. - :rtype: V1beta1JSONSchemaProps + :return: The value of this V1Sysctl. + :rtype: str """ - return self._schema + return self._value - @schema.setter - def schema(self, schema): + @value.setter + def value(self, value): """ - Sets the schema of this V1beta1JSONSchemaPropsOrBool. + Sets the value of this V1Sysctl. + Value of a property to set - :param schema: The schema of this V1beta1JSONSchemaPropsOrBool. - :type: V1beta1JSONSchemaProps + :param value: The value of this V1Sysctl. + :type: str """ - if schema is None: - raise ValueError("Invalid value for `schema`, must not be `None`") + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") - self._schema = schema + self._value = value def to_dict(self): """ @@ -140,7 +144,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1JSONSchemaPropsOrBool): + if not isinstance(other, V1Sysctl): return False return self.__dict__ == other.__dict__ diff --git a/kubernetes/client/models/v1_taint.py b/kubernetes/client/models/v1_taint.py index f62893aa23..1d950dc935 100644 --- a/kubernetes/client/models/v1_taint.py +++ b/kubernetes/client/models/v1_taint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_tcp_socket_action.py b/kubernetes/client/models/v1_tcp_socket_action.py index 1d4558b5da..95759897e6 100644 --- a/kubernetes/client/models/v1_tcp_socket_action.py +++ b/kubernetes/client/models/v1_tcp_socket_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_token_review.py b/kubernetes/client/models/v1_token_review.py index cfa1b41e44..2e875d3479 100644 --- a/kubernetes/client/models/v1_token_review.py +++ b/kubernetes/client/models/v1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_token_review_spec.py b/kubernetes/client/models/v1_token_review_spec.py index 1a7077981c..8c346f8ce0 100644 --- a/kubernetes/client/models/v1_token_review_spec.py +++ b/kubernetes/client/models/v1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_token_review_status.py b/kubernetes/client/models/v1_token_review_status.py index 914ef96712..db4aa0041a 100644 --- a/kubernetes/client/models/v1_token_review_status.py +++ b/kubernetes/client/models/v1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_toleration.py b/kubernetes/client/models/v1_toleration.py index 8f4e54207b..fd44032706 100644 --- a/kubernetes/client/models/v1_toleration.py +++ b/kubernetes/client/models/v1_toleration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_json_schema_props_or_string_array.py b/kubernetes/client/models/v1_topology_selector_label_requirement.py similarity index 56% rename from kubernetes/client/models/v1beta1_json_schema_props_or_string_array.py rename to kubernetes/client/models/v1_topology_selector_label_requirement.py index 2daaa2da4a..e9a095925d 100644 --- a/kubernetes/client/models/v1beta1_json_schema_props_or_string_array.py +++ b/kubernetes/client/models/v1_topology_selector_label_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,7 +16,7 @@ import re -class V1beta1JSONSchemaPropsOrStringArray(object): +class V1TopologySelectorLabelRequirement(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -31,72 +31,76 @@ class V1beta1JSONSchemaPropsOrStringArray(object): and the value is json key in definition. """ swagger_types = { - '_property': 'list[str]', - 'schema': 'V1beta1JSONSchemaProps' + 'key': 'str', + 'values': 'list[str]' } attribute_map = { - '_property': 'Property', - 'schema': 'Schema' + 'key': 'key', + 'values': 'values' } - def __init__(self, _property=None, schema=None): + def __init__(self, key=None, values=None): """ - V1beta1JSONSchemaPropsOrStringArray - a model defined in Swagger + V1TopologySelectorLabelRequirement - a model defined in Swagger """ - self.__property = None - self._schema = None + self._key = None + self._values = None self.discriminator = None - self._property = _property - self.schema = schema + self.key = key + self.values = values @property - def _property(self): + def key(self): """ - Gets the _property of this V1beta1JSONSchemaPropsOrStringArray. + Gets the key of this V1TopologySelectorLabelRequirement. + The label key that the selector applies to. - :return: The _property of this V1beta1JSONSchemaPropsOrStringArray. - :rtype: list[str] + :return: The key of this V1TopologySelectorLabelRequirement. + :rtype: str """ - return self.__property + return self._key - @_property.setter - def _property(self, _property): + @key.setter + def key(self, key): """ - Sets the _property of this V1beta1JSONSchemaPropsOrStringArray. + Sets the key of this V1TopologySelectorLabelRequirement. + The label key that the selector applies to. - :param _property: The _property of this V1beta1JSONSchemaPropsOrStringArray. - :type: list[str] + :param key: The key of this V1TopologySelectorLabelRequirement. + :type: str """ - if _property is None: - raise ValueError("Invalid value for `_property`, must not be `None`") + if key is None: + raise ValueError("Invalid value for `key`, must not be `None`") - self.__property = _property + self._key = key @property - def schema(self): + def values(self): """ - Gets the schema of this V1beta1JSONSchemaPropsOrStringArray. + Gets the values of this V1TopologySelectorLabelRequirement. + An array of string values. One value must match the label to be selected. Each entry in Values is ORed. - :return: The schema of this V1beta1JSONSchemaPropsOrStringArray. - :rtype: V1beta1JSONSchemaProps + :return: The values of this V1TopologySelectorLabelRequirement. + :rtype: list[str] """ - return self._schema + return self._values - @schema.setter - def schema(self, schema): + @values.setter + def values(self, values): """ - Sets the schema of this V1beta1JSONSchemaPropsOrStringArray. + Sets the values of this V1TopologySelectorLabelRequirement. + An array of string values. One value must match the label to be selected. Each entry in Values is ORed. - :param schema: The schema of this V1beta1JSONSchemaPropsOrStringArray. - :type: V1beta1JSONSchemaProps + :param values: The values of this V1TopologySelectorLabelRequirement. + :type: list[str] """ - if schema is None: - raise ValueError("Invalid value for `schema`, must not be `None`") + if values is None: + raise ValueError("Invalid value for `values`, must not be `None`") - self._schema = schema + self._values = values def to_dict(self): """ @@ -140,7 +144,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1JSONSchemaPropsOrStringArray): + if not isinstance(other, V1TopologySelectorLabelRequirement): return False return self.__dict__ == other.__dict__ diff --git a/kubernetes/client/models/v1beta1_json_schema_props_or_array.py b/kubernetes/client/models/v1_topology_selector_term.py similarity index 54% rename from kubernetes/client/models/v1beta1_json_schema_props_or_array.py rename to kubernetes/client/models/v1_topology_selector_term.py index 27a567c61f..d400a33104 100644 --- a/kubernetes/client/models/v1beta1_json_schema_props_or_array.py +++ b/kubernetes/client/models/v1_topology_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,7 +16,7 @@ import re -class V1beta1JSONSchemaPropsOrArray(object): +class V1TopologySelectorTerm(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -31,72 +31,46 @@ class V1beta1JSONSchemaPropsOrArray(object): and the value is json key in definition. """ swagger_types = { - 'json_schemas': 'list[V1beta1JSONSchemaProps]', - 'schema': 'V1beta1JSONSchemaProps' + 'match_label_expressions': 'list[V1TopologySelectorLabelRequirement]' } attribute_map = { - 'json_schemas': 'JSONSchemas', - 'schema': 'Schema' + 'match_label_expressions': 'matchLabelExpressions' } - def __init__(self, json_schemas=None, schema=None): + def __init__(self, match_label_expressions=None): """ - V1beta1JSONSchemaPropsOrArray - a model defined in Swagger + V1TopologySelectorTerm - a model defined in Swagger """ - self._json_schemas = None - self._schema = None + self._match_label_expressions = None self.discriminator = None - self.json_schemas = json_schemas - self.schema = schema + if match_label_expressions is not None: + self.match_label_expressions = match_label_expressions @property - def json_schemas(self): + def match_label_expressions(self): """ - Gets the json_schemas of this V1beta1JSONSchemaPropsOrArray. + Gets the match_label_expressions of this V1TopologySelectorTerm. + A list of topology selector requirements by labels. - :return: The json_schemas of this V1beta1JSONSchemaPropsOrArray. - :rtype: list[V1beta1JSONSchemaProps] + :return: The match_label_expressions of this V1TopologySelectorTerm. + :rtype: list[V1TopologySelectorLabelRequirement] """ - return self._json_schemas + return self._match_label_expressions - @json_schemas.setter - def json_schemas(self, json_schemas): + @match_label_expressions.setter + def match_label_expressions(self, match_label_expressions): """ - Sets the json_schemas of this V1beta1JSONSchemaPropsOrArray. + Sets the match_label_expressions of this V1TopologySelectorTerm. + A list of topology selector requirements by labels. - :param json_schemas: The json_schemas of this V1beta1JSONSchemaPropsOrArray. - :type: list[V1beta1JSONSchemaProps] + :param match_label_expressions: The match_label_expressions of this V1TopologySelectorTerm. + :type: list[V1TopologySelectorLabelRequirement] """ - if json_schemas is None: - raise ValueError("Invalid value for `json_schemas`, must not be `None`") - self._json_schemas = json_schemas - - @property - def schema(self): - """ - Gets the schema of this V1beta1JSONSchemaPropsOrArray. - - :return: The schema of this V1beta1JSONSchemaPropsOrArray. - :rtype: V1beta1JSONSchemaProps - """ - return self._schema - - @schema.setter - def schema(self, schema): - """ - Sets the schema of this V1beta1JSONSchemaPropsOrArray. - - :param schema: The schema of this V1beta1JSONSchemaPropsOrArray. - :type: V1beta1JSONSchemaProps - """ - if schema is None: - raise ValueError("Invalid value for `schema`, must not be `None`") - - self._schema = schema + self._match_label_expressions = match_label_expressions def to_dict(self): """ @@ -140,7 +114,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1JSONSchemaPropsOrArray): + if not isinstance(other, V1TopologySelectorTerm): return False return self.__dict__ == other.__dict__ diff --git a/kubernetes/client/models/v1_user_info.py b/kubernetes/client/models/v1_user_info.py index 0abbc532da..0e3c8cf26f 100644 --- a/kubernetes/client/models/v1_user_info.py +++ b/kubernetes/client/models/v1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_volume.py b/kubernetes/client/models/v1_volume.py index e2ed8b566e..6fc6baa8db 100644 --- a/kubernetes/client/models/v1_volume.py +++ b/kubernetes/client/models/v1_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -463,7 +463,7 @@ def gce_persistent_disk(self, gce_persistent_disk): def git_repo(self): """ Gets the git_repo of this V1Volume. - GitRepo represents a git repository at a particular revision. + GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. :return: The git_repo of this V1Volume. :rtype: V1GitRepoVolumeSource @@ -474,7 +474,7 @@ def git_repo(self): def git_repo(self, git_repo): """ Sets the git_repo of this V1Volume. - GitRepo represents a git repository at a particular revision. + GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. :param git_repo: The git_repo of this V1Volume. :type: V1GitRepoVolumeSource diff --git a/kubernetes/client/models/v1_volume_device.py b/kubernetes/client/models/v1_volume_device.py index 1c825b6767..750a2fc493 100644 --- a/kubernetes/client/models/v1_volume_device.py +++ b/kubernetes/client/models/v1_volume_device.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_volume_mount.py b/kubernetes/client/models/v1_volume_mount.py index 3bd9a12cc6..cd28501aba 100644 --- a/kubernetes/client/models/v1_volume_mount.py +++ b/kubernetes/client/models/v1_volume_mount.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -96,7 +96,7 @@ def mount_path(self, mount_path): def mount_propagation(self): """ Gets the mount_propagation of this V1VolumeMount. - mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is beta in 1.10. + mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. :return: The mount_propagation of this V1VolumeMount. :rtype: str @@ -107,7 +107,7 @@ def mount_propagation(self): def mount_propagation(self, mount_propagation): """ Sets the mount_propagation of this V1VolumeMount. - mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is beta in 1.10. + mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. :param mount_propagation: The mount_propagation of this V1VolumeMount. :type: str diff --git a/kubernetes/client/models/v1_volume_node_affinity.py b/kubernetes/client/models/v1_volume_node_affinity.py index f29778da12..ba80a7da85 100644 --- a/kubernetes/client/models/v1_volume_node_affinity.py +++ b/kubernetes/client/models/v1_volume_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_volume_projection.py b/kubernetes/client/models/v1_volume_projection.py index 190e664a2e..0b4f4e51c1 100644 --- a/kubernetes/client/models/v1_volume_projection.py +++ b/kubernetes/client/models/v1_volume_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -33,16 +33,18 @@ class V1VolumeProjection(object): swagger_types = { 'config_map': 'V1ConfigMapProjection', 'downward_api': 'V1DownwardAPIProjection', - 'secret': 'V1SecretProjection' + 'secret': 'V1SecretProjection', + 'service_account_token': 'V1ServiceAccountTokenProjection' } attribute_map = { 'config_map': 'configMap', 'downward_api': 'downwardAPI', - 'secret': 'secret' + 'secret': 'secret', + 'service_account_token': 'serviceAccountToken' } - def __init__(self, config_map=None, downward_api=None, secret=None): + def __init__(self, config_map=None, downward_api=None, secret=None, service_account_token=None): """ V1VolumeProjection - a model defined in Swagger """ @@ -50,6 +52,7 @@ def __init__(self, config_map=None, downward_api=None, secret=None): self._config_map = None self._downward_api = None self._secret = None + self._service_account_token = None self.discriminator = None if config_map is not None: @@ -58,6 +61,8 @@ def __init__(self, config_map=None, downward_api=None, secret=None): self.downward_api = downward_api if secret is not None: self.secret = secret + if service_account_token is not None: + self.service_account_token = service_account_token @property def config_map(self): @@ -128,6 +133,29 @@ def secret(self, secret): self._secret = secret + @property + def service_account_token(self): + """ + Gets the service_account_token of this V1VolumeProjection. + information about the serviceAccountToken data to project + + :return: The service_account_token of this V1VolumeProjection. + :rtype: V1ServiceAccountTokenProjection + """ + return self._service_account_token + + @service_account_token.setter + def service_account_token(self, service_account_token): + """ + Sets the service_account_token of this V1VolumeProjection. + information about the serviceAccountToken data to project + + :param service_account_token: The service_account_token of this V1VolumeProjection. + :type: V1ServiceAccountTokenProjection + """ + + self._service_account_token = service_account_token + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py index d87d180946..6c382b6de1 100644 --- a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_watch_event.py b/kubernetes/client/models/v1_watch_event.py index 71645239c5..fa9685a8b2 100644 --- a/kubernetes/client/models/v1_watch_event.py +++ b/kubernetes/client/models/v1_watch_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_weighted_pod_affinity_term.py b/kubernetes/client/models/v1_weighted_pod_affinity_term.py index 3c5336bbaa..411c9d1b48 100644 --- a/kubernetes/client/models/v1_weighted_pod_affinity_term.py +++ b/kubernetes/client/models/v1_weighted_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_aggregation_rule.py b/kubernetes/client/models/v1alpha1_aggregation_rule.py index d85a9939e3..e185041af9 100644 --- a/kubernetes/client/models/v1alpha1_aggregation_rule.py +++ b/kubernetes/client/models/v1alpha1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role.py b/kubernetes/client/models/v1alpha1_cluster_role.py index 329001d0dd..e2720a08bd 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role.py +++ b/kubernetes/client/models/v1alpha1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding.py b/kubernetes/client/models/v1alpha1_cluster_role_binding.py index 5044f1149f..4b92d36427 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -65,7 +65,8 @@ def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, su if metadata is not None: self.metadata = metadata self.role_ref = role_ref - self.subjects = subjects + if subjects is not None: + self.subjects = subjects @property def api_version(self): @@ -181,8 +182,6 @@ def subjects(self, subjects): :param subjects: The subjects of this V1alpha1ClusterRoleBinding. :type: list[V1alpha1Subject] """ - if subjects is None: - raise ValueError("Invalid value for `subjects`, must not be `None`") self._subjects = subjects diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py index 5b7e3bfea5..49a03e9cbe 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_list.py b/kubernetes/client/models/v1alpha1_cluster_role_list.py index 675a68dc25..2ae88e3fd2 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_initializer.py b/kubernetes/client/models/v1alpha1_initializer.py index 7d46481214..cef084858c 100644 --- a/kubernetes/client/models/v1alpha1_initializer.py +++ b/kubernetes/client/models/v1alpha1_initializer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_initializer_configuration.py b/kubernetes/client/models/v1alpha1_initializer_configuration.py index 9122c5ba1c..261fa15b50 100644 --- a/kubernetes/client/models/v1alpha1_initializer_configuration.py +++ b/kubernetes/client/models/v1alpha1_initializer_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_initializer_configuration_list.py b/kubernetes/client/models/v1alpha1_initializer_configuration_list.py index 1587d81757..d96c66337d 100644 --- a/kubernetes/client/models/v1alpha1_initializer_configuration_list.py +++ b/kubernetes/client/models/v1alpha1_initializer_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_pod_preset.py b/kubernetes/client/models/v1alpha1_pod_preset.py index 5b99a51a28..4b24abf401 100644 --- a/kubernetes/client/models/v1alpha1_pod_preset.py +++ b/kubernetes/client/models/v1alpha1_pod_preset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_pod_preset_list.py b/kubernetes/client/models/v1alpha1_pod_preset_list.py index 366be5ef44..aa17c88be8 100644 --- a/kubernetes/client/models/v1alpha1_pod_preset_list.py +++ b/kubernetes/client/models/v1alpha1_pod_preset_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_pod_preset_spec.py b/kubernetes/client/models/v1alpha1_pod_preset_spec.py index 674a227f07..3907aaf551 100644 --- a/kubernetes/client/models/v1alpha1_pod_preset_spec.py +++ b/kubernetes/client/models/v1alpha1_pod_preset_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_policy_rule.py b/kubernetes/client/models/v1alpha1_policy_rule.py index 43ab2d9d61..09f4c45b68 100644 --- a/kubernetes/client/models/v1alpha1_policy_rule.py +++ b/kubernetes/client/models/v1alpha1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_priority_class.py b/kubernetes/client/models/v1alpha1_priority_class.py index 5bcb53560c..eba1b5fe84 100644 --- a/kubernetes/client/models/v1alpha1_priority_class.py +++ b/kubernetes/client/models/v1alpha1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_priority_class_list.py b/kubernetes/client/models/v1alpha1_priority_class_list.py index e1e38255f4..b8b0312d8d 100644 --- a/kubernetes/client/models/v1alpha1_priority_class_list.py +++ b/kubernetes/client/models/v1alpha1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_role.py b/kubernetes/client/models/v1alpha1_role.py index 937a3834ac..2b30d2fabb 100644 --- a/kubernetes/client/models/v1alpha1_role.py +++ b/kubernetes/client/models/v1alpha1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_role_binding.py b/kubernetes/client/models/v1alpha1_role_binding.py index 76b5af11a7..e6150c8d42 100644 --- a/kubernetes/client/models/v1alpha1_role_binding.py +++ b/kubernetes/client/models/v1alpha1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -65,7 +65,8 @@ def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, su if metadata is not None: self.metadata = metadata self.role_ref = role_ref - self.subjects = subjects + if subjects is not None: + self.subjects = subjects @property def api_version(self): @@ -181,8 +182,6 @@ def subjects(self, subjects): :param subjects: The subjects of this V1alpha1RoleBinding. :type: list[V1alpha1Subject] """ - if subjects is None: - raise ValueError("Invalid value for `subjects`, must not be `None`") self._subjects = subjects diff --git a/kubernetes/client/models/v1alpha1_role_binding_list.py b/kubernetes/client/models/v1alpha1_role_binding_list.py index 2352bf11d5..23584a76a8 100644 --- a/kubernetes/client/models/v1alpha1_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_role_list.py b/kubernetes/client/models/v1alpha1_role_list.py index 79ef6a2a44..808d05ce61 100644 --- a/kubernetes/client/models/v1alpha1_role_list.py +++ b/kubernetes/client/models/v1alpha1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_role_ref.py b/kubernetes/client/models/v1alpha1_role_ref.py index d1b4d4429d..c719ca307c 100644 --- a/kubernetes/client/models/v1alpha1_role_ref.py +++ b/kubernetes/client/models/v1alpha1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_rule.py b/kubernetes/client/models/v1alpha1_rule.py index 153d495319..97ce42d478 100644 --- a/kubernetes/client/models/v1alpha1_rule.py +++ b/kubernetes/client/models/v1alpha1_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_subject.py b/kubernetes/client/models/v1alpha1_subject.py index 9bc0a499a2..3cef66bc9c 100644 --- a/kubernetes/client/models/v1alpha1_subject.py +++ b/kubernetes/client/models/v1alpha1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment.py b/kubernetes/client/models/v1alpha1_volume_attachment.py index a58bcbe6a9..42efaae33e 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_list.py b/kubernetes/client/models/v1alpha1_volume_attachment_list.py index 8a958d34b7..b9917db88e 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_list.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_source.py b/kubernetes/client/models/v1alpha1_volume_attachment_source.py index 237c2eddd4..6581aacac0 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_source.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_spec.py b/kubernetes/client/models/v1alpha1_volume_attachment_spec.py index 7412a2f2d8..d0fa4c882e 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_spec.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_status.py b/kubernetes/client/models/v1alpha1_volume_attachment_status.py index 9556720ea1..9add942add 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_status.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_error.py b/kubernetes/client/models/v1alpha1_volume_error.py index c09da1f3dc..26b8761f29 100644 --- a/kubernetes/client/models/v1alpha1_volume_error.py +++ b/kubernetes/client/models/v1alpha1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_aggregation_rule.py b/kubernetes/client/models/v1beta1_aggregation_rule.py index 2251b5baea..1838da05f0 100644 --- a/kubernetes/client/models/v1beta1_aggregation_rule.py +++ b/kubernetes/client/models/v1beta1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_api_service.py b/kubernetes/client/models/v1beta1_api_service.py index b678d2308a..ac65e56354 100644 --- a/kubernetes/client/models/v1beta1_api_service.py +++ b/kubernetes/client/models/v1beta1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_api_service_condition.py b/kubernetes/client/models/v1beta1_api_service_condition.py index 92f1515c6d..3eb5af704c 100644 --- a/kubernetes/client/models/v1beta1_api_service_condition.py +++ b/kubernetes/client/models/v1beta1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_api_service_list.py b/kubernetes/client/models/v1beta1_api_service_list.py index ebaf163717..39ffddd6d2 100644 --- a/kubernetes/client/models/v1beta1_api_service_list.py +++ b/kubernetes/client/models/v1beta1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_api_service_spec.py b/kubernetes/client/models/v1beta1_api_service_spec.py index 39b2260998..feefff43e5 100644 --- a/kubernetes/client/models/v1beta1_api_service_spec.py +++ b/kubernetes/client/models/v1beta1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -64,7 +64,8 @@ def __init__(self, ca_bundle=None, group=None, group_priority_minimum=None, inse self._version_priority = None self.discriminator = None - self.ca_bundle = ca_bundle + if ca_bundle is not None: + self.ca_bundle = ca_bundle if group is not None: self.group = group self.group_priority_minimum = group_priority_minimum @@ -95,8 +96,6 @@ def ca_bundle(self, ca_bundle): :param ca_bundle: The ca_bundle of this V1beta1APIServiceSpec. :type: str """ - if ca_bundle is None: - raise ValueError("Invalid value for `ca_bundle`, must not be `None`") if ca_bundle is not None and not re.search('^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', ca_bundle): raise ValueError("Invalid value for `ca_bundle`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") @@ -225,7 +224,7 @@ def version(self, version): def version_priority(self): """ Gets the version_priority of this V1beta1APIServiceSpec. - VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. + VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. :return: The version_priority of this V1beta1APIServiceSpec. :rtype: int @@ -236,7 +235,7 @@ def version_priority(self): def version_priority(self, version_priority): """ Sets the version_priority of this V1beta1APIServiceSpec. - VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. + VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. :param version_priority: The version_priority of this V1beta1APIServiceSpec. :type: int diff --git a/kubernetes/client/models/v1beta1_api_service_status.py b/kubernetes/client/models/v1beta1_api_service_status.py index 40a7ee6325..86f09ba644 100644 --- a/kubernetes/client/models/v1beta1_api_service_status.py +++ b/kubernetes/client/models/v1beta1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request.py b/kubernetes/client/models/v1beta1_certificate_signing_request.py index dc18e208af..d7703845ee 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py b/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py index bb008cb66b..92b7773ac2 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_list.py b/kubernetes/client/models/v1beta1_certificate_signing_request_list.py index dfee3b28b7..a87efa2069 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_list.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py b/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py index 91cb16df92..3958c2a751 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_status.py b/kubernetes/client/models/v1beta1_certificate_signing_request_status.py index 7983924cbb..2d08526c37 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_status.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cluster_role.py b/kubernetes/client/models/v1beta1_cluster_role.py index 53708e1ce6..ee6efdcea4 100644 --- a/kubernetes/client/models/v1beta1_cluster_role.py +++ b/kubernetes/client/models/v1beta1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cluster_role_binding.py b/kubernetes/client/models/v1beta1_cluster_role_binding.py index 14a9e0d7fa..874d2fb781 100644 --- a/kubernetes/client/models/v1beta1_cluster_role_binding.py +++ b/kubernetes/client/models/v1beta1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -65,7 +65,8 @@ def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, su if metadata is not None: self.metadata = metadata self.role_ref = role_ref - self.subjects = subjects + if subjects is not None: + self.subjects = subjects @property def api_version(self): @@ -181,8 +182,6 @@ def subjects(self, subjects): :param subjects: The subjects of this V1beta1ClusterRoleBinding. :type: list[V1beta1Subject] """ - if subjects is None: - raise ValueError("Invalid value for `subjects`, must not be `None`") self._subjects = subjects diff --git a/kubernetes/client/models/v1beta1_cluster_role_binding_list.py b/kubernetes/client/models/v1beta1_cluster_role_binding_list.py index 458a085db8..82069ecde3 100644 --- a/kubernetes/client/models/v1beta1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1beta1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cluster_role_list.py b/kubernetes/client/models/v1beta1_cluster_role_list.py index e590fad1ae..4e914b2dec 100644 --- a/kubernetes/client/models/v1beta1_cluster_role_list.py +++ b/kubernetes/client/models/v1beta1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_controller_revision.py b/kubernetes/client/models/v1beta1_controller_revision.py index e18d90ce30..2fe42bf302 100644 --- a/kubernetes/client/models/v1beta1_controller_revision.py +++ b/kubernetes/client/models/v1beta1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_controller_revision_list.py b/kubernetes/client/models/v1beta1_controller_revision_list.py index 604319515d..524febfd25 100644 --- a/kubernetes/client/models/v1beta1_controller_revision_list.py +++ b/kubernetes/client/models/v1beta1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cron_job.py b/kubernetes/client/models/v1beta1_cron_job.py index 6091407c5f..1421787c6e 100644 --- a/kubernetes/client/models/v1beta1_cron_job.py +++ b/kubernetes/client/models/v1beta1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cron_job_list.py b/kubernetes/client/models/v1beta1_cron_job_list.py index 8b7ff9bd93..469d3875fe 100644 --- a/kubernetes/client/models/v1beta1_cron_job_list.py +++ b/kubernetes/client/models/v1beta1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cron_job_spec.py b/kubernetes/client/models/v1beta1_cron_job_spec.py index 75ac2beaa2..065052716a 100644 --- a/kubernetes/client/models/v1beta1_cron_job_spec.py +++ b/kubernetes/client/models/v1beta1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cron_job_status.py b/kubernetes/client/models/v1beta1_cron_job_status.py index 9ecc91d0c4..22cf8474c9 100644 --- a/kubernetes/client/models/v1beta1_cron_job_status.py +++ b/kubernetes/client/models/v1beta1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_column_definition.py b/kubernetes/client/models/v1beta1_custom_resource_column_definition.py new file mode 100644 index 0000000000..993c635e4b --- /dev/null +++ b/kubernetes/client/models/v1beta1_custom_resource_column_definition.py @@ -0,0 +1,269 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1beta1CustomResourceColumnDefinition(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'json_path': 'str', + 'description': 'str', + 'format': 'str', + 'name': 'str', + 'priority': 'int', + 'type': 'str' + } + + attribute_map = { + 'json_path': 'JSONPath', + 'description': 'description', + 'format': 'format', + 'name': 'name', + 'priority': 'priority', + 'type': 'type' + } + + def __init__(self, json_path=None, description=None, format=None, name=None, priority=None, type=None): + """ + V1beta1CustomResourceColumnDefinition - a model defined in Swagger + """ + + self._json_path = None + self._description = None + self._format = None + self._name = None + self._priority = None + self._type = None + self.discriminator = None + + self.json_path = json_path + if description is not None: + self.description = description + if format is not None: + self.format = format + self.name = name + if priority is not None: + self.priority = priority + self.type = type + + @property + def json_path(self): + """ + Gets the json_path of this V1beta1CustomResourceColumnDefinition. + JSONPath is a simple JSON path, i.e. with array notation. + + :return: The json_path of this V1beta1CustomResourceColumnDefinition. + :rtype: str + """ + return self._json_path + + @json_path.setter + def json_path(self, json_path): + """ + Sets the json_path of this V1beta1CustomResourceColumnDefinition. + JSONPath is a simple JSON path, i.e. with array notation. + + :param json_path: The json_path of this V1beta1CustomResourceColumnDefinition. + :type: str + """ + if json_path is None: + raise ValueError("Invalid value for `json_path`, must not be `None`") + + self._json_path = json_path + + @property + def description(self): + """ + Gets the description of this V1beta1CustomResourceColumnDefinition. + description is a human readable description of this column. + + :return: The description of this V1beta1CustomResourceColumnDefinition. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """ + Sets the description of this V1beta1CustomResourceColumnDefinition. + description is a human readable description of this column. + + :param description: The description of this V1beta1CustomResourceColumnDefinition. + :type: str + """ + + self._description = description + + @property + def format(self): + """ + Gets the format of this V1beta1CustomResourceColumnDefinition. + format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. + + :return: The format of this V1beta1CustomResourceColumnDefinition. + :rtype: str + """ + return self._format + + @format.setter + def format(self, format): + """ + Sets the format of this V1beta1CustomResourceColumnDefinition. + format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. + + :param format: The format of this V1beta1CustomResourceColumnDefinition. + :type: str + """ + + self._format = format + + @property + def name(self): + """ + Gets the name of this V1beta1CustomResourceColumnDefinition. + name is a human readable name for the column. + + :return: The name of this V1beta1CustomResourceColumnDefinition. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this V1beta1CustomResourceColumnDefinition. + name is a human readable name for the column. + + :param name: The name of this V1beta1CustomResourceColumnDefinition. + :type: str + """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") + + self._name = name + + @property + def priority(self): + """ + Gets the priority of this V1beta1CustomResourceColumnDefinition. + priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority. + + :return: The priority of this V1beta1CustomResourceColumnDefinition. + :rtype: int + """ + return self._priority + + @priority.setter + def priority(self, priority): + """ + Sets the priority of this V1beta1CustomResourceColumnDefinition. + priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority. + + :param priority: The priority of this V1beta1CustomResourceColumnDefinition. + :type: int + """ + + self._priority = priority + + @property + def type(self): + """ + Gets the type of this V1beta1CustomResourceColumnDefinition. + type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. + + :return: The type of this V1beta1CustomResourceColumnDefinition. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """ + Sets the type of this V1beta1CustomResourceColumnDefinition. + type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. + + :param type: The type of this V1beta1CustomResourceColumnDefinition. + :type: str + """ + if type is None: + raise ValueError("Invalid value for `type`, must not be `None`") + + self._type = type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1beta1CustomResourceColumnDefinition): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition.py b/kubernetes/client/models/v1beta1_custom_resource_definition.py index ad79e80c7c..ccb087bff2 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py b/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py index bd547a676e..4695b0211b 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_list.py b/kubernetes/client/models/v1beta1_custom_resource_definition_list.py index b8cc3ef06b..bffdc353e4 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_list.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_names.py b/kubernetes/client/models/v1beta1_custom_resource_definition_names.py index b31ead478a..9050ceb58e 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_names.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_names.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py b/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py index 6034470b92..3c91999eeb 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,36 +31,44 @@ class V1beta1CustomResourceDefinitionSpec(object): and the value is json key in definition. """ swagger_types = { + 'additional_printer_columns': 'list[V1beta1CustomResourceColumnDefinition]', 'group': 'str', 'names': 'V1beta1CustomResourceDefinitionNames', 'scope': 'str', 'subresources': 'V1beta1CustomResourceSubresources', 'validation': 'V1beta1CustomResourceValidation', - 'version': 'str' + 'version': 'str', + 'versions': 'list[V1beta1CustomResourceDefinitionVersion]' } attribute_map = { + 'additional_printer_columns': 'additionalPrinterColumns', 'group': 'group', 'names': 'names', 'scope': 'scope', 'subresources': 'subresources', 'validation': 'validation', - 'version': 'version' + 'version': 'version', + 'versions': 'versions' } - def __init__(self, group=None, names=None, scope=None, subresources=None, validation=None, version=None): + def __init__(self, additional_printer_columns=None, group=None, names=None, scope=None, subresources=None, validation=None, version=None, versions=None): """ V1beta1CustomResourceDefinitionSpec - a model defined in Swagger """ + self._additional_printer_columns = None self._group = None self._names = None self._scope = None self._subresources = None self._validation = None self._version = None + self._versions = None self.discriminator = None + if additional_printer_columns is not None: + self.additional_printer_columns = additional_printer_columns self.group = group self.names = names self.scope = scope @@ -68,7 +76,33 @@ def __init__(self, group=None, names=None, scope=None, subresources=None, valida self.subresources = subresources if validation is not None: self.validation = validation - self.version = version + if version is not None: + self.version = version + if versions is not None: + self.versions = versions + + @property + def additional_printer_columns(self): + """ + Gets the additional_printer_columns of this V1beta1CustomResourceDefinitionSpec. + AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. + + :return: The additional_printer_columns of this V1beta1CustomResourceDefinitionSpec. + :rtype: list[V1beta1CustomResourceColumnDefinition] + """ + return self._additional_printer_columns + + @additional_printer_columns.setter + def additional_printer_columns(self, additional_printer_columns): + """ + Sets the additional_printer_columns of this V1beta1CustomResourceDefinitionSpec. + AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. + + :param additional_printer_columns: The additional_printer_columns of this V1beta1CustomResourceDefinitionSpec. + :type: list[V1beta1CustomResourceColumnDefinition] + """ + + self._additional_printer_columns = additional_printer_columns @property def group(self): @@ -149,7 +183,7 @@ def scope(self, scope): def subresources(self): """ Gets the subresources of this V1beta1CustomResourceDefinitionSpec. - Subresources describes the subresources for CustomResources This field is alpha-level and should only be sent to servers that enable subresources via the CustomResourceSubresources feature gate. + Subresources describes the subresources for CustomResources :return: The subresources of this V1beta1CustomResourceDefinitionSpec. :rtype: V1beta1CustomResourceSubresources @@ -160,7 +194,7 @@ def subresources(self): def subresources(self, subresources): """ Sets the subresources of this V1beta1CustomResourceDefinitionSpec. - Subresources describes the subresources for CustomResources This field is alpha-level and should only be sent to servers that enable subresources via the CustomResourceSubresources feature gate. + Subresources describes the subresources for CustomResources :param subresources: The subresources of this V1beta1CustomResourceDefinitionSpec. :type: V1beta1CustomResourceSubresources @@ -195,7 +229,7 @@ def validation(self, validation): def version(self): """ Gets the version of this V1beta1CustomResourceDefinitionSpec. - Version is the version this resource belongs in + Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`. :return: The version of this V1beta1CustomResourceDefinitionSpec. :rtype: str @@ -206,16 +240,37 @@ def version(self): def version(self, version): """ Sets the version of this V1beta1CustomResourceDefinitionSpec. - Version is the version this resource belongs in + Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`. :param version: The version of this V1beta1CustomResourceDefinitionSpec. :type: str """ - if version is None: - raise ValueError("Invalid value for `version`, must not be `None`") self._version = version + @property + def versions(self): + """ + Gets the versions of this V1beta1CustomResourceDefinitionSpec. + Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. + + :return: The versions of this V1beta1CustomResourceDefinitionSpec. + :rtype: list[V1beta1CustomResourceDefinitionVersion] + """ + return self._versions + + @versions.setter + def versions(self, versions): + """ + Sets the versions of this V1beta1CustomResourceDefinitionSpec. + Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. + + :param versions: The versions of this V1beta1CustomResourceDefinitionSpec. + :type: list[V1beta1CustomResourceDefinitionVersion] + """ + + self._versions = versions + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_status.py b/kubernetes/client/models/v1beta1_custom_resource_definition_status.py index 8c4184dd48..d962c48d0d 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_status.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,25 +32,29 @@ class V1beta1CustomResourceDefinitionStatus(object): """ swagger_types = { 'accepted_names': 'V1beta1CustomResourceDefinitionNames', - 'conditions': 'list[V1beta1CustomResourceDefinitionCondition]' + 'conditions': 'list[V1beta1CustomResourceDefinitionCondition]', + 'stored_versions': 'list[str]' } attribute_map = { 'accepted_names': 'acceptedNames', - 'conditions': 'conditions' + 'conditions': 'conditions', + 'stored_versions': 'storedVersions' } - def __init__(self, accepted_names=None, conditions=None): + def __init__(self, accepted_names=None, conditions=None, stored_versions=None): """ V1beta1CustomResourceDefinitionStatus - a model defined in Swagger """ self._accepted_names = None self._conditions = None + self._stored_versions = None self.discriminator = None self.accepted_names = accepted_names self.conditions = conditions + self.stored_versions = stored_versions @property def accepted_names(self): @@ -102,6 +106,31 @@ def conditions(self, conditions): self._conditions = conditions + @property + def stored_versions(self): + """ + Gets the stored_versions of this V1beta1CustomResourceDefinitionStatus. + StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field. + + :return: The stored_versions of this V1beta1CustomResourceDefinitionStatus. + :rtype: list[str] + """ + return self._stored_versions + + @stored_versions.setter + def stored_versions(self, stored_versions): + """ + Sets the stored_versions of this V1beta1CustomResourceDefinitionStatus. + StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field. + + :param stored_versions: The stored_versions of this V1beta1CustomResourceDefinitionStatus. + :type: list[str] + """ + if stored_versions is None: + raise ValueError("Invalid value for `stored_versions`, must not be `None`") + + self._stored_versions = stored_versions + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_version.py b/kubernetes/client/models/v1beta1_custom_resource_definition_version.py new file mode 100644 index 0000000000..5cb5506d52 --- /dev/null +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_version.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1beta1CustomResourceDefinitionVersion(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'served': 'bool', + 'storage': 'bool' + } + + attribute_map = { + 'name': 'name', + 'served': 'served', + 'storage': 'storage' + } + + def __init__(self, name=None, served=None, storage=None): + """ + V1beta1CustomResourceDefinitionVersion - a model defined in Swagger + """ + + self._name = None + self._served = None + self._storage = None + self.discriminator = None + + self.name = name + self.served = served + self.storage = storage + + @property + def name(self): + """ + Gets the name of this V1beta1CustomResourceDefinitionVersion. + Name is the version name, e.g. “v1”, “v2beta1”, etc. + + :return: The name of this V1beta1CustomResourceDefinitionVersion. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this V1beta1CustomResourceDefinitionVersion. + Name is the version name, e.g. “v1”, “v2beta1”, etc. + + :param name: The name of this V1beta1CustomResourceDefinitionVersion. + :type: str + """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") + + self._name = name + + @property + def served(self): + """ + Gets the served of this V1beta1CustomResourceDefinitionVersion. + Served is a flag enabling/disabling this version from being served via REST APIs + + :return: The served of this V1beta1CustomResourceDefinitionVersion. + :rtype: bool + """ + return self._served + + @served.setter + def served(self, served): + """ + Sets the served of this V1beta1CustomResourceDefinitionVersion. + Served is a flag enabling/disabling this version from being served via REST APIs + + :param served: The served of this V1beta1CustomResourceDefinitionVersion. + :type: bool + """ + if served is None: + raise ValueError("Invalid value for `served`, must not be `None`") + + self._served = served + + @property + def storage(self): + """ + Gets the storage of this V1beta1CustomResourceDefinitionVersion. + Storage flags the version as storage version. There must be exactly one flagged as storage version. + + :return: The storage of this V1beta1CustomResourceDefinitionVersion. + :rtype: bool + """ + return self._storage + + @storage.setter + def storage(self, storage): + """ + Sets the storage of this V1beta1CustomResourceDefinitionVersion. + Storage flags the version as storage version. There must be exactly one flagged as storage version. + + :param storage: The storage of this V1beta1CustomResourceDefinitionVersion. + :type: bool + """ + if storage is None: + raise ValueError("Invalid value for `storage`, must not be `None`") + + self._storage = storage + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1beta1CustomResourceDefinitionVersion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py b/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py index d708260580..17de977fb7 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py +++ b/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_subresources.py b/kubernetes/client/models/v1beta1_custom_resource_subresources.py index f6b9821db0..e9590d89fe 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_subresources.py +++ b/kubernetes/client/models/v1beta1_custom_resource_subresources.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_validation.py b/kubernetes/client/models/v1beta1_custom_resource_validation.py index ec76bb8d16..65966f9a57 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_validation.py +++ b/kubernetes/client/models/v1beta1_custom_resource_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set.py b/kubernetes/client/models/v1beta1_daemon_set.py index 232c2aeb39..e8e40346de 100644 --- a/kubernetes/client/models/v1beta1_daemon_set.py +++ b/kubernetes/client/models/v1beta1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_condition.py b/kubernetes/client/models/v1beta1_daemon_set_condition.py index 5bc80866c3..2ce21418fb 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_condition.py +++ b/kubernetes/client/models/v1beta1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_list.py b/kubernetes/client/models/v1beta1_daemon_set_list.py index e22674dac4..38317871b4 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_list.py +++ b/kubernetes/client/models/v1beta1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_spec.py b/kubernetes/client/models/v1beta1_daemon_set_spec.py index 620c9d3eb3..3607acfef2 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_spec.py +++ b/kubernetes/client/models/v1beta1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_status.py b/kubernetes/client/models/v1beta1_daemon_set_status.py index efab3ea0a0..8c1f7bfa2e 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_status.py +++ b/kubernetes/client/models/v1beta1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py b/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py index 490ebd608a..8b75e9c344 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_event.py b/kubernetes/client/models/v1beta1_event.py index 81044b5265..1cd20f8a8a 100644 --- a/kubernetes/client/models/v1beta1_event.py +++ b/kubernetes/client/models/v1beta1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_event_list.py b/kubernetes/client/models/v1beta1_event_list.py index d6abd2de8f..d2bf6135f0 100644 --- a/kubernetes/client/models/v1beta1_event_list.py +++ b/kubernetes/client/models/v1beta1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_event_series.py b/kubernetes/client/models/v1beta1_event_series.py index 8c097556ad..2c8e1a7fec 100644 --- a/kubernetes/client/models/v1beta1_event_series.py +++ b/kubernetes/client/models/v1beta1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_eviction.py b/kubernetes/client/models/v1beta1_eviction.py index 9c6ba7407c..3a44d3ca4c 100644 --- a/kubernetes/client/models/v1beta1_eviction.py +++ b/kubernetes/client/models/v1beta1_eviction.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_external_documentation.py b/kubernetes/client/models/v1beta1_external_documentation.py index aa1f9fcd0f..3dc5d02e8e 100644 --- a/kubernetes/client/models/v1beta1_external_documentation.py +++ b/kubernetes/client/models/v1beta1_external_documentation.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_http_ingress_path.py b/kubernetes/client/models/v1beta1_http_ingress_path.py index 70b01a1bf2..b9073c3a1d 100644 --- a/kubernetes/client/models/v1beta1_http_ingress_path.py +++ b/kubernetes/client/models/v1beta1_http_ingress_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_http_ingress_rule_value.py b/kubernetes/client/models/v1beta1_http_ingress_rule_value.py index c8cd99706e..cfb80c18ce 100644 --- a/kubernetes/client/models/v1beta1_http_ingress_rule_value.py +++ b/kubernetes/client/models/v1beta1_http_ingress_rule_value.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress.py b/kubernetes/client/models/v1beta1_ingress.py index 4da2704f2a..69e48443c5 100644 --- a/kubernetes/client/models/v1beta1_ingress.py +++ b/kubernetes/client/models/v1beta1_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_backend.py b/kubernetes/client/models/v1beta1_ingress_backend.py index fbe947b395..0c7260eb53 100644 --- a/kubernetes/client/models/v1beta1_ingress_backend.py +++ b/kubernetes/client/models/v1beta1_ingress_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_list.py b/kubernetes/client/models/v1beta1_ingress_list.py index 9781f7ecf3..25653bea94 100644 --- a/kubernetes/client/models/v1beta1_ingress_list.py +++ b/kubernetes/client/models/v1beta1_ingress_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_rule.py b/kubernetes/client/models/v1beta1_ingress_rule.py index 62d90f591d..0116933716 100644 --- a/kubernetes/client/models/v1beta1_ingress_rule.py +++ b/kubernetes/client/models/v1beta1_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_spec.py b/kubernetes/client/models/v1beta1_ingress_spec.py index b18298bfae..79c6ef6ef4 100644 --- a/kubernetes/client/models/v1beta1_ingress_spec.py +++ b/kubernetes/client/models/v1beta1_ingress_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_status.py b/kubernetes/client/models/v1beta1_ingress_status.py index 8f828979b7..7e1619f66a 100644 --- a/kubernetes/client/models/v1beta1_ingress_status.py +++ b/kubernetes/client/models/v1beta1_ingress_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_tls.py b/kubernetes/client/models/v1beta1_ingress_tls.py index 46c229303b..edcfdf0ed6 100644 --- a/kubernetes/client/models/v1beta1_ingress_tls.py +++ b/kubernetes/client/models/v1beta1_ingress_tls.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ip_block.py b/kubernetes/client/models/v1beta1_ip_block.py index 544040c102..06b78259c8 100644 --- a/kubernetes/client/models/v1beta1_ip_block.py +++ b/kubernetes/client/models/v1beta1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_job_template_spec.py b/kubernetes/client/models/v1beta1_job_template_spec.py index 5f77edb71a..f66f6238db 100644 --- a/kubernetes/client/models/v1beta1_job_template_spec.py +++ b/kubernetes/client/models/v1beta1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_json_schema_props.py b/kubernetes/client/models/v1beta1_json_schema_props.py index 91ed309f1b..e134482de8 100644 --- a/kubernetes/client/models/v1beta1_json_schema_props.py +++ b/kubernetes/client/models/v1beta1_json_schema_props.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -33,22 +33,22 @@ class V1beta1JSONSchemaProps(object): swagger_types = { 'ref': 'str', 'schema': 'str', - 'additional_items': 'V1beta1JSONSchemaPropsOrBool', - 'additional_properties': 'V1beta1JSONSchemaPropsOrBool', + 'additional_items': 'object', + 'additional_properties': 'object', 'all_of': 'list[V1beta1JSONSchemaProps]', 'any_of': 'list[V1beta1JSONSchemaProps]', - 'default': 'V1beta1JSON', + 'default': 'object', 'definitions': 'dict(str, V1beta1JSONSchemaProps)', - 'dependencies': 'dict(str, V1beta1JSONSchemaPropsOrStringArray)', + 'dependencies': 'dict(str, object)', 'description': 'str', - 'enum': 'list[V1beta1JSON]', - 'example': 'V1beta1JSON', + 'enum': 'list[object]', + 'example': 'object', 'exclusive_maximum': 'bool', 'exclusive_minimum': 'bool', 'external_docs': 'V1beta1ExternalDocumentation', 'format': 'str', 'id': 'str', - 'items': 'V1beta1JSONSchemaPropsOrArray', + 'items': 'object', 'max_items': 'int', 'max_length': 'int', 'max_properties': 'int', @@ -270,9 +270,10 @@ def schema(self, schema): def additional_items(self): """ Gets the additional_items of this V1beta1JSONSchemaProps. + JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. :return: The additional_items of this V1beta1JSONSchemaProps. - :rtype: V1beta1JSONSchemaPropsOrBool + :rtype: object """ return self._additional_items @@ -280,9 +281,10 @@ def additional_items(self): def additional_items(self, additional_items): """ Sets the additional_items of this V1beta1JSONSchemaProps. + JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. :param additional_items: The additional_items of this V1beta1JSONSchemaProps. - :type: V1beta1JSONSchemaPropsOrBool + :type: object """ self._additional_items = additional_items @@ -291,9 +293,10 @@ def additional_items(self, additional_items): def additional_properties(self): """ Gets the additional_properties of this V1beta1JSONSchemaProps. + JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. :return: The additional_properties of this V1beta1JSONSchemaProps. - :rtype: V1beta1JSONSchemaPropsOrBool + :rtype: object """ return self._additional_properties @@ -301,9 +304,10 @@ def additional_properties(self): def additional_properties(self, additional_properties): """ Sets the additional_properties of this V1beta1JSONSchemaProps. + JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. :param additional_properties: The additional_properties of this V1beta1JSONSchemaProps. - :type: V1beta1JSONSchemaPropsOrBool + :type: object """ self._additional_properties = additional_properties @@ -354,9 +358,10 @@ def any_of(self, any_of): def default(self): """ Gets the default of this V1beta1JSONSchemaProps. + JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. :return: The default of this V1beta1JSONSchemaProps. - :rtype: V1beta1JSON + :rtype: object """ return self._default @@ -364,9 +369,10 @@ def default(self): def default(self, default): """ Sets the default of this V1beta1JSONSchemaProps. + JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. :param default: The default of this V1beta1JSONSchemaProps. - :type: V1beta1JSON + :type: object """ self._default = default @@ -398,7 +404,7 @@ def dependencies(self): Gets the dependencies of this V1beta1JSONSchemaProps. :return: The dependencies of this V1beta1JSONSchemaProps. - :rtype: dict(str, V1beta1JSONSchemaPropsOrStringArray) + :rtype: dict(str, object) """ return self._dependencies @@ -408,7 +414,7 @@ def dependencies(self, dependencies): Sets the dependencies of this V1beta1JSONSchemaProps. :param dependencies: The dependencies of this V1beta1JSONSchemaProps. - :type: dict(str, V1beta1JSONSchemaPropsOrStringArray) + :type: dict(str, object) """ self._dependencies = dependencies @@ -440,7 +446,7 @@ def enum(self): Gets the enum of this V1beta1JSONSchemaProps. :return: The enum of this V1beta1JSONSchemaProps. - :rtype: list[V1beta1JSON] + :rtype: list[object] """ return self._enum @@ -450,7 +456,7 @@ def enum(self, enum): Sets the enum of this V1beta1JSONSchemaProps. :param enum: The enum of this V1beta1JSONSchemaProps. - :type: list[V1beta1JSON] + :type: list[object] """ self._enum = enum @@ -459,9 +465,10 @@ def enum(self, enum): def example(self): """ Gets the example of this V1beta1JSONSchemaProps. + JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. :return: The example of this V1beta1JSONSchemaProps. - :rtype: V1beta1JSON + :rtype: object """ return self._example @@ -469,9 +476,10 @@ def example(self): def example(self, example): """ Sets the example of this V1beta1JSONSchemaProps. + JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. :param example: The example of this V1beta1JSONSchemaProps. - :type: V1beta1JSON + :type: object """ self._example = example @@ -585,9 +593,10 @@ def id(self, id): def items(self): """ Gets the items of this V1beta1JSONSchemaProps. + JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. :return: The items of this V1beta1JSONSchemaProps. - :rtype: V1beta1JSONSchemaPropsOrArray + :rtype: object """ return self._items @@ -595,9 +604,10 @@ def items(self): def items(self, items): """ Sets the items of this V1beta1JSONSchemaProps. + JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. :param items: The items of this V1beta1JSONSchemaProps. - :type: V1beta1JSONSchemaPropsOrArray + :type: object """ self._items = items diff --git a/kubernetes/client/models/v1beta1_local_subject_access_review.py b/kubernetes/client/models/v1beta1_local_subject_access_review.py index 35868ae367..1a13e6a8c0 100644 --- a/kubernetes/client/models/v1beta1_local_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py b/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py index 27c1aca772..2cb91c9656 100644 --- a/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py +++ b/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py b/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py index cc31ffc11c..1156942e6c 100644 --- a/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy.py b/kubernetes/client/models/v1beta1_network_policy.py index 2e72ba25a9..7654cf0f7e 100644 --- a/kubernetes/client/models/v1beta1_network_policy.py +++ b/kubernetes/client/models/v1beta1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_egress_rule.py b/kubernetes/client/models/v1beta1_network_policy_egress_rule.py index d75028ece9..e6aed51486 100644 --- a/kubernetes/client/models/v1beta1_network_policy_egress_rule.py +++ b/kubernetes/client/models/v1beta1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py index 75bada93b0..e5bc8d53e9 100644 --- a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_list.py b/kubernetes/client/models/v1beta1_network_policy_list.py index 6ebfaf8da3..28aba98b3a 100644 --- a/kubernetes/client/models/v1beta1_network_policy_list.py +++ b/kubernetes/client/models/v1beta1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_peer.py b/kubernetes/client/models/v1beta1_network_policy_peer.py index e73bee2946..51e31e852c 100644 --- a/kubernetes/client/models/v1beta1_network_policy_peer.py +++ b/kubernetes/client/models/v1beta1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -63,7 +63,7 @@ def __init__(self, ip_block=None, namespace_selector=None, pod_selector=None): def ip_block(self): """ Gets the ip_block of this V1beta1NetworkPolicyPeer. - IPBlock defines policy on a particular IPBlock + IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. :return: The ip_block of this V1beta1NetworkPolicyPeer. :rtype: V1beta1IPBlock @@ -74,7 +74,7 @@ def ip_block(self): def ip_block(self, ip_block): """ Sets the ip_block of this V1beta1NetworkPolicyPeer. - IPBlock defines policy on a particular IPBlock + IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. :param ip_block: The ip_block of this V1beta1NetworkPolicyPeer. :type: V1beta1IPBlock @@ -86,7 +86,7 @@ def ip_block(self, ip_block): def namespace_selector(self): """ Gets the namespace_selector of this V1beta1NetworkPolicyPeer. - Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. + Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. :return: The namespace_selector of this V1beta1NetworkPolicyPeer. :rtype: V1LabelSelector @@ -97,7 +97,7 @@ def namespace_selector(self): def namespace_selector(self, namespace_selector): """ Sets the namespace_selector of this V1beta1NetworkPolicyPeer. - Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. + Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. :param namespace_selector: The namespace_selector of this V1beta1NetworkPolicyPeer. :type: V1LabelSelector @@ -109,7 +109,7 @@ def namespace_selector(self, namespace_selector): def pod_selector(self): """ Gets the pod_selector of this V1beta1NetworkPolicyPeer. - This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. + This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. :return: The pod_selector of this V1beta1NetworkPolicyPeer. :rtype: V1LabelSelector @@ -120,7 +120,7 @@ def pod_selector(self): def pod_selector(self, pod_selector): """ Sets the pod_selector of this V1beta1NetworkPolicyPeer. - This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. + This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. :param pod_selector: The pod_selector of this V1beta1NetworkPolicyPeer. :type: V1LabelSelector diff --git a/kubernetes/client/models/v1beta1_network_policy_port.py b/kubernetes/client/models/v1beta1_network_policy_port.py index c0b75ec8ed..a4baf0e794 100644 --- a/kubernetes/client/models/v1beta1_network_policy_port.py +++ b/kubernetes/client/models/v1beta1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_spec.py b/kubernetes/client/models/v1beta1_network_policy_spec.py index 294e45d2c1..47375cda18 100644 --- a/kubernetes/client/models/v1beta1_network_policy_spec.py +++ b/kubernetes/client/models/v1beta1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_non_resource_attributes.py b/kubernetes/client/models/v1beta1_non_resource_attributes.py index 6a08f4acc1..a74c9304b4 100644 --- a/kubernetes/client/models/v1beta1_non_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_non_resource_rule.py b/kubernetes/client/models/v1beta1_non_resource_rule.py index 13080337d3..90553d94db 100644 --- a/kubernetes/client/models/v1beta1_non_resource_rule.py +++ b/kubernetes/client/models/v1beta1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget.py b/kubernetes/client/models/v1beta1_pod_disruption_budget.py index e84cb8da35..3005ebef4b 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py index 7a5b9fab53..9bdeace0e1 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py index acf0fedbc4..8d1e4a2f0e 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py index 4e6a9bd923..1ef9c0cd0f 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_policy_rule.py b/kubernetes/client/models/v1beta1_policy_rule.py index 3b18798194..ad661e34b3 100644 --- a/kubernetes/client/models/v1beta1_policy_rule.py +++ b/kubernetes/client/models/v1beta1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_priority_class.py b/kubernetes/client/models/v1beta1_priority_class.py new file mode 100644 index 0000000000..640f353834 --- /dev/null +++ b/kubernetes/client/models/v1beta1_priority_class.py @@ -0,0 +1,267 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1beta1PriorityClass(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'api_version': 'str', + 'description': 'str', + 'global_default': 'bool', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'value': 'int' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'description': 'description', + 'global_default': 'globalDefault', + 'kind': 'kind', + 'metadata': 'metadata', + 'value': 'value' + } + + def __init__(self, api_version=None, description=None, global_default=None, kind=None, metadata=None, value=None): + """ + V1beta1PriorityClass - a model defined in Swagger + """ + + self._api_version = None + self._description = None + self._global_default = None + self._kind = None + self._metadata = None + self._value = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if description is not None: + self.description = description + if global_default is not None: + self.global_default = global_default + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.value = value + + @property + def api_version(self): + """ + Gets the api_version of this V1beta1PriorityClass. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1PriorityClass. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1PriorityClass. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1PriorityClass. + :type: str + """ + + self._api_version = api_version + + @property + def description(self): + """ + Gets the description of this V1beta1PriorityClass. + description is an arbitrary string that usually provides guidelines on when this priority class should be used. + + :return: The description of this V1beta1PriorityClass. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """ + Sets the description of this V1beta1PriorityClass. + description is an arbitrary string that usually provides guidelines on when this priority class should be used. + + :param description: The description of this V1beta1PriorityClass. + :type: str + """ + + self._description = description + + @property + def global_default(self): + """ + Gets the global_default of this V1beta1PriorityClass. + globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. + + :return: The global_default of this V1beta1PriorityClass. + :rtype: bool + """ + return self._global_default + + @global_default.setter + def global_default(self, global_default): + """ + Sets the global_default of this V1beta1PriorityClass. + globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. + + :param global_default: The global_default of this V1beta1PriorityClass. + :type: bool + """ + + self._global_default = global_default + + @property + def kind(self): + """ + Gets the kind of this V1beta1PriorityClass. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1PriorityClass. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1PriorityClass. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1PriorityClass. + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """ + Gets the metadata of this V1beta1PriorityClass. + Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + + :return: The metadata of this V1beta1PriorityClass. + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """ + Sets the metadata of this V1beta1PriorityClass. + Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + + :param metadata: The metadata of this V1beta1PriorityClass. + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def value(self): + """ + Gets the value of this V1beta1PriorityClass. + The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. + + :return: The value of this V1beta1PriorityClass. + :rtype: int + """ + return self._value + + @value.setter + def value(self, value): + """ + Sets the value of this V1beta1PriorityClass. + The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. + + :param value: The value of this V1beta1PriorityClass. + :type: int + """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + + self._value = value + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1beta1PriorityClass): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1beta1_priority_class_list.py b/kubernetes/client/models/v1beta1_priority_class_list.py new file mode 100644 index 0000000000..a062a2fbee --- /dev/null +++ b/kubernetes/client/models/v1beta1_priority_class_list.py @@ -0,0 +1,211 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1beta1PriorityClassList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'api_version': 'str', + 'items': 'list[V1beta1PriorityClass]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None): + """ + V1beta1PriorityClassList - a model defined in Swagger + """ + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """ + Gets the api_version of this V1beta1PriorityClassList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1PriorityClassList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1PriorityClassList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1PriorityClassList. + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """ + Gets the items of this V1beta1PriorityClassList. + items is the list of PriorityClasses + + :return: The items of this V1beta1PriorityClassList. + :rtype: list[V1beta1PriorityClass] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this V1beta1PriorityClassList. + items is the list of PriorityClasses + + :param items: The items of this V1beta1PriorityClassList. + :type: list[V1beta1PriorityClass] + """ + if items is None: + raise ValueError("Invalid value for `items`, must not be `None`") + + self._items = items + + @property + def kind(self): + """ + Gets the kind of this V1beta1PriorityClassList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1PriorityClassList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1PriorityClassList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1PriorityClassList. + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """ + Gets the metadata of this V1beta1PriorityClassList. + Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + + :return: The metadata of this V1beta1PriorityClassList. + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """ + Sets the metadata of this V1beta1PriorityClassList. + Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + + :param metadata: The metadata of this V1beta1PriorityClassList. + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1beta1PriorityClassList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1beta1_replica_set.py b/kubernetes/client/models/v1beta1_replica_set.py index 2380811f9a..b81be97a4b 100644 --- a/kubernetes/client/models/v1beta1_replica_set.py +++ b/kubernetes/client/models/v1beta1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_replica_set_condition.py b/kubernetes/client/models/v1beta1_replica_set_condition.py index 33560bef58..ca06391604 100644 --- a/kubernetes/client/models/v1beta1_replica_set_condition.py +++ b/kubernetes/client/models/v1beta1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_replica_set_list.py b/kubernetes/client/models/v1beta1_replica_set_list.py index 9272a2447b..55c91ce23c 100644 --- a/kubernetes/client/models/v1beta1_replica_set_list.py +++ b/kubernetes/client/models/v1beta1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_replica_set_spec.py b/kubernetes/client/models/v1beta1_replica_set_spec.py index 67f541ffb6..d8b64f167f 100644 --- a/kubernetes/client/models/v1beta1_replica_set_spec.py +++ b/kubernetes/client/models/v1beta1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_replica_set_status.py b/kubernetes/client/models/v1beta1_replica_set_status.py index caa9b3df5d..26e055a4b7 100644 --- a/kubernetes/client/models/v1beta1_replica_set_status.py +++ b/kubernetes/client/models/v1beta1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_resource_attributes.py b/kubernetes/client/models/v1beta1_resource_attributes.py index e3aac98b54..763c08301a 100644 --- a/kubernetes/client/models/v1beta1_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_resource_rule.py b/kubernetes/client/models/v1beta1_resource_rule.py index 91f3e88734..41204491a2 100644 --- a/kubernetes/client/models/v1beta1_resource_rule.py +++ b/kubernetes/client/models/v1beta1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_role.py b/kubernetes/client/models/v1beta1_role.py index a035bc0e1b..3f88f78c48 100644 --- a/kubernetes/client/models/v1beta1_role.py +++ b/kubernetes/client/models/v1beta1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_role_binding.py b/kubernetes/client/models/v1beta1_role_binding.py index 99fb073d53..7220c01f8a 100644 --- a/kubernetes/client/models/v1beta1_role_binding.py +++ b/kubernetes/client/models/v1beta1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -65,7 +65,8 @@ def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, su if metadata is not None: self.metadata = metadata self.role_ref = role_ref - self.subjects = subjects + if subjects is not None: + self.subjects = subjects @property def api_version(self): @@ -181,8 +182,6 @@ def subjects(self, subjects): :param subjects: The subjects of this V1beta1RoleBinding. :type: list[V1beta1Subject] """ - if subjects is None: - raise ValueError("Invalid value for `subjects`, must not be `None`") self._subjects = subjects diff --git a/kubernetes/client/models/v1beta1_role_binding_list.py b/kubernetes/client/models/v1beta1_role_binding_list.py index 9f95b7364c..6867e48b48 100644 --- a/kubernetes/client/models/v1beta1_role_binding_list.py +++ b/kubernetes/client/models/v1beta1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_role_list.py b/kubernetes/client/models/v1beta1_role_list.py index 0d07efb45a..7c956cc177 100644 --- a/kubernetes/client/models/v1beta1_role_list.py +++ b/kubernetes/client/models/v1beta1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_role_ref.py b/kubernetes/client/models/v1beta1_role_ref.py index bbe24fe722..e393d0031b 100644 --- a/kubernetes/client/models/v1beta1_role_ref.py +++ b/kubernetes/client/models/v1beta1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py b/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py index 19d2c94973..bc276debf6 100644 --- a/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py index ba35bbdedc..c8df4fc3fd 100644 --- a/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_rule_with_operations.py b/kubernetes/client/models/v1beta1_rule_with_operations.py index 7bd45a35b2..60905d096f 100644 --- a/kubernetes/client/models/v1beta1_rule_with_operations.py +++ b/kubernetes/client/models/v1beta1_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review.py b/kubernetes/client/models/v1beta1_self_subject_access_review.py index aa3e255a29..bca191cd17 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py index 18bb522e2d..3c26a223f6 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_self_subject_rules_review.py b/kubernetes/client/models/v1beta1_self_subject_rules_review.py index 4bb003ffc7..d2ddb7a0bb 100644 --- a/kubernetes/client/models/v1beta1_self_subject_rules_review.py +++ b/kubernetes/client/models/v1beta1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py b/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py index cc6fffe897..2459ceb317 100644 --- a/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py +++ b/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set.py b/kubernetes/client/models/v1beta1_stateful_set.py index 593003a25f..15a64fe95c 100644 --- a/kubernetes/client/models/v1beta1_stateful_set.py +++ b/kubernetes/client/models/v1beta1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_condition.py b/kubernetes/client/models/v1beta1_stateful_set_condition.py index 0dec1a8353..fbc5eb1361 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_condition.py +++ b/kubernetes/client/models/v1beta1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_list.py b/kubernetes/client/models/v1beta1_stateful_set_list.py index cd0249f69a..c7e158c9ed 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_list.py +++ b/kubernetes/client/models/v1beta1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_spec.py b/kubernetes/client/models/v1beta1_stateful_set_spec.py index 1b662fbbba..6acd955ffa 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_spec.py +++ b/kubernetes/client/models/v1beta1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_status.py b/kubernetes/client/models/v1beta1_stateful_set_status.py index 0d2cd54342..0b1b2ab15f 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_status.py +++ b/kubernetes/client/models/v1beta1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py b/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py index 194702c4c9..b98c8504f7 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_storage_class.py b/kubernetes/client/models/v1beta1_storage_class.py index ffd845bd03..24e633e839 100644 --- a/kubernetes/client/models/v1beta1_storage_class.py +++ b/kubernetes/client/models/v1beta1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,6 +32,7 @@ class V1beta1StorageClass(object): """ swagger_types = { 'allow_volume_expansion': 'bool', + 'allowed_topologies': 'list[V1TopologySelectorTerm]', 'api_version': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', @@ -44,6 +45,7 @@ class V1beta1StorageClass(object): attribute_map = { 'allow_volume_expansion': 'allowVolumeExpansion', + 'allowed_topologies': 'allowedTopologies', 'api_version': 'apiVersion', 'kind': 'kind', 'metadata': 'metadata', @@ -54,12 +56,13 @@ class V1beta1StorageClass(object): 'volume_binding_mode': 'volumeBindingMode' } - def __init__(self, allow_volume_expansion=None, api_version=None, kind=None, metadata=None, mount_options=None, parameters=None, provisioner=None, reclaim_policy=None, volume_binding_mode=None): + def __init__(self, allow_volume_expansion=None, allowed_topologies=None, api_version=None, kind=None, metadata=None, mount_options=None, parameters=None, provisioner=None, reclaim_policy=None, volume_binding_mode=None): """ V1beta1StorageClass - a model defined in Swagger """ self._allow_volume_expansion = None + self._allowed_topologies = None self._api_version = None self._kind = None self._metadata = None @@ -72,6 +75,8 @@ def __init__(self, allow_volume_expansion=None, api_version=None, kind=None, met if allow_volume_expansion is not None: self.allow_volume_expansion = allow_volume_expansion + if allowed_topologies is not None: + self.allowed_topologies = allowed_topologies if api_version is not None: self.api_version = api_version if kind is not None: @@ -111,6 +116,29 @@ def allow_volume_expansion(self, allow_volume_expansion): self._allow_volume_expansion = allow_volume_expansion + @property + def allowed_topologies(self): + """ + Gets the allowed_topologies of this V1beta1StorageClass. + Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature. + + :return: The allowed_topologies of this V1beta1StorageClass. + :rtype: list[V1TopologySelectorTerm] + """ + return self._allowed_topologies + + @allowed_topologies.setter + def allowed_topologies(self, allowed_topologies): + """ + Sets the allowed_topologies of this V1beta1StorageClass. + Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature. + + :param allowed_topologies: The allowed_topologies of this V1beta1StorageClass. + :type: list[V1TopologySelectorTerm] + """ + + self._allowed_topologies = allowed_topologies + @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_storage_class_list.py b/kubernetes/client/models/v1beta1_storage_class_list.py index 900839b84f..f677e87aa7 100644 --- a/kubernetes/client/models/v1beta1_storage_class_list.py +++ b/kubernetes/client/models/v1beta1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject.py b/kubernetes/client/models/v1beta1_subject.py index 7a96020a7f..5c99b0ecae 100644 --- a/kubernetes/client/models/v1beta1_subject.py +++ b/kubernetes/client/models/v1beta1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review.py b/kubernetes/client/models/v1beta1_subject_access_review.py index b0ee973c10..03a53079ff 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_subject_access_review_spec.py index 42206c9fbf..bbd8a05059 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review_status.py b/kubernetes/client/models/v1beta1_subject_access_review_status.py index 15822e9a2a..d191809c33 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_status.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject_rules_review_status.py b/kubernetes/client/models/v1beta1_subject_rules_review_status.py index 948e5bad75..e9c8989ef8 100644 --- a/kubernetes/client/models/v1beta1_subject_rules_review_status.py +++ b/kubernetes/client/models/v1beta1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_token_review.py b/kubernetes/client/models/v1beta1_token_review.py index 99109226a1..708748392f 100644 --- a/kubernetes/client/models/v1beta1_token_review.py +++ b/kubernetes/client/models/v1beta1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_token_review_spec.py b/kubernetes/client/models/v1beta1_token_review_spec.py index 05d0388a09..a3b18c2ff2 100644 --- a/kubernetes/client/models/v1beta1_token_review_spec.py +++ b/kubernetes/client/models/v1beta1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_token_review_status.py b/kubernetes/client/models/v1beta1_token_review_status.py index 70025bfe1b..86633014d3 100644 --- a/kubernetes/client/models/v1beta1_token_review_status.py +++ b/kubernetes/client/models/v1beta1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_user_info.py b/kubernetes/client/models/v1beta1_user_info.py index 6ff64010fa..b4cc7d1d0e 100644 --- a/kubernetes/client/models/v1beta1_user_info.py +++ b/kubernetes/client/models/v1beta1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_validating_webhook_configuration.py b/kubernetes/client/models/v1beta1_validating_webhook_configuration.py index 4a343d097e..8593229175 100644 --- a/kubernetes/client/models/v1beta1_validating_webhook_configuration.py +++ b/kubernetes/client/models/v1beta1_validating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py b/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py index 1095a48435..99ec08fb88 100644 --- a/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment.py b/kubernetes/client/models/v1beta1_volume_attachment.py index 9abd23736c..a89101fb58 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment.py +++ b/kubernetes/client/models/v1beta1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_list.py b/kubernetes/client/models/v1beta1_volume_attachment_list.py index 9e11df9df4..87ad9cfb58 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_list.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_source.py b/kubernetes/client/models/v1beta1_volume_attachment_source.py index c13817b1aa..3b40e338a4 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_source.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_spec.py b/kubernetes/client/models/v1beta1_volume_attachment_spec.py index 574802d8a9..caecf73973 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_spec.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_status.py b/kubernetes/client/models/v1beta1_volume_attachment_status.py index dd12c23922..e0427709f8 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_status.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_error.py b/kubernetes/client/models/v1beta1_volume_error.py index 702da2c2cf..2538e8553a 100644 --- a/kubernetes/client/models/v1beta1_volume_error.py +++ b/kubernetes/client/models/v1beta1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_webhook.py b/kubernetes/client/models/v1beta1_webhook.py index 80be56c957..36378eef13 100644 --- a/kubernetes/client/models/v1beta1_webhook.py +++ b/kubernetes/client/models/v1beta1_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_webhook_client_config.py b/kubernetes/client/models/v1beta1_webhook_client_config.py index f2552a6010..dc2a729787 100644 --- a/kubernetes/client/models/v1beta1_webhook_client_config.py +++ b/kubernetes/client/models/v1beta1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -89,7 +89,7 @@ def ca_bundle(self, ca_bundle): def service(self): """ Gets the service of this V1beta1WebhookClientConfig. - `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. + `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. :return: The service of this V1beta1WebhookClientConfig. :rtype: AdmissionregistrationV1beta1ServiceReference @@ -100,7 +100,7 @@ def service(self): def service(self, service): """ Sets the service of this V1beta1WebhookClientConfig. - `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. + `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. :param service: The service of this V1beta1WebhookClientConfig. :type: AdmissionregistrationV1beta1ServiceReference diff --git a/kubernetes/client/models/v1beta2_controller_revision.py b/kubernetes/client/models/v1beta2_controller_revision.py index 420171a4ec..88dfa245e2 100644 --- a/kubernetes/client/models/v1beta2_controller_revision.py +++ b/kubernetes/client/models/v1beta2_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_controller_revision_list.py b/kubernetes/client/models/v1beta2_controller_revision_list.py index e0b599c41a..6aed0d53bb 100644 --- a/kubernetes/client/models/v1beta2_controller_revision_list.py +++ b/kubernetes/client/models/v1beta2_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set.py b/kubernetes/client/models/v1beta2_daemon_set.py index 42725772cf..38ae322b7d 100644 --- a/kubernetes/client/models/v1beta2_daemon_set.py +++ b/kubernetes/client/models/v1beta2_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_condition.py b/kubernetes/client/models/v1beta2_daemon_set_condition.py index a058dd329e..351f63d74a 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_condition.py +++ b/kubernetes/client/models/v1beta2_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_list.py b/kubernetes/client/models/v1beta2_daemon_set_list.py index b9f3b567c3..dbd34b42b8 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_list.py +++ b/kubernetes/client/models/v1beta2_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_spec.py b/kubernetes/client/models/v1beta2_daemon_set_spec.py index d5bd4bbc53..7f96533c80 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_spec.py +++ b/kubernetes/client/models/v1beta2_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_status.py b/kubernetes/client/models/v1beta2_daemon_set_status.py index 9ca29aff86..23466e33c8 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_status.py +++ b/kubernetes/client/models/v1beta2_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py b/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py index f5f249e93f..7055597db5 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment.py b/kubernetes/client/models/v1beta2_deployment.py index 325308fd02..663494b901 100644 --- a/kubernetes/client/models/v1beta2_deployment.py +++ b/kubernetes/client/models/v1beta2_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_condition.py b/kubernetes/client/models/v1beta2_deployment_condition.py index c19177665a..633f476a48 100644 --- a/kubernetes/client/models/v1beta2_deployment_condition.py +++ b/kubernetes/client/models/v1beta2_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_list.py b/kubernetes/client/models/v1beta2_deployment_list.py index 25f874598e..f7c58ab942 100644 --- a/kubernetes/client/models/v1beta2_deployment_list.py +++ b/kubernetes/client/models/v1beta2_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_spec.py b/kubernetes/client/models/v1beta2_deployment_spec.py index bfef567e31..1126609ea7 100644 --- a/kubernetes/client/models/v1beta2_deployment_spec.py +++ b/kubernetes/client/models/v1beta2_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_status.py b/kubernetes/client/models/v1beta2_deployment_status.py index 031ced7968..0e7449aaec 100644 --- a/kubernetes/client/models/v1beta2_deployment_status.py +++ b/kubernetes/client/models/v1beta2_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_strategy.py b/kubernetes/client/models/v1beta2_deployment_strategy.py index d104f2719b..c642227bf0 100644 --- a/kubernetes/client/models/v1beta2_deployment_strategy.py +++ b/kubernetes/client/models/v1beta2_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set.py b/kubernetes/client/models/v1beta2_replica_set.py index 59ec4396c3..2a825b3c4d 100644 --- a/kubernetes/client/models/v1beta2_replica_set.py +++ b/kubernetes/client/models/v1beta2_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set_condition.py b/kubernetes/client/models/v1beta2_replica_set_condition.py index 841584073d..53ecb171fd 100644 --- a/kubernetes/client/models/v1beta2_replica_set_condition.py +++ b/kubernetes/client/models/v1beta2_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set_list.py b/kubernetes/client/models/v1beta2_replica_set_list.py index 3173604c83..f2085cf812 100644 --- a/kubernetes/client/models/v1beta2_replica_set_list.py +++ b/kubernetes/client/models/v1beta2_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set_spec.py b/kubernetes/client/models/v1beta2_replica_set_spec.py index b33b34398b..76a10849cb 100644 --- a/kubernetes/client/models/v1beta2_replica_set_spec.py +++ b/kubernetes/client/models/v1beta2_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set_status.py b/kubernetes/client/models/v1beta2_replica_set_status.py index 1e131f7a58..0eed0049ff 100644 --- a/kubernetes/client/models/v1beta2_replica_set_status.py +++ b/kubernetes/client/models/v1beta2_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py b/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py index 89337e5da5..305fb5047a 100644 --- a/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_rolling_update_deployment.py b/kubernetes/client/models/v1beta2_rolling_update_deployment.py index 7473feb1cb..9e290216dc 100644 --- a/kubernetes/client/models/v1beta2_rolling_update_deployment.py +++ b/kubernetes/client/models/v1beta2_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -58,7 +58,7 @@ def __init__(self, max_surge=None, max_unavailable=None): def max_surge(self): """ Gets the max_surge of this V1beta2RollingUpdateDeployment. - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. + The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. :return: The max_surge of this V1beta2RollingUpdateDeployment. :rtype: object @@ -69,7 +69,7 @@ def max_surge(self): def max_surge(self, max_surge): """ Sets the max_surge of this V1beta2RollingUpdateDeployment. - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. + The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. :param max_surge: The max_surge of this V1beta2RollingUpdateDeployment. :type: object @@ -81,7 +81,7 @@ def max_surge(self, max_surge): def max_unavailable(self): """ Gets the max_unavailable of this V1beta2RollingUpdateDeployment. - The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. :return: The max_unavailable of this V1beta2RollingUpdateDeployment. :rtype: object @@ -92,7 +92,7 @@ def max_unavailable(self): def max_unavailable(self, max_unavailable): """ Sets the max_unavailable of this V1beta2RollingUpdateDeployment. - The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. :param max_unavailable: The max_unavailable of this V1beta2RollingUpdateDeployment. :type: object diff --git a/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py index c8729e4729..eac4062e8a 100644 --- a/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_scale.py b/kubernetes/client/models/v1beta2_scale.py index c769208e3c..058cb16612 100644 --- a/kubernetes/client/models/v1beta2_scale.py +++ b/kubernetes/client/models/v1beta2_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_scale_spec.py b/kubernetes/client/models/v1beta2_scale_spec.py index 1c2b509e3a..a4a98421a9 100644 --- a/kubernetes/client/models/v1beta2_scale_spec.py +++ b/kubernetes/client/models/v1beta2_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_scale_status.py b/kubernetes/client/models/v1beta2_scale_status.py index 6e72e496c9..087f5d58b6 100644 --- a/kubernetes/client/models/v1beta2_scale_status.py +++ b/kubernetes/client/models/v1beta2_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set.py b/kubernetes/client/models/v1beta2_stateful_set.py index fd11fb2bf7..b971c9402f 100644 --- a/kubernetes/client/models/v1beta2_stateful_set.py +++ b/kubernetes/client/models/v1beta2_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_condition.py b/kubernetes/client/models/v1beta2_stateful_set_condition.py index 972cbcf991..9ed037a2f3 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_condition.py +++ b/kubernetes/client/models/v1beta2_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_list.py b/kubernetes/client/models/v1beta2_stateful_set_list.py index 2286917a3e..22277542ab 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_list.py +++ b/kubernetes/client/models/v1beta2_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_spec.py b/kubernetes/client/models/v1beta2_stateful_set_spec.py index 21a2fd9b77..cd170fb94c 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_spec.py +++ b/kubernetes/client/models/v1beta2_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_status.py b/kubernetes/client/models/v1beta2_stateful_set_status.py index f24e88de1c..5fa37bd252 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_status.py +++ b/kubernetes/client/models/v1beta2_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py b/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py index bbb471f52b..242284055e 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_cron_job.py b/kubernetes/client/models/v2alpha1_cron_job.py index f3337b6f92..90ae171426 100644 --- a/kubernetes/client/models/v2alpha1_cron_job.py +++ b/kubernetes/client/models/v2alpha1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_list.py b/kubernetes/client/models/v2alpha1_cron_job_list.py index 9eac376c2c..17d1d6d10f 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_list.py +++ b/kubernetes/client/models/v2alpha1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_spec.py b/kubernetes/client/models/v2alpha1_cron_job_spec.py index 505cf51341..114b91f19c 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_spec.py +++ b/kubernetes/client/models/v2alpha1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_status.py b/kubernetes/client/models/v2alpha1_cron_job_status.py index d43ca4da1c..9e171ffbd8 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_status.py +++ b/kubernetes/client/models/v2alpha1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_job_template_spec.py b/kubernetes/client/models/v2alpha1_job_template_spec.py index 546408db0a..dd8e7883e4 100644 --- a/kubernetes/client/models/v2alpha1_job_template_spec.py +++ b/kubernetes/client/models/v2alpha1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_cross_version_object_reference.py b/kubernetes/client/models/v2beta1_cross_version_object_reference.py index 7916c1147c..293262382a 100644 --- a/kubernetes/client/models/v2beta1_cross_version_object_reference.py +++ b/kubernetes/client/models/v2beta1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_external_metric_source.py b/kubernetes/client/models/v2beta1_external_metric_source.py index c573935171..ccf12f205e 100644 --- a/kubernetes/client/models/v2beta1_external_metric_source.py +++ b/kubernetes/client/models/v2beta1_external_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_external_metric_status.py b/kubernetes/client/models/v2beta1_external_metric_status.py index df00700e0d..0059b789de 100644 --- a/kubernetes/client/models/v2beta1_external_metric_status.py +++ b/kubernetes/client/models/v2beta1_external_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py index 82418aa71d..5bc5aa05e8 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py index 84f66afc97..e66e701c8f 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py index 4bcc4515e2..4bd6303d5d 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py index f50c004f83..bc5d5af43c 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py index 728d2af5c3..a66f21e7dc 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_metric_spec.py b/kubernetes/client/models/v2beta1_metric_spec.py index f166de23af..fcbe14e77c 100644 --- a/kubernetes/client/models/v2beta1_metric_spec.py +++ b/kubernetes/client/models/v2beta1_metric_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_metric_status.py b/kubernetes/client/models/v2beta1_metric_status.py index a11be672cb..1d63f1026a 100644 --- a/kubernetes/client/models/v2beta1_metric_status.py +++ b/kubernetes/client/models/v2beta1_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_object_metric_source.py b/kubernetes/client/models/v2beta1_object_metric_source.py index 66dcc53dc7..777f4dd9f5 100644 --- a/kubernetes/client/models/v2beta1_object_metric_source.py +++ b/kubernetes/client/models/v2beta1_object_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_object_metric_status.py b/kubernetes/client/models/v2beta1_object_metric_status.py index 65f923523f..058caaa67f 100644 --- a/kubernetes/client/models/v2beta1_object_metric_status.py +++ b/kubernetes/client/models/v2beta1_object_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_pods_metric_source.py b/kubernetes/client/models/v2beta1_pods_metric_source.py index 49e901fc37..ce64ce8483 100644 --- a/kubernetes/client/models/v2beta1_pods_metric_source.py +++ b/kubernetes/client/models/v2beta1_pods_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_pods_metric_status.py b/kubernetes/client/models/v2beta1_pods_metric_status.py index 2196d3ffe2..9d85dcb2b8 100644 --- a/kubernetes/client/models/v2beta1_pods_metric_status.py +++ b/kubernetes/client/models/v2beta1_pods_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_resource_metric_source.py b/kubernetes/client/models/v2beta1_resource_metric_source.py index d47b3b82ae..d074af751d 100644 --- a/kubernetes/client/models/v2beta1_resource_metric_source.py +++ b/kubernetes/client/models/v2beta1_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_resource_metric_status.py b/kubernetes/client/models/v2beta1_resource_metric_status.py index 0294cdee42..d3710aba91 100644 --- a/kubernetes/client/models/v2beta1_resource_metric_status.py +++ b/kubernetes/client/models/v2beta1_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/version_info.py b/kubernetes/client/models/version_info.py index 9d7a974806..c29e1612a8 100644 --- a/kubernetes/client/models/version_info.py +++ b/kubernetes/client/models/version_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/rest.py b/kubernetes/client/rest.py index 5cc5daa865..3703e1e13a 100644 --- a/kubernetes/client/rest.py +++ b/kubernetes/client/rest.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/docs/ApiextensionsV1beta1Api.md b/kubernetes/docs/ApiextensionsV1beta1Api.md index 5bf847acf3..32b44a70de 100644 --- a/kubernetes/docs/ApiextensionsV1beta1Api.md +++ b/kubernetes/docs/ApiextensionsV1beta1Api.md @@ -10,7 +10,9 @@ Method | HTTP request | Description [**get_api_resources**](ApiextensionsV1beta1Api.md#get_api_resources) | **GET** /apis/apiextensions.k8s.io/v1beta1/ | [**list_custom_resource_definition**](ApiextensionsV1beta1Api.md#list_custom_resource_definition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions | [**patch_custom_resource_definition**](ApiextensionsV1beta1Api.md#patch_custom_resource_definition) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +[**patch_custom_resource_definition_status**](ApiextensionsV1beta1Api.md#patch_custom_resource_definition_status) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | [**read_custom_resource_definition**](ApiextensionsV1beta1Api.md#read_custom_resource_definition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +[**read_custom_resource_definition_status**](ApiextensionsV1beta1Api.md#read_custom_resource_definition_status) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | [**replace_custom_resource_definition**](ApiextensionsV1beta1Api.md#replace_custom_resource_definition) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | [**replace_custom_resource_definition_status**](ApiextensionsV1beta1Api.md#replace_custom_resource_definition_status) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | @@ -377,6 +379,63 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **patch_custom_resource_definition_status** +> V1beta1CustomResourceDefinition patch_custom_resource_definition_status(name, body, pretty=pretty) + + + +partially update status of the specified CustomResourceDefinition + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.ApiextensionsV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the CustomResourceDefinition +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_custom_resource_definition_status(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling ApiextensionsV1beta1Api->patch_custom_resource_definition_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the CustomResourceDefinition | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **read_custom_resource_definition** > V1beta1CustomResourceDefinition read_custom_resource_definition(name, pretty=pretty, exact=exact, export=export) @@ -436,6 +495,61 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **read_custom_resource_definition_status** +> V1beta1CustomResourceDefinition read_custom_resource_definition_status(name, pretty=pretty) + + + +read status of the specified CustomResourceDefinition + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.ApiextensionsV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the CustomResourceDefinition +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.read_custom_resource_definition_status(name, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling ApiextensionsV1beta1Api->read_custom_resource_definition_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the CustomResourceDefinition | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **replace_custom_resource_definition** > V1beta1CustomResourceDefinition replace_custom_resource_definition(name, body, pretty=pretty) diff --git a/kubernetes/docs/ApiregistrationV1Api.md b/kubernetes/docs/ApiregistrationV1Api.md index 6121cb7ada..467b87a489 100644 --- a/kubernetes/docs/ApiregistrationV1Api.md +++ b/kubernetes/docs/ApiregistrationV1Api.md @@ -10,7 +10,9 @@ Method | HTTP request | Description [**get_api_resources**](ApiregistrationV1Api.md#get_api_resources) | **GET** /apis/apiregistration.k8s.io/v1/ | [**list_api_service**](ApiregistrationV1Api.md#list_api_service) | **GET** /apis/apiregistration.k8s.io/v1/apiservices | [**patch_api_service**](ApiregistrationV1Api.md#patch_api_service) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +[**patch_api_service_status**](ApiregistrationV1Api.md#patch_api_service_status) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | [**read_api_service**](ApiregistrationV1Api.md#read_api_service) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +[**read_api_service_status**](ApiregistrationV1Api.md#read_api_service_status) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | [**replace_api_service**](ApiregistrationV1Api.md#replace_api_service) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name} | [**replace_api_service_status**](ApiregistrationV1Api.md#replace_api_service_status) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | @@ -377,6 +379,63 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **patch_api_service_status** +> V1APIService patch_api_service_status(name, body, pretty=pretty) + + + +partially update status of the specified APIService + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.ApiregistrationV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the APIService +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_api_service_status(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling ApiregistrationV1Api->patch_api_service_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the APIService | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1APIService**](V1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **read_api_service** > V1APIService read_api_service(name, pretty=pretty, exact=exact, export=export) @@ -436,6 +495,61 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **read_api_service_status** +> V1APIService read_api_service_status(name, pretty=pretty) + + + +read status of the specified APIService + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.ApiregistrationV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the APIService +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.read_api_service_status(name, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling ApiregistrationV1Api->read_api_service_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the APIService | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1APIService**](V1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **replace_api_service** > V1APIService replace_api_service(name, body, pretty=pretty) diff --git a/kubernetes/docs/ApiregistrationV1beta1Api.md b/kubernetes/docs/ApiregistrationV1beta1Api.md index 2f9672a2cb..22571a878b 100644 --- a/kubernetes/docs/ApiregistrationV1beta1Api.md +++ b/kubernetes/docs/ApiregistrationV1beta1Api.md @@ -10,7 +10,9 @@ Method | HTTP request | Description [**get_api_resources**](ApiregistrationV1beta1Api.md#get_api_resources) | **GET** /apis/apiregistration.k8s.io/v1beta1/ | [**list_api_service**](ApiregistrationV1beta1Api.md#list_api_service) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices | [**patch_api_service**](ApiregistrationV1beta1Api.md#patch_api_service) | **PATCH** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +[**patch_api_service_status**](ApiregistrationV1beta1Api.md#patch_api_service_status) | **PATCH** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | [**read_api_service**](ApiregistrationV1beta1Api.md#read_api_service) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +[**read_api_service_status**](ApiregistrationV1beta1Api.md#read_api_service_status) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | [**replace_api_service**](ApiregistrationV1beta1Api.md#replace_api_service) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | [**replace_api_service_status**](ApiregistrationV1beta1Api.md#replace_api_service_status) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | @@ -377,6 +379,63 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **patch_api_service_status** +> V1beta1APIService patch_api_service_status(name, body, pretty=pretty) + + + +partially update status of the specified APIService + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.ApiregistrationV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the APIService +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_api_service_status(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling ApiregistrationV1beta1Api->patch_api_service_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the APIService | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1APIService**](V1beta1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **read_api_service** > V1beta1APIService read_api_service(name, pretty=pretty, exact=exact, export=export) @@ -436,6 +495,61 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **read_api_service_status** +> V1beta1APIService read_api_service_status(name, pretty=pretty) + + + +read status of the specified APIService + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.ApiregistrationV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the APIService +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.read_api_service_status(name, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling ApiregistrationV1beta1Api->read_api_service_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the APIService | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1APIService**](V1beta1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **replace_api_service** > V1beta1APIService replace_api_service(name, body, pretty=pretty) diff --git a/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md b/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md index 7ebe2fde59..90cca1a381 100644 --- a/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md +++ b/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**max_surge** | **object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] -**max_unavailable** | **object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] +**max_surge** | **object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] +**max_unavailable** | **object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/CertificatesV1beta1Api.md b/kubernetes/docs/CertificatesV1beta1Api.md index d27da972c1..6b0b019a77 100644 --- a/kubernetes/docs/CertificatesV1beta1Api.md +++ b/kubernetes/docs/CertificatesV1beta1Api.md @@ -10,7 +10,9 @@ Method | HTTP request | Description [**get_api_resources**](CertificatesV1beta1Api.md#get_api_resources) | **GET** /apis/certificates.k8s.io/v1beta1/ | [**list_certificate_signing_request**](CertificatesV1beta1Api.md#list_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests | [**patch_certificate_signing_request**](CertificatesV1beta1Api.md#patch_certificate_signing_request) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +[**patch_certificate_signing_request_status**](CertificatesV1beta1Api.md#patch_certificate_signing_request_status) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | [**read_certificate_signing_request**](CertificatesV1beta1Api.md#read_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +[**read_certificate_signing_request_status**](CertificatesV1beta1Api.md#read_certificate_signing_request_status) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | [**replace_certificate_signing_request**](CertificatesV1beta1Api.md#replace_certificate_signing_request) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | [**replace_certificate_signing_request_approval**](CertificatesV1beta1Api.md#replace_certificate_signing_request_approval) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval | [**replace_certificate_signing_request_status**](CertificatesV1beta1Api.md#replace_certificate_signing_request_status) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | @@ -378,6 +380,63 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **patch_certificate_signing_request_status** +> V1beta1CertificateSigningRequest patch_certificate_signing_request_status(name, body, pretty=pretty) + + + +partially update status of the specified CertificateSigningRequest + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.CertificatesV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the CertificateSigningRequest +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_certificate_signing_request_status(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling CertificatesV1beta1Api->patch_certificate_signing_request_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the CertificateSigningRequest | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **read_certificate_signing_request** > V1beta1CertificateSigningRequest read_certificate_signing_request(name, pretty=pretty, exact=exact, export=export) @@ -437,6 +496,61 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **read_certificate_signing_request_status** +> V1beta1CertificateSigningRequest read_certificate_signing_request_status(name, pretty=pretty) + + + +read status of the specified CertificateSigningRequest + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.CertificatesV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the CertificateSigningRequest +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.read_certificate_signing_request_status(name, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling CertificatesV1beta1Api->read_certificate_signing_request_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the CertificateSigningRequest | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **replace_certificate_signing_request** > V1beta1CertificateSigningRequest replace_certificate_signing_request(name, body, pretty=pretty) diff --git a/kubernetes/docs/ExtensionsV1beta1AllowedFlexVolume.md b/kubernetes/docs/ExtensionsV1beta1AllowedFlexVolume.md index 3f6404af0f..3a6a81d7d2 100644 --- a/kubernetes/docs/ExtensionsV1beta1AllowedFlexVolume.md +++ b/kubernetes/docs/ExtensionsV1beta1AllowedFlexVolume.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**driver** | **str** | Driver is the name of the Flexvolume driver. | +**driver** | **str** | driver is the name of the Flexvolume driver. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/ExtensionsV1beta1AllowedHostPath.md b/kubernetes/docs/ExtensionsV1beta1AllowedHostPath.md index 6559ceb3aa..30d94f1624 100644 --- a/kubernetes/docs/ExtensionsV1beta1AllowedHostPath.md +++ b/kubernetes/docs/ExtensionsV1beta1AllowedHostPath.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**path_prefix** | **str** | is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] +**path_prefix** | **str** | pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] +**read_only** | **bool** | when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/ExtensionsV1beta1FSGroupStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1FSGroupStrategyOptions.md index 45aceea86a..a4df652f93 100644 --- a/kubernetes/docs/ExtensionsV1beta1FSGroupStrategyOptions.md +++ b/kubernetes/docs/ExtensionsV1beta1FSGroupStrategyOptions.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ranges** | [**list[ExtensionsV1beta1IDRange]**](ExtensionsV1beta1IDRange.md) | Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. | [optional] -**rule** | **str** | Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional] +**ranges** | [**list[ExtensionsV1beta1IDRange]**](ExtensionsV1beta1IDRange.md) | ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **str** | rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/ExtensionsV1beta1IDRange.md b/kubernetes/docs/ExtensionsV1beta1IDRange.md index 9719e24e12..2d65079b00 100644 --- a/kubernetes/docs/ExtensionsV1beta1IDRange.md +++ b/kubernetes/docs/ExtensionsV1beta1IDRange.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**max** | **int** | Max is the end of the range, inclusive. | -**min** | **int** | Min is the start of the range, inclusive. | +**max** | **int** | max is the end of the range, inclusive. | +**min** | **int** | min is the start of the range, inclusive. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicyList.md b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicyList.md index 2ecd74b988..0dd300cebf 100644 --- a/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicyList.md +++ b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicyList.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**items** | [**list[ExtensionsV1beta1PodSecurityPolicy]**](ExtensionsV1beta1PodSecurityPolicy.md) | Items is a list of schema objects. | +**items** | [**list[ExtensionsV1beta1PodSecurityPolicy]**](ExtensionsV1beta1PodSecurityPolicy.md) | items is a list of schema objects. | **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md index 1156774a86..b5f5ef7b6f 100644 --- a/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md +++ b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md @@ -3,24 +3,26 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**allow_privilege_escalation** | **bool** | AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. | [optional] -**allowed_capabilities** | **list[str]** | AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. | [optional] -**allowed_flex_volumes** | [**list[ExtensionsV1beta1AllowedFlexVolume]**](ExtensionsV1beta1AllowedFlexVolume.md) | AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field. | [optional] -**allowed_host_paths** | [**list[ExtensionsV1beta1AllowedHostPath]**](ExtensionsV1beta1AllowedHostPath.md) | is a white list of allowed host paths. Empty indicates that all host paths may be used. | [optional] -**default_add_capabilities** | **list[str]** | DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list. | [optional] -**default_allow_privilege_escalation** | **bool** | DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. | [optional] -**fs_group** | [**ExtensionsV1beta1FSGroupStrategyOptions**](ExtensionsV1beta1FSGroupStrategyOptions.md) | FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. | +**allow_privilege_escalation** | **bool** | allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. | [optional] +**allowed_capabilities** | **list[str]** | allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. | [optional] +**allowed_flex_volumes** | [**list[ExtensionsV1beta1AllowedFlexVolume]**](ExtensionsV1beta1AllowedFlexVolume.md) | allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. | [optional] +**allowed_host_paths** | [**list[ExtensionsV1beta1AllowedHostPath]**](ExtensionsV1beta1AllowedHostPath.md) | allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. | [optional] +**allowed_unsafe_sysctls** | **list[str]** | allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. | [optional] +**default_add_capabilities** | **list[str]** | defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. | [optional] +**default_allow_privilege_escalation** | **bool** | defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. | [optional] +**forbidden_sysctls** | **list[str]** | forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. | [optional] +**fs_group** | [**ExtensionsV1beta1FSGroupStrategyOptions**](ExtensionsV1beta1FSGroupStrategyOptions.md) | fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. | **host_ipc** | **bool** | hostIPC determines if the policy allows the use of HostIPC in the pod spec. | [optional] **host_network** | **bool** | hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. | [optional] **host_pid** | **bool** | hostPID determines if the policy allows the use of HostPID in the pod spec. | [optional] **host_ports** | [**list[ExtensionsV1beta1HostPortRange]**](ExtensionsV1beta1HostPortRange.md) | hostPorts determines which host port ranges are allowed to be exposed. | [optional] **privileged** | **bool** | privileged determines if a pod can request to be run as privileged. | [optional] -**read_only_root_filesystem** | **bool** | ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] -**required_drop_capabilities** | **list[str]** | RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] +**read_only_root_filesystem** | **bool** | readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] +**required_drop_capabilities** | **list[str]** | requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] **run_as_user** | [**ExtensionsV1beta1RunAsUserStrategyOptions**](ExtensionsV1beta1RunAsUserStrategyOptions.md) | runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. | **se_linux** | [**ExtensionsV1beta1SELinuxStrategyOptions**](ExtensionsV1beta1SELinuxStrategyOptions.md) | seLinux is the strategy that will dictate the allowable labels that may be set. | -**supplemental_groups** | [**ExtensionsV1beta1SupplementalGroupsStrategyOptions**](ExtensionsV1beta1SupplementalGroupsStrategyOptions.md) | SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | -**volumes** | **list[str]** | volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. | [optional] +**supplemental_groups** | [**ExtensionsV1beta1SupplementalGroupsStrategyOptions**](ExtensionsV1beta1SupplementalGroupsStrategyOptions.md) | supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | +**volumes** | **list[str]** | volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md index 21d25b192c..6139266c69 100644 --- a/kubernetes/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md +++ b/kubernetes/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ranges** | [**list[ExtensionsV1beta1IDRange]**](ExtensionsV1beta1IDRange.md) | Ranges are the allowed ranges of uids that may be used. | [optional] -**rule** | **str** | Rule is the strategy that will dictate the allowable RunAsUser values that may be set. | +**ranges** | [**list[ExtensionsV1beta1IDRange]**](ExtensionsV1beta1IDRange.md) | ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **str** | rule is the strategy that will dictate the allowable RunAsUser values that may be set. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/ExtensionsV1beta1SELinuxStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1SELinuxStrategyOptions.md index 35f040aecb..4d519c1357 100644 --- a/kubernetes/docs/ExtensionsV1beta1SELinuxStrategyOptions.md +++ b/kubernetes/docs/ExtensionsV1beta1SELinuxStrategyOptions.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**rule** | **str** | type is the strategy that will dictate the allowable labels that may be set. | +**rule** | **str** | rule is the strategy that will dictate the allowable labels that may be set. | **se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md index 6622cef512..34158319c0 100644 --- a/kubernetes/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md +++ b/kubernetes/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ranges** | [**list[ExtensionsV1beta1IDRange]**](ExtensionsV1beta1IDRange.md) | Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. | [optional] -**rule** | **str** | Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional] +**ranges** | [**list[ExtensionsV1beta1IDRange]**](ExtensionsV1beta1IDRange.md) | ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **str** | rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/PolicyV1beta1AllowedFlexVolume.md b/kubernetes/docs/PolicyV1beta1AllowedFlexVolume.md index b6c09d2e2e..81cbcc1463 100644 --- a/kubernetes/docs/PolicyV1beta1AllowedFlexVolume.md +++ b/kubernetes/docs/PolicyV1beta1AllowedFlexVolume.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**driver** | **str** | Driver is the name of the Flexvolume driver. | +**driver** | **str** | driver is the name of the Flexvolume driver. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/PolicyV1beta1AllowedHostPath.md b/kubernetes/docs/PolicyV1beta1AllowedHostPath.md index fdddcd65e5..d40d1bb39d 100644 --- a/kubernetes/docs/PolicyV1beta1AllowedHostPath.md +++ b/kubernetes/docs/PolicyV1beta1AllowedHostPath.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**path_prefix** | **str** | is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] +**path_prefix** | **str** | pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] +**read_only** | **bool** | when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/PolicyV1beta1FSGroupStrategyOptions.md b/kubernetes/docs/PolicyV1beta1FSGroupStrategyOptions.md index 3416c958f5..edd0e581e2 100644 --- a/kubernetes/docs/PolicyV1beta1FSGroupStrategyOptions.md +++ b/kubernetes/docs/PolicyV1beta1FSGroupStrategyOptions.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ranges** | [**list[PolicyV1beta1IDRange]**](PolicyV1beta1IDRange.md) | Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. | [optional] -**rule** | **str** | Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional] +**ranges** | [**list[PolicyV1beta1IDRange]**](PolicyV1beta1IDRange.md) | ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **str** | rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/PolicyV1beta1IDRange.md b/kubernetes/docs/PolicyV1beta1IDRange.md index 50acd586ab..830e39fe39 100644 --- a/kubernetes/docs/PolicyV1beta1IDRange.md +++ b/kubernetes/docs/PolicyV1beta1IDRange.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**max** | **int** | Max is the end of the range, inclusive. | -**min** | **int** | Min is the start of the range, inclusive. | +**max** | **int** | max is the end of the range, inclusive. | +**min** | **int** | min is the start of the range, inclusive. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/PolicyV1beta1PodSecurityPolicyList.md b/kubernetes/docs/PolicyV1beta1PodSecurityPolicyList.md index 0fda637b3a..437cbaa6fc 100644 --- a/kubernetes/docs/PolicyV1beta1PodSecurityPolicyList.md +++ b/kubernetes/docs/PolicyV1beta1PodSecurityPolicyList.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**items** | [**list[PolicyV1beta1PodSecurityPolicy]**](PolicyV1beta1PodSecurityPolicy.md) | Items is a list of schema objects. | +**items** | [**list[PolicyV1beta1PodSecurityPolicy]**](PolicyV1beta1PodSecurityPolicy.md) | items is a list of schema objects. | **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md b/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md index da1516cca9..5278e20fce 100644 --- a/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md +++ b/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md @@ -3,24 +3,26 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**allow_privilege_escalation** | **bool** | AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. | [optional] -**allowed_capabilities** | **list[str]** | AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. | [optional] -**allowed_flex_volumes** | [**list[PolicyV1beta1AllowedFlexVolume]**](PolicyV1beta1AllowedFlexVolume.md) | AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field. | [optional] -**allowed_host_paths** | [**list[PolicyV1beta1AllowedHostPath]**](PolicyV1beta1AllowedHostPath.md) | is a white list of allowed host paths. Empty indicates that all host paths may be used. | [optional] -**default_add_capabilities** | **list[str]** | DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list. | [optional] -**default_allow_privilege_escalation** | **bool** | DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. | [optional] -**fs_group** | [**PolicyV1beta1FSGroupStrategyOptions**](PolicyV1beta1FSGroupStrategyOptions.md) | FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. | +**allow_privilege_escalation** | **bool** | allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. | [optional] +**allowed_capabilities** | **list[str]** | allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. | [optional] +**allowed_flex_volumes** | [**list[PolicyV1beta1AllowedFlexVolume]**](PolicyV1beta1AllowedFlexVolume.md) | allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. | [optional] +**allowed_host_paths** | [**list[PolicyV1beta1AllowedHostPath]**](PolicyV1beta1AllowedHostPath.md) | allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. | [optional] +**allowed_unsafe_sysctls** | **list[str]** | allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. | [optional] +**default_add_capabilities** | **list[str]** | defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. | [optional] +**default_allow_privilege_escalation** | **bool** | defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. | [optional] +**forbidden_sysctls** | **list[str]** | forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. | [optional] +**fs_group** | [**PolicyV1beta1FSGroupStrategyOptions**](PolicyV1beta1FSGroupStrategyOptions.md) | fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. | **host_ipc** | **bool** | hostIPC determines if the policy allows the use of HostIPC in the pod spec. | [optional] **host_network** | **bool** | hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. | [optional] **host_pid** | **bool** | hostPID determines if the policy allows the use of HostPID in the pod spec. | [optional] **host_ports** | [**list[PolicyV1beta1HostPortRange]**](PolicyV1beta1HostPortRange.md) | hostPorts determines which host port ranges are allowed to be exposed. | [optional] **privileged** | **bool** | privileged determines if a pod can request to be run as privileged. | [optional] -**read_only_root_filesystem** | **bool** | ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] -**required_drop_capabilities** | **list[str]** | RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] +**read_only_root_filesystem** | **bool** | readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] +**required_drop_capabilities** | **list[str]** | requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] **run_as_user** | [**PolicyV1beta1RunAsUserStrategyOptions**](PolicyV1beta1RunAsUserStrategyOptions.md) | runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. | **se_linux** | [**PolicyV1beta1SELinuxStrategyOptions**](PolicyV1beta1SELinuxStrategyOptions.md) | seLinux is the strategy that will dictate the allowable labels that may be set. | -**supplemental_groups** | [**PolicyV1beta1SupplementalGroupsStrategyOptions**](PolicyV1beta1SupplementalGroupsStrategyOptions.md) | SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | -**volumes** | **list[str]** | volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. | [optional] +**supplemental_groups** | [**PolicyV1beta1SupplementalGroupsStrategyOptions**](PolicyV1beta1SupplementalGroupsStrategyOptions.md) | supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | +**volumes** | **list[str]** | volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/PolicyV1beta1RunAsUserStrategyOptions.md b/kubernetes/docs/PolicyV1beta1RunAsUserStrategyOptions.md index 98221b4145..47dc273155 100644 --- a/kubernetes/docs/PolicyV1beta1RunAsUserStrategyOptions.md +++ b/kubernetes/docs/PolicyV1beta1RunAsUserStrategyOptions.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ranges** | [**list[PolicyV1beta1IDRange]**](PolicyV1beta1IDRange.md) | Ranges are the allowed ranges of uids that may be used. | [optional] -**rule** | **str** | Rule is the strategy that will dictate the allowable RunAsUser values that may be set. | +**ranges** | [**list[PolicyV1beta1IDRange]**](PolicyV1beta1IDRange.md) | ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **str** | rule is the strategy that will dictate the allowable RunAsUser values that may be set. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/PolicyV1beta1SELinuxStrategyOptions.md b/kubernetes/docs/PolicyV1beta1SELinuxStrategyOptions.md index 13c55bc67a..881500d343 100644 --- a/kubernetes/docs/PolicyV1beta1SELinuxStrategyOptions.md +++ b/kubernetes/docs/PolicyV1beta1SELinuxStrategyOptions.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**rule** | **str** | type is the strategy that will dictate the allowable labels that may be set. | +**rule** | **str** | rule is the strategy that will dictate the allowable labels that may be set. | **se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md b/kubernetes/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md index c3e57e6644..967fd774a3 100644 --- a/kubernetes/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md +++ b/kubernetes/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ranges** | [**list[PolicyV1beta1IDRange]**](PolicyV1beta1IDRange.md) | Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. | [optional] -**rule** | **str** | Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional] +**ranges** | [**list[PolicyV1beta1IDRange]**](PolicyV1beta1IDRange.md) | ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **str** | rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/SchedulingV1beta1Api.md b/kubernetes/docs/SchedulingV1beta1Api.md new file mode 100644 index 0000000000..ffefa72971 --- /dev/null +++ b/kubernetes/docs/SchedulingV1beta1Api.md @@ -0,0 +1,494 @@ +# kubernetes.client.SchedulingV1beta1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_priority_class**](SchedulingV1beta1Api.md#create_priority_class) | **POST** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +[**delete_collection_priority_class**](SchedulingV1beta1Api.md#delete_collection_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +[**delete_priority_class**](SchedulingV1beta1Api.md#delete_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +[**get_api_resources**](SchedulingV1beta1Api.md#get_api_resources) | **GET** /apis/scheduling.k8s.io/v1beta1/ | +[**list_priority_class**](SchedulingV1beta1Api.md#list_priority_class) | **GET** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +[**patch_priority_class**](SchedulingV1beta1Api.md#patch_priority_class) | **PATCH** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +[**read_priority_class**](SchedulingV1beta1Api.md#read_priority_class) | **GET** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +[**replace_priority_class**](SchedulingV1beta1Api.md#replace_priority_class) | **PUT** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | + + +# **create_priority_class** +> V1beta1PriorityClass create_priority_class(body, pretty=pretty) + + + +create a PriorityClass + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.SchedulingV1beta1Api(kubernetes.client.ApiClient(configuration)) +body = kubernetes.client.V1beta1PriorityClass() # V1beta1PriorityClass | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.create_priority_class(body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling SchedulingV1beta1Api->create_priority_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1beta1PriorityClass**](V1beta1PriorityClass.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1PriorityClass**](V1beta1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_collection_priority_class** +> V1Status delete_collection_priority_class(pretty=pretty, _continue=_continue, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +delete collection of PriorityClass + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.SchedulingV1beta1Api(kubernetes.client.ApiClient(configuration)) +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the kubernetes.client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.delete_collection_priority_class(pretty=pretty, _continue=_continue, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling SchedulingV1beta1Api->delete_collection_priority_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the kubernetes.client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_priority_class** +> V1Status delete_priority_class(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + + + +delete a PriorityClass + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.SchedulingV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the PriorityClass +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + +try: + api_response = api_instance.delete_priority_class(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + pprint(api_response) +except ApiException as e: + print("Exception when calling SchedulingV1beta1Api->delete_priority_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityClass | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_api_resources** +> V1APIResourceList get_api_resources() + + + +get available resources + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.SchedulingV1beta1Api(kubernetes.client.ApiClient(configuration)) + +try: + api_response = api_instance.get_api_resources() + pprint(api_response) +except ApiException as e: + print("Exception when calling SchedulingV1beta1Api->get_api_resources: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_priority_class** +> V1beta1PriorityClassList list_priority_class(pretty=pretty, _continue=_continue, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind PriorityClass + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.SchedulingV1beta1Api(kubernetes.client.ApiClient(configuration)) +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the kubernetes.client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.list_priority_class(pretty=pretty, _continue=_continue, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling SchedulingV1beta1Api->list_priority_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the kubernetes.client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1PriorityClassList**](V1beta1PriorityClassList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_priority_class** +> V1beta1PriorityClass patch_priority_class(name, body, pretty=pretty) + + + +partially update the specified PriorityClass + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.SchedulingV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the PriorityClass +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_priority_class(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling SchedulingV1beta1Api->patch_priority_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityClass | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1PriorityClass**](V1beta1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_priority_class** +> V1beta1PriorityClass read_priority_class(name, pretty=pretty, exact=exact, export=export) + + + +read the specified PriorityClass + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.SchedulingV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the PriorityClass +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) +export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) + +try: + api_response = api_instance.read_priority_class(name, pretty=pretty, exact=exact, export=export) + pprint(api_response) +except ApiException as e: + print("Exception when calling SchedulingV1beta1Api->read_priority_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityClass | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1PriorityClass**](V1beta1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_priority_class** +> V1beta1PriorityClass replace_priority_class(name, body, pretty=pretty) + + + +replace the specified PriorityClass + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.SchedulingV1beta1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the PriorityClass +body = kubernetes.client.V1beta1PriorityClass() # V1beta1PriorityClass | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.replace_priority_class(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling SchedulingV1beta1Api->replace_priority_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityClass | + **body** | [**V1beta1PriorityClass**](V1beta1PriorityClass.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1PriorityClass**](V1beta1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/kubernetes/docs/V1APIGroup.md b/kubernetes/docs/V1APIGroup.md index b50cc00e23..77c67b2e11 100644 --- a/kubernetes/docs/V1APIGroup.md +++ b/kubernetes/docs/V1APIGroup.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **name** | **str** | name is the name of the group. | **preferred_version** | [**V1GroupVersionForDiscovery**](V1GroupVersionForDiscovery.md) | preferredVersion is the version preferred by the API server, which probably is the storage version. | [optional] -**server_address_by_client_cid_rs** | [**list[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of kubernetes.client CIDR to server address that is serving this group. This is to help kubernetes.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes.client IP. | +**server_address_by_client_cid_rs** | [**list[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of kubernetes.client CIDR to server address that is serving this group. This is to help kubernetes.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes.client IP. | [optional] **versions** | [**list[V1GroupVersionForDiscovery]**](V1GroupVersionForDiscovery.md) | versions are the versions supported in this group. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1APIServiceSpec.md b/kubernetes/docs/V1APIServiceSpec.md index 2ddb468f3a..c9e9ced21e 100644 --- a/kubernetes/docs/V1APIServiceSpec.md +++ b/kubernetes/docs/V1APIServiceSpec.md @@ -3,13 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ca_bundle** | **str** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. | +**ca_bundle** | **str** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. | [optional] **group** | **str** | Group is the API group name this server hosts | [optional] **group_priority_minimum** | **int** | GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by kubernetes.clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | **insecure_skip_tls_verify** | **bool** | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. | [optional] **service** | [**V1ServiceReference**](V1ServiceReference.md) | Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. | **version** | **str** | Version is the API version this server hosts. For example, \"v1\" | [optional] -**version_priority** | **int** | VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. | +**version_priority** | **int** | VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1CinderPersistentVolumeSource.md b/kubernetes/docs/V1CinderPersistentVolumeSource.md new file mode 100644 index 0000000000..967e4fa08b --- /dev/null +++ b/kubernetes/docs/V1CinderPersistentVolumeSource.md @@ -0,0 +1,13 @@ +# V1CinderPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **str** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**read_only** | **bool** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**secret_ref** | [**V1SecretReference**](V1SecretReference.md) | Optional: points to a secret object containing parameters used to connect to OpenStack. | [optional] +**volume_id** | **str** | volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1CinderVolumeSource.md b/kubernetes/docs/V1CinderVolumeSource.md index ad5ca04739..58f1938e6a 100644 --- a/kubernetes/docs/V1CinderVolumeSource.md +++ b/kubernetes/docs/V1CinderVolumeSource.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **fs_type** | **str** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] **read_only** | **bool** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | Optional: points to a secret object containing parameters used to connect to OpenStack. | [optional] **volume_id** | **str** | volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1ClusterRoleBinding.md b/kubernetes/docs/V1ClusterRoleBinding.md index be8c7fc165..0f14176b14 100644 --- a/kubernetes/docs/V1ClusterRoleBinding.md +++ b/kubernetes/docs/V1ClusterRoleBinding.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1RoleRef**](V1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**list[V1Subject]**](V1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**list[V1Subject]**](V1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1ConfigMapNodeConfigSource.md b/kubernetes/docs/V1ConfigMapNodeConfigSource.md new file mode 100644 index 0000000000..1cb4e91438 --- /dev/null +++ b/kubernetes/docs/V1ConfigMapNodeConfigSource.md @@ -0,0 +1,14 @@ +# V1ConfigMapNodeConfigSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kubelet_config_key** | **str** | KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. | +**name** | **str** | Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. | +**namespace** | **str** | Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. | +**resource_version** | **str** | ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. | [optional] +**uid** | **str** | UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1LocalVolumeSource.md b/kubernetes/docs/V1LocalVolumeSource.md index 6fec27038d..98baeca6a1 100644 --- a/kubernetes/docs/V1LocalVolumeSource.md +++ b/kubernetes/docs/V1LocalVolumeSource.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**path** | **str** | The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device | +**path** | **str** | The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1NetworkPolicyPeer.md b/kubernetes/docs/V1NetworkPolicyPeer.md index 8721b7daa7..4aa2cb6c9e 100644 --- a/kubernetes/docs/V1NetworkPolicyPeer.md +++ b/kubernetes/docs/V1NetworkPolicyPeer.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ip_block** | [**V1IPBlock**](V1IPBlock.md) | IPBlock defines policy on a particular IPBlock | [optional] -**namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. | [optional] -**pod_selector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. | [optional] +**ip_block** | [**V1IPBlock**](V1IPBlock.md) | IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. | [optional] +**namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. | [optional] +**pod_selector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1NodeConfigSource.md b/kubernetes/docs/V1NodeConfigSource.md index e374a1dee9..967d90840b 100644 --- a/kubernetes/docs/V1NodeConfigSource.md +++ b/kubernetes/docs/V1NodeConfigSource.md @@ -3,9 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**config_map_ref** | [**V1ObjectReference**](V1ObjectReference.md) | | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**config_map** | [**V1ConfigMapNodeConfigSource**](V1ConfigMapNodeConfigSource.md) | ConfigMap is a reference to a Node's ConfigMap | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1NodeConfigStatus.md b/kubernetes/docs/V1NodeConfigStatus.md new file mode 100644 index 0000000000..bb37c87c21 --- /dev/null +++ b/kubernetes/docs/V1NodeConfigStatus.md @@ -0,0 +1,13 @@ +# V1NodeConfigStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**active** | [**V1NodeConfigSource**](V1NodeConfigSource.md) | Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. | [optional] +**assigned** | [**V1NodeConfigSource**](V1NodeConfigSource.md) | Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. | [optional] +**error** | **str** | Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. | [optional] +**last_known_good** | [**V1NodeConfigSource**](V1NodeConfigSource.md) | LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1NodeSelectorTerm.md b/kubernetes/docs/V1NodeSelectorTerm.md index e030c3ac15..894ff299d3 100644 --- a/kubernetes/docs/V1NodeSelectorTerm.md +++ b/kubernetes/docs/V1NodeSelectorTerm.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**match_expressions** | [**list[V1NodeSelectorRequirement]**](V1NodeSelectorRequirement.md) | Required. A list of node selector requirements. The requirements are ANDed. | +**match_expressions** | [**list[V1NodeSelectorRequirement]**](V1NodeSelectorRequirement.md) | A list of node selector requirements by node's labels. | [optional] +**match_fields** | [**list[V1NodeSelectorRequirement]**](V1NodeSelectorRequirement.md) | A list of node selector requirements by node's fields. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1NodeSpec.md b/kubernetes/docs/V1NodeSpec.md index f9ec7f8e0e..d11cf66f08 100644 --- a/kubernetes/docs/V1NodeSpec.md +++ b/kubernetes/docs/V1NodeSpec.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **config_source** | [**V1NodeConfigSource**](V1NodeConfigSource.md) | If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field | [optional] -**external_id** | **str** | External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. | [optional] +**external_id** | **str** | Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 | [optional] **pod_cidr** | **str** | PodCIDR represents the pod IP range assigned to the node. | [optional] **provider_id** | **str** | ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> | [optional] **taints** | [**list[V1Taint]**](V1Taint.md) | If specified, the node's taints. | [optional] diff --git a/kubernetes/docs/V1NodeStatus.md b/kubernetes/docs/V1NodeStatus.md index dca3d92e39..7f9c6a41d7 100644 --- a/kubernetes/docs/V1NodeStatus.md +++ b/kubernetes/docs/V1NodeStatus.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **allocatable** | **dict(str, str)** | Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. | [optional] **capacity** | **dict(str, str)** | Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity | [optional] **conditions** | [**list[V1NodeCondition]**](V1NodeCondition.md) | Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition | [optional] +**config** | [**V1NodeConfigStatus**](V1NodeConfigStatus.md) | Status of the config assigned to the node via the dynamic Kubelet config feature. | [optional] **daemon_endpoints** | [**V1NodeDaemonEndpoints**](V1NodeDaemonEndpoints.md) | Endpoints of daemons running on the Node. | [optional] **images** | [**list[V1ContainerImage]**](V1ContainerImage.md) | List of container images on this node | [optional] **node_info** | [**V1NodeSystemInfo**](V1NodeSystemInfo.md) | Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeSpec.md b/kubernetes/docs/V1PersistentVolumeSpec.md index 3c5a12ffaa..f778e796eb 100644 --- a/kubernetes/docs/V1PersistentVolumeSpec.md +++ b/kubernetes/docs/V1PersistentVolumeSpec.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **azure_file** | [**V1AzureFilePersistentVolumeSource**](V1AzureFilePersistentVolumeSource.md) | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | [optional] **capacity** | **dict(str, str)** | A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity | [optional] **cephfs** | [**V1CephFSPersistentVolumeSource**](V1CephFSPersistentVolumeSource.md) | CephFS represents a Ceph FS mount on the host that shares a pod's lifetime | [optional] -**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**cinder** | [**V1CinderPersistentVolumeSource**](V1CinderPersistentVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] **claim_ref** | [**V1ObjectReference**](V1ObjectReference.md) | ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding | [optional] **csi** | [**V1CSIPersistentVolumeSource**](V1CSIPersistentVolumeSource.md) | CSI represents storage that handled by an external CSI driver (Beta feature). | [optional] **fc** | [**V1FCVolumeSource**](V1FCVolumeSource.md) | FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. | [optional] diff --git a/kubernetes/docs/V1PodCondition.md b/kubernetes/docs/V1PodCondition.md index 0ba3dbce68..3232acd454 100644 --- a/kubernetes/docs/V1PodCondition.md +++ b/kubernetes/docs/V1PodCondition.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **message** | **str** | Human-readable message indicating details about last transition. | [optional] **reason** | **str** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] **status** | **str** | Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | -**type** | **str** | Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | +**type** | **str** | Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md b/kubernetes/docs/V1PodReadinessGate.md similarity index 65% rename from kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md rename to kubernetes/docs/V1PodReadinessGate.md index 66ab9380c6..bb9371a441 100644 --- a/kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md +++ b/kubernetes/docs/V1PodReadinessGate.md @@ -1,10 +1,9 @@ -# V1beta1JSONSchemaPropsOrBool +# V1PodReadinessGate ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**allows** | **bool** | | -**schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | +**condition_type** | **str** | ConditionType refers to a condition in the pod's condition list with matching type. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1PodSecurityContext.md b/kubernetes/docs/V1PodSecurityContext.md index 94557873b0..5d51dc4646 100644 --- a/kubernetes/docs/V1PodSecurityContext.md +++ b/kubernetes/docs/V1PodSecurityContext.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **run_as_user** | **int** | The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. | [optional] **se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. | [optional] **supplemental_groups** | **list[int]** | A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. | [optional] +**sysctls** | [**list[V1Sysctl]**](V1Sysctl.md) | Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1PodSpec.md b/kubernetes/docs/V1PodSpec.md index 3f5ace1597..895f943b86 100644 --- a/kubernetes/docs/V1PodSpec.md +++ b/kubernetes/docs/V1PodSpec.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **node_selector** | **dict(str, str)** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | [optional] **priority** | **int** | The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. | [optional] **priority_class_name** | **str** | If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. | [optional] +**readiness_gates** | [**list[V1PodReadinessGate]**](V1PodReadinessGate.md) | If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md | [optional] **restart_policy** | **str** | Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy | [optional] **scheduler_name** | **str** | If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. | [optional] **security_context** | [**V1PodSecurityContext**](V1PodSecurityContext.md) | SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. | [optional] diff --git a/kubernetes/docs/V1PodStatus.md b/kubernetes/docs/V1PodStatus.md index 8b446c993a..5234233885 100644 --- a/kubernetes/docs/V1PodStatus.md +++ b/kubernetes/docs/V1PodStatus.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **init_container_statuses** | [**list[V1ContainerStatus]**](V1ContainerStatus.md) | The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status | [optional] **message** | **str** | A human readable message indicating details about why the pod is in this condition. | [optional] **nominated_node_name** | **str** | nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled. | [optional] -**phase** | **str** | Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase | [optional] +**phase** | **str** | The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase | [optional] **pod_ip** | **str** | IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. | [optional] **qos_class** | **str** | The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md | [optional] **reason** | **str** | A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted' | [optional] diff --git a/kubernetes/docs/V1ResourceQuotaSpec.md b/kubernetes/docs/V1ResourceQuotaSpec.md index f95df6db19..41c0fb8b21 100644 --- a/kubernetes/docs/V1ResourceQuotaSpec.md +++ b/kubernetes/docs/V1ResourceQuotaSpec.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**hard** | **dict(str, str)** | Hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | [optional] +**hard** | **dict(str, str)** | hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | [optional] +**scope_selector** | [**V1ScopeSelector**](V1ScopeSelector.md) | scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. | [optional] **scopes** | **list[str]** | A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1RoleBinding.md b/kubernetes/docs/V1RoleBinding.md index 208b41323a..1d361d8840 100644 --- a/kubernetes/docs/V1RoleBinding.md +++ b/kubernetes/docs/V1RoleBinding.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1RoleRef**](V1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**list[V1Subject]**](V1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**list[V1Subject]**](V1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1RollingUpdateDeployment.md b/kubernetes/docs/V1RollingUpdateDeployment.md index 6a3cde5d55..3ae18e0b5b 100644 --- a/kubernetes/docs/V1RollingUpdateDeployment.md +++ b/kubernetes/docs/V1RollingUpdateDeployment.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**max_surge** | **object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. | [optional] -**max_unavailable** | **object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] +**max_surge** | **object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. | [optional] +**max_unavailable** | **object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md b/kubernetes/docs/V1ScopeSelector.md similarity index 56% rename from kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md rename to kubernetes/docs/V1ScopeSelector.md index d22ae2d0dc..1dfe778493 100644 --- a/kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md +++ b/kubernetes/docs/V1ScopeSelector.md @@ -1,10 +1,9 @@ -# V1beta1JSONSchemaPropsOrStringArray +# V1ScopeSelector ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**_property** | **list[str]** | | -**schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | +**match_expressions** | [**list[V1ScopedResourceSelectorRequirement]**](V1ScopedResourceSelectorRequirement.md) | A list of scope selector requirements by scope of the resources. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1ScopedResourceSelectorRequirement.md b/kubernetes/docs/V1ScopedResourceSelectorRequirement.md new file mode 100644 index 0000000000..780b06d343 --- /dev/null +++ b/kubernetes/docs/V1ScopedResourceSelectorRequirement.md @@ -0,0 +1,12 @@ +# V1ScopedResourceSelectorRequirement + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**operator** | **str** | Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. | +**scope_name** | **str** | The name of the scope that the selector applies to. | +**values** | **list[str]** | An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1ServiceAccountTokenProjection.md b/kubernetes/docs/V1ServiceAccountTokenProjection.md new file mode 100644 index 0000000000..ce9b22fbf6 --- /dev/null +++ b/kubernetes/docs/V1ServiceAccountTokenProjection.md @@ -0,0 +1,12 @@ +# V1ServiceAccountTokenProjection + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**audience** | **str** | Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. | [optional] +**expiration_seconds** | **int** | ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. | [optional] +**path** | **str** | Path is the path relative to the mount point of the file to project the token into. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1ServiceSpec.md b/kubernetes/docs/V1ServiceSpec.md index db12b4d2df..9c6efe794e 100644 --- a/kubernetes/docs/V1ServiceSpec.md +++ b/kubernetes/docs/V1ServiceSpec.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **load_balancer_ip** | **str** | Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. | [optional] **load_balancer_source_ranges** | **list[str]** | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified kubernetes.client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ | [optional] **ports** | [**list[V1ServicePort]**](V1ServicePort.md) | The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] -**publish_not_ready_addresses** | **bool** | publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all kubernetes.clients have been converted to use this field. | [optional] +**publish_not_ready_addresses** | **bool** | publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. | [optional] **selector** | **dict(str, str)** | Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ | [optional] **session_affinity** | **str** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable kubernetes.client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] **session_affinity_config** | [**V1SessionAffinityConfig**](V1SessionAffinityConfig.md) | sessionAffinityConfig contains the configurations of session affinity. | [optional] diff --git a/kubernetes/docs/V1StorageClass.md b/kubernetes/docs/V1StorageClass.md index 3d16c8e7a3..de316f5779 100644 --- a/kubernetes/docs/V1StorageClass.md +++ b/kubernetes/docs/V1StorageClass.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **allow_volume_expansion** | **bool** | AllowVolumeExpansion shows whether the storage class allow volume expand | [optional] +**allowed_topologies** | [**list[V1TopologySelectorTerm]**](V1TopologySelectorTerm.md) | Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature. | [optional] **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1beta1JSON.md b/kubernetes/docs/V1Sysctl.md similarity index 70% rename from kubernetes/docs/V1beta1JSON.md rename to kubernetes/docs/V1Sysctl.md index c7ca93a11d..44a3fcc307 100644 --- a/kubernetes/docs/V1beta1JSON.md +++ b/kubernetes/docs/V1Sysctl.md @@ -1,9 +1,10 @@ -# V1beta1JSON +# V1Sysctl ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**raw** | **str** | | +**name** | **str** | Name of a property to set | +**value** | **str** | Value of a property to set | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1TopologySelectorLabelRequirement.md b/kubernetes/docs/V1TopologySelectorLabelRequirement.md new file mode 100644 index 0000000000..2129d032de --- /dev/null +++ b/kubernetes/docs/V1TopologySelectorLabelRequirement.md @@ -0,0 +1,11 @@ +# V1TopologySelectorLabelRequirement + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**key** | **str** | The label key that the selector applies to. | +**values** | **list[str]** | An array of string values. One value must match the label to be selected. Each entry in Values is ORed. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md b/kubernetes/docs/V1TopologySelectorTerm.md similarity index 56% rename from kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md rename to kubernetes/docs/V1TopologySelectorTerm.md index 94f5bdf06a..7705d064a7 100644 --- a/kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md +++ b/kubernetes/docs/V1TopologySelectorTerm.md @@ -1,10 +1,9 @@ -# V1beta1JSONSchemaPropsOrArray +# V1TopologySelectorTerm ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**json_schemas** | [**list[V1beta1JSONSchemaProps]**](V1beta1JSONSchemaProps.md) | | -**schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | +**match_label_expressions** | [**list[V1TopologySelectorLabelRequirement]**](V1TopologySelectorLabelRequirement.md) | A list of topology selector requirements by labels. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1Volume.md b/kubernetes/docs/V1Volume.md index 7061426a22..62762b2d72 100644 --- a/kubernetes/docs/V1Volume.md +++ b/kubernetes/docs/V1Volume.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **flex_volume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. | [optional] **flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running | [optional] **gce_persistent_disk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] -**git_repo** | [**V1GitRepoVolumeSource**](V1GitRepoVolumeSource.md) | GitRepo represents a git repository at a particular revision. | [optional] +**git_repo** | [**V1GitRepoVolumeSource**](V1GitRepoVolumeSource.md) | GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. | [optional] **glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] **host_path** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | [optional] **iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md | [optional] diff --git a/kubernetes/docs/V1VolumeMount.md b/kubernetes/docs/V1VolumeMount.md index 361f45d98e..b1012d8641 100644 --- a/kubernetes/docs/V1VolumeMount.md +++ b/kubernetes/docs/V1VolumeMount.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **mount_path** | **str** | Path within the container at which the volume should be mounted. Must not contain ':'. | -**mount_propagation** | **str** | mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is beta in 1.10. | [optional] +**mount_propagation** | **str** | mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. | [optional] **name** | **str** | This must match the Name of a Volume. | **read_only** | **bool** | Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. | [optional] **sub_path** | **str** | Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root). | [optional] diff --git a/kubernetes/docs/V1VolumeProjection.md b/kubernetes/docs/V1VolumeProjection.md index 10f724c53b..def8aaea95 100644 --- a/kubernetes/docs/V1VolumeProjection.md +++ b/kubernetes/docs/V1VolumeProjection.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **config_map** | [**V1ConfigMapProjection**](V1ConfigMapProjection.md) | information about the configMap data to project | [optional] **downward_api** | [**V1DownwardAPIProjection**](V1DownwardAPIProjection.md) | information about the downwardAPI data to project | [optional] **secret** | [**V1SecretProjection**](V1SecretProjection.md) | information about the secret data to project | [optional] +**service_account_token** | [**V1ServiceAccountTokenProjection**](V1ServiceAccountTokenProjection.md) | information about the serviceAccountToken data to project | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1alpha1ClusterRoleBinding.md b/kubernetes/docs/V1alpha1ClusterRoleBinding.md index e5bfb10c16..62ee8a942e 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleBinding.md +++ b/kubernetes/docs/V1alpha1ClusterRoleBinding.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**list[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**list[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1alpha1RoleBinding.md b/kubernetes/docs/V1alpha1RoleBinding.md index 88820a1a20..9757c6a905 100644 --- a/kubernetes/docs/V1alpha1RoleBinding.md +++ b/kubernetes/docs/V1alpha1RoleBinding.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**list[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**list[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1APIServiceSpec.md b/kubernetes/docs/V1beta1APIServiceSpec.md index 5dd67cac97..0b85aeddd8 100644 --- a/kubernetes/docs/V1beta1APIServiceSpec.md +++ b/kubernetes/docs/V1beta1APIServiceSpec.md @@ -3,13 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ca_bundle** | **str** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. | +**ca_bundle** | **str** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. | [optional] **group** | **str** | Group is the API group name this server hosts | [optional] **group_priority_minimum** | **int** | GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by kubernetes.clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | **insecure_skip_tls_verify** | **bool** | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. | [optional] **service** | [**ApiregistrationV1beta1ServiceReference**](ApiregistrationV1beta1ServiceReference.md) | Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. | **version** | **str** | Version is the API version this server hosts. For example, \"v1\" | [optional] -**version_priority** | **int** | VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. | +**version_priority** | **int** | VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1ClusterRoleBinding.md b/kubernetes/docs/V1beta1ClusterRoleBinding.md index 418e3e2a86..30fdea8dcc 100644 --- a/kubernetes/docs/V1beta1ClusterRoleBinding.md +++ b/kubernetes/docs/V1beta1ClusterRoleBinding.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1beta1RoleRef**](V1beta1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**list[V1beta1Subject]**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**list[V1beta1Subject]**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1CustomResourceColumnDefinition.md b/kubernetes/docs/V1beta1CustomResourceColumnDefinition.md new file mode 100644 index 0000000000..1b5383ab60 --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceColumnDefinition.md @@ -0,0 +1,15 @@ +# V1beta1CustomResourceColumnDefinition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**json_path** | **str** | JSONPath is a simple JSON path, i.e. with array notation. | +**description** | **str** | description is a human readable description of this column. | [optional] +**format** | **str** | format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in kubernetes.clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. | [optional] +**name** | **str** | name is a human readable name for the column. | +**priority** | **int** | priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority. | [optional] +**type** | **str** | type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md b/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md index bc79ace491..90e9da7da7 100644 --- a/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md @@ -3,12 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**additional_printer_columns** | [**list[V1beta1CustomResourceColumnDefinition]**](V1beta1CustomResourceColumnDefinition.md) | AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. | [optional] **group** | **str** | Group is the group this resource belongs in | **names** | [**V1beta1CustomResourceDefinitionNames**](V1beta1CustomResourceDefinitionNames.md) | Names are the names used to describe this custom resource | **scope** | **str** | Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced | -**subresources** | [**V1beta1CustomResourceSubresources**](V1beta1CustomResourceSubresources.md) | Subresources describes the subresources for CustomResources This field is alpha-level and should only be sent to servers that enable subresources via the CustomResourceSubresources feature gate. | [optional] +**subresources** | [**V1beta1CustomResourceSubresources**](V1beta1CustomResourceSubresources.md) | Subresources describes the subresources for CustomResources | [optional] **validation** | [**V1beta1CustomResourceValidation**](V1beta1CustomResourceValidation.md) | Validation describes the validation methods for CustomResources | [optional] -**version** | **str** | Version is the version this resource belongs in | +**version** | **str** | Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`. | [optional] +**versions** | [**list[V1beta1CustomResourceDefinitionVersion]**](V1beta1CustomResourceDefinitionVersion.md) | Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md b/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md index 83d03fcf0e..f6b242c89e 100644 --- a/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accepted_names** | [**V1beta1CustomResourceDefinitionNames**](V1beta1CustomResourceDefinitionNames.md) | AcceptedNames are the names that are actually being used to serve discovery They may be different than the names in spec. | **conditions** | [**list[V1beta1CustomResourceDefinitionCondition]**](V1beta1CustomResourceDefinitionCondition.md) | Conditions indicate state for particular aspects of a CustomResourceDefinition | +**stored_versions** | **list[str]** | StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md b/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md new file mode 100644 index 0000000000..2a02b490a1 --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md @@ -0,0 +1,12 @@ +# V1beta1CustomResourceDefinitionVersion + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name is the version name, e.g. “v1”, “v2beta1”, etc. | +**served** | **bool** | Served is a flag enabling/disabling this version from being served via REST APIs | +**storage** | **bool** | Storage flags the version as storage version. There must be exactly one flagged as storage version. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1beta1JSONSchemaProps.md b/kubernetes/docs/V1beta1JSONSchemaProps.md index 4c5fa149dc..ef7a364d9f 100644 --- a/kubernetes/docs/V1beta1JSONSchemaProps.md +++ b/kubernetes/docs/V1beta1JSONSchemaProps.md @@ -5,22 +5,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ref** | **str** | | [optional] **schema** | **str** | | [optional] -**additional_items** | [**V1beta1JSONSchemaPropsOrBool**](V1beta1JSONSchemaPropsOrBool.md) | | [optional] -**additional_properties** | [**V1beta1JSONSchemaPropsOrBool**](V1beta1JSONSchemaPropsOrBool.md) | | [optional] +**additional_items** | **object** | JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. | [optional] +**additional_properties** | **object** | JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. | [optional] **all_of** | [**list[V1beta1JSONSchemaProps]**](V1beta1JSONSchemaProps.md) | | [optional] **any_of** | [**list[V1beta1JSONSchemaProps]**](V1beta1JSONSchemaProps.md) | | [optional] -**default** | [**V1beta1JSON**](V1beta1JSON.md) | | [optional] +**default** | **object** | JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. | [optional] **definitions** | [**dict(str, V1beta1JSONSchemaProps)**](V1beta1JSONSchemaProps.md) | | [optional] -**dependencies** | [**dict(str, V1beta1JSONSchemaPropsOrStringArray)**](V1beta1JSONSchemaPropsOrStringArray.md) | | [optional] +**dependencies** | **dict(str, object)** | | [optional] **description** | **str** | | [optional] -**enum** | [**list[V1beta1JSON]**](V1beta1JSON.md) | | [optional] -**example** | [**V1beta1JSON**](V1beta1JSON.md) | | [optional] +**enum** | **list[object]** | | [optional] +**example** | **object** | JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. | [optional] **exclusive_maximum** | **bool** | | [optional] **exclusive_minimum** | **bool** | | [optional] **external_docs** | [**V1beta1ExternalDocumentation**](V1beta1ExternalDocumentation.md) | | [optional] **format** | **str** | | [optional] **id** | **str** | | [optional] -**items** | [**V1beta1JSONSchemaPropsOrArray**](V1beta1JSONSchemaPropsOrArray.md) | | [optional] +**items** | **object** | JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. | [optional] **max_items** | **int** | | [optional] **max_length** | **int** | | [optional] **max_properties** | **int** | | [optional] diff --git a/kubernetes/docs/V1beta1NetworkPolicyPeer.md b/kubernetes/docs/V1beta1NetworkPolicyPeer.md index ece08aece8..49205607be 100644 --- a/kubernetes/docs/V1beta1NetworkPolicyPeer.md +++ b/kubernetes/docs/V1beta1NetworkPolicyPeer.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ip_block** | [**V1beta1IPBlock**](V1beta1IPBlock.md) | IPBlock defines policy on a particular IPBlock | [optional] -**namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. | [optional] -**pod_selector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. | [optional] +**ip_block** | [**V1beta1IPBlock**](V1beta1IPBlock.md) | IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. | [optional] +**namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. | [optional] +**pod_selector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1PriorityClass.md b/kubernetes/docs/V1beta1PriorityClass.md new file mode 100644 index 0000000000..98dc90b9b9 --- /dev/null +++ b/kubernetes/docs/V1beta1PriorityClass.md @@ -0,0 +1,15 @@ +# V1beta1PriorityClass + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**description** | **str** | description is an arbitrary string that usually provides guidelines on when this priority class should be used. | [optional] +**global_default** | **bool** | globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**value** | **int** | The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1beta1PriorityClassList.md b/kubernetes/docs/V1beta1PriorityClassList.md new file mode 100644 index 0000000000..1d82e8b1e1 --- /dev/null +++ b/kubernetes/docs/V1beta1PriorityClassList.md @@ -0,0 +1,13 @@ +# V1beta1PriorityClassList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**list[V1beta1PriorityClass]**](V1beta1PriorityClass.md) | items is the list of PriorityClasses | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1beta1RoleBinding.md b/kubernetes/docs/V1beta1RoleBinding.md index f0731411ae..43c18061aa 100644 --- a/kubernetes/docs/V1beta1RoleBinding.md +++ b/kubernetes/docs/V1beta1RoleBinding.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1beta1RoleRef**](V1beta1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**list[V1beta1Subject]**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**list[V1beta1Subject]**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1StorageClass.md b/kubernetes/docs/V1beta1StorageClass.md index 48b36a36a6..722fa86c7c 100644 --- a/kubernetes/docs/V1beta1StorageClass.md +++ b/kubernetes/docs/V1beta1StorageClass.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **allow_volume_expansion** | **bool** | AllowVolumeExpansion shows whether the storage class allow volume expand | [optional] +**allowed_topologies** | [**list[V1TopologySelectorTerm]**](V1TopologySelectorTerm.md) | Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature. | [optional] **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1beta1WebhookClientConfig.md b/kubernetes/docs/V1beta1WebhookClientConfig.md index e3e18688ee..dd023b6475 100644 --- a/kubernetes/docs/V1beta1WebhookClientConfig.md +++ b/kubernetes/docs/V1beta1WebhookClientConfig.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ca_bundle** | **str** | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. Required. | -**service** | [**AdmissionregistrationV1beta1ServiceReference**](AdmissionregistrationV1beta1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. | [optional] +**service** | [**AdmissionregistrationV1beta1ServiceReference**](AdmissionregistrationV1beta1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. | [optional] **url** | **str** | `url` gives the location of the webhook, in standard URL form (`[scheme://]host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta2RollingUpdateDeployment.md b/kubernetes/docs/V1beta2RollingUpdateDeployment.md index b3127f5146..56bdaa6e97 100644 --- a/kubernetes/docs/V1beta2RollingUpdateDeployment.md +++ b/kubernetes/docs/V1beta2RollingUpdateDeployment.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**max_surge** | **object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] -**max_unavailable** | **object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] +**max_surge** | **object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] +**max_unavailable** | **object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/swagger.json.unprocessed b/kubernetes/swagger.json.unprocessed index ec890cf3c7..19cd3a787c 100644 --- a/kubernetes/swagger.json.unprocessed +++ b/kubernetes/swagger.json.unprocessed @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.10.0" + "version": "v1.11.1" }, "paths": { "/api/": { @@ -20060,6 +20060,41 @@ ] }, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status": { + "get": { + "description": "read status of the specified CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "readApiextensionsV1beta1CustomResourceDefinitionStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified CustomResourceDefinition", "consumes": [ @@ -20111,6 +20146,53 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified CustomResourceDefinition", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "patchApiextensionsV1beta1CustomResourceDefinitionStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -20902,6 +20984,41 @@ ] }, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "readApiregistrationV1APIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, "put": { "description": "replace status of the specified APIService", "consumes": [ @@ -20953,6 +21070,53 @@ "version": "v1" } }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "patchApiregistrationV1APIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, "parameters": [ { "uniqueItems": true, @@ -21711,6 +21875,41 @@ ] }, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "operationId": "readApiregistrationV1beta1APIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified APIService", "consumes": [ @@ -21762,6 +21961,53 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "operationId": "patchApiregistrationV1beta1APIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -44672,6 +44918,41 @@ ] }, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { + "get": { + "description": "read status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "readCertificatesV1beta1CertificateSigningRequestStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified CertificateSigningRequest", "consumes": [ @@ -44723,6 +45004,53 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified CertificateSigningRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "patchCertificatesV1beta1CertificateSigningRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -66189,40 +66517,7 @@ } ] }, - "/apis/settings.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "settings" - ], - "operationId": "getSettingsAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/settings.k8s.io/v1alpha1/": { + "/apis/scheduling.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -66239,9 +66534,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "getSettingsV1alpha1APIResources", + "operationId": "getSchedulingV1beta1APIResources", "responses": { "200": { "description": "OK", @@ -66255,9 +66550,9 @@ } } }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { "get": { - "description": "list or watch objects of kind PodPreset", + "description": "list or watch objects of kind PriorityClass", "consumes": [ "*/*" ], @@ -66272,9 +66567,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "listSettingsV1alpha1NamespacedPodPreset", + "operationId": "listSchedulingV1beta1PriorityClass", "parameters": [ { "uniqueItems": true, @@ -66337,7 +66632,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClassList" } }, "401": { @@ -66346,13 +66641,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" } }, "post": { - "description": "create a PodPreset", + "description": "create a PriorityClass", "consumes": [ "*/*" ], @@ -66365,16 +66660,16 @@ "https" ], "tags": [ - "settings_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "createSettingsV1alpha1NamespacedPodPreset", + "operationId": "createSchedulingV1beta1PriorityClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } } ], @@ -66382,19 +66677,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -66403,13 +66698,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of PodPreset", + "description": "delete collection of PriorityClass", "consumes": [ "*/*" ], @@ -66422,9 +66717,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "deleteSettingsV1alpha1CollectionNamespacedPodPreset", + "operationId": "deleteSchedulingV1beta1CollectionPriorityClass", "parameters": [ { "uniqueItems": true, @@ -66496,20 +66791,12 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -66519,9 +66806,9 @@ } ] }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { "get": { - "description": "read the specified PodPreset", + "description": "read the specified PriorityClass", "consumes": [ "*/*" ], @@ -66534,9 +66821,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "readSettingsV1alpha1NamespacedPodPreset", + "operationId": "readSchedulingV1beta1PriorityClass", "parameters": [ { "uniqueItems": true, @@ -66557,7 +66844,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -66566,13 +66853,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" } }, "put": { - "description": "replace the specified PodPreset", + "description": "replace the specified PriorityClass", "consumes": [ "*/*" ], @@ -66585,16 +66872,16 @@ "https" ], "tags": [ - "settings_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "replaceSettingsV1alpha1NamespacedPodPreset", + "operationId": "replaceSchedulingV1beta1PriorityClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } } ], @@ -66602,13 +66889,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -66617,13 +66904,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" } }, "delete": { - "description": "delete a PodPreset", + "description": "delete a PriorityClass", "consumes": [ "*/*" ], @@ -66636,9 +66923,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "deleteSettingsV1alpha1NamespacedPodPreset", + "operationId": "deleteSchedulingV1beta1PriorityClass", "parameters": [ { "name": "body", @@ -66683,13 +66970,13 @@ }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified PodPreset", + "description": "partially update the specified PriorityClass", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -66704,9 +66991,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "patchSettingsV1alpha1NamespacedPodPreset", + "operationId": "patchSchedulingV1beta1PriorityClass", "parameters": [ { "name": "body", @@ -66721,7 +67008,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -66730,16 +67017,16 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodPreset", + "description": "name of the PriorityClass", "name": "name", "in": "path", "required": true @@ -66747,10 +67034,85 @@ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { + "get": { + "description": "watch individual changes to a list of PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1beta1" + ], + "operationId": "watchSchedulingV1beta1PriorityClassList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -66758,12 +67120,33 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/settings.k8s.io/v1alpha1/podpresets": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { "get": { - "description": "list or watch objects of kind PodPreset", + "description": "watch changes to an object of kind PriorityClass", "consumes": [ "*/*" ], @@ -66778,25 +67161,709 @@ "https" ], "tags": [ - "settings_v1alpha1" + "scheduling_v1beta1" ], - "operationId": "listSettingsV1alpha1PodPresetForAllNamespaces", + "operationId": "watchSchedulingV1beta1PriorityClass", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings" + ], + "operationId": "getSettingsAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/settings.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "getSettingsV1alpha1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { + "get": { + "description": "list or watch objects of kind PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "listSettingsV1alpha1NamespacedPodPreset", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "createSettingsV1alpha1NamespacedPodPreset", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "deleteSettingsV1alpha1CollectionNamespacedPodPreset", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { + "get": { + "description": "read the specified PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "readSettingsV1alpha1NamespacedPodPreset", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "replaceSettingsV1alpha1NamespacedPodPreset", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "deleteSettingsV1alpha1NamespacedPodPreset", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified PodPreset", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "patchSettingsV1alpha1NamespacedPodPreset", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodPreset", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/podpresets": { + "get": { + "description": "list or watch objects of kind PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "listSettingsV1alpha1PodPresetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "parameters": [ @@ -70574,7 +71641,7 @@ "format": "byte" }, "service": { - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nIf there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error.", + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ServiceReference" }, "url": { @@ -71239,11 +72306,11 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } } @@ -71797,11 +72864,11 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } } @@ -72744,11 +73811,11 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } } @@ -75443,6 +76510,30 @@ } } }, + "io.k8s.api.core.v1.CinderPersistentVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "volumeID": { + "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, "io.k8s.api.core.v1.CinderVolumeSource": { "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", "required": [ @@ -75457,6 +76548,10 @@ "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "boolean" }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, "volumeID": { "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "string" @@ -75671,6 +76766,36 @@ } ] }, + "io.k8s.api.core.v1.ConfigMapNodeConfigSource": { + "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.", + "required": [ + "namespace", + "name", + "kubeletConfigKey" + ], + "properties": { + "kubeletConfigKey": { + "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", + "type": "string" + }, + "name": { + "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "resourceVersion": { + "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + }, + "uid": { + "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + } + } + }, "io.k8s.api.core.v1.ConfigMapProjection": { "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", "properties": { @@ -76578,7 +77703,7 @@ } }, "io.k8s.api.core.v1.GitRepoVolumeSource": { - "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.", + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "required": [ "repository" ], @@ -77022,13 +78147,13 @@ } }, "io.k8s.api.core.v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity", + "description": "Local represents directly-attached storage with node affinity (Beta feature)", "required": [ "path" ], "properties": { "path": { - "description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device", + "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled.", "type": "string" } } @@ -77242,25 +78367,32 @@ "io.k8s.api.core.v1.NodeConfigSource": { "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" + "configMap": { + "description": "ConfigMap is a reference to a Node's ConfigMap", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapNodeConfigSource" + } + } + }, + "io.k8s.api.core.v1.NodeConfigStatus": { + "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", + "properties": { + "active": { + "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" }, - "configMapRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + "assigned": { + "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "error": { + "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", "type": "string" + }, + "lastKnownGood": { + "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "NodeConfigSource", - "version": "v1" - } - ] + } }, "io.k8s.api.core.v1.NodeDaemonEndpoints": { "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", @@ -77345,13 +78477,17 @@ } }, "io.k8s.api.core.v1.NodeSelectorTerm": { - "description": "A null or empty node selector term matches no objects.", - "required": [ - "matchExpressions" - ], + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "properties": { "matchExpressions": { - "description": "Required. A list of node selector requirements. The requirements are ANDed.", + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + } + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" @@ -77367,7 +78503,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" }, "externalID": { - "description": "External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.", + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", "type": "string" }, "podCIDR": { @@ -77426,6 +78562,10 @@ "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, + "config": { + "description": "Status of the config assigned to the node via the dynamic Kubelet config feature.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigStatus" + }, "daemonEndpoints": { "description": "Endpoints of daemons running on the Node.", "$ref": "#/definitions/io.k8s.api.core.v1.NodeDaemonEndpoints" @@ -77845,7 +78985,7 @@ }, "cinder": { "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource" + "$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource" }, "claimRef": { "description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding", @@ -78098,7 +79238,7 @@ "type": "string" }, "type": { - "description": "Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", "type": "string" } } @@ -78175,6 +79315,18 @@ } ] }, + "io.k8s.api.core.v1.PodReadinessGate": { + "description": "PodReadinessGate contains the reference to a pod condition", + "required": [ + "conditionType" + ], + "properties": { + "conditionType": { + "description": "ConditionType refers to a condition in the pod's condition list with matching type.", + "type": "string" + } + } + }, "io.k8s.api.core.v1.PodSecurityContext": { "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", "properties": { @@ -78208,6 +79360,13 @@ "type": "integer", "format": "int64" } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Sysctl" + } } } }, @@ -78310,6 +79469,13 @@ "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", "type": "string" }, + "readinessGates": { + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodReadinessGate" + } + }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "type": "string" @@ -78362,7 +79528,7 @@ } }, "io.k8s.api.core.v1.PodStatus": { - "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.", + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", "properties": { "conditions": { "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", @@ -78400,7 +79566,7 @@ "type": "string" }, "phase": { - "description": "Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", + "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", "type": "string" }, "podIP": { @@ -78966,12 +80132,16 @@ "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", "properties": { "hard": { - "description": "Hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", "type": "object", "additionalProperties": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, + "scopeSelector": { + "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.", + "$ref": "#/definitions/io.k8s.api.core.v1.ScopeSelector" + }, "scopes": { "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", "type": "array", @@ -79140,6 +80310,42 @@ } } }, + "io.k8s.api.core.v1.ScopeSelector": { + "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", + "properties": { + "matchExpressions": { + "description": "A list of scope selector requirements by scope of the resources.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ScopedResourceSelectorRequirement" + } + } + } + }, + "io.k8s.api.core.v1.ScopedResourceSelectorRequirement": { + "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", + "required": [ + "scopeName", + "operator" + ], + "properties": { + "operator": { + "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.", + "type": "string" + }, + "scopeName": { + "description": "The name of the scope that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "io.k8s.api.core.v1.Secret": { "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.", "properties": { @@ -79457,6 +80663,27 @@ } ] }, + "io.k8s.api.core.v1.ServiceAccountTokenProjection": { + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "Path is the path relative to the mount point of the file to project the token into.", + "type": "string" + } + } + }, "io.k8s.api.core.v1.ServiceList": { "description": "ServiceList holds a list of services.", "required": [ @@ -79569,7 +80796,7 @@ "x-kubernetes-patch-strategy": "merge" }, "publishNotReadyAddresses": { - "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field.", + "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", "type": "boolean" }, "selector": { @@ -79661,6 +80888,23 @@ } } }, + "io.k8s.api.core.v1.Sysctl": { + "description": "Sysctl defines a kernel parameter to be set", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + }, "io.k8s.api.core.v1.TCPSocketAction": { "description": "TCPSocketAction describes an action based on opening a socket", "required": [ @@ -79728,6 +80972,38 @@ } } }, + "io.k8s.api.core.v1.TopologySelectorLabelRequirement": { + "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", + "required": [ + "key", + "values" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.api.core.v1.TopologySelectorTerm": { + "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", + "properties": { + "matchLabelExpressions": { + "description": "A list of topology selector requirements by labels.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorLabelRequirement" + } + } + } + }, "io.k8s.api.core.v1.Volume": { "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", "required": [ @@ -79783,7 +81059,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" }, "gitRepo": { - "description": "GitRepo represents a git repository at a particular revision.", + "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource" }, "glusterfs": { @@ -79877,7 +81153,7 @@ "type": "string" }, "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is beta in 1.10.", + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", "type": "string" }, "name": { @@ -79917,6 +81193,10 @@ "secret": { "description": "information about the secret data to project", "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection" + }, + "serviceAccountToken": { + "description": "information about the serviceAccountToken data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection" } } }, @@ -80103,23 +81383,27 @@ } }, "io.k8s.api.extensions.v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", "required": [ "driver" ], "properties": { "driver": { - "description": "Driver is the name of the Flexvolume driver.", + "description": "driver is the name of the Flexvolume driver.", "type": "string" } } }, "io.k8s.api.extensions.v1beta1.AllowedHostPath": { - "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", "properties": { "pathPrefix": { - "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" } } }, @@ -80580,17 +81864,17 @@ } }, "io.k8s.api.extensions.v1beta1.FSGroupStrategyOptions": { - "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } } @@ -80627,7 +81911,7 @@ } }, "io.k8s.api.extensions.v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.", "required": [ "min", "max" @@ -80646,19 +81930,19 @@ } }, "io.k8s.api.extensions.v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", "required": [ "min", "max" ], "properties": { "max": { - "description": "Max is the end of the range, inclusive.", + "description": "max is the end of the range, inclusive.", "type": "integer", "format": "int64" }, "min": { - "description": "Min is the start of the range, inclusive.", + "description": "min is the start of the range, inclusive.", "type": "integer", "format": "int64" } @@ -80930,15 +82214,15 @@ "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.", "properties": { "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IPBlock" }, "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" } } @@ -80990,7 +82274,7 @@ } }, "io.k8s.api.extensions.v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -81018,7 +82302,7 @@ ] }, "io.k8s.api.extensions.v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.", "required": [ "items" ], @@ -81028,7 +82312,7 @@ "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is a list of schema objects.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" @@ -81052,7 +82336,7 @@ ] }, "io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", + "description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.", "required": [ "seLinux", "runAsUser", @@ -81061,43 +82345,57 @@ ], "properties": { "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", "type": "boolean" }, "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", "type": "array", "items": { "type": "string" } }, "allowedFlexVolumes": { - "description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.", + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.AllowedFlexVolume" } }, "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.AllowedHostPath" } }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list.", + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", "type": "array", "items": { "type": "string" } }, "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", "type": "boolean" }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.FSGroupStrategyOptions" }, "hostIPC": { @@ -81124,11 +82422,11 @@ "type": "boolean" }, "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", "type": "boolean" }, "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", "type": "array", "items": { "type": "string" @@ -81143,11 +82441,11 @@ "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions" }, "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.SupplementalGroupsStrategyOptions" }, "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", "type": "array", "items": { "type": "string" @@ -81348,32 +82646,32 @@ } }, "io.k8s.api.extensions.v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", "required": [ "rule" ], "properties": { "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", "type": "string" } } }, "io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.", "required": [ "rule" ], "properties": { "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, "seLinuxOptions": { @@ -81449,17 +82747,17 @@ } }, "io.k8s.api.extensions.v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", + "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", "type": "string" } } @@ -81584,18 +82882,18 @@ ] }, "io.k8s.api.networking.v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified.", + "description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed", "properties": { "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", "$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock" }, "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" } } @@ -81653,17 +82951,21 @@ ], "properties": { "driver": { - "description": "Driver is the name of the Flexvolume driver.", + "description": "driver is the name of the Flexvolume driver.", "type": "string" } } }, "io.k8s.api.policy.v1beta1.AllowedHostPath": { - "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", "properties": { "pathPrefix": { - "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" } } }, @@ -81699,20 +83001,20 @@ "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } } }, "io.k8s.api.policy.v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", "required": [ "min", "max" @@ -81731,19 +83033,19 @@ } }, "io.k8s.api.policy.v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "description": "IDRange provides a min/max of an allowed range of IDs.", "required": [ "min", "max" ], "properties": { "max": { - "description": "Max is the end of the range, inclusive.", + "description": "max is the end of the range, inclusive.", "type": "integer", "format": "int64" }, "min": { - "description": "Min is the start of the range, inclusive.", + "description": "min is the start of the range, inclusive.", "type": "integer", "format": "int64" } @@ -81874,7 +83176,7 @@ } }, "io.k8s.api.policy.v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -81902,7 +83204,7 @@ ] }, "io.k8s.api.policy.v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", "required": [ "items" ], @@ -81912,7 +83214,7 @@ "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is a list of schema objects.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" @@ -81936,7 +83238,7 @@ ] }, "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", + "description": "PodSecurityPolicySpec defines the policy enforced.", "required": [ "seLinux", "runAsUser", @@ -81945,43 +83247,57 @@ ], "properties": { "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", "type": "boolean" }, "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", "type": "array", "items": { "type": "string" } }, "allowedFlexVolumes": { - "description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.", + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedFlexVolume" } }, "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedHostPath" } }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list.", + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", "type": "array", "items": { "type": "string" } }, "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", "type": "boolean" }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", "$ref": "#/definitions/io.k8s.api.policy.v1beta1.FSGroupStrategyOptions" }, "hostIPC": { @@ -82008,11 +83324,11 @@ "type": "boolean" }, "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", "type": "boolean" }, "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", "type": "array", "items": { "type": "string" @@ -82027,11 +83343,11 @@ "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SELinuxStrategyOptions" }, "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions" }, "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", "type": "array", "items": { "type": "string" @@ -82040,32 +83356,32 @@ } }, "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ "rule" ], "properties": { "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", "type": "string" } } }, "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ "rule" ], "properties": { "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, "seLinuxOptions": { @@ -82078,14 +83394,14 @@ "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", "type": "string" } } @@ -82143,7 +83459,6 @@ "io.k8s.api.rbac.v1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -82327,7 +83642,6 @@ "io.k8s.api.rbac.v1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -82531,7 +83845,6 @@ "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -82715,7 +84028,6 @@ "io.k8s.api.rbac.v1alpha1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -82919,7 +84231,6 @@ "io.k8s.api.rbac.v1beta1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -83103,7 +84414,6 @@ "io.k8s.api.rbac.v1beta1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -83328,6 +84638,80 @@ } ] }, + "io.k8s.api.scheduling.v1beta1.PriorityClass": { + "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "required": [ + "value" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "description": { + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", + "type": "string" + }, + "globalDefault": { + "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "type": "boolean" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "value": { + "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", + "type": "integer", + "format": "int32" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.scheduling.v1beta1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of PriorityClasses", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1beta1" + } + ] + }, "io.k8s.api.settings.v1alpha1.PodPreset": { "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", "properties": { @@ -83435,6 +84819,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -83666,6 +85057,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -83887,6 +85285,41 @@ } } }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "required": [ + "name", + "type", + "JSONPath" + ], + "properties": { + "JSONPath": { + "description": "JSONPath is a simple JSON path, i.e. with array notation.", + "type": "string" + }, + "description": { + "description": "description is a human readable description of this column.", + "type": "string" + }, + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + }, + "name": { + "description": "name is a human readable name for the column.", + "type": "string" + }, + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", + "type": "integer", + "format": "int32" + }, + "type": { + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + } + } + }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", "properties": { @@ -83909,7 +85342,14 @@ "description": "Status indicates the actual state of the CustomResourceDefinition", "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + ] }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition": { "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", @@ -83964,7 +85404,14 @@ "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", + "version": "v1beta1" + } + ] }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames": { "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", @@ -84009,11 +85456,17 @@ "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "required": [ "group", - "version", "names", "scope" ], "properties": { + "additionalPrinterColumns": { + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" + } + }, "group": { "description": "Group is the group this resource belongs in", "type": "string" @@ -84027,7 +85480,7 @@ "type": "string" }, "subresources": { - "description": "Subresources describes the subresources for CustomResources This field is alpha-level and should only be sent to servers that enable subresources via the CustomResourceSubresources feature gate.", + "description": "Subresources describes the subresources for CustomResources", "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources" }, "validation": { @@ -84035,8 +85488,15 @@ "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation" }, "version": { - "description": "Version is the version this resource belongs in", + "description": "Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`.", "type": "string" + }, + "versions": { + "description": "Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" + } } } }, @@ -84044,7 +85504,8 @@ "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "required": [ "conditions", - "acceptedNames" + "acceptedNames", + "storedVersions" ], "properties": { "acceptedNames": { @@ -84057,6 +85518,34 @@ "items": { "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" } + }, + "storedVersions": { + "description": "StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion": { + "required": [ + "name", + "served", + "storage" + ], + "properties": { + "name": { + "description": "Name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc.", + "type": "string" + }, + "served": { + "description": "Served is a flag enabling/disabling this version from being served via REST APIs", + "type": "boolean" + }, + "storage": { + "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", + "type": "boolean" } } }, @@ -84118,16 +85607,7 @@ } }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", - "required": [ - "Raw" - ], - "properties": { - "Raw": { - "type": "string", - "format": "byte" - } - } + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps": { "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", @@ -84279,65 +85759,23 @@ } }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", - "required": [ - "Schema", - "JSONSchemas" - ], - "properties": { - "JSONSchemas": { - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - } - }, - "Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - } - } + "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", - "required": [ - "Allows", - "Schema" - ], - "properties": { - "Allows": { - "type": "boolean" - }, - "Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - } - } + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", - "required": [ - "Schema", - "Property" - ], - "properties": { - "Property": { - "type": "array", - "items": { - "type": "string" - } - }, - "Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - } - } + "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." }, "io.k8s.apimachinery.pkg.api.resource.Quantity": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" }, "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": { "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", - "versions", - "serverAddressByClientCIDRs" + "versions" ], "properties": { "apiVersion": { @@ -84589,6 +86027,21 @@ "kind": "DeleteOptions", "version": "v1beta1" }, + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "apps", "kind": "DeleteOptions", @@ -84699,6 +86152,11 @@ "kind": "DeleteOptions", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "DeleteOptions", @@ -84834,6 +86292,7 @@ } }, "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime": { + "description": "MicroTime is version of Time with microsecond level precision.", "type": "string", "format": "date-time" }, @@ -85083,6 +86542,7 @@ } }, "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", "format": "date-time" }, @@ -85122,6 +86582,21 @@ "kind": "WatchEvent", "version": "v1beta1" }, + { + "group": "apiextensions.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "apps", "kind": "WatchEvent", @@ -85232,6 +86707,11 @@ "kind": "WatchEvent", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "WatchEvent", @@ -85268,6 +86748,7 @@ } }, "io.k8s.apimachinery.pkg.util.intstr.IntOrString": { + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.", "type": "string", "format": "int-or-string" }, @@ -85336,7 +86817,14 @@ "description": "Status contains derived information about an API server", "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + ] }, "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition": { "required": [ @@ -85389,13 +86877,19 @@ "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1" + } + ] }, "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ "service", - "caBundle", "groupPriorityMinimum", "versionPriority" ], @@ -85427,7 +86921,7 @@ "type": "string" }, "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "type": "integer", "format": "int32" } @@ -85482,7 +86976,14 @@ "description": "Status contains derived information about an API server", "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + ] }, "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition": { "required": [ @@ -85535,13 +87036,19 @@ "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1beta1" + } + ] }, "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ "service", - "caBundle", "groupPriorityMinimum", "versionPriority" ], @@ -85573,7 +87080,7 @@ "type": "string" }, "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "type": "integer", "format": "int32" } diff --git a/kubernetes/test/test_admissionregistration_api.py b/kubernetes/test/test_admissionregistration_api.py index fea2390cd3..0d4ae489b2 100644 --- a/kubernetes/test/test_admissionregistration_api.py +++ b/kubernetes/test/test_admissionregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_admissionregistration_v1alpha1_api.py b/kubernetes/test/test_admissionregistration_v1alpha1_api.py index 1f3e3413a4..8810b46a2b 100644 --- a/kubernetes/test/test_admissionregistration_v1alpha1_api.py +++ b/kubernetes/test/test_admissionregistration_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_admissionregistration_v1beta1_api.py b/kubernetes/test/test_admissionregistration_v1beta1_api.py index 90f41bf7c7..bd27e9964f 100644 --- a/kubernetes/test/test_admissionregistration_v1beta1_api.py +++ b/kubernetes/test/test_admissionregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py b/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py index 0b58da5865..8e7d150c08 100644 --- a/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py +++ b/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apiextensions_api.py b/kubernetes/test/test_apiextensions_api.py index d406fe2bdf..78fcd4b7f7 100644 --- a/kubernetes/test/test_apiextensions_api.py +++ b/kubernetes/test/test_apiextensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apiextensions_v1beta1_api.py b/kubernetes/test/test_apiextensions_v1beta1_api.py index 35931c8aca..32b9ce1321 100644 --- a/kubernetes/test/test_apiextensions_v1beta1_api.py +++ b/kubernetes/test/test_apiextensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -76,6 +76,14 @@ def test_patch_custom_resource_definition(self): Test case for patch_custom_resource_definition + """ + pass + + def test_patch_custom_resource_definition_status(self): + """ + Test case for patch_custom_resource_definition_status + + """ pass @@ -84,6 +92,14 @@ def test_read_custom_resource_definition(self): Test case for read_custom_resource_definition + """ + pass + + def test_read_custom_resource_definition_status(self): + """ + Test case for read_custom_resource_definition_status + + """ pass diff --git a/kubernetes/test/test_apiregistration_api.py b/kubernetes/test/test_apiregistration_api.py index d218e6841b..daedebe3a6 100644 --- a/kubernetes/test/test_apiregistration_api.py +++ b/kubernetes/test/test_apiregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apiregistration_v1_api.py b/kubernetes/test/test_apiregistration_v1_api.py index e9fea9e6ef..139b2419fa 100644 --- a/kubernetes/test/test_apiregistration_v1_api.py +++ b/kubernetes/test/test_apiregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -76,6 +76,14 @@ def test_patch_api_service(self): Test case for patch_api_service + """ + pass + + def test_patch_api_service_status(self): + """ + Test case for patch_api_service_status + + """ pass @@ -84,6 +92,14 @@ def test_read_api_service(self): Test case for read_api_service + """ + pass + + def test_read_api_service_status(self): + """ + Test case for read_api_service_status + + """ pass diff --git a/kubernetes/test/test_apiregistration_v1beta1_api.py b/kubernetes/test/test_apiregistration_v1beta1_api.py index 7a8fdaf8c5..faf628651d 100644 --- a/kubernetes/test/test_apiregistration_v1beta1_api.py +++ b/kubernetes/test/test_apiregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -76,6 +76,14 @@ def test_patch_api_service(self): Test case for patch_api_service + """ + pass + + def test_patch_api_service_status(self): + """ + Test case for patch_api_service_status + + """ pass @@ -84,6 +92,14 @@ def test_read_api_service(self): Test case for read_api_service + """ + pass + + def test_read_api_service_status(self): + """ + Test case for read_api_service_status + + """ pass diff --git a/kubernetes/test/test_apiregistration_v1beta1_service_reference.py b/kubernetes/test/test_apiregistration_v1beta1_service_reference.py index d81a012773..5fdbdcd82e 100644 --- a/kubernetes/test/test_apiregistration_v1beta1_service_reference.py +++ b/kubernetes/test/test_apiregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apis_api.py b/kubernetes/test/test_apis_api.py index 78993ad88b..5916ffa3df 100644 --- a/kubernetes/test/test_apis_api.py +++ b/kubernetes/test/test_apis_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_api.py b/kubernetes/test/test_apps_api.py index 011dedb357..dc4951c3bd 100644 --- a/kubernetes/test/test_apps_api.py +++ b/kubernetes/test/test_apps_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1_api.py b/kubernetes/test/test_apps_v1_api.py index 93d13e097b..5b327546ec 100644 --- a/kubernetes/test/test_apps_v1_api.py +++ b/kubernetes/test/test_apps_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_api.py b/kubernetes/test/test_apps_v1beta1_api.py index aa761343a2..d983ec0b66 100644 --- a/kubernetes/test/test_apps_v1beta1_api.py +++ b/kubernetes/test/test_apps_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment.py b/kubernetes/test/test_apps_v1beta1_deployment.py index 10dda655ed..19f2ae545f 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment.py +++ b/kubernetes/test/test_apps_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_condition.py b/kubernetes/test/test_apps_v1beta1_deployment_condition.py index 78feff253f..0ea925dc00 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_condition.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_list.py b/kubernetes/test/test_apps_v1beta1_deployment_list.py index 8deb782f02..3ce44ac93f 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_list.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_rollback.py b/kubernetes/test/test_apps_v1beta1_deployment_rollback.py index 96c3244d1f..35587098df 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_rollback.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_spec.py b/kubernetes/test/test_apps_v1beta1_deployment_spec.py index d7450a6611..2660bc2d3f 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_spec.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_status.py b/kubernetes/test/test_apps_v1beta1_deployment_status.py index af0f5cd2b4..a5dd48741c 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_status.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_strategy.py b/kubernetes/test/test_apps_v1beta1_deployment_strategy.py index c3d4a0e5d0..e903720161 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_strategy.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_rollback_config.py b/kubernetes/test/test_apps_v1beta1_rollback_config.py index 8d9341b8f0..1e190e5812 100644 --- a/kubernetes/test/test_apps_v1beta1_rollback_config.py +++ b/kubernetes/test/test_apps_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py index 6345052e61..d0b9c26aeb 100644 --- a/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py +++ b/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_scale.py b/kubernetes/test/test_apps_v1beta1_scale.py index 285189c568..094404634e 100644 --- a/kubernetes/test/test_apps_v1beta1_scale.py +++ b/kubernetes/test/test_apps_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_scale_spec.py b/kubernetes/test/test_apps_v1beta1_scale_spec.py index 5aa97fc4f3..97b730746f 100644 --- a/kubernetes/test/test_apps_v1beta1_scale_spec.py +++ b/kubernetes/test/test_apps_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_scale_status.py b/kubernetes/test/test_apps_v1beta1_scale_status.py index b7b93938b5..b35e8902f0 100644 --- a/kubernetes/test/test_apps_v1beta1_scale_status.py +++ b/kubernetes/test/test_apps_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta2_api.py b/kubernetes/test/test_apps_v1beta2_api.py index cb5c6a8ce2..93c39ee9ab 100644 --- a/kubernetes/test/test_apps_v1beta2_api.py +++ b/kubernetes/test/test_apps_v1beta2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authentication_api.py b/kubernetes/test/test_authentication_api.py index 52b4a31906..f00a7026c0 100644 --- a/kubernetes/test/test_authentication_api.py +++ b/kubernetes/test/test_authentication_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authentication_v1_api.py b/kubernetes/test/test_authentication_v1_api.py index f556eef910..5b570f3d2b 100644 --- a/kubernetes/test/test_authentication_v1_api.py +++ b/kubernetes/test/test_authentication_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authentication_v1beta1_api.py b/kubernetes/test/test_authentication_v1beta1_api.py index f92567ef89..ab4bc61b6c 100644 --- a/kubernetes/test/test_authentication_v1beta1_api.py +++ b/kubernetes/test/test_authentication_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authorization_api.py b/kubernetes/test/test_authorization_api.py index 03b398a044..710535f609 100644 --- a/kubernetes/test/test_authorization_api.py +++ b/kubernetes/test/test_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authorization_v1_api.py b/kubernetes/test/test_authorization_v1_api.py index c098031d5c..c75dffbf93 100644 --- a/kubernetes/test/test_authorization_v1_api.py +++ b/kubernetes/test/test_authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authorization_v1beta1_api.py b/kubernetes/test/test_authorization_v1beta1_api.py index fab279bf92..1ee2f6f2b4 100644 --- a/kubernetes/test/test_authorization_v1beta1_api.py +++ b/kubernetes/test/test_authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_autoscaling_api.py b/kubernetes/test/test_autoscaling_api.py index 87a666897a..cc793504ad 100644 --- a/kubernetes/test/test_autoscaling_api.py +++ b/kubernetes/test/test_autoscaling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_autoscaling_v1_api.py b/kubernetes/test/test_autoscaling_v1_api.py index 2d229a8397..30fe74a50c 100644 --- a/kubernetes/test/test_autoscaling_v1_api.py +++ b/kubernetes/test/test_autoscaling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_autoscaling_v2beta1_api.py b/kubernetes/test/test_autoscaling_v2beta1_api.py index 3172560018..ba5bba9931 100644 --- a/kubernetes/test/test_autoscaling_v2beta1_api.py +++ b/kubernetes/test/test_autoscaling_v2beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_batch_api.py b/kubernetes/test/test_batch_api.py index a855ddce98..89d394fff0 100644 --- a/kubernetes/test/test_batch_api.py +++ b/kubernetes/test/test_batch_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_batch_v1_api.py b/kubernetes/test/test_batch_v1_api.py index b78ac6efaf..2c3825e718 100644 --- a/kubernetes/test/test_batch_v1_api.py +++ b/kubernetes/test/test_batch_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_batch_v1beta1_api.py b/kubernetes/test/test_batch_v1beta1_api.py index 5ad94e517e..c161fc730d 100644 --- a/kubernetes/test/test_batch_v1beta1_api.py +++ b/kubernetes/test/test_batch_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_batch_v2alpha1_api.py b/kubernetes/test/test_batch_v2alpha1_api.py index 035c737e06..e6701a2156 100644 --- a/kubernetes/test/test_batch_v2alpha1_api.py +++ b/kubernetes/test/test_batch_v2alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_certificates_api.py b/kubernetes/test/test_certificates_api.py index d97d795051..7ebf0a5da9 100644 --- a/kubernetes/test/test_certificates_api.py +++ b/kubernetes/test/test_certificates_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_certificates_v1beta1_api.py b/kubernetes/test/test_certificates_v1beta1_api.py index 98460448b9..f58ece5241 100644 --- a/kubernetes/test/test_certificates_v1beta1_api.py +++ b/kubernetes/test/test_certificates_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -76,6 +76,14 @@ def test_patch_certificate_signing_request(self): Test case for patch_certificate_signing_request + """ + pass + + def test_patch_certificate_signing_request_status(self): + """ + Test case for patch_certificate_signing_request_status + + """ pass @@ -84,6 +92,14 @@ def test_read_certificate_signing_request(self): Test case for read_certificate_signing_request + """ + pass + + def test_read_certificate_signing_request_status(self): + """ + Test case for read_certificate_signing_request_status + + """ pass diff --git a/kubernetes/test/test_core_api.py b/kubernetes/test/test_core_api.py index d0502f98ef..f125707862 100644 --- a/kubernetes/test/test_core_api.py +++ b/kubernetes/test/test_core_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_core_v1_api.py b/kubernetes/test/test_core_v1_api.py index 3aab4834a1..6bde7da80a 100644 --- a/kubernetes/test/test_core_v1_api.py +++ b/kubernetes/test/test_core_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_custom_objects_api.py b/kubernetes/test/test_custom_objects_api.py index 75d4e64bfc..4bf7fb4485 100644 --- a/kubernetes/test/test_custom_objects_api.py +++ b/kubernetes/test/test_custom_objects_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_events_api.py b/kubernetes/test/test_events_api.py index 320d5be7df..d856794709 100644 --- a/kubernetes/test/test_events_api.py +++ b/kubernetes/test/test_events_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_events_v1beta1_api.py b/kubernetes/test/test_events_v1beta1_api.py index 3ef236d0f2..229acd7231 100644 --- a/kubernetes/test/test_events_v1beta1_api.py +++ b/kubernetes/test/test_events_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_api.py b/kubernetes/test/test_extensions_api.py index b4a9105d66..39b0f1c417 100644 --- a/kubernetes/test/test_extensions_api.py +++ b/kubernetes/test/test_extensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py index c931788f31..d9519eaeae 100644 --- a/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py +++ b/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py b/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py index abb0258df8..7ad4ef9418 100644 --- a/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py +++ b/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_api.py b/kubernetes/test/test_extensions_v1beta1_api.py index bc86a588b5..205abf0a3f 100644 --- a/kubernetes/test/test_extensions_v1beta1_api.py +++ b/kubernetes/test/test_extensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment.py b/kubernetes/test/test_extensions_v1beta1_deployment.py index 0e82912e7c..28d64d0958 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_condition.py b/kubernetes/test/test_extensions_v1beta1_deployment_condition.py index 70a08e7ae4..891cb861d6 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_condition.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_list.py b/kubernetes/test/test_extensions_v1beta1_deployment_list.py index 33bb4b9be1..2b861b7c06 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_list.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py b/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py index 42fae3b297..1dee833807 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_spec.py b/kubernetes/test/test_extensions_v1beta1_deployment_spec.py index 163851e9ea..0546723d3a 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_spec.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_status.py b/kubernetes/test/test_extensions_v1beta1_deployment_status.py index 30568ac034..bec68657f9 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_status.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py b/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py index 4c8f2097c0..178fa16398 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py index 5769d153e2..16eebdf9e6 100644 --- a/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_host_port_range.py b/kubernetes/test/test_extensions_v1beta1_host_port_range.py index c4097796d2..6b5165619d 100644 --- a/kubernetes/test/test_extensions_v1beta1_host_port_range.py +++ b/kubernetes/test/test_extensions_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_id_range.py b/kubernetes/test/test_extensions_v1beta1_id_range.py index 3774cb8d8a..53b6b23ff3 100644 --- a/kubernetes/test/test_extensions_v1beta1_id_range.py +++ b/kubernetes/test/test_extensions_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py index 7d26ebbbe5..58d788db42 100644 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py +++ b/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py index 537b0b9356..c4f4d65dae 100644 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py +++ b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py index 6268a781ba..f5f4b1c3a9 100644 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_rollback_config.py b/kubernetes/test/test_extensions_v1beta1_rollback_config.py index 57b4b69411..a0f4f4056e 100644 --- a/kubernetes/test/test_extensions_v1beta1_rollback_config.py +++ b/kubernetes/test/test_extensions_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py index be1c4e842f..d5d04d0ff0 100644 --- a/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py +++ b/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py index 7557b9fbd4..cee8f417b8 100644 --- a/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_scale.py b/kubernetes/test/test_extensions_v1beta1_scale.py index 08aa277fa1..503d88d7f0 100644 --- a/kubernetes/test/test_extensions_v1beta1_scale.py +++ b/kubernetes/test/test_extensions_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_scale_spec.py b/kubernetes/test/test_extensions_v1beta1_scale_spec.py index 6bd69353ca..3ec1f65e73 100644 --- a/kubernetes/test/test_extensions_v1beta1_scale_spec.py +++ b/kubernetes/test/test_extensions_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_scale_status.py b/kubernetes/test/test_extensions_v1beta1_scale_status.py index 59210beb50..94850bf8e6 100644 --- a/kubernetes/test/test_extensions_v1beta1_scale_status.py +++ b/kubernetes/test/test_extensions_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py index 5cffa188c7..8b6e18d241 100644 --- a/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py index 88cbd32453..d56552fde1 100644 --- a/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_logs_api.py b/kubernetes/test/test_logs_api.py index d6782985fe..a1bb012b72 100644 --- a/kubernetes/test/test_logs_api.py +++ b/kubernetes/test/test_logs_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_networking_api.py b/kubernetes/test/test_networking_api.py index ad618922b0..131cdb99c4 100644 --- a/kubernetes/test/test_networking_api.py +++ b/kubernetes/test/test_networking_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_networking_v1_api.py b/kubernetes/test/test_networking_v1_api.py index c97b665997..ef4ba3e3d0 100644 --- a/kubernetes/test/test_networking_v1_api.py +++ b/kubernetes/test/test_networking_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_api.py b/kubernetes/test/test_policy_api.py index a341b88bfe..f97cb99b95 100644 --- a/kubernetes/test/test_policy_api.py +++ b/kubernetes/test/test_policy_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py index fed16d6cce..668803a1b1 100644 --- a/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py +++ b/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_allowed_host_path.py b/kubernetes/test/test_policy_v1beta1_allowed_host_path.py index 4df184bc6c..9448f3fe07 100644 --- a/kubernetes/test/test_policy_v1beta1_allowed_host_path.py +++ b/kubernetes/test/test_policy_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_api.py b/kubernetes/test/test_policy_v1beta1_api.py index 5e8589bc4d..1e90d989aa 100644 --- a/kubernetes/test/test_policy_v1beta1_api.py +++ b/kubernetes/test/test_policy_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py index 513a1c222c..8642ad3879 100644 --- a/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_host_port_range.py b/kubernetes/test/test_policy_v1beta1_host_port_range.py index 3433d70f11..c2447c078a 100644 --- a/kubernetes/test/test_policy_v1beta1_host_port_range.py +++ b/kubernetes/test/test_policy_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_id_range.py b/kubernetes/test/test_policy_v1beta1_id_range.py index f036b416ff..300517b030 100644 --- a/kubernetes/test/test_policy_v1beta1_id_range.py +++ b/kubernetes/test/test_policy_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy.py index 4aebbc6d1b..d4d00e0cb2 100644 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy.py +++ b/kubernetes/test/test_policy_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py index 33979872bd..e35d5e22b4 100644 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py +++ b/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py index 6a89437cd2..37e8b3d863 100644 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py b/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py index 9f6afad3a7..a2ad339d6f 100644 --- a/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py index a4125b2a33..cb69aa1a54 100644 --- a/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py index ef060d462e..8de5d64139 100644 --- a/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_rbac_authorization_api.py b/kubernetes/test/test_rbac_authorization_api.py index f3a68ff390..193824478a 100644 --- a/kubernetes/test/test_rbac_authorization_api.py +++ b/kubernetes/test/test_rbac_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_rbac_authorization_v1_api.py b/kubernetes/test/test_rbac_authorization_v1_api.py index 8945ad5785..6b338e18e2 100644 --- a/kubernetes/test/test_rbac_authorization_v1_api.py +++ b/kubernetes/test/test_rbac_authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py index 03fbebdf28..2ac99a8381 100644 --- a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py +++ b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_rbac_authorization_v1beta1_api.py b/kubernetes/test/test_rbac_authorization_v1beta1_api.py index 971a16851c..66f3eaea6a 100644 --- a/kubernetes/test/test_rbac_authorization_v1beta1_api.py +++ b/kubernetes/test/test_rbac_authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_runtime_raw_extension.py b/kubernetes/test/test_runtime_raw_extension.py index 71fb5b1f6f..c80e4d98f3 100644 --- a/kubernetes/test/test_runtime_raw_extension.py +++ b/kubernetes/test/test_runtime_raw_extension.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_scheduling_api.py b/kubernetes/test/test_scheduling_api.py index 1d371a8170..58f89dc2c5 100644 --- a/kubernetes/test/test_scheduling_api.py +++ b/kubernetes/test/test_scheduling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_scheduling_v1alpha1_api.py b/kubernetes/test/test_scheduling_v1alpha1_api.py index 9e57666f14..97ba648d4a 100644 --- a/kubernetes/test/test_scheduling_v1alpha1_api.py +++ b/kubernetes/test/test_scheduling_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_scheduling_v1beta1_api.py b/kubernetes/test/test_scheduling_v1beta1_api.py new file mode 100644 index 0000000000..3f081d5a33 --- /dev/null +++ b/kubernetes/test/test_scheduling_v1beta1_api.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.apis.scheduling_v1beta1_api import SchedulingV1beta1Api + + +class TestSchedulingV1beta1Api(unittest.TestCase): + """ SchedulingV1beta1Api unit test stubs """ + + def setUp(self): + self.api = kubernetes.client.apis.scheduling_v1beta1_api.SchedulingV1beta1Api() + + def tearDown(self): + pass + + def test_create_priority_class(self): + """ + Test case for create_priority_class + + + """ + pass + + def test_delete_collection_priority_class(self): + """ + Test case for delete_collection_priority_class + + + """ + pass + + def test_delete_priority_class(self): + """ + Test case for delete_priority_class + + + """ + pass + + def test_get_api_resources(self): + """ + Test case for get_api_resources + + + """ + pass + + def test_list_priority_class(self): + """ + Test case for list_priority_class + + + """ + pass + + def test_patch_priority_class(self): + """ + Test case for patch_priority_class + + + """ + pass + + def test_read_priority_class(self): + """ + Test case for read_priority_class + + + """ + pass + + def test_replace_priority_class(self): + """ + Test case for replace_priority_class + + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_settings_api.py b/kubernetes/test/test_settings_api.py index 46e1bf5065..77bd47b7e4 100644 --- a/kubernetes/test/test_settings_api.py +++ b/kubernetes/test/test_settings_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_settings_v1alpha1_api.py b/kubernetes/test/test_settings_v1alpha1_api.py index b348a2e6bc..d4f4692ca0 100644 --- a/kubernetes/test/test_settings_v1alpha1_api.py +++ b/kubernetes/test/test_settings_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_storage_api.py b/kubernetes/test/test_storage_api.py index a3a2ef7dc2..0e0a6ac24b 100644 --- a/kubernetes/test/test_storage_api.py +++ b/kubernetes/test/test_storage_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_storage_v1_api.py b/kubernetes/test/test_storage_v1_api.py index 86a846084d..4715b2bd80 100644 --- a/kubernetes/test/test_storage_v1_api.py +++ b/kubernetes/test/test_storage_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_storage_v1alpha1_api.py b/kubernetes/test/test_storage_v1alpha1_api.py index d76a175fc2..993d2c68e3 100644 --- a/kubernetes/test/test_storage_v1alpha1_api.py +++ b/kubernetes/test/test_storage_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_storage_v1beta1_api.py b/kubernetes/test/test_storage_v1beta1_api.py index 532093b6d1..2e358f4ddd 100644 --- a/kubernetes/test/test_storage_v1beta1_api.py +++ b/kubernetes/test/test_storage_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_affinity.py b/kubernetes/test/test_v1_affinity.py index da47835f21..cfe9c66cb3 100644 --- a/kubernetes/test/test_v1_affinity.py +++ b/kubernetes/test/test_v1_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_aggregation_rule.py b/kubernetes/test/test_v1_aggregation_rule.py index d2ef18a944..c3f26f1632 100644 --- a/kubernetes/test/test_v1_aggregation_rule.py +++ b/kubernetes/test/test_v1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_group.py b/kubernetes/test/test_v1_api_group.py index 3f332709e0..a33a1360aa 100644 --- a/kubernetes/test/test_v1_api_group.py +++ b/kubernetes/test/test_v1_api_group.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_group_list.py b/kubernetes/test/test_v1_api_group_list.py index e4b60a0705..2dbd9ef793 100644 --- a/kubernetes/test/test_v1_api_group_list.py +++ b/kubernetes/test/test_v1_api_group_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_resource.py b/kubernetes/test/test_v1_api_resource.py index c0078ec033..e99276f941 100644 --- a/kubernetes/test/test_v1_api_resource.py +++ b/kubernetes/test/test_v1_api_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_resource_list.py b/kubernetes/test/test_v1_api_resource_list.py index 841a592a2d..1201436f9a 100644 --- a/kubernetes/test/test_v1_api_resource_list.py +++ b/kubernetes/test/test_v1_api_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service.py b/kubernetes/test/test_v1_api_service.py index 64a07bbba7..77841626f1 100644 --- a/kubernetes/test/test_v1_api_service.py +++ b/kubernetes/test/test_v1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service_condition.py b/kubernetes/test/test_v1_api_service_condition.py index 2f68ef6687..f45e322d2c 100644 --- a/kubernetes/test/test_v1_api_service_condition.py +++ b/kubernetes/test/test_v1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service_list.py b/kubernetes/test/test_v1_api_service_list.py index dee3389b2e..aca848fdc6 100644 --- a/kubernetes/test/test_v1_api_service_list.py +++ b/kubernetes/test/test_v1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service_spec.py b/kubernetes/test/test_v1_api_service_spec.py index 0c8c3b103e..7d0a4374e2 100644 --- a/kubernetes/test/test_v1_api_service_spec.py +++ b/kubernetes/test/test_v1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service_status.py b/kubernetes/test/test_v1_api_service_status.py index b80b2a67bc..014693251a 100644 --- a/kubernetes/test/test_v1_api_service_status.py +++ b/kubernetes/test/test_v1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_versions.py b/kubernetes/test/test_v1_api_versions.py index f650466419..4b9c71c82d 100644 --- a/kubernetes/test/test_v1_api_versions.py +++ b/kubernetes/test/test_v1_api_versions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_attached_volume.py b/kubernetes/test/test_v1_attached_volume.py index 3bd04ff231..8df8ed54dd 100644 --- a/kubernetes/test/test_v1_attached_volume.py +++ b/kubernetes/test/test_v1_attached_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py index e1ff84e74f..10303dd623 100644 --- a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_azure_disk_volume_source.py b/kubernetes/test/test_v1_azure_disk_volume_source.py index cc40fe534c..6a888003b0 100644 --- a/kubernetes/test/test_v1_azure_disk_volume_source.py +++ b/kubernetes/test/test_v1_azure_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_azure_file_persistent_volume_source.py b/kubernetes/test/test_v1_azure_file_persistent_volume_source.py index 921a88bb87..e798812b79 100644 --- a/kubernetes/test/test_v1_azure_file_persistent_volume_source.py +++ b/kubernetes/test/test_v1_azure_file_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_azure_file_volume_source.py b/kubernetes/test/test_v1_azure_file_volume_source.py index 4a2e67c34f..a8503bd193 100644 --- a/kubernetes/test/test_v1_azure_file_volume_source.py +++ b/kubernetes/test/test_v1_azure_file_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_binding.py b/kubernetes/test/test_v1_binding.py index 09f7ef3806..9a7d9f1c5b 100644 --- a/kubernetes/test/test_v1_binding.py +++ b/kubernetes/test/test_v1_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_capabilities.py b/kubernetes/test/test_v1_capabilities.py index ddd9414134..50735e6dc5 100644 --- a/kubernetes/test/test_v1_capabilities.py +++ b/kubernetes/test/test_v1_capabilities.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py b/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py index bc7869274a..46494fff93 100644 --- a/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_ceph_fs_volume_source.py b/kubernetes/test/test_v1_ceph_fs_volume_source.py index 887075cf7e..8722927914 100644 --- a/kubernetes/test/test_v1_ceph_fs_volume_source.py +++ b/kubernetes/test/test_v1_ceph_fs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cinder_persistent_volume_source.py b/kubernetes/test/test_v1_cinder_persistent_volume_source.py new file mode 100644 index 0000000000..26430c2b9b --- /dev/null +++ b/kubernetes/test/test_v1_cinder_persistent_volume_source.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource + + +class TestV1CinderPersistentVolumeSource(unittest.TestCase): + """ V1CinderPersistentVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1CinderPersistentVolumeSource(self): + """ + Test V1CinderPersistentVolumeSource + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_cinder_persistent_volume_source.V1CinderPersistentVolumeSource() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_cinder_volume_source.py b/kubernetes/test/test_v1_cinder_volume_source.py index dad5ad27eb..b2927a63e3 100644 --- a/kubernetes/test/test_v1_cinder_volume_source.py +++ b/kubernetes/test/test_v1_cinder_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_client_ip_config.py b/kubernetes/test/test_v1_client_ip_config.py index 7744095fbb..2f0db35a39 100644 --- a/kubernetes/test/test_v1_client_ip_config.py +++ b/kubernetes/test/test_v1_client_ip_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cluster_role.py b/kubernetes/test/test_v1_cluster_role.py index 8b5419b20d..852393490c 100644 --- a/kubernetes/test/test_v1_cluster_role.py +++ b/kubernetes/test/test_v1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cluster_role_binding.py b/kubernetes/test/test_v1_cluster_role_binding.py index ff2cae2eb4..210c980dc3 100644 --- a/kubernetes/test/test_v1_cluster_role_binding.py +++ b/kubernetes/test/test_v1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cluster_role_binding_list.py b/kubernetes/test/test_v1_cluster_role_binding_list.py index a2cbf5ff49..b7254cdc5a 100644 --- a/kubernetes/test/test_v1_cluster_role_binding_list.py +++ b/kubernetes/test/test_v1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cluster_role_list.py b/kubernetes/test/test_v1_cluster_role_list.py index 0bc7fe8e1c..7589efb398 100644 --- a/kubernetes/test/test_v1_cluster_role_list.py +++ b/kubernetes/test/test_v1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_component_condition.py b/kubernetes/test/test_v1_component_condition.py index dd8db75c38..d43d6e73fb 100644 --- a/kubernetes/test/test_v1_component_condition.py +++ b/kubernetes/test/test_v1_component_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_component_status.py b/kubernetes/test/test_v1_component_status.py index 714a6af7b7..fa3d29a1b7 100644 --- a/kubernetes/test/test_v1_component_status.py +++ b/kubernetes/test/test_v1_component_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_component_status_list.py b/kubernetes/test/test_v1_component_status_list.py index 8ff40a953e..617a1ae28e 100644 --- a/kubernetes/test/test_v1_component_status_list.py +++ b/kubernetes/test/test_v1_component_status_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map.py b/kubernetes/test/test_v1_config_map.py index d624444fbd..eb03360310 100644 --- a/kubernetes/test/test_v1_config_map.py +++ b/kubernetes/test/test_v1_config_map.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_env_source.py b/kubernetes/test/test_v1_config_map_env_source.py index 346d74d3cb..13d1635c81 100644 --- a/kubernetes/test/test_v1_config_map_env_source.py +++ b/kubernetes/test/test_v1_config_map_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_key_selector.py b/kubernetes/test/test_v1_config_map_key_selector.py index 324127653e..87d885ab8f 100644 --- a/kubernetes/test/test_v1_config_map_key_selector.py +++ b/kubernetes/test/test_v1_config_map_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_list.py b/kubernetes/test/test_v1_config_map_list.py index 9017cf34a7..1e9fc0e920 100644 --- a/kubernetes/test/test_v1_config_map_list.py +++ b/kubernetes/test/test_v1_config_map_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_json_schema_props_or_bool.py b/kubernetes/test/test_v1_config_map_node_config_source.py similarity index 57% rename from kubernetes/test/test_v1beta1_json_schema_props_or_bool.py rename to kubernetes/test/test_v1_config_map_node_config_source.py index 8cece00693..5b8c119404 100644 --- a/kubernetes/test/test_v1beta1_json_schema_props_or_bool.py +++ b/kubernetes/test/test_v1_config_map_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,11 +19,11 @@ import kubernetes.client from kubernetes.client.rest import ApiException -from kubernetes.client.models.v1beta1_json_schema_props_or_bool import V1beta1JSONSchemaPropsOrBool +from kubernetes.client.models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource -class TestV1beta1JSONSchemaPropsOrBool(unittest.TestCase): - """ V1beta1JSONSchemaPropsOrBool unit test stubs """ +class TestV1ConfigMapNodeConfigSource(unittest.TestCase): + """ V1ConfigMapNodeConfigSource unit test stubs """ def setUp(self): pass @@ -31,12 +31,12 @@ def setUp(self): def tearDown(self): pass - def testV1beta1JSONSchemaPropsOrBool(self): + def testV1ConfigMapNodeConfigSource(self): """ - Test V1beta1JSONSchemaPropsOrBool + Test V1ConfigMapNodeConfigSource """ # FIXME: construct object with mandatory attributes with example values - #model = kubernetes.client.models.v1beta1_json_schema_props_or_bool.V1beta1JSONSchemaPropsOrBool() + #model = kubernetes.client.models.v1_config_map_node_config_source.V1ConfigMapNodeConfigSource() pass diff --git a/kubernetes/test/test_v1_config_map_projection.py b/kubernetes/test/test_v1_config_map_projection.py index eca3b9ee68..dc69d99d2c 100644 --- a/kubernetes/test/test_v1_config_map_projection.py +++ b/kubernetes/test/test_v1_config_map_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_volume_source.py b/kubernetes/test/test_v1_config_map_volume_source.py index fa6cc9f6ce..81a4fe0ad4 100644 --- a/kubernetes/test/test_v1_config_map_volume_source.py +++ b/kubernetes/test/test_v1_config_map_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container.py b/kubernetes/test/test_v1_container.py index 5e5fd90c85..8b8a34c779 100644 --- a/kubernetes/test/test_v1_container.py +++ b/kubernetes/test/test_v1_container.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_image.py b/kubernetes/test/test_v1_container_image.py index c851a293b7..d09674d6ed 100644 --- a/kubernetes/test/test_v1_container_image.py +++ b/kubernetes/test/test_v1_container_image.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_port.py b/kubernetes/test/test_v1_container_port.py index 0329b077b3..c0ffee7d30 100644 --- a/kubernetes/test/test_v1_container_port.py +++ b/kubernetes/test/test_v1_container_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_state.py b/kubernetes/test/test_v1_container_state.py index 6322ccbca5..586194295e 100644 --- a/kubernetes/test/test_v1_container_state.py +++ b/kubernetes/test/test_v1_container_state.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_state_running.py b/kubernetes/test/test_v1_container_state_running.py index 2c3a7f848e..fb6faa147a 100644 --- a/kubernetes/test/test_v1_container_state_running.py +++ b/kubernetes/test/test_v1_container_state_running.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_state_terminated.py b/kubernetes/test/test_v1_container_state_terminated.py index da76dc67e1..a40f930c19 100644 --- a/kubernetes/test/test_v1_container_state_terminated.py +++ b/kubernetes/test/test_v1_container_state_terminated.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_state_waiting.py b/kubernetes/test/test_v1_container_state_waiting.py index 74f8024902..65cc001934 100644 --- a/kubernetes/test/test_v1_container_state_waiting.py +++ b/kubernetes/test/test_v1_container_state_waiting.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_status.py b/kubernetes/test/test_v1_container_status.py index f839ded207..f92da23890 100644 --- a/kubernetes/test/test_v1_container_status.py +++ b/kubernetes/test/test_v1_container_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_controller_revision.py b/kubernetes/test/test_v1_controller_revision.py index 4c8cce6e74..22b1648861 100644 --- a/kubernetes/test/test_v1_controller_revision.py +++ b/kubernetes/test/test_v1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_controller_revision_list.py b/kubernetes/test/test_v1_controller_revision_list.py index eb01e72cf5..f18fda1eca 100644 --- a/kubernetes/test/test_v1_controller_revision_list.py +++ b/kubernetes/test/test_v1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cross_version_object_reference.py b/kubernetes/test/test_v1_cross_version_object_reference.py index fe42de10f8..28bb10ed57 100644 --- a/kubernetes/test/test_v1_cross_version_object_reference.py +++ b/kubernetes/test/test_v1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_csi_persistent_volume_source.py b/kubernetes/test/test_v1_csi_persistent_volume_source.py index 79c5da11b1..c433b2b60e 100644 --- a/kubernetes/test/test_v1_csi_persistent_volume_source.py +++ b/kubernetes/test/test_v1_csi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_endpoint.py b/kubernetes/test/test_v1_daemon_endpoint.py index 6b209e0c35..6f3dc9c6d4 100644 --- a/kubernetes/test/test_v1_daemon_endpoint.py +++ b/kubernetes/test/test_v1_daemon_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set.py b/kubernetes/test/test_v1_daemon_set.py index 3436bacd84..a906315cd6 100644 --- a/kubernetes/test/test_v1_daemon_set.py +++ b/kubernetes/test/test_v1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_condition.py b/kubernetes/test/test_v1_daemon_set_condition.py index 92799671ef..b49974fb9f 100644 --- a/kubernetes/test/test_v1_daemon_set_condition.py +++ b/kubernetes/test/test_v1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_list.py b/kubernetes/test/test_v1_daemon_set_list.py index 4f711a7acb..269bb70c57 100644 --- a/kubernetes/test/test_v1_daemon_set_list.py +++ b/kubernetes/test/test_v1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_spec.py b/kubernetes/test/test_v1_daemon_set_spec.py index 987c879010..f0c508d288 100644 --- a/kubernetes/test/test_v1_daemon_set_spec.py +++ b/kubernetes/test/test_v1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_status.py b/kubernetes/test/test_v1_daemon_set_status.py index 03d0252b46..1a0eae35eb 100644 --- a/kubernetes/test/test_v1_daemon_set_status.py +++ b/kubernetes/test/test_v1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_update_strategy.py b/kubernetes/test/test_v1_daemon_set_update_strategy.py index c1573e5f63..28d6c1bafd 100644 --- a/kubernetes/test/test_v1_daemon_set_update_strategy.py +++ b/kubernetes/test/test_v1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_delete_options.py b/kubernetes/test/test_v1_delete_options.py index 57655b5fdf..29fcdda276 100644 --- a/kubernetes/test/test_v1_delete_options.py +++ b/kubernetes/test/test_v1_delete_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment.py b/kubernetes/test/test_v1_deployment.py index f7978c2279..e8f141e4e6 100644 --- a/kubernetes/test/test_v1_deployment.py +++ b/kubernetes/test/test_v1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_condition.py b/kubernetes/test/test_v1_deployment_condition.py index 9b3521ffb1..b022f82398 100644 --- a/kubernetes/test/test_v1_deployment_condition.py +++ b/kubernetes/test/test_v1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_list.py b/kubernetes/test/test_v1_deployment_list.py index 171ecef784..d9a8d38b24 100644 --- a/kubernetes/test/test_v1_deployment_list.py +++ b/kubernetes/test/test_v1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_spec.py b/kubernetes/test/test_v1_deployment_spec.py index c45a23c3d5..609aaf663e 100644 --- a/kubernetes/test/test_v1_deployment_spec.py +++ b/kubernetes/test/test_v1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_status.py b/kubernetes/test/test_v1_deployment_status.py index 51efba3227..718d2e0c75 100644 --- a/kubernetes/test/test_v1_deployment_status.py +++ b/kubernetes/test/test_v1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_strategy.py b/kubernetes/test/test_v1_deployment_strategy.py index f0f97eab48..eb56d6b602 100644 --- a/kubernetes/test/test_v1_deployment_strategy.py +++ b/kubernetes/test/test_v1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_downward_api_projection.py b/kubernetes/test/test_v1_downward_api_projection.py index 713cedecad..c32226f765 100644 --- a/kubernetes/test/test_v1_downward_api_projection.py +++ b/kubernetes/test/test_v1_downward_api_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_downward_api_volume_file.py b/kubernetes/test/test_v1_downward_api_volume_file.py index 1795eeb6e8..1fee1bb358 100644 --- a/kubernetes/test/test_v1_downward_api_volume_file.py +++ b/kubernetes/test/test_v1_downward_api_volume_file.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_downward_api_volume_source.py b/kubernetes/test/test_v1_downward_api_volume_source.py index 4ee220bb8d..55fb2d1e59 100644 --- a/kubernetes/test/test_v1_downward_api_volume_source.py +++ b/kubernetes/test/test_v1_downward_api_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_empty_dir_volume_source.py b/kubernetes/test/test_v1_empty_dir_volume_source.py index e7b35250c8..726e65bddd 100644 --- a/kubernetes/test/test_v1_empty_dir_volume_source.py +++ b/kubernetes/test/test_v1_empty_dir_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoint_address.py b/kubernetes/test/test_v1_endpoint_address.py index f157dbbec8..bd137868c6 100644 --- a/kubernetes/test/test_v1_endpoint_address.py +++ b/kubernetes/test/test_v1_endpoint_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoint_port.py b/kubernetes/test/test_v1_endpoint_port.py index 977edf9215..fa1227c600 100644 --- a/kubernetes/test/test_v1_endpoint_port.py +++ b/kubernetes/test/test_v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoint_subset.py b/kubernetes/test/test_v1_endpoint_subset.py index ac5fa36699..2b82ad83b1 100644 --- a/kubernetes/test/test_v1_endpoint_subset.py +++ b/kubernetes/test/test_v1_endpoint_subset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoints.py b/kubernetes/test/test_v1_endpoints.py index b7acead23f..f800afb8ae 100644 --- a/kubernetes/test/test_v1_endpoints.py +++ b/kubernetes/test/test_v1_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoints_list.py b/kubernetes/test/test_v1_endpoints_list.py index 4e1e34d639..fb2e7d4d9a 100644 --- a/kubernetes/test/test_v1_endpoints_list.py +++ b/kubernetes/test/test_v1_endpoints_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_env_from_source.py b/kubernetes/test/test_v1_env_from_source.py index 52232b9171..846737f384 100644 --- a/kubernetes/test/test_v1_env_from_source.py +++ b/kubernetes/test/test_v1_env_from_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_env_var.py b/kubernetes/test/test_v1_env_var.py index 18582c54ea..7d7a59d617 100644 --- a/kubernetes/test/test_v1_env_var.py +++ b/kubernetes/test/test_v1_env_var.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_env_var_source.py b/kubernetes/test/test_v1_env_var_source.py index bf9c50ddac..875e391101 100644 --- a/kubernetes/test/test_v1_env_var_source.py +++ b/kubernetes/test/test_v1_env_var_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_event.py b/kubernetes/test/test_v1_event.py index 3a0486f7d4..4c2c9e8ad0 100644 --- a/kubernetes/test/test_v1_event.py +++ b/kubernetes/test/test_v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_event_list.py b/kubernetes/test/test_v1_event_list.py index 4ebae7ffc6..7d4140ccf9 100644 --- a/kubernetes/test/test_v1_event_list.py +++ b/kubernetes/test/test_v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_event_series.py b/kubernetes/test/test_v1_event_series.py index 4d52649409..5d318a1374 100644 --- a/kubernetes/test/test_v1_event_series.py +++ b/kubernetes/test/test_v1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_event_source.py b/kubernetes/test/test_v1_event_source.py index 456b372ee6..208184f3bb 100644 --- a/kubernetes/test/test_v1_event_source.py +++ b/kubernetes/test/test_v1_event_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_exec_action.py b/kubernetes/test/test_v1_exec_action.py index 77706af447..59579aa7c2 100644 --- a/kubernetes/test/test_v1_exec_action.py +++ b/kubernetes/test/test_v1_exec_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_fc_volume_source.py b/kubernetes/test/test_v1_fc_volume_source.py index 481f3bdba8..69500762d6 100644 --- a/kubernetes/test/test_v1_fc_volume_source.py +++ b/kubernetes/test/test_v1_fc_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_flex_persistent_volume_source.py b/kubernetes/test/test_v1_flex_persistent_volume_source.py index 665c085135..5d6033eed3 100644 --- a/kubernetes/test/test_v1_flex_persistent_volume_source.py +++ b/kubernetes/test/test_v1_flex_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_flex_volume_source.py b/kubernetes/test/test_v1_flex_volume_source.py index eab8498aa0..f7006fac7a 100644 --- a/kubernetes/test/test_v1_flex_volume_source.py +++ b/kubernetes/test/test_v1_flex_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_flocker_volume_source.py b/kubernetes/test/test_v1_flocker_volume_source.py index f59e7d8f1e..5a95553724 100644 --- a/kubernetes/test/test_v1_flocker_volume_source.py +++ b/kubernetes/test/test_v1_flocker_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py index 7390d3593c..66890cfbdc 100644 --- a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_git_repo_volume_source.py b/kubernetes/test/test_v1_git_repo_volume_source.py index 86c0d9887e..5f03063258 100644 --- a/kubernetes/test/test_v1_git_repo_volume_source.py +++ b/kubernetes/test/test_v1_git_repo_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_glusterfs_volume_source.py b/kubernetes/test/test_v1_glusterfs_volume_source.py index 74e95d2bb2..58e8f60dbe 100644 --- a/kubernetes/test/test_v1_glusterfs_volume_source.py +++ b/kubernetes/test/test_v1_glusterfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_group_version_for_discovery.py b/kubernetes/test/test_v1_group_version_for_discovery.py index 77333b6135..67c258171a 100644 --- a/kubernetes/test/test_v1_group_version_for_discovery.py +++ b/kubernetes/test/test_v1_group_version_for_discovery.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_handler.py b/kubernetes/test/test_v1_handler.py index a612966edf..3427a7c43c 100644 --- a/kubernetes/test/test_v1_handler.py +++ b/kubernetes/test/test_v1_handler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py index a1404c85b6..d1e1219bee 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py index e6bc047d65..5247017669 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py index e5a97158c4..13b465c588 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py index a0e1ca0166..48a65b338f 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_host_alias.py b/kubernetes/test/test_v1_host_alias.py index bc2c48ad91..cc205d0fcb 100644 --- a/kubernetes/test/test_v1_host_alias.py +++ b/kubernetes/test/test_v1_host_alias.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_host_path_volume_source.py b/kubernetes/test/test_v1_host_path_volume_source.py index def859828d..477ca01667 100644 --- a/kubernetes/test/test_v1_host_path_volume_source.py +++ b/kubernetes/test/test_v1_host_path_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_http_get_action.py b/kubernetes/test/test_v1_http_get_action.py index 37a1484500..1d9c24c88b 100644 --- a/kubernetes/test/test_v1_http_get_action.py +++ b/kubernetes/test/test_v1_http_get_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_http_header.py b/kubernetes/test/test_v1_http_header.py index f4086105d1..a4655d4c3a 100644 --- a/kubernetes/test/test_v1_http_header.py +++ b/kubernetes/test/test_v1_http_header.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_initializer.py b/kubernetes/test/test_v1_initializer.py index 066f54f94c..bfaa98427d 100644 --- a/kubernetes/test/test_v1_initializer.py +++ b/kubernetes/test/test_v1_initializer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_initializers.py b/kubernetes/test/test_v1_initializers.py index 0679f0d2df..eca851a3f4 100644 --- a/kubernetes/test/test_v1_initializers.py +++ b/kubernetes/test/test_v1_initializers.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_ip_block.py b/kubernetes/test/test_v1_ip_block.py index f6a2ac60ff..fbd085cb71 100644 --- a/kubernetes/test/test_v1_ip_block.py +++ b/kubernetes/test/test_v1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_iscsi_persistent_volume_source.py b/kubernetes/test/test_v1_iscsi_persistent_volume_source.py index 96e88f1477..3f1c7b09d7 100644 --- a/kubernetes/test/test_v1_iscsi_persistent_volume_source.py +++ b/kubernetes/test/test_v1_iscsi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_iscsi_volume_source.py b/kubernetes/test/test_v1_iscsi_volume_source.py index 1aa88b698e..bf0804cf8b 100644 --- a/kubernetes/test/test_v1_iscsi_volume_source.py +++ b/kubernetes/test/test_v1_iscsi_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job.py b/kubernetes/test/test_v1_job.py index 427175850a..a0e339d161 100644 --- a/kubernetes/test/test_v1_job.py +++ b/kubernetes/test/test_v1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job_condition.py b/kubernetes/test/test_v1_job_condition.py index 6a47710404..21fe28e87a 100644 --- a/kubernetes/test/test_v1_job_condition.py +++ b/kubernetes/test/test_v1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job_list.py b/kubernetes/test/test_v1_job_list.py index 1372afee9f..c28e48c79b 100644 --- a/kubernetes/test/test_v1_job_list.py +++ b/kubernetes/test/test_v1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job_spec.py b/kubernetes/test/test_v1_job_spec.py index 217581875d..e893bf870c 100644 --- a/kubernetes/test/test_v1_job_spec.py +++ b/kubernetes/test/test_v1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job_status.py b/kubernetes/test/test_v1_job_status.py index ade1e6cea5..19e80a4aa3 100644 --- a/kubernetes/test/test_v1_job_status.py +++ b/kubernetes/test/test_v1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_key_to_path.py b/kubernetes/test/test_v1_key_to_path.py index bfd68cd0e9..57b800cb77 100644 --- a/kubernetes/test/test_v1_key_to_path.py +++ b/kubernetes/test/test_v1_key_to_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_label_selector.py b/kubernetes/test/test_v1_label_selector.py index 4a508be668..44bcf7e22f 100644 --- a/kubernetes/test/test_v1_label_selector.py +++ b/kubernetes/test/test_v1_label_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_label_selector_requirement.py b/kubernetes/test/test_v1_label_selector_requirement.py index 9ba502156f..25924f2379 100644 --- a/kubernetes/test/test_v1_label_selector_requirement.py +++ b/kubernetes/test/test_v1_label_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_lifecycle.py b/kubernetes/test/test_v1_lifecycle.py index 6ca6b04654..113eb1f101 100644 --- a/kubernetes/test/test_v1_lifecycle.py +++ b/kubernetes/test/test_v1_lifecycle.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_limit_range.py b/kubernetes/test/test_v1_limit_range.py index a8259482db..beb5e5df6a 100644 --- a/kubernetes/test/test_v1_limit_range.py +++ b/kubernetes/test/test_v1_limit_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_limit_range_item.py b/kubernetes/test/test_v1_limit_range_item.py index f60d110c42..cf85230c42 100644 --- a/kubernetes/test/test_v1_limit_range_item.py +++ b/kubernetes/test/test_v1_limit_range_item.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_limit_range_list.py b/kubernetes/test/test_v1_limit_range_list.py index dbe1841952..17178ae8a9 100644 --- a/kubernetes/test/test_v1_limit_range_list.py +++ b/kubernetes/test/test_v1_limit_range_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_limit_range_spec.py b/kubernetes/test/test_v1_limit_range_spec.py index 5aa4ba4467..dda62696a6 100644 --- a/kubernetes/test/test_v1_limit_range_spec.py +++ b/kubernetes/test/test_v1_limit_range_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_list_meta.py b/kubernetes/test/test_v1_list_meta.py index 107acb8870..95b0f45c1b 100644 --- a/kubernetes/test/test_v1_list_meta.py +++ b/kubernetes/test/test_v1_list_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_load_balancer_ingress.py b/kubernetes/test/test_v1_load_balancer_ingress.py index d0e8e94b3a..603107206d 100644 --- a/kubernetes/test/test_v1_load_balancer_ingress.py +++ b/kubernetes/test/test_v1_load_balancer_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_load_balancer_status.py b/kubernetes/test/test_v1_load_balancer_status.py index 18d9f98a6a..e00a44472d 100644 --- a/kubernetes/test/test_v1_load_balancer_status.py +++ b/kubernetes/test/test_v1_load_balancer_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_local_object_reference.py b/kubernetes/test/test_v1_local_object_reference.py index 1bf1ffc082..88b1ece153 100644 --- a/kubernetes/test/test_v1_local_object_reference.py +++ b/kubernetes/test/test_v1_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_local_subject_access_review.py b/kubernetes/test/test_v1_local_subject_access_review.py index 089c390290..820139c4f2 100644 --- a/kubernetes/test/test_v1_local_subject_access_review.py +++ b/kubernetes/test/test_v1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_local_volume_source.py b/kubernetes/test/test_v1_local_volume_source.py index db2c0d51cd..a65b0d7c29 100644 --- a/kubernetes/test/test_v1_local_volume_source.py +++ b/kubernetes/test/test_v1_local_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_namespace.py b/kubernetes/test/test_v1_namespace.py index 9ddfbb88db..34b1ddaf95 100644 --- a/kubernetes/test/test_v1_namespace.py +++ b/kubernetes/test/test_v1_namespace.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_namespace_list.py b/kubernetes/test/test_v1_namespace_list.py index 1ae493cf3b..53a1b62f86 100644 --- a/kubernetes/test/test_v1_namespace_list.py +++ b/kubernetes/test/test_v1_namespace_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_namespace_spec.py b/kubernetes/test/test_v1_namespace_spec.py index 0ebdcb23f8..61643b9500 100644 --- a/kubernetes/test/test_v1_namespace_spec.py +++ b/kubernetes/test/test_v1_namespace_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_namespace_status.py b/kubernetes/test/test_v1_namespace_status.py index b73b0ab0be..6163d4f917 100644 --- a/kubernetes/test/test_v1_namespace_status.py +++ b/kubernetes/test/test_v1_namespace_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy.py b/kubernetes/test/test_v1_network_policy.py index 3058e86da5..083c6c1aee 100644 --- a/kubernetes/test/test_v1_network_policy.py +++ b/kubernetes/test/test_v1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_egress_rule.py b/kubernetes/test/test_v1_network_policy_egress_rule.py index f4fd44fc6b..dc11e15827 100644 --- a/kubernetes/test/test_v1_network_policy_egress_rule.py +++ b/kubernetes/test/test_v1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_ingress_rule.py b/kubernetes/test/test_v1_network_policy_ingress_rule.py index 0277ec4aca..620ef1bd96 100644 --- a/kubernetes/test/test_v1_network_policy_ingress_rule.py +++ b/kubernetes/test/test_v1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_list.py b/kubernetes/test/test_v1_network_policy_list.py index 0000dcd857..b301eeb5cb 100644 --- a/kubernetes/test/test_v1_network_policy_list.py +++ b/kubernetes/test/test_v1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_peer.py b/kubernetes/test/test_v1_network_policy_peer.py index 2d52d41c3c..bd04e54bd5 100644 --- a/kubernetes/test/test_v1_network_policy_peer.py +++ b/kubernetes/test/test_v1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_port.py b/kubernetes/test/test_v1_network_policy_port.py index e3530ec213..1f6255a17f 100644 --- a/kubernetes/test/test_v1_network_policy_port.py +++ b/kubernetes/test/test_v1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_spec.py b/kubernetes/test/test_v1_network_policy_spec.py index 84b6ba0795..6d0b6f5070 100644 --- a/kubernetes/test/test_v1_network_policy_spec.py +++ b/kubernetes/test/test_v1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_nfs_volume_source.py b/kubernetes/test/test_v1_nfs_volume_source.py index 829fad9b58..dd0f3bd0f3 100644 --- a/kubernetes/test/test_v1_nfs_volume_source.py +++ b/kubernetes/test/test_v1_nfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node.py b/kubernetes/test/test_v1_node.py index 0bb3895afd..e6c40f38b8 100644 --- a/kubernetes/test/test_v1_node.py +++ b/kubernetes/test/test_v1_node.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_address.py b/kubernetes/test/test_v1_node_address.py index aa23052ddb..1f2b0e2af0 100644 --- a/kubernetes/test/test_v1_node_address.py +++ b/kubernetes/test/test_v1_node_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_affinity.py b/kubernetes/test/test_v1_node_affinity.py index 9991a8f18e..9ca2a99791 100644 --- a/kubernetes/test/test_v1_node_affinity.py +++ b/kubernetes/test/test_v1_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_condition.py b/kubernetes/test/test_v1_node_condition.py index efda66bd84..33a79b84de 100644 --- a/kubernetes/test/test_v1_node_condition.py +++ b/kubernetes/test/test_v1_node_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_config_source.py b/kubernetes/test/test_v1_node_config_source.py index 21915140c6..2bc7e52750 100644 --- a/kubernetes/test/test_v1_node_config_source.py +++ b/kubernetes/test/test_v1_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_json_schema_props_or_array.py b/kubernetes/test/test_v1_node_config_status.py similarity index 57% rename from kubernetes/test/test_v1beta1_json_schema_props_or_array.py rename to kubernetes/test/test_v1_node_config_status.py index 547cbdbe19..d22dc076f6 100644 --- a/kubernetes/test/test_v1beta1_json_schema_props_or_array.py +++ b/kubernetes/test/test_v1_node_config_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,11 +19,11 @@ import kubernetes.client from kubernetes.client.rest import ApiException -from kubernetes.client.models.v1beta1_json_schema_props_or_array import V1beta1JSONSchemaPropsOrArray +from kubernetes.client.models.v1_node_config_status import V1NodeConfigStatus -class TestV1beta1JSONSchemaPropsOrArray(unittest.TestCase): - """ V1beta1JSONSchemaPropsOrArray unit test stubs """ +class TestV1NodeConfigStatus(unittest.TestCase): + """ V1NodeConfigStatus unit test stubs """ def setUp(self): pass @@ -31,12 +31,12 @@ def setUp(self): def tearDown(self): pass - def testV1beta1JSONSchemaPropsOrArray(self): + def testV1NodeConfigStatus(self): """ - Test V1beta1JSONSchemaPropsOrArray + Test V1NodeConfigStatus """ # FIXME: construct object with mandatory attributes with example values - #model = kubernetes.client.models.v1beta1_json_schema_props_or_array.V1beta1JSONSchemaPropsOrArray() + #model = kubernetes.client.models.v1_node_config_status.V1NodeConfigStatus() pass diff --git a/kubernetes/test/test_v1_node_daemon_endpoints.py b/kubernetes/test/test_v1_node_daemon_endpoints.py index 4833959e35..fed4dcc2ac 100644 --- a/kubernetes/test/test_v1_node_daemon_endpoints.py +++ b/kubernetes/test/test_v1_node_daemon_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_list.py b/kubernetes/test/test_v1_node_list.py index c1fef3be5c..243dff4b4a 100644 --- a/kubernetes/test/test_v1_node_list.py +++ b/kubernetes/test/test_v1_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_selector.py b/kubernetes/test/test_v1_node_selector.py index d04a9cec1b..7a346732b0 100644 --- a/kubernetes/test/test_v1_node_selector.py +++ b/kubernetes/test/test_v1_node_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_selector_requirement.py b/kubernetes/test/test_v1_node_selector_requirement.py index 1d2f3d3b47..cd3a155ed3 100644 --- a/kubernetes/test/test_v1_node_selector_requirement.py +++ b/kubernetes/test/test_v1_node_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_selector_term.py b/kubernetes/test/test_v1_node_selector_term.py index 1f534ca33a..5ffd74e5a9 100644 --- a/kubernetes/test/test_v1_node_selector_term.py +++ b/kubernetes/test/test_v1_node_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_spec.py b/kubernetes/test/test_v1_node_spec.py index 97f67cc783..d04464574e 100644 --- a/kubernetes/test/test_v1_node_spec.py +++ b/kubernetes/test/test_v1_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_status.py b/kubernetes/test/test_v1_node_status.py index 49695efdd3..3c28ce9be8 100644 --- a/kubernetes/test/test_v1_node_status.py +++ b/kubernetes/test/test_v1_node_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_system_info.py b/kubernetes/test/test_v1_node_system_info.py index 9981f12ce1..4cc23b22a4 100644 --- a/kubernetes/test/test_v1_node_system_info.py +++ b/kubernetes/test/test_v1_node_system_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_non_resource_attributes.py b/kubernetes/test/test_v1_non_resource_attributes.py index 5e849e63a1..628a66d8e6 100644 --- a/kubernetes/test/test_v1_non_resource_attributes.py +++ b/kubernetes/test/test_v1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_non_resource_rule.py b/kubernetes/test/test_v1_non_resource_rule.py index 05af999d73..d71e49dd95 100644 --- a/kubernetes/test/test_v1_non_resource_rule.py +++ b/kubernetes/test/test_v1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_object_field_selector.py b/kubernetes/test/test_v1_object_field_selector.py index 422260f769..804ff7630a 100644 --- a/kubernetes/test/test_v1_object_field_selector.py +++ b/kubernetes/test/test_v1_object_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_object_meta.py b/kubernetes/test/test_v1_object_meta.py index ca65800c81..811a3230be 100644 --- a/kubernetes/test/test_v1_object_meta.py +++ b/kubernetes/test/test_v1_object_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_object_reference.py b/kubernetes/test/test_v1_object_reference.py index 91dd3904ef..a8a3a4e532 100644 --- a/kubernetes/test/test_v1_object_reference.py +++ b/kubernetes/test/test_v1_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_owner_reference.py b/kubernetes/test/test_v1_owner_reference.py index fa481cf12d..9a4545b464 100644 --- a/kubernetes/test/test_v1_owner_reference.py +++ b/kubernetes/test/test_v1_owner_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume.py b/kubernetes/test/test_v1_persistent_volume.py index 34bd0d7487..c6855723d8 100644 --- a/kubernetes/test/test_v1_persistent_volume.py +++ b/kubernetes/test/test_v1_persistent_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim.py b/kubernetes/test/test_v1_persistent_volume_claim.py index 09a8866f06..0d1abdb0a6 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim.py +++ b/kubernetes/test/test_v1_persistent_volume_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_condition.py b/kubernetes/test/test_v1_persistent_volume_claim_condition.py index 172b83268a..644dbac54b 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_condition.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_list.py b/kubernetes/test/test_v1_persistent_volume_claim_list.py index 12cb082bb8..8fc856f743 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_list.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_spec.py b/kubernetes/test/test_v1_persistent_volume_claim_spec.py index edea6ce5fe..7754916e8d 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_spec.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_status.py b/kubernetes/test/test_v1_persistent_volume_claim_status.py index dcb54dfeae..15f5b829ab 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_status.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py index 1b81b81230..37cb1b3568 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_list.py b/kubernetes/test/test_v1_persistent_volume_list.py index 2cf55e9b74..3f9741baf0 100644 --- a/kubernetes/test/test_v1_persistent_volume_list.py +++ b/kubernetes/test/test_v1_persistent_volume_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_spec.py b/kubernetes/test/test_v1_persistent_volume_spec.py index 53a1e960dc..e4a60777f0 100644 --- a/kubernetes/test/test_v1_persistent_volume_spec.py +++ b/kubernetes/test/test_v1_persistent_volume_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_status.py b/kubernetes/test/test_v1_persistent_volume_status.py index 369a101892..d262641340 100644 --- a/kubernetes/test/test_v1_persistent_volume_status.py +++ b/kubernetes/test/test_v1_persistent_volume_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py index 4aee91c6b8..bb54e0c311 100644 --- a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod.py b/kubernetes/test/test_v1_pod.py index 7e0070db4b..35295778b5 100644 --- a/kubernetes/test/test_v1_pod.py +++ b/kubernetes/test/test_v1_pod.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_affinity.py b/kubernetes/test/test_v1_pod_affinity.py index ca80944f52..2eb5a61c1e 100644 --- a/kubernetes/test/test_v1_pod_affinity.py +++ b/kubernetes/test/test_v1_pod_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_affinity_term.py b/kubernetes/test/test_v1_pod_affinity_term.py index c229f1eb4b..1395063409 100644 --- a/kubernetes/test/test_v1_pod_affinity_term.py +++ b/kubernetes/test/test_v1_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_anti_affinity.py b/kubernetes/test/test_v1_pod_anti_affinity.py index b921f0b512..4a50434f1b 100644 --- a/kubernetes/test/test_v1_pod_anti_affinity.py +++ b/kubernetes/test/test_v1_pod_anti_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_condition.py b/kubernetes/test/test_v1_pod_condition.py index 7a32db6482..2125ab0ac0 100644 --- a/kubernetes/test/test_v1_pod_condition.py +++ b/kubernetes/test/test_v1_pod_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_dns_config.py b/kubernetes/test/test_v1_pod_dns_config.py index aa2f154e2d..b1ceecd361 100644 --- a/kubernetes/test/test_v1_pod_dns_config.py +++ b/kubernetes/test/test_v1_pod_dns_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_dns_config_option.py b/kubernetes/test/test_v1_pod_dns_config_option.py index 29278b7dab..4c15a92309 100644 --- a/kubernetes/test/test_v1_pod_dns_config_option.py +++ b/kubernetes/test/test_v1_pod_dns_config_option.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_list.py b/kubernetes/test/test_v1_pod_list.py index 62b97fe3e6..825221abc0 100644 --- a/kubernetes/test/test_v1_pod_list.py +++ b/kubernetes/test/test_v1_pod_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_readiness_gate.py b/kubernetes/test/test_v1_pod_readiness_gate.py new file mode 100644 index 0000000000..9323d33ca6 --- /dev/null +++ b/kubernetes/test/test_v1_pod_readiness_gate.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_pod_readiness_gate import V1PodReadinessGate + + +class TestV1PodReadinessGate(unittest.TestCase): + """ V1PodReadinessGate unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1PodReadinessGate(self): + """ + Test V1PodReadinessGate + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_pod_readiness_gate.V1PodReadinessGate() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_security_context.py b/kubernetes/test/test_v1_pod_security_context.py index ea8032c2ec..87c9af94cf 100644 --- a/kubernetes/test/test_v1_pod_security_context.py +++ b/kubernetes/test/test_v1_pod_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_spec.py b/kubernetes/test/test_v1_pod_spec.py index 168ae57eb7..f341c25c59 100644 --- a/kubernetes/test/test_v1_pod_spec.py +++ b/kubernetes/test/test_v1_pod_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_status.py b/kubernetes/test/test_v1_pod_status.py index b5d0a76e7e..950e068b17 100644 --- a/kubernetes/test/test_v1_pod_status.py +++ b/kubernetes/test/test_v1_pod_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_template.py b/kubernetes/test/test_v1_pod_template.py index f3964644b4..ea805077b8 100644 --- a/kubernetes/test/test_v1_pod_template.py +++ b/kubernetes/test/test_v1_pod_template.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_template_list.py b/kubernetes/test/test_v1_pod_template_list.py index bac02b68a7..a6ea6a6cca 100644 --- a/kubernetes/test/test_v1_pod_template_list.py +++ b/kubernetes/test/test_v1_pod_template_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_template_spec.py b/kubernetes/test/test_v1_pod_template_spec.py index ac5426af69..da743ea2f8 100644 --- a/kubernetes/test/test_v1_pod_template_spec.py +++ b/kubernetes/test/test_v1_pod_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_policy_rule.py b/kubernetes/test/test_v1_policy_rule.py index 92030f5e4c..ad3027fc86 100644 --- a/kubernetes/test/test_v1_policy_rule.py +++ b/kubernetes/test/test_v1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_portworx_volume_source.py b/kubernetes/test/test_v1_portworx_volume_source.py index 5496a0f2ca..32791715d0 100644 --- a/kubernetes/test/test_v1_portworx_volume_source.py +++ b/kubernetes/test/test_v1_portworx_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_preconditions.py b/kubernetes/test/test_v1_preconditions.py index a1b6f37969..1ed2695baf 100644 --- a/kubernetes/test/test_v1_preconditions.py +++ b/kubernetes/test/test_v1_preconditions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_preferred_scheduling_term.py b/kubernetes/test/test_v1_preferred_scheduling_term.py index 5c89386bdb..a2d0ff8be2 100644 --- a/kubernetes/test/test_v1_preferred_scheduling_term.py +++ b/kubernetes/test/test_v1_preferred_scheduling_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_probe.py b/kubernetes/test/test_v1_probe.py index 7d89123881..6261b214c7 100644 --- a/kubernetes/test/test_v1_probe.py +++ b/kubernetes/test/test_v1_probe.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_projected_volume_source.py b/kubernetes/test/test_v1_projected_volume_source.py index d0790a6ff0..1cd35c9aa6 100644 --- a/kubernetes/test/test_v1_projected_volume_source.py +++ b/kubernetes/test/test_v1_projected_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_quobyte_volume_source.py b/kubernetes/test/test_v1_quobyte_volume_source.py index bf546b80e5..ef68c3da61 100644 --- a/kubernetes/test/test_v1_quobyte_volume_source.py +++ b/kubernetes/test/test_v1_quobyte_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rbd_persistent_volume_source.py b/kubernetes/test/test_v1_rbd_persistent_volume_source.py index 003dc0c703..b1ff1d306f 100644 --- a/kubernetes/test/test_v1_rbd_persistent_volume_source.py +++ b/kubernetes/test/test_v1_rbd_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rbd_volume_source.py b/kubernetes/test/test_v1_rbd_volume_source.py index 2e80fe0fb4..5bb208d5a3 100644 --- a/kubernetes/test/test_v1_rbd_volume_source.py +++ b/kubernetes/test/test_v1_rbd_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set.py b/kubernetes/test/test_v1_replica_set.py index 22661d7852..db4f10e5cd 100644 --- a/kubernetes/test/test_v1_replica_set.py +++ b/kubernetes/test/test_v1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set_condition.py b/kubernetes/test/test_v1_replica_set_condition.py index 1f1e82765a..7a33d7a735 100644 --- a/kubernetes/test/test_v1_replica_set_condition.py +++ b/kubernetes/test/test_v1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set_list.py b/kubernetes/test/test_v1_replica_set_list.py index f25ea7a4a5..d387442ea7 100644 --- a/kubernetes/test/test_v1_replica_set_list.py +++ b/kubernetes/test/test_v1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set_spec.py b/kubernetes/test/test_v1_replica_set_spec.py index 91d6e582ca..b59f9ad6c2 100644 --- a/kubernetes/test/test_v1_replica_set_spec.py +++ b/kubernetes/test/test_v1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set_status.py b/kubernetes/test/test_v1_replica_set_status.py index b60017c418..7ed9355320 100644 --- a/kubernetes/test/test_v1_replica_set_status.py +++ b/kubernetes/test/test_v1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller.py b/kubernetes/test/test_v1_replication_controller.py index fa2675e742..b26ee0d4ad 100644 --- a/kubernetes/test/test_v1_replication_controller.py +++ b/kubernetes/test/test_v1_replication_controller.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller_condition.py b/kubernetes/test/test_v1_replication_controller_condition.py index a6aa1df528..9db47c661f 100644 --- a/kubernetes/test/test_v1_replication_controller_condition.py +++ b/kubernetes/test/test_v1_replication_controller_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller_list.py b/kubernetes/test/test_v1_replication_controller_list.py index d1c2ee1a57..d0a673589f 100644 --- a/kubernetes/test/test_v1_replication_controller_list.py +++ b/kubernetes/test/test_v1_replication_controller_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller_spec.py b/kubernetes/test/test_v1_replication_controller_spec.py index abb0b17b90..eb7ba798d6 100644 --- a/kubernetes/test/test_v1_replication_controller_spec.py +++ b/kubernetes/test/test_v1_replication_controller_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller_status.py b/kubernetes/test/test_v1_replication_controller_status.py index 9c6fe7ba71..3f0d3eb4b0 100644 --- a/kubernetes/test/test_v1_replication_controller_status.py +++ b/kubernetes/test/test_v1_replication_controller_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_attributes.py b/kubernetes/test/test_v1_resource_attributes.py index 5aa73a48c1..e7fa6f3d09 100644 --- a/kubernetes/test/test_v1_resource_attributes.py +++ b/kubernetes/test/test_v1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_field_selector.py b/kubernetes/test/test_v1_resource_field_selector.py index 6daa873cdd..155b099c3b 100644 --- a/kubernetes/test/test_v1_resource_field_selector.py +++ b/kubernetes/test/test_v1_resource_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_quota.py b/kubernetes/test/test_v1_resource_quota.py index b21bb67ad6..8ff62b22a5 100644 --- a/kubernetes/test/test_v1_resource_quota.py +++ b/kubernetes/test/test_v1_resource_quota.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_quota_list.py b/kubernetes/test/test_v1_resource_quota_list.py index 2c884b348c..3558abff25 100644 --- a/kubernetes/test/test_v1_resource_quota_list.py +++ b/kubernetes/test/test_v1_resource_quota_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_quota_spec.py b/kubernetes/test/test_v1_resource_quota_spec.py index 23d5c5fe91..a1a82c7c0a 100644 --- a/kubernetes/test/test_v1_resource_quota_spec.py +++ b/kubernetes/test/test_v1_resource_quota_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_quota_status.py b/kubernetes/test/test_v1_resource_quota_status.py index 8690723760..d928d3bcbc 100644 --- a/kubernetes/test/test_v1_resource_quota_status.py +++ b/kubernetes/test/test_v1_resource_quota_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_requirements.py b/kubernetes/test/test_v1_resource_requirements.py index 6290182973..fc66a34f6a 100644 --- a/kubernetes/test/test_v1_resource_requirements.py +++ b/kubernetes/test/test_v1_resource_requirements.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_rule.py b/kubernetes/test/test_v1_resource_rule.py index b00ed474e4..08b02cef8b 100644 --- a/kubernetes/test/test_v1_resource_rule.py +++ b/kubernetes/test/test_v1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role.py b/kubernetes/test/test_v1_role.py index da20b3644d..07baf24b80 100644 --- a/kubernetes/test/test_v1_role.py +++ b/kubernetes/test/test_v1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role_binding.py b/kubernetes/test/test_v1_role_binding.py index f30214abe7..e6e534a623 100644 --- a/kubernetes/test/test_v1_role_binding.py +++ b/kubernetes/test/test_v1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role_binding_list.py b/kubernetes/test/test_v1_role_binding_list.py index dfdc7989e6..31f75e287e 100644 --- a/kubernetes/test/test_v1_role_binding_list.py +++ b/kubernetes/test/test_v1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role_list.py b/kubernetes/test/test_v1_role_list.py index ce35aa97b1..8baf3d579d 100644 --- a/kubernetes/test/test_v1_role_list.py +++ b/kubernetes/test/test_v1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role_ref.py b/kubernetes/test/test_v1_role_ref.py index 7be8cf8205..de9ed58e9d 100644 --- a/kubernetes/test/test_v1_role_ref.py +++ b/kubernetes/test/test_v1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rolling_update_daemon_set.py b/kubernetes/test/test_v1_rolling_update_daemon_set.py index 6ef55b0408..2e19e6ce3b 100644 --- a/kubernetes/test/test_v1_rolling_update_daemon_set.py +++ b/kubernetes/test/test_v1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rolling_update_deployment.py b/kubernetes/test/test_v1_rolling_update_deployment.py index 9ff376a7ae..342924d9fc 100644 --- a/kubernetes/test/test_v1_rolling_update_deployment.py +++ b/kubernetes/test/test_v1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py index b54225bce3..aa15bfaa3b 100644 --- a/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale.py b/kubernetes/test/test_v1_scale.py index b3149dbb19..a99c4e5c65 100644 --- a/kubernetes/test/test_v1_scale.py +++ b/kubernetes/test/test_v1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale_io_persistent_volume_source.py b/kubernetes/test/test_v1_scale_io_persistent_volume_source.py index d093354a08..2c7a082733 100644 --- a/kubernetes/test/test_v1_scale_io_persistent_volume_source.py +++ b/kubernetes/test/test_v1_scale_io_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale_io_volume_source.py b/kubernetes/test/test_v1_scale_io_volume_source.py index d27a194e1c..aca727ccc4 100644 --- a/kubernetes/test/test_v1_scale_io_volume_source.py +++ b/kubernetes/test/test_v1_scale_io_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale_spec.py b/kubernetes/test/test_v1_scale_spec.py index ed900f10cb..9d2bd88773 100644 --- a/kubernetes/test/test_v1_scale_spec.py +++ b/kubernetes/test/test_v1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale_status.py b/kubernetes/test/test_v1_scale_status.py index 3cb99cff73..0c87080097 100644 --- a/kubernetes/test/test_v1_scale_status.py +++ b/kubernetes/test/test_v1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scope_selector.py b/kubernetes/test/test_v1_scope_selector.py new file mode 100644 index 0000000000..3dc68933e5 --- /dev/null +++ b/kubernetes/test/test_v1_scope_selector.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_scope_selector import V1ScopeSelector + + +class TestV1ScopeSelector(unittest.TestCase): + """ V1ScopeSelector unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1ScopeSelector(self): + """ + Test V1ScopeSelector + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_scope_selector.V1ScopeSelector() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_json_schema_props_or_string_array.py b/kubernetes/test/test_v1_scoped_resource_selector_requirement.py similarity index 55% rename from kubernetes/test/test_v1beta1_json_schema_props_or_string_array.py rename to kubernetes/test/test_v1_scoped_resource_selector_requirement.py index f7ff3e6ac2..87b2341a0e 100644 --- a/kubernetes/test/test_v1beta1_json_schema_props_or_string_array.py +++ b/kubernetes/test/test_v1_scoped_resource_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,11 +19,11 @@ import kubernetes.client from kubernetes.client.rest import ApiException -from kubernetes.client.models.v1beta1_json_schema_props_or_string_array import V1beta1JSONSchemaPropsOrStringArray +from kubernetes.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement -class TestV1beta1JSONSchemaPropsOrStringArray(unittest.TestCase): - """ V1beta1JSONSchemaPropsOrStringArray unit test stubs """ +class TestV1ScopedResourceSelectorRequirement(unittest.TestCase): + """ V1ScopedResourceSelectorRequirement unit test stubs """ def setUp(self): pass @@ -31,12 +31,12 @@ def setUp(self): def tearDown(self): pass - def testV1beta1JSONSchemaPropsOrStringArray(self): + def testV1ScopedResourceSelectorRequirement(self): """ - Test V1beta1JSONSchemaPropsOrStringArray + Test V1ScopedResourceSelectorRequirement """ # FIXME: construct object with mandatory attributes with example values - #model = kubernetes.client.models.v1beta1_json_schema_props_or_string_array.V1beta1JSONSchemaPropsOrStringArray() + #model = kubernetes.client.models.v1_scoped_resource_selector_requirement.V1ScopedResourceSelectorRequirement() pass diff --git a/kubernetes/test/test_v1_se_linux_options.py b/kubernetes/test/test_v1_se_linux_options.py index e89feacca0..2220eefb9b 100644 --- a/kubernetes/test/test_v1_se_linux_options.py +++ b/kubernetes/test/test_v1_se_linux_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret.py b/kubernetes/test/test_v1_secret.py index 9cb62db196..fbdb754e30 100644 --- a/kubernetes/test/test_v1_secret.py +++ b/kubernetes/test/test_v1_secret.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_env_source.py b/kubernetes/test/test_v1_secret_env_source.py index ae12b07ca1..12f1b71c53 100644 --- a/kubernetes/test/test_v1_secret_env_source.py +++ b/kubernetes/test/test_v1_secret_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_key_selector.py b/kubernetes/test/test_v1_secret_key_selector.py index 4c6da7c483..92decd77f7 100644 --- a/kubernetes/test/test_v1_secret_key_selector.py +++ b/kubernetes/test/test_v1_secret_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_list.py b/kubernetes/test/test_v1_secret_list.py index 19c98870a6..b2ae059894 100644 --- a/kubernetes/test/test_v1_secret_list.py +++ b/kubernetes/test/test_v1_secret_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_projection.py b/kubernetes/test/test_v1_secret_projection.py index c21819f311..3bec273064 100644 --- a/kubernetes/test/test_v1_secret_projection.py +++ b/kubernetes/test/test_v1_secret_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_reference.py b/kubernetes/test/test_v1_secret_reference.py index cd600310f3..997464e8b2 100644 --- a/kubernetes/test/test_v1_secret_reference.py +++ b/kubernetes/test/test_v1_secret_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_volume_source.py b/kubernetes/test/test_v1_secret_volume_source.py index 3d2947b565..55d43b6385 100644 --- a/kubernetes/test/test_v1_secret_volume_source.py +++ b/kubernetes/test/test_v1_secret_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_security_context.py b/kubernetes/test/test_v1_security_context.py index 5c6ec5f07c..34ec5742d5 100644 --- a/kubernetes/test/test_v1_security_context.py +++ b/kubernetes/test/test_v1_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_self_subject_access_review.py b/kubernetes/test/test_v1_self_subject_access_review.py index dcc0da322d..735e754923 100644 --- a/kubernetes/test/test_v1_self_subject_access_review.py +++ b/kubernetes/test/test_v1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_self_subject_access_review_spec.py b/kubernetes/test/test_v1_self_subject_access_review_spec.py index abd37d5e56..66554d6cc7 100644 --- a/kubernetes/test/test_v1_self_subject_access_review_spec.py +++ b/kubernetes/test/test_v1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_self_subject_rules_review.py b/kubernetes/test/test_v1_self_subject_rules_review.py index ef4827abf5..f1d246442f 100644 --- a/kubernetes/test/test_v1_self_subject_rules_review.py +++ b/kubernetes/test/test_v1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1_self_subject_rules_review_spec.py index 3ee0176e1f..761a826507 100644 --- a/kubernetes/test/test_v1_self_subject_rules_review_spec.py +++ b/kubernetes/test/test_v1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_server_address_by_client_cidr.py b/kubernetes/test/test_v1_server_address_by_client_cidr.py index 760d2a8b37..089193041f 100644 --- a/kubernetes/test/test_v1_server_address_by_client_cidr.py +++ b/kubernetes/test/test_v1_server_address_by_client_cidr.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service.py b/kubernetes/test/test_v1_service.py index f1464ced22..0452d6a60d 100644 --- a/kubernetes/test/test_v1_service.py +++ b/kubernetes/test/test_v1_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_account.py b/kubernetes/test/test_v1_service_account.py index f293473d1f..9be0bec0b0 100644 --- a/kubernetes/test/test_v1_service_account.py +++ b/kubernetes/test/test_v1_service_account.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_account_list.py b/kubernetes/test/test_v1_service_account_list.py index 3e7c26aa5b..9ba42f0ca7 100644 --- a/kubernetes/test/test_v1_service_account_list.py +++ b/kubernetes/test/test_v1_service_account_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_account_token_projection.py b/kubernetes/test/test_v1_service_account_token_projection.py new file mode 100644 index 0000000000..f7a4a3f8d4 --- /dev/null +++ b/kubernetes/test/test_v1_service_account_token_projection.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection + + +class TestV1ServiceAccountTokenProjection(unittest.TestCase): + """ V1ServiceAccountTokenProjection unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1ServiceAccountTokenProjection(self): + """ + Test V1ServiceAccountTokenProjection + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_service_account_token_projection.V1ServiceAccountTokenProjection() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_service_list.py b/kubernetes/test/test_v1_service_list.py index 0b65e5424e..88a1be2fd3 100644 --- a/kubernetes/test/test_v1_service_list.py +++ b/kubernetes/test/test_v1_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_port.py b/kubernetes/test/test_v1_service_port.py index beafea11d1..8036014ef6 100644 --- a/kubernetes/test/test_v1_service_port.py +++ b/kubernetes/test/test_v1_service_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_reference.py b/kubernetes/test/test_v1_service_reference.py index 0e30209855..c2a61fb361 100644 --- a/kubernetes/test/test_v1_service_reference.py +++ b/kubernetes/test/test_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_spec.py b/kubernetes/test/test_v1_service_spec.py index a00d00d481..22877725c0 100644 --- a/kubernetes/test/test_v1_service_spec.py +++ b/kubernetes/test/test_v1_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_status.py b/kubernetes/test/test_v1_service_status.py index 95575aabe5..923e8138a3 100644 --- a/kubernetes/test/test_v1_service_status.py +++ b/kubernetes/test/test_v1_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_session_affinity_config.py b/kubernetes/test/test_v1_session_affinity_config.py index 3a2fdf6b27..5e559e1da9 100644 --- a/kubernetes/test/test_v1_session_affinity_config.py +++ b/kubernetes/test/test_v1_session_affinity_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set.py b/kubernetes/test/test_v1_stateful_set.py index c9a2137ab6..f8870637a2 100644 --- a/kubernetes/test/test_v1_stateful_set.py +++ b/kubernetes/test/test_v1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_condition.py b/kubernetes/test/test_v1_stateful_set_condition.py index ee2c4c4de9..64c9872bde 100644 --- a/kubernetes/test/test_v1_stateful_set_condition.py +++ b/kubernetes/test/test_v1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_list.py b/kubernetes/test/test_v1_stateful_set_list.py index 45da83f023..d3240761b0 100644 --- a/kubernetes/test/test_v1_stateful_set_list.py +++ b/kubernetes/test/test_v1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_spec.py b/kubernetes/test/test_v1_stateful_set_spec.py index 24a0e14616..859e2b7b59 100644 --- a/kubernetes/test/test_v1_stateful_set_spec.py +++ b/kubernetes/test/test_v1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_status.py b/kubernetes/test/test_v1_stateful_set_status.py index 8e0373e8ea..521a550711 100644 --- a/kubernetes/test/test_v1_stateful_set_status.py +++ b/kubernetes/test/test_v1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_update_strategy.py b/kubernetes/test/test_v1_stateful_set_update_strategy.py index 78c74b8f49..2edeb01d5b 100644 --- a/kubernetes/test/test_v1_stateful_set_update_strategy.py +++ b/kubernetes/test/test_v1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_status.py b/kubernetes/test/test_v1_status.py index 3f866bc09c..45f2d06a72 100644 --- a/kubernetes/test/test_v1_status.py +++ b/kubernetes/test/test_v1_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_status_cause.py b/kubernetes/test/test_v1_status_cause.py index 6aae4fe5a7..53be101945 100644 --- a/kubernetes/test/test_v1_status_cause.py +++ b/kubernetes/test/test_v1_status_cause.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_status_details.py b/kubernetes/test/test_v1_status_details.py index c556bbbcaf..e63fb75c87 100644 --- a/kubernetes/test/test_v1_status_details.py +++ b/kubernetes/test/test_v1_status_details.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_storage_class.py b/kubernetes/test/test_v1_storage_class.py index 83e321e80c..f2f7d9a0e6 100644 --- a/kubernetes/test/test_v1_storage_class.py +++ b/kubernetes/test/test_v1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_storage_class_list.py b/kubernetes/test/test_v1_storage_class_list.py index be2f39c430..12d4ce810e 100644 --- a/kubernetes/test/test_v1_storage_class_list.py +++ b/kubernetes/test/test_v1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_storage_os_persistent_volume_source.py b/kubernetes/test/test_v1_storage_os_persistent_volume_source.py index e8ac15c801..c78781cd90 100644 --- a/kubernetes/test/test_v1_storage_os_persistent_volume_source.py +++ b/kubernetes/test/test_v1_storage_os_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_storage_os_volume_source.py b/kubernetes/test/test_v1_storage_os_volume_source.py index a4505cb4a2..92d499723e 100644 --- a/kubernetes/test/test_v1_storage_os_volume_source.py +++ b/kubernetes/test/test_v1_storage_os_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject.py b/kubernetes/test/test_v1_subject.py index b2140b860b..7db97d3bc6 100644 --- a/kubernetes/test/test_v1_subject.py +++ b/kubernetes/test/test_v1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject_access_review.py b/kubernetes/test/test_v1_subject_access_review.py index 2af588b26b..c230c18c05 100644 --- a/kubernetes/test/test_v1_subject_access_review.py +++ b/kubernetes/test/test_v1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject_access_review_spec.py b/kubernetes/test/test_v1_subject_access_review_spec.py index 54b85fcbca..3cb75766f8 100644 --- a/kubernetes/test/test_v1_subject_access_review_spec.py +++ b/kubernetes/test/test_v1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject_access_review_status.py b/kubernetes/test/test_v1_subject_access_review_status.py index 6b5b183254..0867b9103b 100644 --- a/kubernetes/test/test_v1_subject_access_review_status.py +++ b/kubernetes/test/test_v1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject_rules_review_status.py b/kubernetes/test/test_v1_subject_rules_review_status.py index 6e03e5b2a8..48c65446c3 100644 --- a/kubernetes/test/test_v1_subject_rules_review_status.py +++ b/kubernetes/test/test_v1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_json.py b/kubernetes/test/test_v1_sysctl.py similarity index 67% rename from kubernetes/test/test_v1beta1_json.py rename to kubernetes/test/test_v1_sysctl.py index 62529dfc72..7f24f31343 100644 --- a/kubernetes/test/test_v1beta1_json.py +++ b/kubernetes/test/test_v1_sysctl.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,11 +19,11 @@ import kubernetes.client from kubernetes.client.rest import ApiException -from kubernetes.client.models.v1beta1_json import V1beta1JSON +from kubernetes.client.models.v1_sysctl import V1Sysctl -class TestV1beta1JSON(unittest.TestCase): - """ V1beta1JSON unit test stubs """ +class TestV1Sysctl(unittest.TestCase): + """ V1Sysctl unit test stubs """ def setUp(self): pass @@ -31,12 +31,12 @@ def setUp(self): def tearDown(self): pass - def testV1beta1JSON(self): + def testV1Sysctl(self): """ - Test V1beta1JSON + Test V1Sysctl """ # FIXME: construct object with mandatory attributes with example values - #model = kubernetes.client.models.v1beta1_json.V1beta1JSON() + #model = kubernetes.client.models.v1_sysctl.V1Sysctl() pass diff --git a/kubernetes/test/test_v1_taint.py b/kubernetes/test/test_v1_taint.py index e385bef567..ba677c831b 100644 --- a/kubernetes/test/test_v1_taint.py +++ b/kubernetes/test/test_v1_taint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_tcp_socket_action.py b/kubernetes/test/test_v1_tcp_socket_action.py index 71a78193a6..bf07382f0e 100644 --- a/kubernetes/test/test_v1_tcp_socket_action.py +++ b/kubernetes/test/test_v1_tcp_socket_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_token_review.py b/kubernetes/test/test_v1_token_review.py index 8c9795e716..f63e8e760f 100644 --- a/kubernetes/test/test_v1_token_review.py +++ b/kubernetes/test/test_v1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_token_review_spec.py b/kubernetes/test/test_v1_token_review_spec.py index fd2e7abc2f..0dd20b3af4 100644 --- a/kubernetes/test/test_v1_token_review_spec.py +++ b/kubernetes/test/test_v1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_token_review_status.py b/kubernetes/test/test_v1_token_review_status.py index 49382f5852..7785c144cd 100644 --- a/kubernetes/test/test_v1_token_review_status.py +++ b/kubernetes/test/test_v1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_toleration.py b/kubernetes/test/test_v1_toleration.py index fd8614e66d..714977394c 100644 --- a/kubernetes/test/test_v1_toleration.py +++ b/kubernetes/test/test_v1_toleration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_topology_selector_label_requirement.py b/kubernetes/test/test_v1_topology_selector_label_requirement.py new file mode 100644 index 0000000000..09fc6fb5a8 --- /dev/null +++ b/kubernetes/test/test_v1_topology_selector_label_requirement.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement + + +class TestV1TopologySelectorLabelRequirement(unittest.TestCase): + """ V1TopologySelectorLabelRequirement unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1TopologySelectorLabelRequirement(self): + """ + Test V1TopologySelectorLabelRequirement + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_topology_selector_label_requirement.V1TopologySelectorLabelRequirement() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_topology_selector_term.py b/kubernetes/test/test_v1_topology_selector_term.py new file mode 100644 index 0000000000..2934770b9e --- /dev/null +++ b/kubernetes/test/test_v1_topology_selector_term.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_topology_selector_term import V1TopologySelectorTerm + + +class TestV1TopologySelectorTerm(unittest.TestCase): + """ V1TopologySelectorTerm unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1TopologySelectorTerm(self): + """ + Test V1TopologySelectorTerm + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_topology_selector_term.V1TopologySelectorTerm() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_user_info.py b/kubernetes/test/test_v1_user_info.py index fafca1d960..60bf9d4b42 100644 --- a/kubernetes/test/test_v1_user_info.py +++ b/kubernetes/test/test_v1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_volume.py b/kubernetes/test/test_v1_volume.py index 0bc9bdcb44..509d7fba1f 100644 --- a/kubernetes/test/test_v1_volume.py +++ b/kubernetes/test/test_v1_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_volume_device.py b/kubernetes/test/test_v1_volume_device.py index 983f065a55..2042989e0b 100644 --- a/kubernetes/test/test_v1_volume_device.py +++ b/kubernetes/test/test_v1_volume_device.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_volume_mount.py b/kubernetes/test/test_v1_volume_mount.py index 8d3cd085f3..ab12154cbc 100644 --- a/kubernetes/test/test_v1_volume_mount.py +++ b/kubernetes/test/test_v1_volume_mount.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_volume_node_affinity.py b/kubernetes/test/test_v1_volume_node_affinity.py index 494dcb9b30..aaa669d693 100644 --- a/kubernetes/test/test_v1_volume_node_affinity.py +++ b/kubernetes/test/test_v1_volume_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_volume_projection.py b/kubernetes/test/test_v1_volume_projection.py index 386d716e67..fcee56b4de 100644 --- a/kubernetes/test/test_v1_volume_projection.py +++ b/kubernetes/test/test_v1_volume_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py index dd4cf99b0a..8671e2bdc3 100644 --- a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_watch_event.py b/kubernetes/test/test_v1_watch_event.py index d030adf8ec..a649910e82 100644 --- a/kubernetes/test/test_v1_watch_event.py +++ b/kubernetes/test/test_v1_watch_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_weighted_pod_affinity_term.py b/kubernetes/test/test_v1_weighted_pod_affinity_term.py index 4a00e158d6..c8171911d9 100644 --- a/kubernetes/test/test_v1_weighted_pod_affinity_term.py +++ b/kubernetes/test/test_v1_weighted_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_aggregation_rule.py b/kubernetes/test/test_v1alpha1_aggregation_rule.py index e5e1f6d107..066e469dbd 100644 --- a/kubernetes/test/test_v1alpha1_aggregation_rule.py +++ b/kubernetes/test/test_v1alpha1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_cluster_role.py b/kubernetes/test/test_v1alpha1_cluster_role.py index 0459f1fae7..b878cd139d 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role.py +++ b/kubernetes/test/test_v1alpha1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding.py b/kubernetes/test/test_v1alpha1_cluster_role_binding.py index d413744ed5..26b425628a 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py index de45a059eb..79745defa7 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_cluster_role_list.py b/kubernetes/test/test_v1alpha1_cluster_role_list.py index d9176d1941..56dd459131 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_list.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_initializer.py b/kubernetes/test/test_v1alpha1_initializer.py index c2949e2774..0149e55123 100644 --- a/kubernetes/test/test_v1alpha1_initializer.py +++ b/kubernetes/test/test_v1alpha1_initializer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_initializer_configuration.py b/kubernetes/test/test_v1alpha1_initializer_configuration.py index 6ac836c92e..9719551eed 100644 --- a/kubernetes/test/test_v1alpha1_initializer_configuration.py +++ b/kubernetes/test/test_v1alpha1_initializer_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_initializer_configuration_list.py b/kubernetes/test/test_v1alpha1_initializer_configuration_list.py index 3d9cba3bd3..cd28c675fc 100644 --- a/kubernetes/test/test_v1alpha1_initializer_configuration_list.py +++ b/kubernetes/test/test_v1alpha1_initializer_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_pod_preset.py b/kubernetes/test/test_v1alpha1_pod_preset.py index 35611e7e5d..57a861fc02 100644 --- a/kubernetes/test/test_v1alpha1_pod_preset.py +++ b/kubernetes/test/test_v1alpha1_pod_preset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_pod_preset_list.py b/kubernetes/test/test_v1alpha1_pod_preset_list.py index 7fd95de62f..a57d6b23e2 100644 --- a/kubernetes/test/test_v1alpha1_pod_preset_list.py +++ b/kubernetes/test/test_v1alpha1_pod_preset_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_pod_preset_spec.py b/kubernetes/test/test_v1alpha1_pod_preset_spec.py index e773ca381e..0ff29ba9e9 100644 --- a/kubernetes/test/test_v1alpha1_pod_preset_spec.py +++ b/kubernetes/test/test_v1alpha1_pod_preset_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_policy_rule.py b/kubernetes/test/test_v1alpha1_policy_rule.py index 379ae6b6b3..7bcb56295c 100644 --- a/kubernetes/test/test_v1alpha1_policy_rule.py +++ b/kubernetes/test/test_v1alpha1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_priority_class.py b/kubernetes/test/test_v1alpha1_priority_class.py index 029f27fb26..93bca1486f 100644 --- a/kubernetes/test/test_v1alpha1_priority_class.py +++ b/kubernetes/test/test_v1alpha1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_priority_class_list.py b/kubernetes/test/test_v1alpha1_priority_class_list.py index 797d5f7f3c..ba0c5f0fac 100644 --- a/kubernetes/test/test_v1alpha1_priority_class_list.py +++ b/kubernetes/test/test_v1alpha1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role.py b/kubernetes/test/test_v1alpha1_role.py index b4b6fd3f7c..42e5bcb249 100644 --- a/kubernetes/test/test_v1alpha1_role.py +++ b/kubernetes/test/test_v1alpha1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role_binding.py b/kubernetes/test/test_v1alpha1_role_binding.py index a2dc3e4f35..658ba82eb8 100644 --- a/kubernetes/test/test_v1alpha1_role_binding.py +++ b/kubernetes/test/test_v1alpha1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role_binding_list.py b/kubernetes/test/test_v1alpha1_role_binding_list.py index fb101ea5c1..f9aa49278f 100644 --- a/kubernetes/test/test_v1alpha1_role_binding_list.py +++ b/kubernetes/test/test_v1alpha1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role_list.py b/kubernetes/test/test_v1alpha1_role_list.py index 639bdd9f5c..4f9953817a 100644 --- a/kubernetes/test/test_v1alpha1_role_list.py +++ b/kubernetes/test/test_v1alpha1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role_ref.py b/kubernetes/test/test_v1alpha1_role_ref.py index 5fbb2a13d4..2f5b427413 100644 --- a/kubernetes/test/test_v1alpha1_role_ref.py +++ b/kubernetes/test/test_v1alpha1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_rule.py b/kubernetes/test/test_v1alpha1_rule.py index 70a6a6943f..a0ab4eafdc 100644 --- a/kubernetes/test/test_v1alpha1_rule.py +++ b/kubernetes/test/test_v1alpha1_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_subject.py b/kubernetes/test/test_v1alpha1_subject.py index 4a76ae08fb..af36a8d28f 100644 --- a/kubernetes/test/test_v1alpha1_subject.py +++ b/kubernetes/test/test_v1alpha1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment.py b/kubernetes/test/test_v1alpha1_volume_attachment.py index 7aae818290..992d41617c 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_list.py b/kubernetes/test/test_v1alpha1_volume_attachment_list.py index 864d88b2af..ebef29215e 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment_list.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_source.py b/kubernetes/test/test_v1alpha1_volume_attachment_source.py index b487666138..c7224e2678 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment_source.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_spec.py b/kubernetes/test/test_v1alpha1_volume_attachment_spec.py index fb6b946784..a73c262dca 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment_spec.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_status.py b/kubernetes/test/test_v1alpha1_volume_attachment_status.py index e63b646dab..b8ff5574b8 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment_status.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_error.py b/kubernetes/test/test_v1alpha1_volume_error.py index bd11a9aea6..a4bfaf315a 100644 --- a/kubernetes/test/test_v1alpha1_volume_error.py +++ b/kubernetes/test/test_v1alpha1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_aggregation_rule.py b/kubernetes/test/test_v1beta1_aggregation_rule.py index a22c7feca7..ebf210f480 100644 --- a/kubernetes/test/test_v1beta1_aggregation_rule.py +++ b/kubernetes/test/test_v1beta1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service.py b/kubernetes/test/test_v1beta1_api_service.py index 53ba55efff..9eab9ef274 100644 --- a/kubernetes/test/test_v1beta1_api_service.py +++ b/kubernetes/test/test_v1beta1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service_condition.py b/kubernetes/test/test_v1beta1_api_service_condition.py index 2c4ca2a92f..9d7cbe206d 100644 --- a/kubernetes/test/test_v1beta1_api_service_condition.py +++ b/kubernetes/test/test_v1beta1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service_list.py b/kubernetes/test/test_v1beta1_api_service_list.py index 50b1f65f7f..52573439ee 100644 --- a/kubernetes/test/test_v1beta1_api_service_list.py +++ b/kubernetes/test/test_v1beta1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service_spec.py b/kubernetes/test/test_v1beta1_api_service_spec.py index b25c895a9c..99bcba00b0 100644 --- a/kubernetes/test/test_v1beta1_api_service_spec.py +++ b/kubernetes/test/test_v1beta1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service_status.py b/kubernetes/test/test_v1beta1_api_service_status.py index b9ac92c9ca..b476ae07f5 100644 --- a/kubernetes/test/test_v1beta1_api_service_status.py +++ b/kubernetes/test/test_v1beta1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request.py b/kubernetes/test/test_v1beta1_certificate_signing_request.py index 86e3034454..9d32dd7adb 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py b/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py index 3904ddbc31..b5dad7affd 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_list.py b/kubernetes/test/test_v1beta1_certificate_signing_request_list.py index df93196da3..3343fa7d6d 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_list.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py b/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py index 19b08d7dd1..4967adb829 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_status.py b/kubernetes/test/test_v1beta1_certificate_signing_request_status.py index b772fb66cf..65f0a91afa 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_status.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cluster_role.py b/kubernetes/test/test_v1beta1_cluster_role.py index b2dadbeaec..2f79bc53ef 100644 --- a/kubernetes/test/test_v1beta1_cluster_role.py +++ b/kubernetes/test/test_v1beta1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding.py b/kubernetes/test/test_v1beta1_cluster_role_binding.py index a8e9572a44..b79b708935 100644 --- a/kubernetes/test/test_v1beta1_cluster_role_binding.py +++ b/kubernetes/test/test_v1beta1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding_list.py b/kubernetes/test/test_v1beta1_cluster_role_binding_list.py index 3019e9b296..4f72f2c35a 100644 --- a/kubernetes/test/test_v1beta1_cluster_role_binding_list.py +++ b/kubernetes/test/test_v1beta1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cluster_role_list.py b/kubernetes/test/test_v1beta1_cluster_role_list.py index 340a82c69e..0f2cd474b9 100644 --- a/kubernetes/test/test_v1beta1_cluster_role_list.py +++ b/kubernetes/test/test_v1beta1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_controller_revision.py b/kubernetes/test/test_v1beta1_controller_revision.py index 631561c855..0abf26311b 100644 --- a/kubernetes/test/test_v1beta1_controller_revision.py +++ b/kubernetes/test/test_v1beta1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_controller_revision_list.py b/kubernetes/test/test_v1beta1_controller_revision_list.py index a0d4cedc76..a6b260899b 100644 --- a/kubernetes/test/test_v1beta1_controller_revision_list.py +++ b/kubernetes/test/test_v1beta1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cron_job.py b/kubernetes/test/test_v1beta1_cron_job.py index b88589a861..ce8a36fcaf 100644 --- a/kubernetes/test/test_v1beta1_cron_job.py +++ b/kubernetes/test/test_v1beta1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cron_job_list.py b/kubernetes/test/test_v1beta1_cron_job_list.py index 49472477cb..e5fa7c8f79 100644 --- a/kubernetes/test/test_v1beta1_cron_job_list.py +++ b/kubernetes/test/test_v1beta1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cron_job_spec.py b/kubernetes/test/test_v1beta1_cron_job_spec.py index 7d3ce4a59d..321371278a 100644 --- a/kubernetes/test/test_v1beta1_cron_job_spec.py +++ b/kubernetes/test/test_v1beta1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cron_job_status.py b/kubernetes/test/test_v1beta1_cron_job_status.py index 67378877cb..0834ae1cb7 100644 --- a/kubernetes/test/test_v1beta1_cron_job_status.py +++ b/kubernetes/test/test_v1beta1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_column_definition.py b/kubernetes/test/test_v1beta1_custom_resource_column_definition.py new file mode 100644 index 0000000000..bcd0e96a50 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_column_definition.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1beta1_custom_resource_column_definition import V1beta1CustomResourceColumnDefinition + + +class TestV1beta1CustomResourceColumnDefinition(unittest.TestCase): + """ V1beta1CustomResourceColumnDefinition unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1beta1CustomResourceColumnDefinition(self): + """ + Test V1beta1CustomResourceColumnDefinition + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1beta1_custom_resource_column_definition.V1beta1CustomResourceColumnDefinition() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition.py b/kubernetes/test/test_v1beta1_custom_resource_definition.py index e4d2c938ce..4a27ecbc42 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py b/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py index 4b90544106..ca93d36cd7 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_list.py b/kubernetes/test/test_v1beta1_custom_resource_definition_list.py index 25f5794a58..5aeec78170 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_list.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_names.py b/kubernetes/test/test_v1beta1_custom_resource_definition_names.py index 432c8a0f9e..b99e32c9c1 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_names.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_names.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py b/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py index 7b60d30aec..0301979053 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_status.py b/kubernetes/test/test_v1beta1_custom_resource_definition_status.py index 16b7c11a71..71d0fd6a35 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_status.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_version.py b/kubernetes/test/test_v1beta1_custom_resource_definition_version.py new file mode 100644 index 0000000000..d786f2e40f --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_version.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1beta1_custom_resource_definition_version import V1beta1CustomResourceDefinitionVersion + + +class TestV1beta1CustomResourceDefinitionVersion(unittest.TestCase): + """ V1beta1CustomResourceDefinitionVersion unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1beta1CustomResourceDefinitionVersion(self): + """ + Test V1beta1CustomResourceDefinitionVersion + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1beta1_custom_resource_definition_version.V1beta1CustomResourceDefinitionVersion() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py b/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py index 1448d57639..f552270ae7 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py +++ b/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresources.py b/kubernetes/test/test_v1beta1_custom_resource_subresources.py index 70deb0eeb8..a4753a8e3e 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_subresources.py +++ b/kubernetes/test/test_v1beta1_custom_resource_subresources.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_validation.py b/kubernetes/test/test_v1beta1_custom_resource_validation.py index 8b2bce3bf8..4dbd35bf57 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_validation.py +++ b/kubernetes/test/test_v1beta1_custom_resource_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set.py b/kubernetes/test/test_v1beta1_daemon_set.py index 0cc0b409df..da209d27c1 100644 --- a/kubernetes/test/test_v1beta1_daemon_set.py +++ b/kubernetes/test/test_v1beta1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_condition.py b/kubernetes/test/test_v1beta1_daemon_set_condition.py index 01a22cbca2..b97ab1b296 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_condition.py +++ b/kubernetes/test/test_v1beta1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_list.py b/kubernetes/test/test_v1beta1_daemon_set_list.py index 28c80ceff5..3f12d6ed2a 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_list.py +++ b/kubernetes/test/test_v1beta1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_spec.py b/kubernetes/test/test_v1beta1_daemon_set_spec.py index d0b14f98bc..20faaf6c7d 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_spec.py +++ b/kubernetes/test/test_v1beta1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_status.py b/kubernetes/test/test_v1beta1_daemon_set_status.py index 96f50a8968..954c11892c 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_status.py +++ b/kubernetes/test/test_v1beta1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py index 13c64a882f..6bbb1e0a76 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py +++ b/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_event.py b/kubernetes/test/test_v1beta1_event.py index 48aea0f6cb..12d5eb580a 100644 --- a/kubernetes/test/test_v1beta1_event.py +++ b/kubernetes/test/test_v1beta1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_event_list.py b/kubernetes/test/test_v1beta1_event_list.py index 3295385cc8..1fed53236e 100644 --- a/kubernetes/test/test_v1beta1_event_list.py +++ b/kubernetes/test/test_v1beta1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_event_series.py b/kubernetes/test/test_v1beta1_event_series.py index 9c79f1d5fc..864ab30903 100644 --- a/kubernetes/test/test_v1beta1_event_series.py +++ b/kubernetes/test/test_v1beta1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_eviction.py b/kubernetes/test/test_v1beta1_eviction.py index 5cf2ad7e48..8db1c38707 100644 --- a/kubernetes/test/test_v1beta1_eviction.py +++ b/kubernetes/test/test_v1beta1_eviction.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_external_documentation.py b/kubernetes/test/test_v1beta1_external_documentation.py index 72badac861..f783e80389 100644 --- a/kubernetes/test/test_v1beta1_external_documentation.py +++ b/kubernetes/test/test_v1beta1_external_documentation.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_http_ingress_path.py b/kubernetes/test/test_v1beta1_http_ingress_path.py index 9259f1bed6..7ba107bf64 100644 --- a/kubernetes/test/test_v1beta1_http_ingress_path.py +++ b/kubernetes/test/test_v1beta1_http_ingress_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_v1beta1_http_ingress_rule_value.py index 6784272b35..4cdf95d0bd 100644 --- a/kubernetes/test/test_v1beta1_http_ingress_rule_value.py +++ b/kubernetes/test/test_v1beta1_http_ingress_rule_value.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress.py b/kubernetes/test/test_v1beta1_ingress.py index 90b645ebc6..1d42d0a9ea 100644 --- a/kubernetes/test/test_v1beta1_ingress.py +++ b/kubernetes/test/test_v1beta1_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_backend.py b/kubernetes/test/test_v1beta1_ingress_backend.py index 2fc875d2e1..215bc34249 100644 --- a/kubernetes/test/test_v1beta1_ingress_backend.py +++ b/kubernetes/test/test_v1beta1_ingress_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_list.py b/kubernetes/test/test_v1beta1_ingress_list.py index 819d911903..e94a43e2e5 100644 --- a/kubernetes/test/test_v1beta1_ingress_list.py +++ b/kubernetes/test/test_v1beta1_ingress_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_rule.py b/kubernetes/test/test_v1beta1_ingress_rule.py index f69bb48f32..c976b5808d 100644 --- a/kubernetes/test/test_v1beta1_ingress_rule.py +++ b/kubernetes/test/test_v1beta1_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_spec.py b/kubernetes/test/test_v1beta1_ingress_spec.py index f409d871c9..9d895d520a 100644 --- a/kubernetes/test/test_v1beta1_ingress_spec.py +++ b/kubernetes/test/test_v1beta1_ingress_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_status.py b/kubernetes/test/test_v1beta1_ingress_status.py index 0c9d38a57e..3072945739 100644 --- a/kubernetes/test/test_v1beta1_ingress_status.py +++ b/kubernetes/test/test_v1beta1_ingress_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_tls.py b/kubernetes/test/test_v1beta1_ingress_tls.py index daf7236ce0..232eb7fe88 100644 --- a/kubernetes/test/test_v1beta1_ingress_tls.py +++ b/kubernetes/test/test_v1beta1_ingress_tls.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ip_block.py b/kubernetes/test/test_v1beta1_ip_block.py index c066fa4d8b..4377b9b803 100644 --- a/kubernetes/test/test_v1beta1_ip_block.py +++ b/kubernetes/test/test_v1beta1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_job_template_spec.py b/kubernetes/test/test_v1beta1_job_template_spec.py index 679ae9ccac..079cf0f782 100644 --- a/kubernetes/test/test_v1beta1_job_template_spec.py +++ b/kubernetes/test/test_v1beta1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_json_schema_props.py b/kubernetes/test/test_v1beta1_json_schema_props.py index 3cdf0f799e..b062955f73 100644 --- a/kubernetes/test/test_v1beta1_json_schema_props.py +++ b/kubernetes/test/test_v1beta1_json_schema_props.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_local_subject_access_review.py b/kubernetes/test/test_v1beta1_local_subject_access_review.py index fe931d18c3..3848a220d6 100644 --- a/kubernetes/test/test_v1beta1_local_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py index 752ed7486f..a1fe308834 100644 --- a/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py +++ b/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py index 0e0c2af30b..0311c71bc2 100644 --- a/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py +++ b/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy.py b/kubernetes/test/test_v1beta1_network_policy.py index 77a549de58..6739fc2545 100644 --- a/kubernetes/test/test_v1beta1_network_policy.py +++ b/kubernetes/test/test_v1beta1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_egress_rule.py b/kubernetes/test/test_v1beta1_network_policy_egress_rule.py index 351b114adb..c41f45c20b 100644 --- a/kubernetes/test/test_v1beta1_network_policy_egress_rule.py +++ b/kubernetes/test/test_v1beta1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py index 0a4fb0fdd5..4c12c71489 100644 --- a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py +++ b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_list.py b/kubernetes/test/test_v1beta1_network_policy_list.py index eaee534226..f7b0f8d3f7 100644 --- a/kubernetes/test/test_v1beta1_network_policy_list.py +++ b/kubernetes/test/test_v1beta1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_peer.py b/kubernetes/test/test_v1beta1_network_policy_peer.py index cbb842ae8d..5f081792b4 100644 --- a/kubernetes/test/test_v1beta1_network_policy_peer.py +++ b/kubernetes/test/test_v1beta1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_port.py b/kubernetes/test/test_v1beta1_network_policy_port.py index 1e2864395c..9c89964e36 100644 --- a/kubernetes/test/test_v1beta1_network_policy_port.py +++ b/kubernetes/test/test_v1beta1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_spec.py b/kubernetes/test/test_v1beta1_network_policy_spec.py index 70f7960293..07a9fa14f0 100644 --- a/kubernetes/test/test_v1beta1_network_policy_spec.py +++ b/kubernetes/test/test_v1beta1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_non_resource_attributes.py b/kubernetes/test/test_v1beta1_non_resource_attributes.py index bcafc2fd2f..7575bc7ce3 100644 --- a/kubernetes/test/test_v1beta1_non_resource_attributes.py +++ b/kubernetes/test/test_v1beta1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_non_resource_rule.py b/kubernetes/test/test_v1beta1_non_resource_rule.py index 096a054bd0..2ae59c2119 100644 --- a/kubernetes/test/test_v1beta1_non_resource_rule.py +++ b/kubernetes/test/test_v1beta1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget.py b/kubernetes/test/test_v1beta1_pod_disruption_budget.py index f8a1e50cb2..2dfca4068b 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py index 0015d054b5..48ea635bdc 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py index 1f9a636012..7590922ac2 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py index 37a02c8779..712e3b5464 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_policy_rule.py b/kubernetes/test/test_v1beta1_policy_rule.py index 0516cf36c8..c2d51687ca 100644 --- a/kubernetes/test/test_v1beta1_policy_rule.py +++ b/kubernetes/test/test_v1beta1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_priority_class.py b/kubernetes/test/test_v1beta1_priority_class.py new file mode 100644 index 0000000000..7d50196214 --- /dev/null +++ b/kubernetes/test/test_v1beta1_priority_class.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1beta1_priority_class import V1beta1PriorityClass + + +class TestV1beta1PriorityClass(unittest.TestCase): + """ V1beta1PriorityClass unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1beta1PriorityClass(self): + """ + Test V1beta1PriorityClass + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1beta1_priority_class.V1beta1PriorityClass() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_priority_class_list.py b/kubernetes/test/test_v1beta1_priority_class_list.py new file mode 100644 index 0000000000..e06530551c --- /dev/null +++ b/kubernetes/test/test_v1beta1_priority_class_list.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.11.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1beta1_priority_class_list import V1beta1PriorityClassList + + +class TestV1beta1PriorityClassList(unittest.TestCase): + """ V1beta1PriorityClassList unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1beta1PriorityClassList(self): + """ + Test V1beta1PriorityClassList + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1beta1_priority_class_list.V1beta1PriorityClassList() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set.py b/kubernetes/test/test_v1beta1_replica_set.py index f07fee37e1..58aa488ab9 100644 --- a/kubernetes/test/test_v1beta1_replica_set.py +++ b/kubernetes/test/test_v1beta1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_replica_set_condition.py b/kubernetes/test/test_v1beta1_replica_set_condition.py index 7cd6442846..bebb0d369c 100644 --- a/kubernetes/test/test_v1beta1_replica_set_condition.py +++ b/kubernetes/test/test_v1beta1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_replica_set_list.py b/kubernetes/test/test_v1beta1_replica_set_list.py index 8cddc7b3fe..637812d2e5 100644 --- a/kubernetes/test/test_v1beta1_replica_set_list.py +++ b/kubernetes/test/test_v1beta1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_replica_set_spec.py b/kubernetes/test/test_v1beta1_replica_set_spec.py index fb39371e77..4e95772180 100644 --- a/kubernetes/test/test_v1beta1_replica_set_spec.py +++ b/kubernetes/test/test_v1beta1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_replica_set_status.py b/kubernetes/test/test_v1beta1_replica_set_status.py index fb48023443..1600c36d0e 100644 --- a/kubernetes/test/test_v1beta1_replica_set_status.py +++ b/kubernetes/test/test_v1beta1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_resource_attributes.py b/kubernetes/test/test_v1beta1_resource_attributes.py index 011609120c..c3cd685677 100644 --- a/kubernetes/test/test_v1beta1_resource_attributes.py +++ b/kubernetes/test/test_v1beta1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_resource_rule.py b/kubernetes/test/test_v1beta1_resource_rule.py index 4d439b39b1..e9584a14bd 100644 --- a/kubernetes/test/test_v1beta1_resource_rule.py +++ b/kubernetes/test/test_v1beta1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role.py b/kubernetes/test/test_v1beta1_role.py index 31180e60bc..983f2de113 100644 --- a/kubernetes/test/test_v1beta1_role.py +++ b/kubernetes/test/test_v1beta1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role_binding.py b/kubernetes/test/test_v1beta1_role_binding.py index 7d69ae39da..9f84e20f20 100644 --- a/kubernetes/test/test_v1beta1_role_binding.py +++ b/kubernetes/test/test_v1beta1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role_binding_list.py b/kubernetes/test/test_v1beta1_role_binding_list.py index 5ae57793cc..d0e3cc6af0 100644 --- a/kubernetes/test/test_v1beta1_role_binding_list.py +++ b/kubernetes/test/test_v1beta1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role_list.py b/kubernetes/test/test_v1beta1_role_list.py index 7adab7d5ce..1be2ef8787 100644 --- a/kubernetes/test/test_v1beta1_role_list.py +++ b/kubernetes/test/test_v1beta1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role_ref.py b/kubernetes/test/test_v1beta1_role_ref.py index 60845f82f1..f012fa8a59 100644 --- a/kubernetes/test/test_v1beta1_role_ref.py +++ b/kubernetes/test/test_v1beta1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py index e9e3edd3ac..489e077e27 100644 --- a/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py +++ b/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py index a5737182fe..1e1a69cd39 100644 --- a/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_rule_with_operations.py b/kubernetes/test/test_v1beta1_rule_with_operations.py index 958879b9d5..55843f93d7 100644 --- a/kubernetes/test/test_v1beta1_rule_with_operations.py +++ b/kubernetes/test/test_v1beta1_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review.py b/kubernetes/test/test_v1beta1_self_subject_access_review.py index f3764e61cb..c9e197f182 100644 --- a/kubernetes/test/test_v1beta1_self_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py index 0f43b45597..3dfc47cee7 100644 --- a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py +++ b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review.py b/kubernetes/test/test_v1beta1_self_subject_rules_review.py index 3a0351a441..45fea47c8c 100644 --- a/kubernetes/test/test_v1beta1_self_subject_rules_review.py +++ b/kubernetes/test/test_v1beta1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py index 7f4c3a34c8..e4984c8db2 100644 --- a/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py +++ b/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set.py b/kubernetes/test/test_v1beta1_stateful_set.py index 1ac2d32a8d..fdd888c6b5 100644 --- a/kubernetes/test/test_v1beta1_stateful_set.py +++ b/kubernetes/test/test_v1beta1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_condition.py b/kubernetes/test/test_v1beta1_stateful_set_condition.py index 11f7b7b53b..a853720d8f 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_condition.py +++ b/kubernetes/test/test_v1beta1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_list.py b/kubernetes/test/test_v1beta1_stateful_set_list.py index 60c3be14bc..ccfa910b67 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_list.py +++ b/kubernetes/test/test_v1beta1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_spec.py b/kubernetes/test/test_v1beta1_stateful_set_spec.py index cada2e6f35..50d3861c1a 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_spec.py +++ b/kubernetes/test/test_v1beta1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_status.py b/kubernetes/test/test_v1beta1_stateful_set_status.py index c3bb8fd490..9ce7ddb5cb 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_status.py +++ b/kubernetes/test/test_v1beta1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py index e95f7d9613..aa2d73bb95 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py +++ b/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_storage_class.py b/kubernetes/test/test_v1beta1_storage_class.py index c3975ec666..7320938b35 100644 --- a/kubernetes/test/test_v1beta1_storage_class.py +++ b/kubernetes/test/test_v1beta1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_storage_class_list.py b/kubernetes/test/test_v1beta1_storage_class_list.py index 3d07972712..030c0060fa 100644 --- a/kubernetes/test/test_v1beta1_storage_class_list.py +++ b/kubernetes/test/test_v1beta1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject.py b/kubernetes/test/test_v1beta1_subject.py index bc38599b57..a4d4fe556e 100644 --- a/kubernetes/test/test_v1beta1_subject.py +++ b/kubernetes/test/test_v1beta1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject_access_review.py b/kubernetes/test/test_v1beta1_subject_access_review.py index 8a360f3a90..d49d96280c 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_subject_access_review_spec.py index df181bf1ae..25b307c319 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review_spec.py +++ b/kubernetes/test/test_v1beta1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject_access_review_status.py b/kubernetes/test/test_v1beta1_subject_access_review_status.py index 4a8d6dd9d5..0bfb23cc64 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review_status.py +++ b/kubernetes/test/test_v1beta1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject_rules_review_status.py b/kubernetes/test/test_v1beta1_subject_rules_review_status.py index c81e46b601..59fa229d7a 100644 --- a/kubernetes/test/test_v1beta1_subject_rules_review_status.py +++ b/kubernetes/test/test_v1beta1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_token_review.py b/kubernetes/test/test_v1beta1_token_review.py index 4d953c3d52..8c977214f4 100644 --- a/kubernetes/test/test_v1beta1_token_review.py +++ b/kubernetes/test/test_v1beta1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_token_review_spec.py b/kubernetes/test/test_v1beta1_token_review_spec.py index 8bcddc02c7..1cf220ab77 100644 --- a/kubernetes/test/test_v1beta1_token_review_spec.py +++ b/kubernetes/test/test_v1beta1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_token_review_status.py b/kubernetes/test/test_v1beta1_token_review_status.py index 0bd5c8bb25..b3c84c3981 100644 --- a/kubernetes/test/test_v1beta1_token_review_status.py +++ b/kubernetes/test/test_v1beta1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_user_info.py b/kubernetes/test/test_v1beta1_user_info.py index b45493645d..ac266e1b18 100644 --- a/kubernetes/test/test_v1beta1_user_info.py +++ b/kubernetes/test/test_v1beta1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration.py index 8370293c8c..06c08c34a4 100644 --- a/kubernetes/test/test_v1beta1_validating_webhook_configuration.py +++ b/kubernetes/test/test_v1beta1_validating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py index 3aa90590f5..f7bfaa7ef3 100644 --- a/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py +++ b/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment.py b/kubernetes/test/test_v1beta1_volume_attachment.py index 981c2bc738..accbd72e22 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment.py +++ b/kubernetes/test/test_v1beta1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment_list.py b/kubernetes/test/test_v1beta1_volume_attachment_list.py index 4337f82211..947fb3fbf4 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment_list.py +++ b/kubernetes/test/test_v1beta1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment_source.py b/kubernetes/test/test_v1beta1_volume_attachment_source.py index cbf59d90a5..873f367ab0 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment_source.py +++ b/kubernetes/test/test_v1beta1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment_spec.py b/kubernetes/test/test_v1beta1_volume_attachment_spec.py index c9c97c9ae7..4ccb146f1d 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment_spec.py +++ b/kubernetes/test/test_v1beta1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment_status.py b/kubernetes/test/test_v1beta1_volume_attachment_status.py index 80dfaeeade..dbd72bb716 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment_status.py +++ b/kubernetes/test/test_v1beta1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_error.py b/kubernetes/test/test_v1beta1_volume_error.py index 7f316c2da6..e7e08299d8 100644 --- a/kubernetes/test/test_v1beta1_volume_error.py +++ b/kubernetes/test/test_v1beta1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_webhook.py b/kubernetes/test/test_v1beta1_webhook.py index 22557b0e54..d84bd58409 100644 --- a/kubernetes/test/test_v1beta1_webhook.py +++ b/kubernetes/test/test_v1beta1_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_webhook_client_config.py b/kubernetes/test/test_v1beta1_webhook_client_config.py index c8f949f436..f7890913e7 100644 --- a/kubernetes/test/test_v1beta1_webhook_client_config.py +++ b/kubernetes/test/test_v1beta1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_controller_revision.py b/kubernetes/test/test_v1beta2_controller_revision.py index a976311955..f209a6e086 100644 --- a/kubernetes/test/test_v1beta2_controller_revision.py +++ b/kubernetes/test/test_v1beta2_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_controller_revision_list.py b/kubernetes/test/test_v1beta2_controller_revision_list.py index f94a7e4b62..0995f71296 100644 --- a/kubernetes/test/test_v1beta2_controller_revision_list.py +++ b/kubernetes/test/test_v1beta2_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set.py b/kubernetes/test/test_v1beta2_daemon_set.py index eace708407..63ada5fee4 100644 --- a/kubernetes/test/test_v1beta2_daemon_set.py +++ b/kubernetes/test/test_v1beta2_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_condition.py b/kubernetes/test/test_v1beta2_daemon_set_condition.py index 60c2227805..efbfefa8d2 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_condition.py +++ b/kubernetes/test/test_v1beta2_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_list.py b/kubernetes/test/test_v1beta2_daemon_set_list.py index 699c75586b..415ebbe22a 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_list.py +++ b/kubernetes/test/test_v1beta2_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_spec.py b/kubernetes/test/test_v1beta2_daemon_set_spec.py index 44e9ad0be8..ea6814d486 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_spec.py +++ b/kubernetes/test/test_v1beta2_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_status.py b/kubernetes/test/test_v1beta2_daemon_set_status.py index 7e01633eb5..d97754c239 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_status.py +++ b/kubernetes/test/test_v1beta2_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py index a8209a7752..4106bc10b4 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py +++ b/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment.py b/kubernetes/test/test_v1beta2_deployment.py index 292248c43c..74e40e3053 100644 --- a/kubernetes/test/test_v1beta2_deployment.py +++ b/kubernetes/test/test_v1beta2_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_condition.py b/kubernetes/test/test_v1beta2_deployment_condition.py index 86d972ea16..4ac3ec8a4f 100644 --- a/kubernetes/test/test_v1beta2_deployment_condition.py +++ b/kubernetes/test/test_v1beta2_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_list.py b/kubernetes/test/test_v1beta2_deployment_list.py index a6c8a15429..a18e960531 100644 --- a/kubernetes/test/test_v1beta2_deployment_list.py +++ b/kubernetes/test/test_v1beta2_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_spec.py b/kubernetes/test/test_v1beta2_deployment_spec.py index 99cca7edc1..0179e632b6 100644 --- a/kubernetes/test/test_v1beta2_deployment_spec.py +++ b/kubernetes/test/test_v1beta2_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_status.py b/kubernetes/test/test_v1beta2_deployment_status.py index 2e359eb4b9..fbc2fda03e 100644 --- a/kubernetes/test/test_v1beta2_deployment_status.py +++ b/kubernetes/test/test_v1beta2_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_strategy.py b/kubernetes/test/test_v1beta2_deployment_strategy.py index 4319b9c56d..113f3bb1a0 100644 --- a/kubernetes/test/test_v1beta2_deployment_strategy.py +++ b/kubernetes/test/test_v1beta2_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set.py b/kubernetes/test/test_v1beta2_replica_set.py index 449f6e0fd4..164f1ec279 100644 --- a/kubernetes/test/test_v1beta2_replica_set.py +++ b/kubernetes/test/test_v1beta2_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set_condition.py b/kubernetes/test/test_v1beta2_replica_set_condition.py index 042b9d46b7..ef17c5f04b 100644 --- a/kubernetes/test/test_v1beta2_replica_set_condition.py +++ b/kubernetes/test/test_v1beta2_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set_list.py b/kubernetes/test/test_v1beta2_replica_set_list.py index d84d0bfc61..5ef4d31e9f 100644 --- a/kubernetes/test/test_v1beta2_replica_set_list.py +++ b/kubernetes/test/test_v1beta2_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set_spec.py b/kubernetes/test/test_v1beta2_replica_set_spec.py index 9c46c7eef5..94ffb1d2ae 100644 --- a/kubernetes/test/test_v1beta2_replica_set_spec.py +++ b/kubernetes/test/test_v1beta2_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set_status.py b/kubernetes/test/test_v1beta2_replica_set_status.py index f6e459af21..4887778be0 100644 --- a/kubernetes/test/test_v1beta2_replica_set_status.py +++ b/kubernetes/test/test_v1beta2_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py index b1dba29ddb..ec5687110a 100644 --- a/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py +++ b/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_rolling_update_deployment.py b/kubernetes/test/test_v1beta2_rolling_update_deployment.py index 3dc0e51f6b..e3ddf1d3f5 100644 --- a/kubernetes/test/test_v1beta2_rolling_update_deployment.py +++ b/kubernetes/test/test_v1beta2_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py index 3ed3a91cf3..2317203a7b 100644 --- a/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py +++ b/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_scale.py b/kubernetes/test/test_v1beta2_scale.py index 90a9b690b1..a003c1c05a 100644 --- a/kubernetes/test/test_v1beta2_scale.py +++ b/kubernetes/test/test_v1beta2_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_scale_spec.py b/kubernetes/test/test_v1beta2_scale_spec.py index f9113528e3..72bf926e19 100644 --- a/kubernetes/test/test_v1beta2_scale_spec.py +++ b/kubernetes/test/test_v1beta2_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_scale_status.py b/kubernetes/test/test_v1beta2_scale_status.py index a8d115f36a..5a829923bd 100644 --- a/kubernetes/test/test_v1beta2_scale_status.py +++ b/kubernetes/test/test_v1beta2_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set.py b/kubernetes/test/test_v1beta2_stateful_set.py index db5dcfa4f4..4ae68c5349 100644 --- a/kubernetes/test/test_v1beta2_stateful_set.py +++ b/kubernetes/test/test_v1beta2_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_condition.py b/kubernetes/test/test_v1beta2_stateful_set_condition.py index 2bb878ace5..6ad37eb6bf 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_condition.py +++ b/kubernetes/test/test_v1beta2_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_list.py b/kubernetes/test/test_v1beta2_stateful_set_list.py index 1e2b0580f9..a6b7d7f00c 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_list.py +++ b/kubernetes/test/test_v1beta2_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_spec.py b/kubernetes/test/test_v1beta2_stateful_set_spec.py index cc5f4a441a..0114f71d97 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_spec.py +++ b/kubernetes/test/test_v1beta2_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_status.py b/kubernetes/test/test_v1beta2_stateful_set_status.py index 38763c25a6..2eb85b3b3d 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_status.py +++ b/kubernetes/test/test_v1beta2_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py index 498e0f55c7..408319461a 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py +++ b/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_cron_job.py b/kubernetes/test/test_v2alpha1_cron_job.py index 88f4a09fbd..575f4c2cbd 100644 --- a/kubernetes/test/test_v2alpha1_cron_job.py +++ b/kubernetes/test/test_v2alpha1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_cron_job_list.py b/kubernetes/test/test_v2alpha1_cron_job_list.py index a0af172738..acf18a8644 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_list.py +++ b/kubernetes/test/test_v2alpha1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_cron_job_spec.py b/kubernetes/test/test_v2alpha1_cron_job_spec.py index 241c487fb6..1fa0602f94 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_spec.py +++ b/kubernetes/test/test_v2alpha1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_cron_job_status.py b/kubernetes/test/test_v2alpha1_cron_job_status.py index c20b19f951..517a9dd966 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_status.py +++ b/kubernetes/test/test_v2alpha1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_job_template_spec.py b/kubernetes/test/test_v2alpha1_job_template_spec.py index 982fc966da..6f1e8438cb 100644 --- a/kubernetes/test/test_v2alpha1_job_template_spec.py +++ b/kubernetes/test/test_v2alpha1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_cross_version_object_reference.py b/kubernetes/test/test_v2beta1_cross_version_object_reference.py index dbc37d6dc0..c68bf7a4b4 100644 --- a/kubernetes/test/test_v2beta1_cross_version_object_reference.py +++ b/kubernetes/test/test_v2beta1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_external_metric_source.py b/kubernetes/test/test_v2beta1_external_metric_source.py index 887e16a6c7..24f51cb90f 100644 --- a/kubernetes/test/test_v2beta1_external_metric_source.py +++ b/kubernetes/test/test_v2beta1_external_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_external_metric_status.py b/kubernetes/test/test_v2beta1_external_metric_status.py index 408e7bace0..3863b58152 100644 --- a/kubernetes/test/test_v2beta1_external_metric_status.py +++ b/kubernetes/test/test_v2beta1_external_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py index 03890a4901..eba15b26b4 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py index c11dbbdb66..141a93b437 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py index 13c1eed63b..51061e9afb 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py index b8c0db129b..f04056f45d 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py index 531965474c..6801f2870f 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_metric_spec.py b/kubernetes/test/test_v2beta1_metric_spec.py index 3f7b7d25e4..2df9f91b71 100644 --- a/kubernetes/test/test_v2beta1_metric_spec.py +++ b/kubernetes/test/test_v2beta1_metric_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_metric_status.py b/kubernetes/test/test_v2beta1_metric_status.py index 6f37bdab97..0a11d1a58e 100644 --- a/kubernetes/test/test_v2beta1_metric_status.py +++ b/kubernetes/test/test_v2beta1_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_object_metric_source.py b/kubernetes/test/test_v2beta1_object_metric_source.py index 48d78b5cc0..6a5bc8ed1d 100644 --- a/kubernetes/test/test_v2beta1_object_metric_source.py +++ b/kubernetes/test/test_v2beta1_object_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_object_metric_status.py b/kubernetes/test/test_v2beta1_object_metric_status.py index 19992d05a9..9b1f4ec7b2 100644 --- a/kubernetes/test/test_v2beta1_object_metric_status.py +++ b/kubernetes/test/test_v2beta1_object_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_pods_metric_source.py b/kubernetes/test/test_v2beta1_pods_metric_source.py index d7a11f1305..5bf6fffa73 100644 --- a/kubernetes/test/test_v2beta1_pods_metric_source.py +++ b/kubernetes/test/test_v2beta1_pods_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_pods_metric_status.py b/kubernetes/test/test_v2beta1_pods_metric_status.py index d778412d1c..9e5833dc24 100644 --- a/kubernetes/test/test_v2beta1_pods_metric_status.py +++ b/kubernetes/test/test_v2beta1_pods_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_resource_metric_source.py b/kubernetes/test/test_v2beta1_resource_metric_source.py index 9e87c6a5d8..39af113e38 100644 --- a/kubernetes/test/test_v2beta1_resource_metric_source.py +++ b/kubernetes/test/test_v2beta1_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_resource_metric_status.py b/kubernetes/test/test_v2beta1_resource_metric_status.py index 2160f69986..d0f3f542cc 100644 --- a/kubernetes/test/test_v2beta1_resource_metric_status.py +++ b/kubernetes/test/test_v2beta1_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_version_api.py b/kubernetes/test/test_version_api.py index 4e0f128364..a69739c917 100644 --- a/kubernetes/test/test_version_api.py +++ b/kubernetes/test/test_version_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_version_info.py b/kubernetes/test/test_version_info.py index 0e331b261c..7a88163dbf 100644 --- a/kubernetes/test/test_version_info.py +++ b/kubernetes/test/test_version_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.10.0 + OpenAPI spec version: v1.11.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/scripts/swagger.json b/scripts/swagger.json index fdf04302af..23db3f7d05 100644 --- a/scripts/swagger.json +++ b/scripts/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.10.0" + "version": "v1.11.1" }, "paths": { "/api/": { @@ -18312,6 +18312,41 @@ ] }, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status": { + "get": { + "description": "read status of the specified CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "readCustomResourceDefinitionStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified CustomResourceDefinition", "consumes": [ @@ -18363,6 +18398,54 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified CustomResourceDefinition", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "patchCustomResourceDefinitionStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -19081,6 +19164,41 @@ ] }, "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "readAPIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, "put": { "description": "replace status of the specified APIService", "consumes": [ @@ -19132,6 +19250,54 @@ "version": "v1" } }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "patchAPIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, "parameters": [ { "uniqueItems": true, @@ -19817,6 +19983,41 @@ ] }, "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "operationId": "readAPIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified APIService", "consumes": [ @@ -19868,6 +20069,54 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "operationId": "patchAPIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -40748,6 +40997,41 @@ ] }, "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { + "get": { + "description": "read status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "readCertificateSigningRequestStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified CertificateSigningRequest", "consumes": [ @@ -40799,6 +41083,54 @@ "version": "v1beta1" } }, + "patch": { + "description": "partially update status of the specified CertificateSigningRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "patchCertificateSigningRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, @@ -59663,7 +59995,673 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "replacePriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "deletePriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified PriorityClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "patchPriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { + "get": { + "description": "list or watch objects of kind PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1beta1" + ], + "operationId": "listPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PriorityClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1beta1" + ], + "operationId": "createPriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.PriorityClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.PriorityClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1beta1" + ], + "operationId": "deleteCollectionPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { + "get": { + "description": "read the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1beta1" + ], + "operationId": "readPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -59674,7 +60672,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -59691,7 +60689,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "replacePriorityClass", "parameters": [ @@ -59700,7 +60698,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } } ], @@ -59708,13 +60706,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -59725,7 +60723,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "delete": { @@ -59742,7 +60740,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "deletePriorityClass", "parameters": [ @@ -59791,7 +60789,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "patch": { @@ -59810,7 +60808,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "operationId": "patchPriorityClass", "parameters": [ @@ -59828,7 +60826,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -59839,7 +60837,7 @@ "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -59860,7 +60858,7 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { "parameters": [ { "uniqueItems": true, @@ -59927,7 +60925,7 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { "parameters": [ { "uniqueItems": true, @@ -64334,40 +65332,40 @@ } } }, - "v1.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "v1beta1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "required": [ - "type", - "status" + "spec" ], "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "type": "string", - "format": "date-time" - }, - "lastUpdateTime": { - "description": "The last time this condition was updated.", - "type": "string", - "format": "date-time" - }, - "message": { - "description": "A human readable message indicating details about the transition.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "reason": { - "description": "The reason for the condition's last transition.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "metadata": { + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" }, - "type": { - "description": "Type of deployment condition.", - "type": "string" + "spec": { + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", + "$ref": "#/definitions/v1beta1.VolumeAttachmentSpec" + }, + "status": { + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1beta1.VolumeAttachmentStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + ] }, "apps.v1beta1.RollbackConfig": { "description": "DEPRECATED.", @@ -64392,6 +65390,30 @@ } } }, + "v1.CinderPersistentVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/v1.SecretReference" + }, + "volumeID": { + "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, "v1.StatefulSet": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", "properties": { @@ -64439,6 +65461,7 @@ "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -64446,6 +65469,7 @@ "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -64458,6 +65482,10 @@ "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, + "config": { + "description": "Status of the config assigned to the node via the dynamic Kubelet config feature.", + "$ref": "#/definitions/v1.NodeConfigStatus" + }, "daemonEndpoints": { "description": "Endpoints of daemons running on the Node.", "$ref": "#/definitions/v1.NodeDaemonEndpoints" @@ -64493,6 +65521,30 @@ } } }, + "v1.ScopedResourceSelectorRequirement": { + "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", + "required": [ + "scopeName", + "operator" + ], + "properties": { + "operator": { + "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.", + "type": "string" + }, + "scopeName": { + "description": "The name of the scope that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1beta1.HTTPIngressPath": { "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", "required": [ @@ -64749,6 +65801,46 @@ } ] }, + "v1beta1.PriorityClass": { + "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "required": [ + "value" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "description": { + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", + "type": "string" + }, + "globalDefault": { + "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "type": "boolean" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "value": { + "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", + "type": "integer", + "format": "int32" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + ] + }, "v1.CephFSPersistentVolumeSource": { "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", "required": [ @@ -64864,6 +65956,41 @@ } ] }, + "v1.DeploymentCondition": { + "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "lastUpdateTime": { + "description": "The last time this condition was updated.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of deployment condition.", + "type": "string" + } + } + }, "apps.v1beta1.DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "required": [ @@ -64985,6 +66112,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -65375,13 +66509,13 @@ } }, "policy.v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ "rule" ], "properties": { "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, "seLinuxOptions": { @@ -65390,6 +66524,22 @@ } } }, + "v1beta1.IngressTLS": { + "description": "IngressTLS describes the transport layer security associated with an Ingress.", + "properties": { + "hosts": { + "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", + "type": "array", + "items": { + "type": "string" + } + }, + "secretName": { + "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", + "type": "string" + } + } + }, "v1.ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ @@ -65445,14 +66595,14 @@ "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", "type": "string" } } @@ -65546,11 +66696,15 @@ ] }, "extensions.v1beta1.AllowedHostPath": { - "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", "properties": { "pathPrefix": { - "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" } } }, @@ -65788,6 +66942,10 @@ "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "boolean" }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/v1.LocalObjectReference" + }, "volumeID": { "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "string" @@ -65795,13 +66953,17 @@ } }, "v1.NodeSelectorTerm": { - "description": "A null or empty node selector term matches no objects.", - "required": [ - "matchExpressions" - ], + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "properties": { "matchExpressions": { - "description": "Required. A list of node selector requirements. The requirements are ANDed.", + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NodeSelectorRequirement" + } + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", "type": "array", "items": { "$ref": "#/definitions/v1.NodeSelectorRequirement" @@ -66015,6 +67177,36 @@ } } }, + "v1.ConfigMapNodeConfigSource": { + "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.", + "required": [ + "namespace", + "name", + "kubeletConfigKey" + ], + "properties": { + "kubeletConfigKey": { + "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", + "type": "string" + }, + "name": { + "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "resourceVersion": { + "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + }, + "uid": { + "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + } + } + }, "apps.v1beta1.DeploymentList": { "description": "DeploymentList is a list of Deployments.", "required": [ @@ -66109,12 +67301,17 @@ "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", "properties": { "hard": { - "description": "Hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, + "scopeSelector": { + "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.", + "$ref": "#/definitions/v1.ScopeSelector" + }, "scopes": { "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", "type": "array", @@ -66233,7 +67430,14 @@ "description": "Status contains derived information about an API server", "$ref": "#/definitions/v1beta1.APIServiceStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + ] }, "v1beta1.Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined 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.", @@ -66291,6 +67495,7 @@ "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", "type": "object", "additionalProperties": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", "format": "date-time" } @@ -66335,7 +67540,14 @@ "metadata": { "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1" + } + ] }, "v1.PodAffinityTerm": { "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", @@ -66581,7 +67793,7 @@ ] }, "extensions.v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -66612,12 +67824,12 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "type": "object", "format": "int-or-string" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "type": "object", "format": "int-or-string" } @@ -66743,6 +67955,7 @@ "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -66752,7 +67965,7 @@ }, "cinder": { "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "$ref": "#/definitions/v1.CinderVolumeSource" + "$ref": "#/definitions/v1.CinderPersistentVolumeSource" }, "claimRef": { "description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding", @@ -66926,7 +68139,6 @@ "v1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -67031,7 +68243,14 @@ "description": "Status indicates the actual state of the CustomResourceDefinition", "$ref": "#/definitions/v1beta1.CustomResourceDefinitionStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + ] }, "v2beta1.ExternalMetricSource": { "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set.", @@ -67094,7 +68313,6 @@ "v1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -67427,6 +68645,7 @@ "description": "Represents the actual resources of the underlying volume.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -67528,13 +68747,13 @@ } }, "extensions.v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", "required": [ "driver" ], "properties": { "driver": { - "description": "Driver is the name of the Flexvolume driver.", + "description": "driver is the name of the Flexvolume driver.", "type": "string" } } @@ -67605,42 +68824,20 @@ } ] }, - "v1.SecurityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "v1.Sysctl": { + "description": "Sysctl defines a kernel parameter to be set", + "required": [ + "name", + "value" + ], "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" - }, - "capabilities": { - "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", - "$ref": "#/definitions/v1.Capabilities" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", - "format": "int64" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", - "format": "int64" + "name": { + "description": "Name of a property to set", + "type": "string" }, - "seLinuxOptions": { - "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "$ref": "#/definitions/v1.SELinuxOptions" + "value": { + "description": "Value of a property to set", + "type": "string" } } }, @@ -67669,18 +68866,6 @@ } } }, - "v1beta1.JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", - "required": [ - "Raw" - ], - "properties": { - "Raw": { - "type": "string", - "format": "byte" - } - } - }, "v1beta1.ReplicaSet": { "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { @@ -67749,7 +68934,7 @@ } }, "extensions.v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", + "description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.", "required": [ "seLinux", "runAsUser", @@ -67758,43 +68943,57 @@ ], "properties": { "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", "type": "boolean" }, "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", "type": "array", "items": { "type": "string" } }, "allowedFlexVolumes": { - "description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.", + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.AllowedFlexVolume" } }, "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.AllowedHostPath" } }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list.", + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", "type": "array", "items": { "type": "string" } }, "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", "type": "boolean" }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", "$ref": "#/definitions/extensions.v1beta1.FSGroupStrategyOptions" }, "hostIPC": { @@ -67821,11 +69020,11 @@ "type": "boolean" }, "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", "type": "boolean" }, "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", "type": "array", "items": { "type": "string" @@ -67840,11 +69039,11 @@ "$ref": "#/definitions/extensions.v1beta1.SELinuxStrategyOptions" }, "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", "$ref": "#/definitions/extensions.v1beta1.SupplementalGroupsStrategyOptions" }, "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", "type": "array", "items": { "type": "string" @@ -68036,7 +69235,7 @@ "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource" }, "gitRepo": { - "description": "GitRepo represents a git repository at a particular revision.", + "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "$ref": "#/definitions/v1.GitRepoVolumeSource" }, "glusterfs": { @@ -68203,7 +69402,7 @@ "type": "string" }, "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is beta in 1.10.", + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", "type": "string" }, "name": { @@ -68843,6 +70042,45 @@ } ] }, + "v1.SecurityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", + "type": "boolean" + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", + "$ref": "#/definitions/v1.Capabilities" + }, + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "$ref": "#/definitions/v1.SELinuxOptions" + } + } + }, "v1.NetworkPolicySpec": { "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", "required": [ @@ -69020,6 +70258,18 @@ } } }, + "v1.TopologySelectorTerm": { + "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", + "properties": { + "matchLabelExpressions": { + "description": "A list of topology selector requirements by labels.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.TopologySelectorLabelRequirement" + } + } + } + }, "v1.ObjectFieldSelector": { "description": "ObjectFieldSelector selects an APIVersioned field of an object.", "required": [ @@ -69182,15 +70432,15 @@ "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.", "properties": { "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", "$ref": "#/definitions/v1beta1.IPBlock" }, "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", "$ref": "#/definitions/v1.LabelSelector" }, "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", "$ref": "#/definitions/v1.LabelSelector" } } @@ -69269,13 +70519,13 @@ ] }, "extensions.v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.", "required": [ "rule" ], "properties": { "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, "seLinuxOptions": { @@ -69291,6 +70541,7 @@ "description": "Default resource requirement limit value by resource name if resource limit is omitted.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -69298,6 +70549,7 @@ "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -69305,6 +70557,7 @@ "description": "Max usage constraints on this kind by resource name.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -69312,6 +70565,7 @@ "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -69319,6 +70573,7 @@ "description": "Min usage constraints on this kind by resource name.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -69456,7 +70711,8 @@ "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "required": [ "conditions", - "acceptedNames" + "acceptedNames", + "storedVersions" ], "properties": { "acceptedNames": { @@ -69469,6 +70725,13 @@ "items": { "$ref": "#/definitions/v1beta1.CustomResourceDefinitionCondition" } + }, + "storedVersions": { + "description": "StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -69555,62 +70818,6 @@ } } }, - "admissionregistration.v1beta1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "required": [ - "namespace", - "name" - ], - "properties": { - "name": { - "description": "`name` is the name of the service. Required", - "type": "string" - }, - "namespace": { - "description": "`namespace` is the namespace of the service. Required", - "type": "string" - }, - "path": { - "description": "`path` is an optional URL path which will be sent in any request to this service.", - "type": "string" - } - } - }, - "v1beta1.VolumeAttachment": { - "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", - "required": [ - "spec" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", - "$ref": "#/definitions/v1beta1.VolumeAttachmentSpec" - }, - "status": { - "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", - "$ref": "#/definitions/v1beta1.VolumeAttachmentStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - ] - }, "v1beta1.APIServiceList": { "description": "APIServiceList is a list of APIService objects.", "required": [ @@ -69634,7 +70841,14 @@ "metadata": { "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1beta1" + } + ] }, "v1alpha1.VolumeAttachmentStatus": { "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", @@ -69746,6 +70960,27 @@ } } }, + "v1.NodeConfigStatus": { + "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", + "properties": { + "active": { + "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.", + "$ref": "#/definitions/v1.NodeConfigSource" + }, + "assigned": { + "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.", + "$ref": "#/definitions/v1.NodeConfigSource" + }, + "error": { + "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", + "type": "string" + }, + "lastKnownGood": { + "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.", + "$ref": "#/definitions/v1.NodeConfigSource" + } + } + }, "v1alpha1.PriorityClassList": { "description": "PriorityClassList is a collection of priority classes.", "required": [ @@ -69784,11 +71019,17 @@ "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "required": [ "group", - "version", "names", "scope" ], "properties": { + "additionalPrinterColumns": { + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" + } + }, "group": { "description": "Group is the group this resource belongs in", "type": "string" @@ -69802,7 +71043,7 @@ "type": "string" }, "subresources": { - "description": "Subresources describes the subresources for CustomResources This field is alpha-level and should only be sent to servers that enable subresources via the CustomResourceSubresources feature gate.", + "description": "Subresources describes the subresources for CustomResources", "$ref": "#/definitions/v1beta1.CustomResourceSubresources" }, "validation": { @@ -69810,8 +71051,15 @@ "$ref": "#/definitions/v1beta1.CustomResourceValidation" }, "version": { - "description": "Version is the version this resource belongs in", + "description": "Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`.", "type": "string" + }, + "versions": { + "description": "Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionVersion" + } } } }, @@ -69945,7 +71193,7 @@ "$ref": "#/definitions/v1.NodeConfigSource" }, "externalID": { - "description": "External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.", + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", "type": "string" }, "podCIDR": { @@ -69983,6 +71231,10 @@ "secret": { "description": "information about the secret data to project", "$ref": "#/definitions/v1.SecretProjection" + }, + "serviceAccountToken": { + "description": "information about the serviceAccountToken data to project", + "$ref": "#/definitions/v1.ServiceAccountTokenProjection" } } }, @@ -70163,26 +71415,26 @@ "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } } }, "v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity", + "description": "Local represents directly-attached storage with node affinity (Beta feature)", "required": [ "path" ], "properties": { "path": { - "description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device", + "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled.", "type": "string" } } @@ -70261,17 +71513,17 @@ } }, "extensions.v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", + "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", "type": "string" } } @@ -70483,6 +71735,7 @@ "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -70490,6 +71743,7 @@ "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } } @@ -70670,38 +71924,37 @@ } } }, - "v1.ObjectReference": { - "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", + "v1.Deployment": { + "description": "Deployment enables declarative updates for Pods and ReplicaSets.", "properties": { "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "fieldPath": { - "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "namespace": { - "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", - "type": "string" + "metadata": { + "description": "Standard object metadata.", + "$ref": "#/definitions/v1.ObjectMeta" }, - "resourceVersion": { - "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency", - "type": "string" + "spec": { + "description": "Specification of the desired behavior of the Deployment.", + "$ref": "#/definitions/v1.DeploymentSpec" }, - "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", - "type": "string" + "status": { + "description": "Most recently observed status of the Deployment.", + "$ref": "#/definitions/v1.DeploymentStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + ] }, "v1beta1.DaemonSetStatus": { "description": "DaemonSetStatus represents the current status of a daemon set.", @@ -70894,7 +72147,7 @@ } }, "policy.v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", "required": [ "min", "max" @@ -71050,20 +72303,20 @@ } }, "extensions.v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", "required": [ "rule" ], "properties": { "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", "type": "string" } } @@ -71480,25 +72733,11 @@ "v1.NodeConfigSource": { "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "configMapRef": { - "$ref": "#/definitions/v1.ObjectReference" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "NodeConfigSource", - "version": "v1" + "configMap": { + "description": "ConfigMap is a reference to a Node's ConfigMap", + "$ref": "#/definitions/v1.ConfigMapNodeConfigSource" } - ] + } }, "v1beta1.LocalSubjectAccessReview": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", @@ -71860,6 +73099,21 @@ "kind": "WatchEvent", "version": "v1beta1" }, + { + "group": "apiextensions.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "apps", "kind": "WatchEvent", @@ -71970,6 +73224,11 @@ "kind": "WatchEvent", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "WatchEvent", @@ -72096,12 +73355,12 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", "type": "object", "format": "int-or-string" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "type": "object", "format": "int-or-string" } @@ -72198,6 +73457,40 @@ } } }, + "v1beta1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of PriorityClasses", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.PriorityClass" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1beta1" + } + ] + }, "v1beta1.NetworkPolicyIngressRule": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", "properties": { @@ -72218,7 +73511,7 @@ } }, "policy.v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", + "description": "PodSecurityPolicySpec defines the policy enforced.", "required": [ "seLinux", "runAsUser", @@ -72227,43 +73520,57 @@ ], "properties": { "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", "type": "boolean" }, "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", "type": "array", "items": { "type": "string" } }, "allowedFlexVolumes": { - "description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.", + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.AllowedFlexVolume" } }, "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.AllowedHostPath" } }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list.", + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", "type": "array", "items": { "type": "string" } }, "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", "type": "boolean" }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", "$ref": "#/definitions/policy.v1beta1.FSGroupStrategyOptions" }, "hostIPC": { @@ -72290,11 +73597,11 @@ "type": "boolean" }, "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", "type": "boolean" }, "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", "type": "array", "items": { "type": "string" @@ -72309,11 +73616,11 @@ "$ref": "#/definitions/policy.v1beta1.SELinuxStrategyOptions" }, "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", "$ref": "#/definitions/policy.v1beta1.SupplementalGroupsStrategyOptions" }, "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", "type": "array", "items": { "type": "string" @@ -72390,7 +73697,7 @@ } }, "extensions.v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.", "required": [ "min", "max" @@ -72534,6 +73841,21 @@ "kind": "DeleteOptions", "version": "v1beta1" }, + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "apps", "kind": "DeleteOptions", @@ -72644,6 +73966,11 @@ "kind": "DeleteOptions", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "DeleteOptions", @@ -72733,7 +74060,7 @@ "x-kubernetes-patch-strategy": "merge" }, "publishNotReadyAddresses": { - "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field.", + "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", "type": "boolean" }, "selector": { @@ -72901,7 +74228,6 @@ "v1beta1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -73329,11 +74655,15 @@ } }, "policy.v1beta1.AllowedHostPath": { - "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", "properties": { "pathPrefix": { - "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" } } }, @@ -73429,18 +74759,18 @@ } }, "v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified.", + "description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed", "properties": { "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", "$ref": "#/definitions/v1.IPBlock" }, "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", "$ref": "#/definitions/v1.LabelSelector" }, "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", "$ref": "#/definitions/v1.LabelSelector" } } @@ -74056,8 +75386,7 @@ "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", - "versions", - "serverAddressByClientCIDRs" + "versions" ], "properties": { "apiVersion": { @@ -74159,6 +75488,7 @@ "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -74166,6 +75496,7 @@ "description": "Used is the current observed total usage of the resource in the namespace.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } } @@ -74206,19 +75537,19 @@ ] }, "policy.v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "description": "IDRange provides a min/max of an allowed range of IDs.", "required": [ "min", "max" ], "properties": { "max": { - "description": "Max is the end of the range, inclusive.", + "description": "max is the end of the range, inclusive.", "type": "integer", "format": "int64" }, "min": { - "description": "Min is the start of the range, inclusive.", + "description": "min is the start of the range, inclusive.", "type": "integer", "format": "int64" } @@ -74227,7 +75558,6 @@ "v1alpha1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -74263,12 +75593,46 @@ } ] }, - "v1.LocalObjectReference": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "v1alpha1.PolicyRule": { + "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "required": [ + "verbs" + ], "properties": { - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", + "type": "array", + "items": { + "type": "string" + } + }, + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "type": "array", + "items": { + "type": "string" + } + }, + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", + "type": "array", + "items": { + "type": "string" + } + }, + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -74279,7 +75643,7 @@ ], "properties": { "driver": { - "description": "Driver is the name of the Flexvolume driver.", + "description": "driver is the name of the Flexvolume driver.", "type": "string" } } @@ -74316,7 +75680,14 @@ "description": "Status contains derived information about an API server", "$ref": "#/definitions/v1.APIServiceStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + ] }, "v1.SubjectAccessReviewSpec": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", @@ -74735,7 +76106,7 @@ } }, "policy.v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -74993,7 +76364,7 @@ ] }, "policy.v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", "required": [ "items" ], @@ -75003,7 +76374,7 @@ "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is a list of schema objects.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" @@ -75085,46 +76456,12 @@ } } }, - "v1alpha1.PolicyRule": { - "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", - "required": [ - "verbs" - ], + "v1.LocalObjectReference": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", - "type": "array", - "items": { - "type": "string" - } - }, - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", - "type": "array", - "items": { - "type": "string" - } - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "type": "array", - "items": { - "type": "string" - } - }, - "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", - "type": "array", - "items": { - "type": "string" - } - }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", - "type": "array", - "items": { - "type": "string" - } + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" } } }, @@ -75213,24 +76550,6 @@ } ] }, - "v1beta1.JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", - "required": [ - "Schema", - "JSONSchemas" - ], - "properties": { - "JSONSchemas": { - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" - } - }, - "Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" - } - } - }, "extensions.v1beta1.DeploymentRollback": { "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "required": [ @@ -75355,6 +76674,18 @@ } ] }, + "v1.PodReadinessGate": { + "description": "PodReadinessGate contains the reference to a pod condition", + "required": [ + "conditionType" + ], + "properties": { + "conditionType": { + "description": "ConditionType refers to a condition in the pod's condition list with matching type.", + "type": "string" + } + } + }, "v1.APIResourceList": { "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ @@ -75494,7 +76825,7 @@ ] }, "v1.GitRepoVolumeSource": { - "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.", + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "required": [ "repository" ], @@ -75513,6 +76844,27 @@ } } }, + "v1.ServiceAccountTokenProjection": { + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "Path is the path relative to the mount point of the file to project the token into.", + "type": "string" + } + } + }, "v1.EnvVar": { "description": "EnvVar represents an environment variable present in a Container.", "required": [ @@ -75585,20 +76937,20 @@ } }, "policy.v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ "rule" ], "properties": { "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/policy.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", "type": "string" } } @@ -75648,21 +77000,6 @@ } } }, - "v1beta1.JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", - "required": [ - "Allows", - "Schema" - ], - "properties": { - "Allows": { - "type": "boolean" - }, - "Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" - } - } - }, "v1beta1.CertificateSigningRequestList": { "required": [ "items" @@ -75729,19 +77066,19 @@ ] }, "extensions.v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", "required": [ "min", "max" ], "properties": { "max": { - "description": "Max is the end of the range, inclusive.", + "description": "max is the end of the range, inclusive.", "type": "integer", "format": "int64" }, "min": { - "description": "Min is the start of the range, inclusive.", + "description": "min is the start of the range, inclusive.", "type": "integer", "format": "int64" } @@ -76157,7 +77494,6 @@ "v1beta1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -76260,22 +77596,6 @@ } } }, - "v1beta1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an Ingress.", - "properties": { - "hosts": { - "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "type": "array", - "items": { - "type": "string" - } - }, - "secretName": { - "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", - "type": "string" - } - } - }, "v1beta1.StorageClass": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "required": [ @@ -76286,6 +77606,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is alpha-level and is only honored by servers that enable the DynamicProvisioningScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -76334,7 +77661,7 @@ ] }, "v1.PodStatus": { - "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.", + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", "properties": { "conditions": { "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", @@ -76372,7 +77699,7 @@ "type": "string" }, "phase": { - "description": "Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", + "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", "type": "string" }, "podIP": { @@ -76683,6 +78010,26 @@ } } }, + "v1.TopologySelectorLabelRequirement": { + "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", + "required": [ + "key", + "values" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1beta1.CronJobSpec": { "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "required": [ @@ -77044,63 +78391,6 @@ } } }, - "v1.NodeSystemInfo": { - "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", - "required": [ - "machineID", - "systemUUID", - "bootID", - "kernelVersion", - "osImage", - "containerRuntimeVersion", - "kubeletVersion", - "kubeProxyVersion", - "operatingSystem", - "architecture" - ], - "properties": { - "architecture": { - "description": "The Architecture reported by the node", - "type": "string" - }, - "bootID": { - "description": "Boot ID reported by the node.", - "type": "string" - }, - "containerRuntimeVersion": { - "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", - "type": "string" - }, - "kernelVersion": { - "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", - "type": "string" - }, - "kubeProxyVersion": { - "description": "KubeProxy Version reported by the node.", - "type": "string" - }, - "kubeletVersion": { - "description": "Kubelet Version reported by the node.", - "type": "string" - }, - "machineID": { - "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", - "type": "string" - }, - "operatingSystem": { - "description": "The Operating System reported by the node", - "type": "string" - }, - "osImage": { - "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", - "type": "string" - }, - "systemUUID": { - "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html", - "type": "string" - } - } - }, "v1beta1.ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ @@ -77198,7 +78488,7 @@ "type": "string" }, "type": { - "description": "Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", "type": "string" } } @@ -77283,7 +78573,7 @@ "format": "byte" }, "service": { - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nIf there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error.", + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", "$ref": "#/definitions/admissionregistration.v1beta1.ServiceReference" }, "url": { @@ -77373,6 +78663,39 @@ } } }, + "v1.ObjectReference": { + "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "fieldPath": { + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string" + }, + "resourceVersion": { + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "uid": { + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "type": "string" + } + } + }, "v1.CSIPersistentVolumeSource": { "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", "required": [ @@ -77418,17 +78741,17 @@ } }, "extensions.v1beta1.FSGroupStrategyOptions": { - "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.", "properties": { "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.IDRange" } }, "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } } @@ -77606,12 +78929,12 @@ "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "type": "object", "format": "int-or-string" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "type": "object", "format": "int-or-string" } @@ -77697,7 +79020,6 @@ "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ "service", - "caBundle", "groupPriorityMinimum", "versionPriority" ], @@ -77729,7 +79051,7 @@ "type": "string" }, "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "type": "integer", "format": "int32" } @@ -77759,7 +79081,14 @@ "metadata": { "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", + "version": "v1beta1" + } + ] }, "v1.Toleration": { "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", @@ -77949,6 +79278,27 @@ } } }, + "admissionregistration.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", + "type": "string" + } + } + }, "v1.PodSpec": { "description": "PodSpec is a description of a pod.", "required": [ @@ -78048,6 +79398,13 @@ "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", "type": "string" }, + "readinessGates": { + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PodReadinessGate" + } + }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "type": "string" @@ -78186,7 +79543,6 @@ "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ "service", - "caBundle", "groupPriorityMinimum", "versionPriority" ], @@ -78218,7 +79574,7 @@ "type": "string" }, "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "type": "integer", "format": "int32" } @@ -78238,37 +79594,118 @@ } } }, - "v1.Deployment": { - "description": "Deployment enables declarative updates for Pods and ReplicaSets.", + "v1.NodeSystemInfo": { + "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", + "required": [ + "machineID", + "systemUUID", + "bootID", + "kernelVersion", + "osImage", + "containerRuntimeVersion", + "kubeletVersion", + "kubeProxyVersion", + "operatingSystem", + "architecture" + ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "architecture": { + "description": "The Architecture reported by the node", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "bootID": { + "description": "Boot ID reported by the node.", "type": "string" }, - "metadata": { - "description": "Standard object metadata.", - "$ref": "#/definitions/v1.ObjectMeta" + "containerRuntimeVersion": { + "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", + "type": "string" }, - "spec": { - "description": "Specification of the desired behavior of the Deployment.", - "$ref": "#/definitions/v1.DeploymentSpec" + "kernelVersion": { + "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", + "type": "string" }, - "status": { - "description": "Most recently observed status of the Deployment.", - "$ref": "#/definitions/v1.DeploymentStatus" + "kubeProxyVersion": { + "description": "KubeProxy Version reported by the node.", + "type": "string" + }, + "kubeletVersion": { + "description": "Kubelet Version reported by the node.", + "type": "string" + }, + "machineID": { + "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", + "type": "string" + }, + "operatingSystem": { + "description": "The Operating System reported by the node", + "type": "string" + }, + "osImage": { + "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", + "type": "string" + }, + "systemUUID": { + "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html", + "type": "string" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "Deployment", - "version": "v1" + } + }, + "v1beta1.CustomResourceDefinitionVersion": { + "required": [ + "name", + "served", + "storage" + ], + "properties": { + "name": { + "description": "Name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc.", + "type": "string" + }, + "served": { + "description": "Served is a flag enabling/disabling this version from being served via REST APIs", + "type": "boolean" + }, + "storage": { + "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", + "type": "boolean" } - ] + } + }, + "v1beta1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "required": [ + "name", + "type", + "JSONPath" + ], + "properties": { + "JSONPath": { + "description": "JSONPath is a simple JSON path, i.e. with array notation.", + "type": "string" + }, + "description": { + "description": "description is a human readable description of this column.", + "type": "string" + }, + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + }, + "name": { + "description": "name is a human readable name for the column.", + "type": "string" + }, + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", + "type": "integer", + "format": "int32" + }, + "type": { + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + } + } }, "v1.ResourceFieldSelector": { "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", @@ -78316,24 +79753,6 @@ } } }, - "v1beta1.JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", - "required": [ - "Schema", - "Property" - ], - "properties": { - "Property": { - "type": "array", - "items": { - "type": "string" - } - }, - "Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" - } - } - }, "v1.ScaleIOPersistentVolumeSource": { "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", "required": [ @@ -78790,10 +80209,12 @@ "type": "string" }, "additionalItems": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrBool" + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", + "type": "object" }, "additionalProperties": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrBool" + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", + "type": "object" }, "allOf": { "type": "array", @@ -78808,7 +80229,8 @@ } }, "default": { - "$ref": "#/definitions/v1beta1.JSON" + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "type": "object" }, "definitions": { "type": "object", @@ -78819,7 +80241,8 @@ "dependencies": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrStringArray" + "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", + "type": "object" } }, "description": { @@ -78828,11 +80251,13 @@ "enum": { "type": "array", "items": { - "$ref": "#/definitions/v1beta1.JSON" + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "type": "object" } }, "example": { - "$ref": "#/definitions/v1beta1.JSON" + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "type": "object" }, "exclusiveMaximum": { "type": "boolean" @@ -78850,7 +80275,8 @@ "type": "string" }, "items": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrArray" + "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", + "type": "object" }, "maxItems": { "type": "integer", @@ -78930,7 +80356,7 @@ } }, "extensions.v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.", "required": [ "items" ], @@ -78940,7 +80366,7 @@ "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is a list of schema objects.", "type": "array", "items": { "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" @@ -79055,6 +80481,18 @@ } } }, + "v1.ScopeSelector": { + "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", + "properties": { + "matchExpressions": { + "description": "A list of scope selector requirements by scope of the resources.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ScopedResourceSelectorRequirement" + } + } + } + }, "v1.ServiceAccount": { "description": "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", "properties": { @@ -79219,7 +80657,6 @@ "v1alpha1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -79624,6 +81061,13 @@ "type": "integer", "format": "int64" } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Sysctl" + } } } }, diff --git a/setup.py b/setup.py index e4fa96df6b..13f7031065 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "6.0.0-snapshot" +CLIENT_VERSION = "7.0.0-snapshot" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "4 - Beta" From 81378e77f2c850fc135816c77b7e4159ef4791cb Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Wed, 11 Jul 2018 13:29:09 -0700 Subject: [PATCH 3/3] Update CHANGELOG for API changes in Kubernetes 1.11 --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 979af4555a..34e9478a64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,17 @@ - Watch now properly deserializes custom resource objects and updates resource version [kubernetes-client/python-base#64](https://github.com/kubernetes-client/python-base/pull/64) - `idp-certificate-authority-data` in kubeconfig is now optional instead of required for OIDC token refresh [kubernetes-client/python-base#69](https://github.com/kubernetes-client/python-base/pull/69) +**API Change:** +- ApiextensionsV1beta1Api: Add PATCH and GET to custom_resource_definition_status [kubernetes/kubernetes#63619](https://github.com/kubernetes/kubernetes/pull/63619) +- ApiregistrationV1Api and ApiregistrationV1beta1Api: Add PATCH and GET to api_service_status [kubernetes/kubernetes#64063](https://github.com/kubernetes/kubernetes/pull/64063) +- CertificatesV1beta1Api: Add PATCH and GET to certificate_signing_request_status [kubernetes/kubernetes#64063](https://github.com/kubernetes/kubernetes/pull/64063) +- SchedulingV1beta1Api: Promote priority_class to beta [kubernetes/kubernetes#63100](https://github.com/kubernetes/kubernetes/pull/63100) +- PodSecurityPolicy now supports restricting hostPath volume mounts to be readOnly and under specific path prefixes [kubernetes/kubernetes#58647](https://github.com/kubernetes/kubernetes/pull/58647) +- The Sysctls experimental feature has been promoted to beta (enabled by default via the `Sysctls` feature flag). PodSecurityPolicy and Pod objects now have fields for specifying and controlling sysctls. Alpha sysctl annotations will be ignored by 1.11+ kubelets. All alpha sysctl annotations in existing deployments must be converted to API fields to be effective. [kubernetes/kubernetes#63717](https://github.com/kubernetes/kubernetes/pull/63717) +- Add CRD Versioning with NOP converter [kubernetes/kubernetes#63830](https://github.com/kubernetes/kubernetes/pull/63830) +- Volume topology aware dynamic provisioning [kubernetes/kubernetes#63233](https://github.com/kubernetes/kubernetes/pull/63233) +- Fixed incorrect OpenAPI schema for CustomResourceDefinition objects with a validation schema [kubernetes/kubernetes#65256](https://github.com/kubernetes/kubernetes/pull/65256) + # v6.0.0 - Config loader now supports OIDC auth [kubernetes-client/python-base#48](https://github.com/kubernetes-client/python-base/pull/48) - Bug fix: fix expiry time checking in API token refresh [kubernetes-client/python-base#55](https://github.com/kubernetes-client/python-base/pull/55)