Skip to content

Commit

Permalink
feat: preheat document remove Configuration (#178)
Browse files Browse the repository at this point in the history
Signed-off-by: zhaoxinxin <[email protected]>
  • Loading branch information
Liam-Zhao authored Oct 30, 2024
1 parent 70656a1 commit 604b197
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions docs/advanced-guides/preheat.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,6 @@ namely Open API preheat, console preheat and harbor preheat.

Use Open API to preheat.

### Configuration

If the client is `containerd`, it is recommended to configure `proxy.defaultFilter` in dfget.yaml and set it to `Expires&Signature&ns`,
because containerd will add `ns` query params to the blobs download URL,
refer to [containerd/remotes/docker/resolver.go](https://github.com/containerd/containerd/blob/main/remotes/docker/resolver.go#L493).
Which will cause the generated Task ID to be different from the preheat Task ID, so it is impossible to hit the preheat blobs.

```yaml
# proxy service detail option
proxy:
defaultFilter: 'Expires&Signature&ns'
```
### Create personal access token

Click the `ADD PERSONAL ACCESS TOKENS` button to create personal access token.
Expand Down

0 comments on commit 604b197

Please sign in to comment.