From 5390ebc7c173da02a7a82e801ca4077a047fc21e Mon Sep 17 00:00:00 2001 From: Igal Tsoiref Date: Mon, 25 May 2020 16:26:04 +0300 Subject: [PATCH] MGMT-924 Rename kubeconfig without ingress cert to kubeconfig-noingress --- process-ignition-manifests-and-kubeconfig.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/process-ignition-manifests-and-kubeconfig.py b/process-ignition-manifests-and-kubeconfig.py index 71043db..0e5fc29 100644 --- a/process-ignition-manifests-and-kubeconfig.py +++ b/process-ignition-manifests-and-kubeconfig.py @@ -60,6 +60,8 @@ def upload_to_s3(s3_endpoint_url, bucket, install_dir): for f in files: logging.info("Uplading file: {}".format(f)) file_path = os.path.join(root, f) + if f == "kubeconfig": + f = "kubeconfig-noingress" s3_file_name = "{}/{}".format(prefix, f) print(s3_file_name) uploaded = upload_to_aws(s3, file_path, bucket, s3_file_name)