From 6cda4afe8f02766ddc7fc99984ab9f5da0f07c39 Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Fri, 17 Mar 2017 01:32:16 -0400 Subject: [PATCH 1/3] Workaround for auth issue --- openshift/client/apis/apis_api.py | 2 +- openshift/client/apis/apps_api.py | 2 +- openshift/client/apis/apps_v1beta1_api.py | 26 +- openshift/client/apis/authentication_api.py | 2 +- .../client/apis/authentication_v1beta1_api.py | 4 +- openshift/client/apis/autoscaling_api.py | 2 +- openshift/client/apis/autoscaling_v1_api.py | 26 +- openshift/client/apis/batch_api.py | 2 +- openshift/client/apis/batch_v1_api.py | 26 +- openshift/client/apis/batch_v2alpha1_api.py | 74 +-- openshift/client/apis/certificates_api.py | 2 +- .../client/apis/certificates_v1alpha1_api.py | 20 +- openshift/client/apis/core_api.py | 2 +- openshift/client/apis/core_v1_api.py | 498 +++++++-------- openshift/client/apis/default_api.py | 6 +- openshift/client/apis/extensions_api.py | 2 +- .../client/apis/extensions_v1beta1_api.py | 212 +++---- openshift/client/apis/oapi_api.py | 578 +++++++++--------- openshift/client/apis/osapi_api.py | 2 +- openshift/client/apis/policy_api.py | 2 +- openshift/client/apis/policy_v1beta1_api.py | 26 +- openshift/client/apis/storage_api.py | 2 +- openshift/client/apis/storage_v1beta1_api.py | 16 +- openshift/client/apis/version_api.py | 2 +- scripts/preprocess_spec.py | 15 + scripts/swagger.json | 15 +- scripts/update-client.sh | 5 + 27 files changed, 802 insertions(+), 769 deletions(-) diff --git a/openshift/client/apis/apis_api.py b/openshift/client/apis/apis_api.py index f1e32eb9..31ce6afc 100644 --- a/openshift/client/apis/apis_api.py +++ b/openshift/client/apis/apis_api.py @@ -120,7 +120,7 @@ def get_api_versions_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/apps_api.py b/openshift/client/apis/apps_api.py index d6e00a80..9865c65b 100644 --- a/openshift/client/apis/apps_api.py +++ b/openshift/client/apis/apps_api.py @@ -120,7 +120,7 @@ def get_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/apps_v1beta1_api.py b/openshift/client/apis/apps_v1beta1_api.py index 5eb33590..6835444e 100644 --- a/openshift/client/apis/apps_v1beta1_api.py +++ b/openshift/client/apis/apps_v1beta1_api.py @@ -139,7 +139,7 @@ def create_namespaced_stateful_set_with_http_info(self, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -248,7 +248,7 @@ def create_stateful_set_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -377,7 +377,7 @@ def delete_collection_namespaced_stateful_set_with_http_info(self, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -508,7 +508,7 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -605,7 +605,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -734,7 +734,7 @@ def list_namespaced_stateful_set_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -856,7 +856,7 @@ def list_stateful_set_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -979,7 +979,7 @@ def patch_namespaced_stateful_set_with_http_info(self, name, namespace, body, ** select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1102,7 +1102,7 @@ def patch_namespaced_stateful_set_status_with_http_info(self, name, namespace, b select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1226,7 +1226,7 @@ def read_namespaced_stateful_set_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1342,7 +1342,7 @@ def read_namespaced_stateful_set_status_with_http_info(self, name, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1465,7 +1465,7 @@ def replace_namespaced_stateful_set_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -1588,7 +1588,7 @@ def replace_namespaced_stateful_set_status_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/authentication_api.py b/openshift/client/apis/authentication_api.py index f306d793..fef2d62a 100644 --- a/openshift/client/apis/authentication_api.py +++ b/openshift/client/apis/authentication_api.py @@ -120,7 +120,7 @@ def get_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/authentication_v1beta1_api.py b/openshift/client/apis/authentication_v1beta1_api.py index b4bd6604..cc183976 100644 --- a/openshift/client/apis/authentication_v1beta1_api.py +++ b/openshift/client/apis/authentication_v1beta1_api.py @@ -132,7 +132,7 @@ def create_token_review_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -229,7 +229,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/autoscaling_api.py b/openshift/client/apis/autoscaling_api.py index b4cf78f0..260d46d8 100644 --- a/openshift/client/apis/autoscaling_api.py +++ b/openshift/client/apis/autoscaling_api.py @@ -120,7 +120,7 @@ def get_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/autoscaling_v1_api.py b/openshift/client/apis/autoscaling_v1_api.py index 5c83fe29..2a2060bd 100644 --- a/openshift/client/apis/autoscaling_v1_api.py +++ b/openshift/client/apis/autoscaling_v1_api.py @@ -132,7 +132,7 @@ def create_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -248,7 +248,7 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -377,7 +377,7 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -508,7 +508,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -605,7 +605,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -727,7 +727,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -856,7 +856,7 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -979,7 +979,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1102,7 +1102,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1226,7 +1226,7 @@ def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1342,7 +1342,7 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1465,7 +1465,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -1588,7 +1588,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/batch_api.py b/openshift/client/apis/batch_api.py index f4e505cd..eca3ccd8 100644 --- a/openshift/client/apis/batch_api.py +++ b/openshift/client/apis/batch_api.py @@ -120,7 +120,7 @@ def get_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/batch_v1_api.py b/openshift/client/apis/batch_v1_api.py index 83eb63c7..e6796168 100644 --- a/openshift/client/apis/batch_v1_api.py +++ b/openshift/client/apis/batch_v1_api.py @@ -132,7 +132,7 @@ def create_job_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -248,7 +248,7 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -377,7 +377,7 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -508,7 +508,7 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -605,7 +605,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -727,7 +727,7 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -856,7 +856,7 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -979,7 +979,7 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1102,7 +1102,7 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1226,7 +1226,7 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1342,7 +1342,7 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1465,7 +1465,7 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -1588,7 +1588,7 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/batch_v2alpha1_api.py b/openshift/client/apis/batch_v2alpha1_api.py index 86015c49..012e44f7 100644 --- a/openshift/client/apis/batch_v2alpha1_api.py +++ b/openshift/client/apis/batch_v2alpha1_api.py @@ -132,7 +132,7 @@ def create_cron_job_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -241,7 +241,7 @@ def create_job_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -357,7 +357,7 @@ def create_namespaced_cron_job_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -473,7 +473,7 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -589,7 +589,7 @@ def create_namespaced_scheduled_job_with_http_info(self, namespace, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -698,7 +698,7 @@ def create_scheduled_job_for_all_namespaces_with_http_info(self, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -827,7 +827,7 @@ def delete_collection_namespaced_cron_job_with_http_info(self, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -956,7 +956,7 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1085,7 +1085,7 @@ def delete_collection_namespaced_scheduled_job_with_http_info(self, namespace, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1216,7 +1216,7 @@ def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1347,7 +1347,7 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1478,7 +1478,7 @@ def delete_namespaced_scheduled_job_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1575,7 +1575,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1697,7 +1697,7 @@ def list_cron_job_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1819,7 +1819,7 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1948,7 +1948,7 @@ def list_namespaced_cron_job_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2077,7 +2077,7 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2206,7 +2206,7 @@ def list_namespaced_scheduled_job_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2328,7 +2328,7 @@ def list_scheduled_job_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2451,7 +2451,7 @@ def patch_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwar select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2574,7 +2574,7 @@ def patch_namespaced_cron_job_status_with_http_info(self, name, namespace, body, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2697,7 +2697,7 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2820,7 +2820,7 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2943,7 +2943,7 @@ def patch_namespaced_scheduled_job_with_http_info(self, name, namespace, body, * select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -3066,7 +3066,7 @@ def patch_namespaced_scheduled_job_status_with_http_info(self, name, namespace, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -3190,7 +3190,7 @@ def read_namespaced_cron_job_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3306,7 +3306,7 @@ def read_namespaced_cron_job_status_with_http_info(self, name, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3430,7 +3430,7 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3546,7 +3546,7 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3670,7 +3670,7 @@ def read_namespaced_scheduled_job_with_http_info(self, name, namespace, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3786,7 +3786,7 @@ def read_namespaced_scheduled_job_status_with_http_info(self, name, namespace, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3909,7 +3909,7 @@ def replace_namespaced_cron_job_with_http_info(self, name, namespace, body, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4032,7 +4032,7 @@ def replace_namespaced_cron_job_status_with_http_info(self, name, namespace, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4155,7 +4155,7 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4278,7 +4278,7 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4401,7 +4401,7 @@ def replace_namespaced_scheduled_job_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4524,7 +4524,7 @@ def replace_namespaced_scheduled_job_status_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/certificates_api.py b/openshift/client/apis/certificates_api.py index cebe0728..f8bd5408 100644 --- a/openshift/client/apis/certificates_api.py +++ b/openshift/client/apis/certificates_api.py @@ -120,7 +120,7 @@ def get_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/certificates_v1alpha1_api.py b/openshift/client/apis/certificates_v1alpha1_api.py index 9d9dad9b..7d7a1b81 100644 --- a/openshift/client/apis/certificates_v1alpha1_api.py +++ b/openshift/client/apis/certificates_v1alpha1_api.py @@ -132,7 +132,7 @@ def create_certificate_signing_request_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -256,7 +256,7 @@ def delete_certificate_signing_request_with_http_info(self, name, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -378,7 +378,7 @@ def delete_collection_certificate_signing_request_with_http_info(self, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -475,7 +475,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -597,7 +597,7 @@ def list_certificate_signing_request_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -713,7 +713,7 @@ def patch_certificate_signing_request_with_http_info(self, name, body, **kwargs) select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -830,7 +830,7 @@ def read_certificate_signing_request_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -946,7 +946,7 @@ def replace_certificate_signing_request_with_http_info(self, name, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -1062,7 +1062,7 @@ def replace_certificate_signing_request_approval_with_http_info(self, body, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -1178,7 +1178,7 @@ def replace_certificate_signing_request_status_with_http_info(self, body, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/core_api.py b/openshift/client/apis/core_api.py index 586f1be8..849cd27f 100644 --- a/openshift/client/apis/core_api.py +++ b/openshift/client/apis/core_api.py @@ -120,7 +120,7 @@ def get_api_versions_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/core_v1_api.py b/openshift/client/apis/core_v1_api.py index 93ae6c03..22d89d42 100644 --- a/openshift/client/apis/core_v1_api.py +++ b/openshift/client/apis/core_v1_api.py @@ -139,7 +139,7 @@ def connect_delete_namespaced_pod_proxy_with_http_info(self, name, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -262,7 +262,7 @@ def connect_delete_namespaced_pod_proxy_with_path_with_http_info(self, name, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -378,7 +378,7 @@ def connect_delete_namespaced_service_proxy_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -501,7 +501,7 @@ def connect_delete_namespaced_service_proxy_with_path_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -610,7 +610,7 @@ def connect_delete_node_proxy_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -726,7 +726,7 @@ def connect_delete_node_proxy_with_path_with_http_info(self, name, path, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -858,7 +858,7 @@ def connect_get_namespaced_pod_attach_with_http_info(self, name, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -994,7 +994,7 @@ def connect_get_namespaced_pod_exec_with_http_info(self, name, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1106,7 +1106,7 @@ def connect_get_namespaced_pod_portforward_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1222,7 +1222,7 @@ def connect_get_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1345,7 +1345,7 @@ def connect_get_namespaced_pod_proxy_with_path_with_http_info(self, name, namesp select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1461,7 +1461,7 @@ def connect_get_namespaced_service_proxy_with_http_info(self, name, namespace, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1584,7 +1584,7 @@ def connect_get_namespaced_service_proxy_with_path_with_http_info(self, name, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1693,7 +1693,7 @@ def connect_get_node_proxy_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1809,7 +1809,7 @@ def connect_get_node_proxy_with_path_with_http_info(self, name, path, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1925,7 +1925,7 @@ def connect_head_namespaced_pod_proxy_with_http_info(self, name, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -2048,7 +2048,7 @@ def connect_head_namespaced_pod_proxy_with_path_with_http_info(self, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -2164,7 +2164,7 @@ def connect_head_namespaced_service_proxy_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -2287,7 +2287,7 @@ def connect_head_namespaced_service_proxy_with_path_with_http_info(self, name, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -2396,7 +2396,7 @@ def connect_head_node_proxy_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -2512,7 +2512,7 @@ def connect_head_node_proxy_with_path_with_http_info(self, name, path, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -2628,7 +2628,7 @@ def connect_options_namespaced_pod_proxy_with_http_info(self, name, namespace, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -2751,7 +2751,7 @@ def connect_options_namespaced_pod_proxy_with_path_with_http_info(self, name, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -2867,7 +2867,7 @@ def connect_options_namespaced_service_proxy_with_http_info(self, name, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -2990,7 +2990,7 @@ def connect_options_namespaced_service_proxy_with_path_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -3099,7 +3099,7 @@ def connect_options_node_proxy_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -3215,7 +3215,7 @@ def connect_options_node_proxy_with_path_with_http_info(self, name, path, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -3347,7 +3347,7 @@ def connect_post_namespaced_pod_attach_with_http_info(self, name, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3483,7 +3483,7 @@ def connect_post_namespaced_pod_exec_with_http_info(self, name, namespace, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3595,7 +3595,7 @@ def connect_post_namespaced_pod_portforward_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3711,7 +3711,7 @@ def connect_post_namespaced_pod_proxy_with_http_info(self, name, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3834,7 +3834,7 @@ def connect_post_namespaced_pod_proxy_with_path_with_http_info(self, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3950,7 +3950,7 @@ def connect_post_namespaced_service_proxy_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4073,7 +4073,7 @@ def connect_post_namespaced_service_proxy_with_path_with_http_info(self, name, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4182,7 +4182,7 @@ def connect_post_node_proxy_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4298,7 +4298,7 @@ def connect_post_node_proxy_with_path_with_http_info(self, name, path, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4414,7 +4414,7 @@ def connect_put_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4537,7 +4537,7 @@ def connect_put_namespaced_pod_proxy_with_path_with_http_info(self, name, namesp select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4653,7 +4653,7 @@ def connect_put_namespaced_service_proxy_with_http_info(self, name, namespace, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4776,7 +4776,7 @@ def connect_put_namespaced_service_proxy_with_path_with_http_info(self, name, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4885,7 +4885,7 @@ def connect_put_node_proxy_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -5001,7 +5001,7 @@ def connect_put_node_proxy_with_path_with_http_info(self, name, path, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -5110,7 +5110,7 @@ def create_binding_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5219,7 +5219,7 @@ def create_config_map_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5328,7 +5328,7 @@ def create_endpoints_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5437,7 +5437,7 @@ def create_event_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5546,7 +5546,7 @@ def create_limit_range_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5655,7 +5655,7 @@ def create_namespace_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5771,7 +5771,7 @@ def create_namespaced_binding_with_http_info(self, body, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5894,7 +5894,7 @@ def create_namespaced_binding_binding_with_http_info(self, body, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6010,7 +6010,7 @@ def create_namespaced_config_map_with_http_info(self, namespace, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6126,7 +6126,7 @@ def create_namespaced_endpoints_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6242,7 +6242,7 @@ def create_namespaced_event_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6365,7 +6365,7 @@ def create_namespaced_eviction_eviction_with_http_info(self, body, name, namespa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6481,7 +6481,7 @@ def create_namespaced_limit_range_with_http_info(self, namespace, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6597,7 +6597,7 @@ def create_namespaced_persistent_volume_claim_with_http_info(self, namespace, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6713,7 +6713,7 @@ def create_namespaced_pod_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6829,7 +6829,7 @@ def create_namespaced_pod_template_with_http_info(self, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6945,7 +6945,7 @@ def create_namespaced_replication_controller_with_http_info(self, namespace, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7061,7 +7061,7 @@ def create_namespaced_resource_quota_with_http_info(self, namespace, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7177,7 +7177,7 @@ def create_namespaced_secret_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7293,7 +7293,7 @@ def create_namespaced_service_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7409,7 +7409,7 @@ def create_namespaced_service_account_with_http_info(self, namespace, body, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7518,7 +7518,7 @@ def create_node_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7627,7 +7627,7 @@ def create_persistent_volume_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7736,7 +7736,7 @@ def create_persistent_volume_claim_for_all_namespaces_with_http_info(self, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7845,7 +7845,7 @@ def create_pod_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7954,7 +7954,7 @@ def create_pod_template_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8063,7 +8063,7 @@ def create_replication_controller_for_all_namespaces_with_http_info(self, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8172,7 +8172,7 @@ def create_resource_quota_for_all_namespaces_with_http_info(self, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8281,7 +8281,7 @@ def create_secret_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8390,7 +8390,7 @@ def create_security_context_constraints_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8499,7 +8499,7 @@ def create_service_account_for_all_namespaces_with_http_info(self, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8608,7 +8608,7 @@ def create_service_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8730,7 +8730,7 @@ def delete_collection_namespace_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -8859,7 +8859,7 @@ def delete_collection_namespaced_config_map_with_http_info(self, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -8988,7 +8988,7 @@ def delete_collection_namespaced_endpoints_with_http_info(self, namespace, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9117,7 +9117,7 @@ def delete_collection_namespaced_event_with_http_info(self, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9246,7 +9246,7 @@ def delete_collection_namespaced_limit_range_with_http_info(self, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9375,7 +9375,7 @@ def delete_collection_namespaced_persistent_volume_claim_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9504,7 +9504,7 @@ def delete_collection_namespaced_pod_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9633,7 +9633,7 @@ def delete_collection_namespaced_pod_template_with_http_info(self, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9762,7 +9762,7 @@ def delete_collection_namespaced_replication_controller_with_http_info(self, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9891,7 +9891,7 @@ def delete_collection_namespaced_resource_quota_with_http_info(self, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10020,7 +10020,7 @@ def delete_collection_namespaced_secret_with_http_info(self, namespace, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10149,7 +10149,7 @@ def delete_collection_namespaced_service_account_with_http_info(self, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10271,7 +10271,7 @@ def delete_collection_node_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10393,7 +10393,7 @@ def delete_collection_persistent_volume_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10515,7 +10515,7 @@ def delete_collection_security_context_constraints_with_http_info(self, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10639,7 +10639,7 @@ def delete_namespace_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10770,7 +10770,7 @@ def delete_namespaced_config_map_with_http_info(self, name, namespace, body, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10901,7 +10901,7 @@ def delete_namespaced_endpoints_with_http_info(self, name, namespace, body, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11032,7 +11032,7 @@ def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11163,7 +11163,7 @@ def delete_namespaced_limit_range_with_http_info(self, name, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11294,7 +11294,7 @@ def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11425,7 +11425,7 @@ def delete_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11556,7 +11556,7 @@ def delete_namespaced_pod_template_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11687,7 +11687,7 @@ def delete_namespaced_replication_controller_with_http_info(self, name, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11818,7 +11818,7 @@ def delete_namespaced_resource_quota_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11949,7 +11949,7 @@ def delete_namespaced_secret_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12065,7 +12065,7 @@ def delete_namespaced_service_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12196,7 +12196,7 @@ def delete_namespaced_service_account_with_http_info(self, name, namespace, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12320,7 +12320,7 @@ def delete_node_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12444,7 +12444,7 @@ def delete_persistent_volume_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12568,7 +12568,7 @@ def delete_security_context_constraints_with_http_info(self, name, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12665,7 +12665,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -12787,7 +12787,7 @@ def list_component_status_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -12909,7 +12909,7 @@ def list_config_map_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -13031,7 +13031,7 @@ def list_endpoints_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -13153,7 +13153,7 @@ def list_event_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -13275,7 +13275,7 @@ def list_limit_range_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -13397,7 +13397,7 @@ def list_namespace_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -13526,7 +13526,7 @@ def list_namespaced_config_map_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -13655,7 +13655,7 @@ def list_namespaced_endpoints_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -13784,7 +13784,7 @@ def list_namespaced_event_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -13913,7 +13913,7 @@ def list_namespaced_limit_range_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -14042,7 +14042,7 @@ def list_namespaced_persistent_volume_claim_with_http_info(self, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -14171,7 +14171,7 @@ def list_namespaced_pod_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -14300,7 +14300,7 @@ def list_namespaced_pod_template_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -14429,7 +14429,7 @@ def list_namespaced_replication_controller_with_http_info(self, namespace, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -14558,7 +14558,7 @@ def list_namespaced_resource_quota_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -14687,7 +14687,7 @@ def list_namespaced_secret_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -14816,7 +14816,7 @@ def list_namespaced_service_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -14945,7 +14945,7 @@ def list_namespaced_service_account_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -15067,7 +15067,7 @@ def list_node_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -15189,7 +15189,7 @@ def list_persistent_volume_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -15311,7 +15311,7 @@ def list_persistent_volume_claim_for_all_namespaces_with_http_info(self, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -15433,7 +15433,7 @@ def list_pod_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -15555,7 +15555,7 @@ def list_pod_template_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -15677,7 +15677,7 @@ def list_replication_controller_for_all_namespaces_with_http_info(self, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -15799,7 +15799,7 @@ def list_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -15921,7 +15921,7 @@ def list_secret_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16043,7 +16043,7 @@ def list_security_context_constraints_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16165,7 +16165,7 @@ def list_service_account_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16287,7 +16287,7 @@ def list_service_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16403,7 +16403,7 @@ def patch_namespace_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -16519,7 +16519,7 @@ def patch_namespace_status_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -16642,7 +16642,7 @@ def patch_namespaced_config_map_with_http_info(self, name, namespace, body, **kw select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -16765,7 +16765,7 @@ def patch_namespaced_endpoints_with_http_info(self, name, namespace, body, **kwa select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -16888,7 +16888,7 @@ def patch_namespaced_event_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -17011,7 +17011,7 @@ def patch_namespaced_limit_range_with_http_info(self, name, namespace, body, **k select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -17134,7 +17134,7 @@ def patch_namespaced_persistent_volume_claim_with_http_info(self, name, namespac select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -17257,7 +17257,7 @@ def patch_namespaced_persistent_volume_claim_status_with_http_info(self, name, n select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -17380,7 +17380,7 @@ def patch_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -17503,7 +17503,7 @@ def patch_namespaced_pod_status_with_http_info(self, name, namespace, body, **kw select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -17626,7 +17626,7 @@ def patch_namespaced_pod_template_with_http_info(self, name, namespace, body, ** select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -17749,7 +17749,7 @@ def patch_namespaced_replication_controller_with_http_info(self, name, namespace select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -17872,7 +17872,7 @@ def patch_namespaced_replication_controller_status_with_http_info(self, name, na select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -17995,7 +17995,7 @@ def patch_namespaced_resource_quota_with_http_info(self, name, namespace, body, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -18118,7 +18118,7 @@ def patch_namespaced_resource_quota_status_with_http_info(self, name, namespace, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -18241,7 +18241,7 @@ def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **k select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -18364,7 +18364,7 @@ def patch_namespaced_secret_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -18487,7 +18487,7 @@ def patch_namespaced_service_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -18610,7 +18610,7 @@ def patch_namespaced_service_account_with_http_info(self, name, namespace, body, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -18733,7 +18733,7 @@ def patch_namespaced_service_status_with_http_info(self, name, namespace, body, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -18849,7 +18849,7 @@ def patch_node_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -18965,7 +18965,7 @@ def patch_node_status_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -19081,7 +19081,7 @@ def patch_persistent_volume_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -19197,7 +19197,7 @@ def patch_persistent_volume_status_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -19313,7 +19313,7 @@ def patch_security_context_constraints_with_http_info(self, name, body, **kwargs select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -19425,7 +19425,7 @@ def proxy_delete_namespaced_pod_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -19544,7 +19544,7 @@ def proxy_delete_namespaced_pod_with_path_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -19656,7 +19656,7 @@ def proxy_delete_namespaced_service_with_http_info(self, name, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -19775,7 +19775,7 @@ def proxy_delete_namespaced_service_with_path_with_http_info(self, name, namespa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -19880,7 +19880,7 @@ def proxy_delete_node_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -19992,7 +19992,7 @@ def proxy_delete_node_with_path_with_http_info(self, name, path, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -20104,7 +20104,7 @@ def proxy_get_namespaced_pod_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20223,7 +20223,7 @@ def proxy_get_namespaced_pod_with_path_with_http_info(self, name, namespace, pat select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20335,7 +20335,7 @@ def proxy_get_namespaced_service_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20454,7 +20454,7 @@ def proxy_get_namespaced_service_with_path_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20559,7 +20559,7 @@ def proxy_get_node_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20671,7 +20671,7 @@ def proxy_get_node_with_path_with_http_info(self, name, path, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20783,7 +20783,7 @@ def proxy_head_namespaced_pod_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -20902,7 +20902,7 @@ def proxy_head_namespaced_pod_with_path_with_http_info(self, name, namespace, pa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -21014,7 +21014,7 @@ def proxy_head_namespaced_service_with_http_info(self, name, namespace, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -21133,7 +21133,7 @@ def proxy_head_namespaced_service_with_path_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -21238,7 +21238,7 @@ def proxy_head_node_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -21350,7 +21350,7 @@ def proxy_head_node_with_path_with_http_info(self, name, path, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', path_params, @@ -21462,7 +21462,7 @@ def proxy_options_namespaced_pod_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -21581,7 +21581,7 @@ def proxy_options_namespaced_pod_with_path_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -21693,7 +21693,7 @@ def proxy_options_namespaced_service_with_http_info(self, name, namespace, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -21812,7 +21812,7 @@ def proxy_options_namespaced_service_with_path_with_http_info(self, name, namesp select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -21917,7 +21917,7 @@ def proxy_options_node_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -22029,7 +22029,7 @@ def proxy_options_node_with_path_with_http_info(self, name, path, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', path_params, @@ -22141,7 +22141,7 @@ def proxy_post_namespaced_pod_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -22260,7 +22260,7 @@ def proxy_post_namespaced_pod_with_path_with_http_info(self, name, namespace, pa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -22372,7 +22372,7 @@ def proxy_post_namespaced_service_with_http_info(self, name, namespace, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -22491,7 +22491,7 @@ def proxy_post_namespaced_service_with_path_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -22596,7 +22596,7 @@ def proxy_post_node_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -22708,7 +22708,7 @@ def proxy_post_node_with_path_with_http_info(self, name, path, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -22820,7 +22820,7 @@ def proxy_put_namespaced_pod_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -22939,7 +22939,7 @@ def proxy_put_namespaced_pod_with_path_with_http_info(self, name, namespace, pat select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -23051,7 +23051,7 @@ def proxy_put_namespaced_service_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -23170,7 +23170,7 @@ def proxy_put_namespaced_service_with_path_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -23275,7 +23275,7 @@ def proxy_put_node_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -23387,7 +23387,7 @@ def proxy_put_node_with_path_with_http_info(self, name, path, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -23496,7 +23496,7 @@ def read_component_status_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -23613,7 +23613,7 @@ def read_namespace_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -23722,7 +23722,7 @@ def read_namespace_status_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -23846,7 +23846,7 @@ def read_namespaced_config_map_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -23970,7 +23970,7 @@ def read_namespaced_endpoints_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -24094,7 +24094,7 @@ def read_namespaced_event_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -24218,7 +24218,7 @@ def read_namespaced_limit_range_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -24342,7 +24342,7 @@ def read_namespaced_persistent_volume_claim_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -24458,7 +24458,7 @@ def read_namespaced_persistent_volume_claim_status_with_http_info(self, name, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -24582,7 +24582,7 @@ def read_namespaced_pod_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -24730,7 +24730,7 @@ def read_namespaced_pod_log_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -24846,7 +24846,7 @@ def read_namespaced_pod_status_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -24970,7 +24970,7 @@ def read_namespaced_pod_template_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25094,7 +25094,7 @@ def read_namespaced_replication_controller_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25210,7 +25210,7 @@ def read_namespaced_replication_controller_status_with_http_info(self, name, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25334,7 +25334,7 @@ def read_namespaced_resource_quota_with_http_info(self, name, namespace, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25450,7 +25450,7 @@ def read_namespaced_resource_quota_status_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25566,7 +25566,7 @@ def read_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25690,7 +25690,7 @@ def read_namespaced_secret_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25814,7 +25814,7 @@ def read_namespaced_service_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25938,7 +25938,7 @@ def read_namespaced_service_account_with_http_info(self, name, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26054,7 +26054,7 @@ def read_namespaced_service_status_with_http_info(self, name, namespace, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26171,7 +26171,7 @@ def read_node_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26280,7 +26280,7 @@ def read_node_status_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26397,7 +26397,7 @@ def read_persistent_volume_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26506,7 +26506,7 @@ def read_persistent_volume_status_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26623,7 +26623,7 @@ def read_security_context_constraints_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26739,7 +26739,7 @@ def replace_namespace_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -26855,7 +26855,7 @@ def replace_namespace_finalize_with_http_info(self, body, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -26971,7 +26971,7 @@ def replace_namespace_status_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -27094,7 +27094,7 @@ def replace_namespaced_config_map_with_http_info(self, name, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -27217,7 +27217,7 @@ def replace_namespaced_endpoints_with_http_info(self, name, namespace, body, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -27340,7 +27340,7 @@ def replace_namespaced_event_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -27463,7 +27463,7 @@ def replace_namespaced_limit_range_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -27586,7 +27586,7 @@ def replace_namespaced_persistent_volume_claim_with_http_info(self, name, namesp select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -27709,7 +27709,7 @@ def replace_namespaced_persistent_volume_claim_status_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -27832,7 +27832,7 @@ def replace_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -27955,7 +27955,7 @@ def replace_namespaced_pod_status_with_http_info(self, name, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -28078,7 +28078,7 @@ def replace_namespaced_pod_template_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -28201,7 +28201,7 @@ def replace_namespaced_replication_controller_with_http_info(self, name, namespa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -28324,7 +28324,7 @@ def replace_namespaced_replication_controller_status_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -28447,7 +28447,7 @@ def replace_namespaced_resource_quota_with_http_info(self, name, namespace, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -28570,7 +28570,7 @@ def replace_namespaced_resource_quota_status_with_http_info(self, name, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -28693,7 +28693,7 @@ def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -28816,7 +28816,7 @@ def replace_namespaced_secret_with_http_info(self, name, namespace, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -28939,7 +28939,7 @@ def replace_namespaced_service_with_http_info(self, name, namespace, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -29062,7 +29062,7 @@ def replace_namespaced_service_account_with_http_info(self, name, namespace, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -29185,7 +29185,7 @@ def replace_namespaced_service_status_with_http_info(self, name, namespace, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -29301,7 +29301,7 @@ def replace_node_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -29417,7 +29417,7 @@ def replace_node_status_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -29533,7 +29533,7 @@ def replace_persistent_volume_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -29649,7 +29649,7 @@ def replace_persistent_volume_status_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -29765,7 +29765,7 @@ def replace_security_context_constraints_with_http_info(self, name, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/default_api.py b/openshift/client/apis/default_api.py index 5c55c859..d45d6b1a 100644 --- a/openshift/client/apis/default_api.py +++ b/openshift/client/apis/default_api.py @@ -139,7 +139,7 @@ def create_namespaced_processed_template_with_http_info(self, body, namespace, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -248,7 +248,7 @@ def create_processed_template_for_all_namespaces_with_http_info(self, body, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -364,7 +364,7 @@ def generate_namespaced_deployment_config_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/extensions_api.py b/openshift/client/apis/extensions_api.py index 432658f0..02b2b9e7 100644 --- a/openshift/client/apis/extensions_api.py +++ b/openshift/client/apis/extensions_api.py @@ -120,7 +120,7 @@ def get_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/extensions_v1beta1_api.py b/openshift/client/apis/extensions_v1beta1_api.py index ad12a343..a7f4f463 100644 --- a/openshift/client/apis/extensions_v1beta1_api.py +++ b/openshift/client/apis/extensions_v1beta1_api.py @@ -132,7 +132,7 @@ def create_daemon_set_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -241,7 +241,7 @@ def create_deployment_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -350,7 +350,7 @@ def create_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -459,7 +459,7 @@ def create_ingress_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -568,7 +568,7 @@ def create_job_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -684,7 +684,7 @@ def create_namespaced_daemon_set_with_http_info(self, namespace, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -800,7 +800,7 @@ def create_namespaced_deployment_with_http_info(self, namespace, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -923,7 +923,7 @@ def create_namespaced_deployment_rollback_rollback_with_http_info(self, body, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1039,7 +1039,7 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1155,7 +1155,7 @@ def create_namespaced_ingress_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1271,7 +1271,7 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1387,7 +1387,7 @@ def create_namespaced_network_policy_with_http_info(self, namespace, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1503,7 +1503,7 @@ def create_namespaced_replica_set_with_http_info(self, namespace, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1612,7 +1612,7 @@ def create_network_policy_for_all_namespaces_with_http_info(self, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1721,7 +1721,7 @@ def create_pod_security_policy_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1830,7 +1830,7 @@ def create_replica_set_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1939,7 +1939,7 @@ def create_third_party_resource_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2068,7 +2068,7 @@ def delete_collection_namespaced_daemon_set_with_http_info(self, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -2197,7 +2197,7 @@ def delete_collection_namespaced_deployment_with_http_info(self, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -2326,7 +2326,7 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -2455,7 +2455,7 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -2584,7 +2584,7 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -2713,7 +2713,7 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -2842,7 +2842,7 @@ def delete_collection_namespaced_replica_set_with_http_info(self, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -2964,7 +2964,7 @@ def delete_collection_pod_security_policy_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -3086,7 +3086,7 @@ def delete_collection_third_party_resource_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -3217,7 +3217,7 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -3348,7 +3348,7 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -3479,7 +3479,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -3610,7 +3610,7 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -3741,7 +3741,7 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -3872,7 +3872,7 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -4003,7 +4003,7 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -4127,7 +4127,7 @@ def delete_pod_security_policy_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -4251,7 +4251,7 @@ def delete_third_party_resource_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -4348,7 +4348,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -4470,7 +4470,7 @@ def list_daemon_set_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -4592,7 +4592,7 @@ def list_deployment_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -4714,7 +4714,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -4836,7 +4836,7 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -4958,7 +4958,7 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -5087,7 +5087,7 @@ def list_namespaced_daemon_set_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -5216,7 +5216,7 @@ def list_namespaced_deployment_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -5345,7 +5345,7 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -5474,7 +5474,7 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -5603,7 +5603,7 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -5732,7 +5732,7 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -5861,7 +5861,7 @@ def list_namespaced_replica_set_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -5983,7 +5983,7 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -6105,7 +6105,7 @@ def list_pod_security_policy_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -6227,7 +6227,7 @@ def list_replica_set_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -6349,7 +6349,7 @@ def list_third_party_resource_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -6472,7 +6472,7 @@ def patch_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kw select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -6595,7 +6595,7 @@ def patch_namespaced_daemon_set_status_with_http_info(self, name, namespace, bod select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -6718,7 +6718,7 @@ def patch_namespaced_deployment_with_http_info(self, name, namespace, body, **kw select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -6841,7 +6841,7 @@ def patch_namespaced_deployment_status_with_http_info(self, name, namespace, bod select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -6964,7 +6964,7 @@ def patch_namespaced_deployments_scale_with_http_info(self, name, namespace, bod select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -7087,7 +7087,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -7210,7 +7210,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -7333,7 +7333,7 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -7456,7 +7456,7 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -7579,7 +7579,7 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -7702,7 +7702,7 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -7825,7 +7825,7 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -7948,7 +7948,7 @@ def patch_namespaced_replica_set_with_http_info(self, name, namespace, body, **k select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -8071,7 +8071,7 @@ def patch_namespaced_replica_set_status_with_http_info(self, name, namespace, bo select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -8194,7 +8194,7 @@ def patch_namespaced_replicasets_scale_with_http_info(self, name, namespace, bod select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -8317,7 +8317,7 @@ def patch_namespaced_replicationcontrollers_scale_with_http_info(self, name, nam select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -8433,7 +8433,7 @@ def patch_pod_security_policy_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -8549,7 +8549,7 @@ def patch_third_party_resource_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -8673,7 +8673,7 @@ def read_namespaced_daemon_set_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -8789,7 +8789,7 @@ def read_namespaced_daemon_set_status_with_http_info(self, name, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -8913,7 +8913,7 @@ def read_namespaced_deployment_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -9029,7 +9029,7 @@ def read_namespaced_deployment_status_with_http_info(self, name, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -9145,7 +9145,7 @@ def read_namespaced_deployments_scale_with_http_info(self, name, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -9269,7 +9269,7 @@ def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -9385,7 +9385,7 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -9509,7 +9509,7 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -9625,7 +9625,7 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -9749,7 +9749,7 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -9865,7 +9865,7 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -9989,7 +9989,7 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -10113,7 +10113,7 @@ def read_namespaced_replica_set_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -10229,7 +10229,7 @@ def read_namespaced_replica_set_status_with_http_info(self, name, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -10345,7 +10345,7 @@ def read_namespaced_replicasets_scale_with_http_info(self, name, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -10461,7 +10461,7 @@ def read_namespaced_replicationcontrollers_scale_with_http_info(self, name, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -10578,7 +10578,7 @@ def read_pod_security_policy_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -10695,7 +10695,7 @@ def read_third_party_resource_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -10818,7 +10818,7 @@ def replace_namespaced_daemon_set_with_http_info(self, name, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -10941,7 +10941,7 @@ def replace_namespaced_daemon_set_status_with_http_info(self, name, namespace, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -11064,7 +11064,7 @@ def replace_namespaced_deployment_with_http_info(self, name, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -11187,7 +11187,7 @@ def replace_namespaced_deployment_status_with_http_info(self, name, namespace, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -11310,7 +11310,7 @@ def replace_namespaced_deployments_scale_with_http_info(self, name, namespace, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -11433,7 +11433,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -11556,7 +11556,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -11679,7 +11679,7 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -11802,7 +11802,7 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -11925,7 +11925,7 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -12048,7 +12048,7 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -12171,7 +12171,7 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -12294,7 +12294,7 @@ def replace_namespaced_replica_set_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -12417,7 +12417,7 @@ def replace_namespaced_replica_set_status_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -12540,7 +12540,7 @@ def replace_namespaced_replicasets_scale_with_http_info(self, name, namespace, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -12663,7 +12663,7 @@ def replace_namespaced_replicationcontrollers_scale_with_http_info(self, name, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -12779,7 +12779,7 @@ def replace_pod_security_policy_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -12895,7 +12895,7 @@ def replace_third_party_resource_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/oapi_api.py b/openshift/client/apis/oapi_api.py index 5e7e2382..baf17f88 100644 --- a/openshift/client/apis/oapi_api.py +++ b/openshift/client/apis/oapi_api.py @@ -163,7 +163,7 @@ def connect_post_namespaced_binary_build_request_options_instantiatebinary_with_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -279,7 +279,7 @@ def connect_post_namespaced_status_webhooks_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -402,7 +402,7 @@ def connect_post_namespaced_status_webhooks_with_path_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -511,7 +511,7 @@ def create_build_config_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -620,7 +620,7 @@ def create_build_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -729,7 +729,7 @@ def create_cluster_network_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -838,7 +838,7 @@ def create_cluster_policy_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -947,7 +947,7 @@ def create_cluster_policy_binding_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1056,7 +1056,7 @@ def create_cluster_resource_quota_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1165,7 +1165,7 @@ def create_cluster_role_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1274,7 +1274,7 @@ def create_cluster_role_binding_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1383,7 +1383,7 @@ def create_deployment_config_for_all_namespaces_with_http_info(self, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1492,7 +1492,7 @@ def create_deployment_config_rollback_for_all_namespaces_with_http_info(self, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1601,7 +1601,7 @@ def create_egress_network_policy_for_all_namespaces_with_http_info(self, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1710,7 +1710,7 @@ def create_group_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1819,7 +1819,7 @@ def create_host_subnet_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1928,7 +1928,7 @@ def create_identity_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2037,7 +2037,7 @@ def create_image_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2146,7 +2146,7 @@ def create_image_signature_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2255,7 +2255,7 @@ def create_image_stream_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2364,7 +2364,7 @@ def create_image_stream_import_for_all_namespaces_with_http_info(self, body, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2473,7 +2473,7 @@ def create_image_stream_mapping_for_all_namespaces_with_http_info(self, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2582,7 +2582,7 @@ def create_image_stream_tag_for_all_namespaces_with_http_info(self, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2691,7 +2691,7 @@ def create_local_resource_access_review_for_all_namespaces_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2800,7 +2800,7 @@ def create_local_subject_access_review_for_all_namespaces_with_http_info(self, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2916,7 +2916,7 @@ def create_namespaced_build_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3032,7 +3032,7 @@ def create_namespaced_build_config_with_http_info(self, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3155,7 +3155,7 @@ def create_namespaced_build_request_clone_with_http_info(self, body, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3278,7 +3278,7 @@ def create_namespaced_build_request_instantiate_with_http_info(self, body, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3394,7 +3394,7 @@ def create_namespaced_deployment_config_with_http_info(self, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3510,7 +3510,7 @@ def create_namespaced_deployment_config_rollback_with_http_info(self, body, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3633,7 +3633,7 @@ def create_namespaced_deployment_config_rollback_rollback_with_http_info(self, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3756,7 +3756,7 @@ def create_namespaced_deployment_request_instantiate_with_http_info(self, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3872,7 +3872,7 @@ def create_namespaced_egress_network_policy_with_http_info(self, namespace, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3988,7 +3988,7 @@ def create_namespaced_image_stream_with_http_info(self, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4104,7 +4104,7 @@ def create_namespaced_image_stream_import_with_http_info(self, body, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4220,7 +4220,7 @@ def create_namespaced_image_stream_mapping_with_http_info(self, body, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4336,7 +4336,7 @@ def create_namespaced_image_stream_tag_with_http_info(self, namespace, body, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4452,7 +4452,7 @@ def create_namespaced_local_resource_access_review_with_http_info(self, body, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4568,7 +4568,7 @@ def create_namespaced_local_subject_access_review_with_http_info(self, body, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4684,7 +4684,7 @@ def create_namespaced_pod_security_policy_review_with_http_info(self, body, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4800,7 +4800,7 @@ def create_namespaced_pod_security_policy_self_subject_review_with_http_info(sel select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4916,7 +4916,7 @@ def create_namespaced_pod_security_policy_subject_review_with_http_info(self, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5032,7 +5032,7 @@ def create_namespaced_policy_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5148,7 +5148,7 @@ def create_namespaced_policy_binding_with_http_info(self, namespace, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5264,7 +5264,7 @@ def create_namespaced_resource_access_review_with_http_info(self, body, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5380,7 +5380,7 @@ def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5496,7 +5496,7 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5612,7 +5612,7 @@ def create_namespaced_role_binding_restriction_with_http_info(self, namespace, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5728,7 +5728,7 @@ def create_namespaced_route_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5844,7 +5844,7 @@ def create_namespaced_self_subject_rules_review_with_http_info(self, body, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5960,7 +5960,7 @@ def create_namespaced_subject_access_review_with_http_info(self, body, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6076,7 +6076,7 @@ def create_namespaced_subject_rules_review_with_http_info(self, body, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6192,7 +6192,7 @@ def create_namespaced_template_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6301,7 +6301,7 @@ def create_net_namespace_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6410,7 +6410,7 @@ def create_o_auth_access_token_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6519,7 +6519,7 @@ def create_o_auth_authorize_token_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6628,7 +6628,7 @@ def create_o_auth_client_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6737,7 +6737,7 @@ def create_o_auth_client_authorization_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6846,7 +6846,7 @@ def create_pod_security_policy_review_for_all_namespaces_with_http_info(self, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6955,7 +6955,7 @@ def create_pod_security_policy_self_subject_review_for_all_namespaces_with_http_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7064,7 +7064,7 @@ def create_pod_security_policy_subject_review_for_all_namespaces_with_http_info( select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7173,7 +7173,7 @@ def create_policy_binding_for_all_namespaces_with_http_info(self, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7282,7 +7282,7 @@ def create_policy_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7391,7 +7391,7 @@ def create_project_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7500,7 +7500,7 @@ def create_project_request_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7609,7 +7609,7 @@ def create_resource_access_review_for_all_namespaces_with_http_info(self, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7718,7 +7718,7 @@ def create_role_binding_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7827,7 +7827,7 @@ def create_role_binding_restriction_for_all_namespaces_with_http_info(self, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7936,7 +7936,7 @@ def create_role_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8045,7 +8045,7 @@ def create_route_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8154,7 +8154,7 @@ def create_self_subject_rules_review_for_all_namespaces_with_http_info(self, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8263,7 +8263,7 @@ def create_subject_access_review_for_all_namespaces_with_http_info(self, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8372,7 +8372,7 @@ def create_subject_rules_review_for_all_namespaces_with_http_info(self, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8481,7 +8481,7 @@ def create_template_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8590,7 +8590,7 @@ def create_user_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8699,7 +8699,7 @@ def create_user_identity_mapping_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8823,7 +8823,7 @@ def delete_cluster_network_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -8947,7 +8947,7 @@ def delete_cluster_policy_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9071,7 +9071,7 @@ def delete_cluster_policy_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9195,7 +9195,7 @@ def delete_cluster_resource_quota_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9319,7 +9319,7 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9443,7 +9443,7 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9565,7 +9565,7 @@ def delete_collection_cluster_network_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9687,7 +9687,7 @@ def delete_collection_cluster_policy_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9809,7 +9809,7 @@ def delete_collection_cluster_policy_binding_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9931,7 +9931,7 @@ def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10053,7 +10053,7 @@ def delete_collection_group_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10175,7 +10175,7 @@ def delete_collection_host_subnet_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10297,7 +10297,7 @@ def delete_collection_identity_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10419,7 +10419,7 @@ def delete_collection_image_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10548,7 +10548,7 @@ def delete_collection_namespaced_build_with_http_info(self, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10677,7 +10677,7 @@ def delete_collection_namespaced_build_config_with_http_info(self, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10806,7 +10806,7 @@ def delete_collection_namespaced_deployment_config_with_http_info(self, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10935,7 +10935,7 @@ def delete_collection_namespaced_egress_network_policy_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11064,7 +11064,7 @@ def delete_collection_namespaced_image_stream_with_http_info(self, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11193,7 +11193,7 @@ def delete_collection_namespaced_policy_with_http_info(self, namespace, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11322,7 +11322,7 @@ def delete_collection_namespaced_policy_binding_with_http_info(self, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11451,7 +11451,7 @@ def delete_collection_namespaced_role_binding_restriction_with_http_info(self, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11580,7 +11580,7 @@ def delete_collection_namespaced_route_with_http_info(self, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11709,7 +11709,7 @@ def delete_collection_namespaced_template_with_http_info(self, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11831,7 +11831,7 @@ def delete_collection_net_namespace_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11953,7 +11953,7 @@ def delete_collection_o_auth_access_token_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12075,7 +12075,7 @@ def delete_collection_o_auth_authorize_token_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12197,7 +12197,7 @@ def delete_collection_o_auth_client_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12319,7 +12319,7 @@ def delete_collection_o_auth_client_authorization_with_http_info(self, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12441,7 +12441,7 @@ def delete_collection_user_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12565,7 +12565,7 @@ def delete_group_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12689,7 +12689,7 @@ def delete_host_subnet_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12813,7 +12813,7 @@ def delete_identity_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -12937,7 +12937,7 @@ def delete_image_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13046,7 +13046,7 @@ def delete_image_signature_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13177,7 +13177,7 @@ def delete_namespaced_build_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13308,7 +13308,7 @@ def delete_namespaced_build_config_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13439,7 +13439,7 @@ def delete_namespaced_deployment_config_with_http_info(self, name, namespace, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13570,7 +13570,7 @@ def delete_namespaced_egress_network_policy_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13701,7 +13701,7 @@ def delete_namespaced_image_stream_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13817,7 +13817,7 @@ def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13948,7 +13948,7 @@ def delete_namespaced_policy_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14079,7 +14079,7 @@ def delete_namespaced_policy_binding_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14210,7 +14210,7 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14341,7 +14341,7 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14472,7 +14472,7 @@ def delete_namespaced_role_binding_restriction_with_http_info(self, name, namesp select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14603,7 +14603,7 @@ def delete_namespaced_route_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14734,7 +14734,7 @@ def delete_namespaced_template_with_http_info(self, name, namespace, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14858,7 +14858,7 @@ def delete_net_namespace_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14982,7 +14982,7 @@ def delete_o_auth_access_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15106,7 +15106,7 @@ def delete_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15230,7 +15230,7 @@ def delete_o_auth_client_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15354,7 +15354,7 @@ def delete_o_auth_client_authorization_with_http_info(self, name, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15463,7 +15463,7 @@ def delete_project_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15587,7 +15587,7 @@ def delete_user_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15696,7 +15696,7 @@ def delete_user_identity_mapping_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15793,7 +15793,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -15890,7 +15890,7 @@ def get_version_with_http_info(self, **kwargs): select_header_content_type(['application/json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16012,7 +16012,7 @@ def list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16134,7 +16134,7 @@ def list_build_config_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16256,7 +16256,7 @@ def list_build_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16378,7 +16378,7 @@ def list_cluster_network_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16500,7 +16500,7 @@ def list_cluster_policy_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16622,7 +16622,7 @@ def list_cluster_policy_binding_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16744,7 +16744,7 @@ def list_cluster_resource_quota_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16866,7 +16866,7 @@ def list_cluster_role_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16988,7 +16988,7 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17110,7 +17110,7 @@ def list_deployment_config_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17232,7 +17232,7 @@ def list_egress_network_policy_for_all_namespaces_with_http_info(self, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17354,7 +17354,7 @@ def list_group_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17476,7 +17476,7 @@ def list_host_subnet_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17598,7 +17598,7 @@ def list_identity_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17720,7 +17720,7 @@ def list_image_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17842,7 +17842,7 @@ def list_image_stream_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17964,7 +17964,7 @@ def list_image_stream_tag_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18093,7 +18093,7 @@ def list_namespaced_applied_cluster_resource_quota_with_http_info(self, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18222,7 +18222,7 @@ def list_namespaced_build_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18351,7 +18351,7 @@ def list_namespaced_build_config_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18480,7 +18480,7 @@ def list_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18609,7 +18609,7 @@ def list_namespaced_egress_network_policy_with_http_info(self, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18738,7 +18738,7 @@ def list_namespaced_image_stream_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18867,7 +18867,7 @@ def list_namespaced_image_stream_tag_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18996,7 +18996,7 @@ def list_namespaced_policy_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19125,7 +19125,7 @@ def list_namespaced_policy_binding_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19254,7 +19254,7 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19383,7 +19383,7 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19512,7 +19512,7 @@ def list_namespaced_role_binding_restriction_with_http_info(self, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19641,7 +19641,7 @@ def list_namespaced_route_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19770,7 +19770,7 @@ def list_namespaced_template_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19892,7 +19892,7 @@ def list_net_namespace_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20014,7 +20014,7 @@ def list_o_auth_access_token_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20136,7 +20136,7 @@ def list_o_auth_authorize_token_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20258,7 +20258,7 @@ def list_o_auth_client_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20380,7 +20380,7 @@ def list_o_auth_client_authorization_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20502,7 +20502,7 @@ def list_policy_binding_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20624,7 +20624,7 @@ def list_policy_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20746,7 +20746,7 @@ def list_project_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20868,7 +20868,7 @@ def list_project_request_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20990,7 +20990,7 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21112,7 +21112,7 @@ def list_role_binding_restriction_for_all_namespaces_with_http_info(self, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21234,7 +21234,7 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21356,7 +21356,7 @@ def list_route_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21478,7 +21478,7 @@ def list_template_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21600,7 +21600,7 @@ def list_user_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21716,7 +21716,7 @@ def patch_cluster_network_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -21832,7 +21832,7 @@ def patch_cluster_policy_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -21948,7 +21948,7 @@ def patch_cluster_policy_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22064,7 +22064,7 @@ def patch_cluster_resource_quota_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22180,7 +22180,7 @@ def patch_cluster_resource_quota_status_with_http_info(self, name, body, **kwarg select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22296,7 +22296,7 @@ def patch_cluster_role_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22412,7 +22412,7 @@ def patch_cluster_role_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22528,7 +22528,7 @@ def patch_group_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22644,7 +22644,7 @@ def patch_host_subnet_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22760,7 +22760,7 @@ def patch_identity_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22876,7 +22876,7 @@ def patch_image_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22999,7 +22999,7 @@ def patch_namespaced_build_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23122,7 +23122,7 @@ def patch_namespaced_build_config_with_http_info(self, name, namespace, body, ** select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23245,7 +23245,7 @@ def patch_namespaced_deployment_config_with_http_info(self, name, namespace, bod select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23368,7 +23368,7 @@ def patch_namespaced_egress_network_policy_with_http_info(self, name, namespace, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23491,7 +23491,7 @@ def patch_namespaced_image_stream_with_http_info(self, name, namespace, body, ** select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23614,7 +23614,7 @@ def patch_namespaced_image_stream_tag_with_http_info(self, name, namespace, body select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23737,7 +23737,7 @@ def patch_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23860,7 +23860,7 @@ def patch_namespaced_policy_binding_with_http_info(self, name, namespace, body, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23983,7 +23983,7 @@ def patch_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24106,7 +24106,7 @@ def patch_namespaced_role_binding_with_http_info(self, name, namespace, body, ** select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24229,7 +24229,7 @@ def patch_namespaced_role_binding_restriction_with_http_info(self, name, namespa select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24352,7 +24352,7 @@ def patch_namespaced_route_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24475,7 +24475,7 @@ def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **k select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24598,7 +24598,7 @@ def patch_namespaced_template_with_http_info(self, name, namespace, body, **kwar select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24714,7 +24714,7 @@ def patch_net_namespace_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24830,7 +24830,7 @@ def patch_o_auth_access_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24946,7 +24946,7 @@ def patch_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25062,7 +25062,7 @@ def patch_o_auth_client_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25178,7 +25178,7 @@ def patch_o_auth_client_authorization_with_http_info(self, name, body, **kwargs) select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25294,7 +25294,7 @@ def patch_project_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25410,7 +25410,7 @@ def patch_user_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25526,7 +25526,7 @@ def patch_user_identity_mapping_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25643,7 +25643,7 @@ def read_cluster_network_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25760,7 +25760,7 @@ def read_cluster_policy_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25877,7 +25877,7 @@ def read_cluster_policy_binding_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -25994,7 +25994,7 @@ def read_cluster_resource_quota_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26103,7 +26103,7 @@ def read_cluster_resource_quota_status_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26212,7 +26212,7 @@ def read_cluster_role_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26321,7 +26321,7 @@ def read_cluster_role_binding_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26438,7 +26438,7 @@ def read_group_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26555,7 +26555,7 @@ def read_host_subnet_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26672,7 +26672,7 @@ def read_identity_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26789,7 +26789,7 @@ def read_image_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26905,7 +26905,7 @@ def read_namespaced_applied_cluster_resource_quota_with_http_info(self, name, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27029,7 +27029,7 @@ def read_namespaced_build_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27153,7 +27153,7 @@ def read_namespaced_build_config_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27309,7 +27309,7 @@ def read_namespaced_build_log_log_with_http_info(self, name, namespace, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27433,7 +27433,7 @@ def read_namespaced_deployment_config_with_http_info(self, name, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27589,7 +27589,7 @@ def read_namespaced_deployment_log_log_with_http_info(self, name, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27713,7 +27713,7 @@ def read_namespaced_egress_network_policy_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27837,7 +27837,7 @@ def read_namespaced_image_stream_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27953,7 +27953,7 @@ def read_namespaced_image_stream_image_with_http_info(self, name, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28069,7 +28069,7 @@ def read_namespaced_image_stream_tag_with_http_info(self, name, namespace, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28193,7 +28193,7 @@ def read_namespaced_policy_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28317,7 +28317,7 @@ def read_namespaced_policy_binding_with_http_info(self, name, namespace, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28433,7 +28433,7 @@ def read_namespaced_role_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28549,7 +28549,7 @@ def read_namespaced_role_binding_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28673,7 +28673,7 @@ def read_namespaced_role_binding_restriction_with_http_info(self, name, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28797,7 +28797,7 @@ def read_namespaced_route_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28913,7 +28913,7 @@ def read_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29049,7 +29049,7 @@ def read_namespaced_secret_list_secrets_with_http_info(self, name, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29173,7 +29173,7 @@ def read_namespaced_template_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29290,7 +29290,7 @@ def read_net_namespace_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29407,7 +29407,7 @@ def read_o_auth_access_token_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29524,7 +29524,7 @@ def read_o_auth_authorize_token_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29641,7 +29641,7 @@ def read_o_auth_client_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29758,7 +29758,7 @@ def read_o_auth_client_authorization_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29867,7 +29867,7 @@ def read_project_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29984,7 +29984,7 @@ def read_user_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30093,7 +30093,7 @@ def read_user_identity_mapping_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30209,7 +30209,7 @@ def replace_cluster_network_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -30325,7 +30325,7 @@ def replace_cluster_policy_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -30441,7 +30441,7 @@ def replace_cluster_policy_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -30557,7 +30557,7 @@ def replace_cluster_resource_quota_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -30673,7 +30673,7 @@ def replace_cluster_resource_quota_status_with_http_info(self, name, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -30789,7 +30789,7 @@ def replace_cluster_role_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -30905,7 +30905,7 @@ def replace_cluster_role_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31021,7 +31021,7 @@ def replace_group_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31137,7 +31137,7 @@ def replace_host_subnet_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31253,7 +31253,7 @@ def replace_identity_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31369,7 +31369,7 @@ def replace_image_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31492,7 +31492,7 @@ def replace_namespaced_build_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31615,7 +31615,7 @@ def replace_namespaced_build_config_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31738,7 +31738,7 @@ def replace_namespaced_build_details_with_http_info(self, body, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31861,7 +31861,7 @@ def replace_namespaced_deployment_config_with_http_info(self, name, namespace, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31984,7 +31984,7 @@ def replace_namespaced_deployment_config_status_with_http_info(self, body, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32107,7 +32107,7 @@ def replace_namespaced_egress_network_policy_with_http_info(self, name, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32230,7 +32230,7 @@ def replace_namespaced_image_stream_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32353,7 +32353,7 @@ def replace_namespaced_image_stream_status_with_http_info(self, body, name, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32476,7 +32476,7 @@ def replace_namespaced_image_stream_tag_with_http_info(self, name, namespace, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32599,7 +32599,7 @@ def replace_namespaced_policy_with_http_info(self, name, namespace, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32722,7 +32722,7 @@ def replace_namespaced_policy_binding_with_http_info(self, name, namespace, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32845,7 +32845,7 @@ def replace_namespaced_role_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32968,7 +32968,7 @@ def replace_namespaced_role_binding_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33091,7 +33091,7 @@ def replace_namespaced_role_binding_restriction_with_http_info(self, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33214,7 +33214,7 @@ def replace_namespaced_route_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33337,7 +33337,7 @@ def replace_namespaced_route_status_with_http_info(self, body, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33460,7 +33460,7 @@ def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33583,7 +33583,7 @@ def replace_namespaced_template_with_http_info(self, name, namespace, body, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33699,7 +33699,7 @@ def replace_net_namespace_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33815,7 +33815,7 @@ def replace_o_auth_access_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33931,7 +33931,7 @@ def replace_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34047,7 +34047,7 @@ def replace_o_auth_client_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34163,7 +34163,7 @@ def replace_o_auth_client_authorization_with_http_info(self, name, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34279,7 +34279,7 @@ def replace_project_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34395,7 +34395,7 @@ def replace_user_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34511,7 +34511,7 @@ def replace_user_identity_mapping_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/osapi_api.py b/openshift/client/apis/osapi_api.py index fb825fbc..f9ed3972 100644 --- a/openshift/client/apis/osapi_api.py +++ b/openshift/client/apis/osapi_api.py @@ -120,7 +120,7 @@ def get_version_with_http_info(self, **kwargs): select_header_content_type(['application/json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/policy_api.py b/openshift/client/apis/policy_api.py index dfea16c5..4d062317 100644 --- a/openshift/client/apis/policy_api.py +++ b/openshift/client/apis/policy_api.py @@ -120,7 +120,7 @@ def get_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/policy_v1beta1_api.py b/openshift/client/apis/policy_v1beta1_api.py index a2dac973..201fa3bc 100644 --- a/openshift/client/apis/policy_v1beta1_api.py +++ b/openshift/client/apis/policy_v1beta1_api.py @@ -139,7 +139,7 @@ def create_namespaced_pod_disruption_budget_with_http_info(self, namespace, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -248,7 +248,7 @@ def create_pod_disruption_budget_for_all_namespaces_with_http_info(self, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -377,7 +377,7 @@ def delete_collection_namespaced_pod_disruption_budget_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -508,7 +508,7 @@ def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -605,7 +605,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -734,7 +734,7 @@ def list_namespaced_pod_disruption_budget_with_http_info(self, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -856,7 +856,7 @@ def list_pod_disruption_budget_for_all_namespaces_with_http_info(self, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -979,7 +979,7 @@ def patch_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1102,7 +1102,7 @@ def patch_namespaced_pod_disruption_budget_status_with_http_info(self, name, nam select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1226,7 +1226,7 @@ def read_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1342,7 +1342,7 @@ def read_namespaced_pod_disruption_budget_status_with_http_info(self, name, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1465,7 +1465,7 @@ def replace_namespaced_pod_disruption_budget_with_http_info(self, name, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -1588,7 +1588,7 @@ def replace_namespaced_pod_disruption_budget_status_with_http_info(self, name, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/storage_api.py b/openshift/client/apis/storage_api.py index 46981622..8f24dc26 100644 --- a/openshift/client/apis/storage_api.py +++ b/openshift/client/apis/storage_api.py @@ -120,7 +120,7 @@ def get_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/openshift/client/apis/storage_v1beta1_api.py b/openshift/client/apis/storage_v1beta1_api.py index 2f1acbf4..b1de61b6 100644 --- a/openshift/client/apis/storage_v1beta1_api.py +++ b/openshift/client/apis/storage_v1beta1_api.py @@ -132,7 +132,7 @@ def create_storage_class_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -254,7 +254,7 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -378,7 +378,7 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -475,7 +475,7 @@ def get_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -597,7 +597,7 @@ def list_storage_class_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -713,7 +713,7 @@ def patch_storage_class_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -830,7 +830,7 @@ def read_storage_class_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -946,7 +946,7 @@ def replace_storage_class_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/version_api.py b/openshift/client/apis/version_api.py index fa7693c7..420141a0 100644 --- a/openshift/client/apis/version_api.py +++ b/openshift/client/apis/version_api.py @@ -120,7 +120,7 @@ def get_code_with_http_info(self, **kwargs): select_header_content_type(['application/json']) # Authentication setting - auth_settings = [] + auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, diff --git a/scripts/preprocess_spec.py b/scripts/preprocess_spec.py index 78450b0e..9ee548dc 100644 --- a/scripts/preprocess_spec.py +++ b/scripts/preprocess_spec.py @@ -119,6 +119,21 @@ def process_swagger(spec): except PreprocessingException as e: print(e.message) + # TODO: This is to accomodate a difference between OpenShift and + # Kubernetes specs + if 'securityDefinitions' not in list(spec.keys()): + spec['securityDefintions'] = { + 'BearerToken': { + 'description': 'Bearer Token authentication', + 'type': 'apiKey', + 'name': 'authorization', + 'in': 'header' + } + } + + if 'security' not in list(spec.keys()): + spec['security'] = [{'BearerToken': []}] + # TODO: Kubernetes does not set a version for OpenAPI spec yet, # remove this when that is fixed. spec['info']['version'] = SPEC_VERSION diff --git a/scripts/swagger.json b/scripts/swagger.json index c351c5f3..22f70d46 100644 --- a/scripts/swagger.json +++ b/scripts/swagger.json @@ -55116,5 +55116,18 @@ } } } - } + }, + "securityDefintions": { + "BearerToken": { + "type": "apiKey", + "description": "Bearer Token authentication", + "in": "header", + "name": "authorization" + } + }, + "security": [ + { + "BearerToken": [] + } + ] } \ No newline at end of file diff --git a/scripts/update-client.sh b/scripts/update-client.sh index a1228877..130a737e 100755 --- a/scripts/update-client.sh +++ b/scripts/update-client.sh @@ -74,4 +74,9 @@ find "${CLIENT_ROOT}/" -type f -name \*.py -exec sed -i 's/^from \.\+rest/from k find "${CLIENT_ROOT}/" -type f -name \*.py -exec sed -i "s/^from ${PACKAGE_NAME}.client.rest/from kubernetes.client.rest/g" {} + find "${CLIENT_ROOT}/" -type f -name \*.md -exec sed -i "s/^from ${PACKAGE_NAME}.client.rest/from kubernetes.client.rest/g" {} + + +echo "--- Patching auth_settings" +find "${CLIENT_ROOT}/client/apis" -type f -name \*.py -exec sed -i "s/auth_settings = \[\]/auth_settings = \['BearerToken'\]/g" {} + + + echo "---Done." From 832abc8a64a40ecb751beb5382fa227f9f82f532 Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Mon, 20 Mar 2017 13:32:23 -0400 Subject: [PATCH 2/3] Fixes for non-admin user --- conftest.py | 2 +- openshift/ansiblegen/examples/v1_project.yml | 14 +- openshift/helper/__init__.py | 30 +++- test/functional/conftest.py | 167 ++++++++++--------- test/functional/test_v1_deployment_config.py | 99 +++++++---- test/functional/test_v1_namespace.py | 99 +++++++---- test/functional/test_v1_project.py | 90 +++++----- test/functional/test_v1_route.py | 98 +++++++---- test/functional/test_v1_service.py | 101 +++++++---- 9 files changed, 424 insertions(+), 276 deletions(-) diff --git a/conftest.py b/conftest.py index 2fd3acbf..8a663760 100644 --- a/conftest.py +++ b/conftest.py @@ -1,5 +1,5 @@ def pytest_addoption(parser): - parser.addoption("--openshift-version", action="store", default="latest", + parser.addoption("--openshift-version", action="store", default=None, help="Version of OpenShift to test against for functional tests") diff --git a/openshift/ansiblegen/examples/v1_project.yml b/openshift/ansiblegen/examples/v1_project.yml index 1f0556f4..74a86030 100644 --- a/openshift/ansiblegen/examples/v1_project.yml +++ b/openshift/ansiblegen/examples/v1_project.yml @@ -5,14 +5,12 @@ name: example name: Create project -- create: - name: example2 - labels: - app_name: examples.com - app_env: production - annotations: - app_domain: com.example.example2 - name: Create project +#- create: +# name: example2 +# labels: +# app_name: examples.com +# app_env: production +# name: Create project - remove: name: example diff --git a/openshift/helper/__init__.py b/openshift/helper/__init__.py index 041bafec..94d1418c 100644 --- a/openshift/helper/__init__.py +++ b/openshift/helper/__init__.py @@ -120,13 +120,16 @@ def get_object(self, name, namespace=None): k8s_obj = get_method(name) else: k8s_obj = get_method(name, namespace) - except ApiException as exc: - if exc.status != 404: - if exc.body: - msg = json.loads(exc.body).get('message', exc.reason) + except ApiException as ex: + if ex.status != 404: + if self.base_model_name == 'Project'and ex.status == 403: + pass else: - msg = str(exc) - raise OpenShiftException(msg, status=exc.status) + if ex.body: + msg = json.loads(ex.body).get('message', ex.reason) + else: + msg = str(ex) + raise OpenShiftException(msg, status=ex.status) return k8s_obj def patch_object(self, name, namespace, k8s_obj, wait=False, timeout=60): @@ -149,6 +152,19 @@ def patch_object(self, name, namespace, k8s_obj, wait=False, timeout=60): return_obj = self.__wait_for_response(name, namespace, 'patch') return return_obj + def create_project(self, metadata, display_name=None, description=None): + # TODO: handle admin-level project creation + try: + proj_req = client.V1ProjectRequest(metadata=metadata, display_name=display_name, description=description) + client.OapiApi().create_project_request(proj_req) + except ApiException as ex: + msg = json.loads(ex.body).get('message', ex.reason) + raise OpenShiftException(msg, status=ex.status) + + return_obj = self.__wait_for_response(metadata.name, None, 'create') + + return return_obj + def create_object(self, namespace, k8s_obj): #w, stream = self.__create_stream(namespace) try: @@ -191,6 +207,7 @@ def delete_object(self, name, namespace): def replace_object(self, name, namespace, k8s_obj): empty_status = self.properties['status']['class']() k8s_obj.status = empty_status + k8s_obj.metadata.resource_version = None self.__remove_creation_timestamps(k8s_obj) #w, stream = self.__create_stream(namespace) try: @@ -261,6 +278,7 @@ def lookup_method(self, operation, namespace=None): :param namespace: optional name of the namespace. :return: pointer to the method """ + method_name = operation method_name += '_namespaced_' if namespace else '_' method_name += self.kind diff --git a/test/functional/conftest.py b/test/functional/conftest.py index dff18597..272b2a6f 100644 --- a/test/functional/conftest.py +++ b/test/functional/conftest.py @@ -7,6 +7,7 @@ import os import tarfile import time +import uuid import yaml import docker @@ -20,78 +21,70 @@ if os.path.exists(os.path.join(os.getcwd(), 'KubeObjHelper.log')): os.remove(os.path.join(os.getcwd(), 'KubeObjHelper.log')) + @pytest.fixture(scope='session') def openshift_container(request): client = docker.from_env() # TODO: bind to a random host port - image_name = 'openshift/origin:{}'.format(request.config.getoption('--openshift-version')) - container = client.containers.run(image_name, 'start master', detach=True, - ports={'8443/tcp': 8443}) - - try: - # Wait for the container to no longer be in the created state before - # continuing - while container.status == u'created': - time.sleep(0.2) - container = client.containers.get(container.id) - - # Wait for the api server to be ready before continuing - for _ in range(10): - try: - resp = requests.head("https://127.0.0.1:8443/healthz/ready", verify=False) - except requests.RequestException: - pass - time.sleep(1) + openshift_version = request.config.getoption('--openshift-version') + if openshift_version is None: + yield None + else: + image_name = 'openshift/origin:{}'.format(openshift_version) + container = client.containers.run(image_name, 'start master', detach=True, + ports={'8443/tcp': 8443}) + + try: + # Wait for the container to no longer be in the created state before + # continuing + while container.status == u'created': + time.sleep(0.2) + container = client.containers.get(container.id) + + # Wait for the api server to be ready before continuing + for _ in range(10): + try: + resp = requests.head("https://127.0.0.1:8443/healthz/ready", verify=False) + except requests.RequestException: + pass + time.sleep(1) - time.sleep(1) + time.sleep(1) - yield container - finally: - # Always remove the container - container.remove(force=True) + yield container + finally: + # Always remove the container + container.remove(force=True) @pytest.fixture(scope='session') def kubeconfig(openshift_container, tmpdir_factory): # get_archive returns a stream of the tar archive containing the requested # files/directories, so we need use BytesIO as an intermediate step. - tar_stream, _ = openshift_container.get_archive('/var/lib/origin/openshift.local.config/master/admin.kubeconfig') - tar_obj = tarfile.open(fileobj=io.BytesIO(tar_stream.read())) - kubeconfig_contents = tar_obj.extractfile('admin.kubeconfig').read() - - kubeconfig_file = tmpdir_factory.mktemp('kubeconfig').join('admin.kubeconfig') - kubeconfig_file.write(kubeconfig_contents) - yield kubeconfig_file - + if openshift_container is None: + return None + else: + tar_stream, _ = openshift_container.get_archive('/var/lib/origin/openshift.local.config/master/admin.kubeconfig') + tar_obj = tarfile.open(fileobj=io.BytesIO(tar_stream.read())) + kubeconfig_contents = tar_obj.extractfile('admin.kubeconfig').read() -@pytest.fixture() -def k8s_helper(request, kubeconfig): - _, api_version, resource = request.module.__name__.split('_', 2) - helper = KubernetesObjectHelper(api_version, resource) - auth = { - 'kubeconfig': str(kubeconfig), - 'host': 'https://localhost:8443', - 'verify_ssl': False - } - helper.set_client_config(**auth) - #config.kube_config.configuration.host = 'https://localhost:8443' - #config.kube_config.configuration.verify_ssl = False - yield helper + kubeconfig_file = tmpdir_factory.mktemp('kubeconfig').join('admin.kubeconfig') + kubeconfig_file.write(kubeconfig_contents) + return kubeconfig_file -@pytest.fixture() +@pytest.fixture(scope='module') def ansible_helper(request, kubeconfig): _, api_version, resource = request.module.__name__.split('_', 2) helper = AnsibleModuleHelper(api_version, resource, debug=True, reset_logfile=False) - auth = { - 'kubeconfig': str(kubeconfig), - 'host': 'https://localhost:8443', - 'verify_ssl': False - } - helper.set_client_config(**auth) - #config.kube_config.configuration.host = 'https://localhost:8443' - #config.kube_config.configuration.verify_ssl = False - yield helper + if kubeconfig is not None: + auth = { + 'kubeconfig': str(kubeconfig), + 'host': 'https://localhost:8443', + 'verify_ssl': False + } + helper.set_client_config(**auth) + return helper @pytest.fixture(scope='session') @@ -104,32 +97,48 @@ def compare_func(ansible_helper, k8s_obj, parameters): return compare_func -@pytest.fixture(scope='session') -def create_namespace(): - def create_func(namespace): - """ Create a namespace """ - helper = KubernetesObjectHelper('v1', 'namespace') - k8s_obj = helper.get_object(namespace) - if not k8s_obj: - k8s_obj = helper.model() - k8s_obj.metadata = models.V1ObjectMeta() - k8s_obj.metadata.name = namespace - k8s_obj = helper.create_object(None, k8s_obj) - assert k8s_obj is not None - return create_func +@pytest.fixture(scope='module') +def namespace(kubeconfig): + name = "test-{}".format(uuid.uuid4()) + helper = AnsibleModuleHelper('v1', 'namespace', debug=True, reset_logfile=False) + if kubeconfig is not None: + auth = { + 'kubeconfig': str(kubeconfig), + 'host': 'https://localhost:8443', + 'verify_ssl': False + } + helper.set_client_config(**auth) + k8s_obj = helper.create_object(models.V1Namespace(metadata=models.V1ObjectMeta(name=name))) -@pytest.fixture(scope='session') -def delete_namespace(): - def delete_func(namespace): - """ Delete an existing namespace """ - helper = KubernetesObjectHelper('v1', 'namespace') - k8s_obj = helper.get_object(namespace) - if k8s_obj: - helper.delete_object(namespace, None) - k8s_obj = helper.get_object(namespace) - return k8s_obj - return delete_func + yield k8s_obj + + helper.delete_object(name, None) + + +@pytest.fixture() +def object_name(): + name = 'test-{}'.format(uuid.uuid4()) + return name + + +@pytest.fixture(scope='module') +def project(kubeconfig): + name = "test-{}".format(uuid.uuid4()) + helper = AnsibleModuleHelper('v1', 'project', debug=True, reset_logfile=False) + if kubeconfig is not None: + auth = { + 'kubeconfig': str(kubeconfig), + 'host': 'https://localhost:8443', + 'verify_ssl': False + } + helper.set_client_config(**auth) + + k8s_obj = helper.create_project(metadata=models.V1ObjectMeta(name=name)) + + yield name + + helper.delete_object(name, None) def _get_id(argvalue): @@ -176,4 +185,4 @@ def pytest_generate_tests(metafunc): unique_namespaces = dict() for task in tasks: unique_namespaces[task['create']['namespace']] = None - metafunc.parametrize("namespaces", list(unique_namespaces.keys())) + metafunc.parametrize("namespaces", list(unique_namespaces.keys())) \ No newline at end of file diff --git a/test/functional/test_v1_deployment_config.py b/test/functional/test_v1_deployment_config.py index c0143866..d79a1d97 100644 --- a/test/functional/test_v1_deployment_config.py +++ b/test/functional/test_v1_deployment_config.py @@ -4,57 +4,88 @@ import copy +import pytest -def test_create_deployment(ansible_helper, create_tasks, obj_compare, create_namespace): +from openshift.helper.exceptions import OpenShiftException + + +@pytest.fixture() +def create_params(create_tasks, project, object_name): parameters = create_tasks['create'] - new_obj = ansible_helper.object_from_params(parameters) - namespace = parameters.get('namespace') - if namespace: - create_namespace(namespace) + parameters['namespace'] = project + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def patch_params(patch_tasks, project, object_name): + parameters = patch_tasks['patch'] + parameters['namespace'] = project + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def replace_params(replace_tasks, project, object_name): + parameters = replace_tasks['replace'] + parameters['namespace'] = project + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def deployment_config(ansible_helper, create_params): + new_obj = ansible_helper.object_from_params(create_params) + namespace = create_params.get('namespace') + name = create_params.get('name') k8s_obj = ansible_helper.create_object(namespace, new_obj) - obj_compare(ansible_helper, k8s_obj, parameters) + yield k8s_obj -def test_get_deployment(ansible_helper, create_tasks): - parameters = create_tasks['create'] - namespace = parameters.get('namespace') - k8s_obj = ansible_helper.get_object(parameters['name'], namespace) + try: + ansible_helper.delete_object(name, namespace) + except OpenShiftException as ex: + # Swallow exception if object is already removed + if ex.value.get('status') != 404: + raise + + +def test_create_deployment_config(ansible_helper, create_params, deployment_config, obj_compare): + obj_compare(ansible_helper, deployment_config, create_params) + + +def test_get_deployment(ansible_helper, deployment_config): + name = deployment_config.metadata.name + namespace = deployment_config.metadata.namespace + k8s_obj = ansible_helper.get_object(name, namespace) assert k8s_obj is not None -def test_patch_deployment(ansible_helper, patch_tasks, obj_compare): - parameters = patch_tasks['patch'] - name = parameters['name'] - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(name, namespace) +def test_patch_deployment(ansible_helper, deployment_config, patch_params, obj_compare): + name = patch_params['name'] + namespace = patch_params.get('namespace') + existing_obj = deployment_config updated_obj = copy.deepcopy(existing_obj) - ansible_helper.object_from_params(parameters, obj=updated_obj) + ansible_helper.object_from_params(patch_params, obj=updated_obj) match = ansible_helper.objects_match(existing_obj, updated_obj) assert not match new_obj = ansible_helper.patch_object(name, namespace, updated_obj) assert new_obj is not None - obj_compare(ansible_helper, new_obj, parameters) + obj_compare(ansible_helper, new_obj, patch_params) -def test_replace_deployment(ansible_helper, replace_tasks, obj_compare): - parameters = replace_tasks['replace'] - name = parameters.get('name') - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(name, namespace) - ansible_helper.object_from_params(parameters, obj=existing_obj) +def test_replace_deployment(ansible_helper, deployment_config, replace_params, obj_compare): + name = replace_params.get('name') + namespace = replace_params.get('namespace') + existing_obj = deployment_config + ansible_helper.object_from_params(replace_params, obj=existing_obj) k8s_obj = ansible_helper.replace_object(name, namespace, existing_obj) - obj_compare(ansible_helper, k8s_obj, parameters) + obj_compare(ansible_helper, k8s_obj, replace_params) -def test_remove_deployment(ansible_helper, create_tasks): - parameters = create_tasks['create'] - namespace = parameters.get('namespace') - name = parameters.get('name') +def test_remove_deployment(ansible_helper, deployment_config): + namespace = deployment_config.metadata.namespace + name = deployment_config.metadata.name ansible_helper.delete_object(name, namespace) k8s_obj = ansible_helper.get_object(name, namespace) - assert k8s_obj is None - - -def test_remove_namespace(namespaces, delete_namespace): - k8s_obj = delete_namespace(namespaces) - assert k8s_obj is None + assert k8s_obj is None \ No newline at end of file diff --git a/test/functional/test_v1_namespace.py b/test/functional/test_v1_namespace.py index 7ff73bd9..2a609f70 100644 --- a/test/functional/test_v1_namespace.py +++ b/test/functional/test_v1_namespace.py @@ -4,55 +4,80 @@ import copy +import pytest -def test_create_namespace(ansible_helper, create_tasks, obj_compare, create_namespace): - parameters = create_tasks['create'] - new_obj = ansible_helper.object_from_params(parameters) - namespace = parameters.get('namespace') - if namespace: - create_namespace(namespace) - k8s_obj = ansible_helper.create_object(namespace, new_obj) - obj_compare(ansible_helper, k8s_obj, parameters) +from openshift.helper.exceptions import OpenShiftException -def test_get_namespace(ansible_helper, create_tasks): +@pytest.fixture() +def create_params(create_tasks, object_name): parameters = create_tasks['create'] - namespace = parameters.get('namespace') - k8s_obj = ansible_helper.get_object(parameters['name'], namespace) - assert k8s_obj is not None + parameters['name'] = object_name + return parameters -def test_patch_namespace(ansible_helper, patch_tasks, obj_compare): +@pytest.fixture() +def patch_params(patch_tasks, object_name): parameters = patch_tasks['patch'] - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(parameters['name'], namespace) + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def replace_params(replace_tasks, object_name): + parameters = replace_tasks['replace'] + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def k8s_namespace(ansible_helper, create_params): + new_obj = ansible_helper.object_from_params(create_params) + name = create_params.get('name') + k8s_obj = ansible_helper.create_object(None, new_obj) + + yield k8s_obj + + try: + ansible_helper.delete_object(name, None) + except OpenShiftException as ex: + # Swallow exception if object is already removed + if ex.value.get('status') != 404: + raise + + +def test_create_namespace(ansible_helper, create_params, k8s_namespace, obj_compare): + obj_compare(ansible_helper, k8s_namespace, create_params) + + +def test_get_namespace(ansible_helper, k8s_namespace): + name = k8s_namespace.metadata.name + k8s_obj = ansible_helper.get_object(name, None) + assert k8s_obj is not None + + +def test_patch_namespace(ansible_helper, k8s_namespace, patch_params, obj_compare): + name = patch_params.get('name') + existing_obj = k8s_namespace updated_obj = copy.deepcopy(existing_obj) - ansible_helper.object_from_params(parameters, obj=updated_obj) + ansible_helper.object_from_params(patch_params, obj=updated_obj) match = ansible_helper.objects_match(existing_obj, updated_obj) assert not match - new_obj = ansible_helper.patch_object(parameters['name'], namespace, updated_obj) + new_obj = ansible_helper.patch_object(name, None, updated_obj) assert new_obj is not None - obj_compare(ansible_helper, new_obj, parameters) - + obj_compare(ansible_helper, new_obj, patch_params) -def test_replace_namespace(ansible_helper, replace_tasks, obj_compare): - parameters = replace_tasks['replace'] - name = parameters.get('name') - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(name, namespace) - ansible_helper.object_from_params(parameters, obj=existing_obj) - k8s_obj = ansible_helper.replace_object(name, namespace, existing_obj) - obj_compare(ansible_helper, k8s_obj, parameters) - -def test_remove_namespace(ansible_helper, create_tasks): - parameters = create_tasks['create'] - namespace = parameters.get('namespace') - ansible_helper.delete_object(parameters['name'], namespace) - k8s_obj = ansible_helper.get_object(parameters['name'], namespace) - assert k8s_obj is None +def test_replace_namespace(ansible_helper, k8s_namespace, replace_params, obj_compare): + name = replace_params.get('name') + existing_obj = k8s_namespace + ansible_helper.object_from_params(replace_params, obj=existing_obj) + k8s_obj = ansible_helper.replace_object(name, None, existing_obj) + obj_compare(ansible_helper, k8s_obj, replace_params) -def test_remove_namespace(namespaces, delete_namespace): - k8s_obj = delete_namespace(namespaces) - assert k8s_obj is None +def test_remove_namespace(ansible_helper, k8s_namespace): + name = k8s_namespace.metadata.name + ansible_helper.delete_object(name, None) + k8s_obj = ansible_helper.get_object(name, None) + assert k8s_obj is None \ No newline at end of file diff --git a/test/functional/test_v1_project.py b/test/functional/test_v1_project.py index cfbfe8ba..2a97257f 100644 --- a/test/functional/test_v1_project.py +++ b/test/functional/test_v1_project.py @@ -2,57 +2,63 @@ from __future__ import absolute_import from __future__ import print_function -import copy +import pytest - -def test_create_project(ansible_helper, create_tasks, obj_compare, create_namespace): - parameters = create_tasks['create'] - new_obj = ansible_helper.object_from_params(parameters) - namespace = parameters.get('namespace') - if namespace: - create_namespace(namespace) - k8s_obj = ansible_helper.create_object(namespace, new_obj) - obj_compare(ansible_helper, k8s_obj, parameters) +from openshift.helper.exceptions import OpenShiftException -def test_get_project(ansible_helper, create_tasks): +@pytest.fixture() +def create_params(create_tasks, object_name): parameters = create_tasks['create'] - namespace = parameters.get('namespace') - k8s_obj = ansible_helper.get_object(parameters['name'], namespace) - assert k8s_obj is not None + parameters['namespace'] = None + parameters['name'] = object_name + return parameters -def test_patch_project(ansible_helper, patch_tasks, obj_compare): +@pytest.fixture() +def patch_params(patch_tasks, object_name): parameters = patch_tasks['patch'] - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(parameters['name'], namespace) - updated_obj = copy.deepcopy(existing_obj) - ansible_helper.object_from_params(parameters, obj=updated_obj) - match = ansible_helper.objects_match(existing_obj, updated_obj) - assert not match - new_obj = ansible_helper.patch_object(parameters['name'], namespace, updated_obj) - assert new_obj is not None - obj_compare(ansible_helper, new_obj, parameters) - - -def test_replace_project(ansible_helper, replace_tasks, obj_compare): + parameters['namespace'] = None + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def replace_params(replace_tasks, object_name): parameters = replace_tasks['replace'] - name = parameters.get('name') - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(name, namespace) - ansible_helper.object_from_params(parameters, obj=existing_obj) - k8s_obj = ansible_helper.replace_object(name, namespace, existing_obj) - obj_compare(ansible_helper, k8s_obj, parameters) + parameters['namespace'] = None + parameters['name'] = object_name + return parameters -def test_remove_project(ansible_helper, create_tasks): - parameters = create_tasks['create'] - namespace = parameters.get('namespace') - ansible_helper.delete_object(parameters['name'], namespace) - k8s_obj = ansible_helper.get_object(parameters['name'], namespace) - assert k8s_obj is None +@pytest.fixture() +def openshift_project(ansible_helper, create_params): + new_obj = ansible_helper.object_from_params(create_params) + name = create_params.get('name') + k8s_obj = ansible_helper.create_project(metadata=new_obj.metadata) + + yield k8s_obj + + try: + ansible_helper.delete_object(name, None) + except OpenShiftException as ex: + # Swallow exception if object is already removed + if ex.value.get('status') != 404 and ex.value.get('status') != 403: + raise + + +def test_create_project(ansible_helper, create_params, openshift_project, obj_compare): + obj_compare(ansible_helper, openshift_project, create_params) + + +def test_get_project(ansible_helper, openshift_project): + name = openshift_project.metadata.name + k8s_obj = ansible_helper.get_object(name, None) + assert k8s_obj is not None -def test_remove_namespace(namespaces, delete_namespace): - k8s_obj = delete_namespace(namespaces) - assert k8s_obj is None +def test_remove_project(ansible_helper, openshift_project): + name = openshift_project.metadata.name + ansible_helper.delete_object(name, None) + k8s_obj = ansible_helper.get_object(name, None) + assert k8s_obj is None \ No newline at end of file diff --git a/test/functional/test_v1_route.py b/test/functional/test_v1_route.py index 22222bd0..e32ad0b3 100644 --- a/test/functional/test_v1_route.py +++ b/test/functional/test_v1_route.py @@ -4,58 +4,88 @@ import copy +import pytest +from openshift.helper.exceptions import OpenShiftException -def test_create_route(ansible_helper, create_tasks, obj_compare, create_namespace): + +@pytest.fixture() +def create_params(create_tasks, project, object_name): parameters = create_tasks['create'] - new_obj = ansible_helper.object_from_params(parameters) - namespace = parameters.get('namespace') - if namespace: - create_namespace(namespace) + parameters['namespace'] = project + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def patch_params(patch_tasks, project, object_name): + parameters = patch_tasks['patch'] + parameters['namespace'] = project + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def replace_params(replace_tasks, project, object_name): + parameters = replace_tasks['replace'] + parameters['namespace'] = project + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def route(ansible_helper, create_params): + new_obj = ansible_helper.object_from_params(create_params) + namespace = create_params.get('namespace') + name = create_params.get('name') k8s_obj = ansible_helper.create_object(namespace, new_obj) - obj_compare(ansible_helper, k8s_obj, parameters) + yield k8s_obj -def test_get_route(ansible_helper, create_tasks): - parameters = create_tasks['create'] - namespace = parameters.get('namespace') - k8s_obj = ansible_helper.get_object(parameters['name'], namespace) + try: + ansible_helper.delete_object(name, namespace) + except OpenShiftException as ex: + # Swallow exception if object is already removed + if ex.value.get('status') != 404: + raise + + +def test_create_route(ansible_helper, create_params, route, obj_compare): + obj_compare(ansible_helper, route, create_params) + + +def test_get_route(ansible_helper, route): + name = route.metadata.name + namespace = route.metadata.namespace + k8s_obj = ansible_helper.get_object(name, namespace) assert k8s_obj is not None -def test_patch_route(ansible_helper, patch_tasks, obj_compare): - parameters = patch_tasks['patch'] - name = parameters['name'] - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(name, namespace) +def test_patch_route(ansible_helper, route, patch_params, obj_compare): + name = patch_params.get('name') + namespace = patch_params.get('namespace') + existing_obj = route updated_obj = copy.deepcopy(existing_obj) - ansible_helper.object_from_params(parameters, obj=updated_obj) + ansible_helper.object_from_params(patch_params, obj=updated_obj) match = ansible_helper.objects_match(existing_obj, updated_obj) assert not match new_obj = ansible_helper.patch_object(name, namespace, updated_obj) assert new_obj is not None - obj_compare(ansible_helper, new_obj, parameters) + obj_compare(ansible_helper, new_obj, patch_params) -def test_replace_route(ansible_helper, replace_tasks, obj_compare): - parameters = replace_tasks['replace'] - name = parameters.get('name') - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(name, namespace) - ansible_helper.object_from_params(parameters, obj=existing_obj) +def test_replace_route(ansible_helper, route, replace_params, obj_compare): + name = replace_params.get('name') + namespace = replace_params.get('namespace') + existing_obj = route + ansible_helper.object_from_params(replace_params, obj=existing_obj) k8s_obj = ansible_helper.replace_object(name, namespace, existing_obj) - obj_compare(ansible_helper, k8s_obj, parameters) + obj_compare(ansible_helper, k8s_obj, replace_params) -def test_remove_route(ansible_helper, create_tasks): - parameters = create_tasks['create'] - namespace = parameters.get('namespace') - name = parameters.get('name') +def test_remove_route(ansible_helper, route): + name = route.metadata.name + namespace = route.metadata.namespace ansible_helper.delete_object(name, namespace) k8s_obj = ansible_helper.get_object(name, namespace) - assert k8s_obj is None - - -def test_remove_namespace(namespaces, delete_namespace): - k8s_obj = delete_namespace(namespaces) - assert k8s_obj is None + assert k8s_obj is None \ No newline at end of file diff --git a/test/functional/test_v1_service.py b/test/functional/test_v1_service.py index f765b515..df7efd5a 100644 --- a/test/functional/test_v1_service.py +++ b/test/functional/test_v1_service.py @@ -4,57 +4,88 @@ import copy +import pytest -def test_create_service(ansible_helper, create_tasks, obj_compare, create_namespace): +from openshift.helper.exceptions import OpenShiftException + + +@pytest.fixture() +def create_params(create_tasks, project, object_name): parameters = create_tasks['create'] - new_obj = ansible_helper.object_from_params(parameters) - namespace = parameters.get('namespace') - if namespace: - create_namespace(namespace) + parameters['namespace'] = project + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def patch_params(patch_tasks, project, object_name): + parameters = patch_tasks['patch'] + parameters['namespace'] = project + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def replace_params(replace_tasks, project, object_name): + parameters = replace_tasks['replace'] + parameters['namespace'] = project + parameters['name'] = object_name + return parameters + + +@pytest.fixture() +def service(ansible_helper, create_params): + new_obj = ansible_helper.object_from_params(create_params) + namespace = create_params.get('namespace') + name = create_params.get('name') k8s_obj = ansible_helper.create_object(namespace, new_obj) - obj_compare(ansible_helper, k8s_obj, parameters) + yield k8s_obj -def test_get_service(ansible_helper, create_tasks): - parameters = create_tasks['create'] - namespace = parameters.get('namespace') - name = parameters.get('name') + try: + ansible_helper.delete_object(name, namespace) + except OpenShiftException as ex: + # Swallow exception if object is already removed + if ex.value.get('status') != 404: + raise + + +def test_create_service(ansible_helper, create_params, service, obj_compare): + obj_compare(ansible_helper, service, create_params) + + +def test_get_service(ansible_helper, service): + name = service.metadata.name + namespace = service.metadata.namespace k8s_obj = ansible_helper.get_object(name, namespace) assert k8s_obj is not None -def test_patch_service(ansible_helper, patch_tasks, obj_compare): - parameters = patch_tasks['patch'] - name = parameters.get('name') - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(name, namespace) +def test_patch_service(ansible_helper, service, patch_params, obj_compare): + name = patch_params.get('name') + namespace = patch_params.get('namespace') + existing_obj = service updated_obj = copy.deepcopy(existing_obj) - ansible_helper.object_from_params(parameters, obj=updated_obj) + ansible_helper.object_from_params(patch_params, obj=updated_obj) match = ansible_helper.objects_match(existing_obj, updated_obj) assert not match new_obj = ansible_helper.patch_object(name, namespace, updated_obj) assert new_obj is not None - obj_compare(ansible_helper, new_obj, parameters) + obj_compare(ansible_helper, new_obj, patch_params) -def test_replace_service(ansible_helper, replace_tasks, obj_compare): - parameters = replace_tasks['replace'] - name = parameters.get('name') - namespace = parameters.get('namespace') - existing_obj = ansible_helper.get_object(name, namespace) - ansible_helper.object_from_params(parameters, obj=existing_obj) +def test_replace_service(ansible_helper, service, replace_params, obj_compare): + name = replace_params.get('name') + namespace = replace_params.get('namespace') + existing_obj = service + ansible_helper.object_from_params(replace_params, obj=existing_obj) k8s_obj = ansible_helper.replace_object(name, namespace, existing_obj) - obj_compare(ansible_helper, k8s_obj, parameters) - + obj_compare(ansible_helper, k8s_obj, replace_params) -def test_remove_service(ansible_helper, create_tasks): - parameters = create_tasks['create'] - namespace = parameters.get('namespace') - ansible_helper.delete_object(parameters['name'], namespace) - k8s_obj = ansible_helper.get_object(parameters['name'], namespace) - assert k8s_obj is None - -def test_remove_namespace(namespaces, delete_namespace): - k8s_obj = delete_namespace(namespaces) - assert k8s_obj is None +def test_remove_service(ansible_helper, service): + name = service.metadata.name + namespace = service.metadata.namespace + ansible_helper.delete_object(name, namespace) + k8s_obj = ansible_helper.get_object(name, namespace) + assert k8s_obj is None \ No newline at end of file From 3d0f27100ac2d8331000720c4fffbc68eb81991f Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Mon, 20 Mar 2017 14:44:20 -0400 Subject: [PATCH 3/3] Add delay when creating a namespace to allow for openshift annotations to be created --- openshift/helper/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openshift/helper/__init__.py b/openshift/helper/__init__.py index 94d1418c..95da7abd 100644 --- a/openshift/helper/__init__.py +++ b/openshift/helper/__init__.py @@ -177,6 +177,11 @@ def create_object(self, namespace, k8s_obj): msg = json.loads(exc.body).get('message', exc.reason) raise OpenShiftException(msg, status=exc.status) #return_obj = self.__read_stream(w, stream, 'create', k8s_obj.metadata.name, namespace) + + # Allow OpenShift annotations to be added to Namespace + if isinstance(k8s_obj, client.models.V1Namespace): + time.sleep(1) + return_obj = self.__wait_for_response(k8s_obj.metadata.name, namespace, 'create') return return_obj @@ -207,7 +212,6 @@ def delete_object(self, name, namespace): def replace_object(self, name, namespace, k8s_obj): empty_status = self.properties['status']['class']() k8s_obj.status = empty_status - k8s_obj.metadata.resource_version = None self.__remove_creation_timestamps(k8s_obj) #w, stream = self.__create_stream(namespace) try: