Skip to content

Commit

Permalink
Merge pull request #1029 from ErikJiang/airgap_patch_docs
Browse files Browse the repository at this point in the history
update airgap patch docs
  • Loading branch information
ErikJiang authored Nov 21, 2023
2 parents 4a99ec9 + b4d3bb8 commit dac1049
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion artifacts/airgap_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")


Expand Down
8 changes: 4 additions & 4 deletions docs/en/usage/airgap_patch_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
```
Expand All @@ -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}
Expand All @@ -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
```

Expand Down
8 changes: 4 additions & 4 deletions docs/zh/usage/airgap_patch_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

```
data
└── v_offline_patch
└── airgap_patch
├── amd64
│   ├── files
│   │   ├── import_files.sh
Expand All @@ -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}
```
Expand All @@ -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}
Expand All @@ -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
```

Expand Down

0 comments on commit dac1049

Please sign in to comment.