From b4d3bb84e5ede4d1dca73c93043c73fd90499277 Mon Sep 17 00:00:00 2001 From: "bo.jiang" Date: Tue, 21 Nov 2023 10:12:03 +0800 Subject: [PATCH] update airgap patch docs Signed-off-by: bo.jiang --- artifacts/airgap_patch.py | 2 +- docs/en/usage/airgap_patch_usage.md | 8 ++++---- docs/zh/usage/airgap_patch_usage.md | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/artifacts/airgap_patch.py b/artifacts/airgap_patch.py index edb147cf3..ddde80210 100644 --- a/artifacts/airgap_patch.py +++ b/artifacts/airgap_patch.py @@ -28,7 +28,7 @@ FILE_LIST_TEMP_PATH = os.path.join(SPRAY_REPO_PATH, "contrib/offline/temp/files.list") IMAGE_LIST_TEMP_PATH = os.path.join(SPRAY_REPO_PATH, "contrib/offline/temp/images.list") -KUBEAN_TAG = "v_offline_patch" +KUBEAN_TAG = "airgap_patch" print(f"CUR_DIR:{CUR_DIR}") diff --git a/docs/en/usage/airgap_patch_usage.md b/docs/en/usage/airgap_patch_usage.md index 02262b852..2e654a8e7 100644 --- a/docs/en/usage/airgap_patch_usage.md +++ b/docs/en/usage/airgap_patch_usage.md @@ -39,7 +39,7 @@ The directory structure of the incremental package is as follows: ``` data -└── v_offline_patch +└── airgap_patch ├── amd64 │   ├── files │   │   ├── import_files.sh @@ -60,7 +60,7 @@ data 1. Write file data into MinIO ```bash - $ cd data/v_offline_patch/amd64/files + $ cd data/airgap_patch/amd64/files $ MINIO_USER=${username} MINIO_PASS=${password} ./import_files.sh ${minio_address} ``` @@ -70,7 +70,7 @@ data 2. Write image data to the docker registry (recommended version 2.6.2) or harbor ```bash - $ cd data/v_offline_patch/amd64/images + $ cd data/airgap_patch/amd64/images # 1. Non-secure password-free mode $ DEST_TLS_VERIFY=false ./import_images.sh ${registry_address} @@ -86,7 +86,7 @@ data 3. Write `kubeanofflineversion.cr.patch.yaml` to the k8s cluster ```bash - $ cd data/v_offline_patch + $ cd data/airgap_patch $ kubectl apply -f kubeanofflineversion.cr.patch.yaml ``` diff --git a/docs/zh/usage/airgap_patch_usage.md b/docs/zh/usage/airgap_patch_usage.md index dc66acca1..4f32ee50e 100644 --- a/docs/zh/usage/airgap_patch_usage.md +++ b/docs/zh/usage/airgap_patch_usage.md @@ -40,7 +40,7 @@ ``` data -└── v_offline_patch +└── airgap_patch ├── amd64 │   ├── files │   │   ├── import_files.sh @@ -61,7 +61,7 @@ data 1. 向 MinIO 中写入文件数据 ```bash - $ cd data/v_offline_patch/amd64/files + $ cd data/airgap_patch/amd64/files $ MINIO_USER=${username} MINIO_PASS=${password} ./import_files.sh ${minio_address} ``` @@ -71,7 +71,7 @@ data 2. 向 Docker Registry(推荐使用 2.6.2 版本)或者 Harbor 写入镜像数据 ```bash - $ cd data/v_offline_patch/amd64/images + $ cd data/airgap_patch/amd64/images # 1. 非安全免密模式 $ DEST_TLS_VERIFY=false ./import_images.sh ${registry_address} @@ -87,7 +87,7 @@ data 3. 将 `kubeanofflineversion.cr.patch.yaml` 写入到 K8s 集群 ```bash - $ cd data/v_offline_patch + $ cd data/airgap_patch $ kubectl apply -f kubeanofflineversion.cr.patch.yaml ```