-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathconfig.estargz.yaml
50 lines (46 loc) · 1.41 KB
/
config.estargz.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Configuration file of Harbor Acceleration Service
# http related config
server:
name: API
# listened host for http
host: 0.0.0.0
# port for http
port: 2077
metric:
# export metrics on `/metrics` endpoint
enabled: true
provider:
source:
# hostname of harbor service
hub.harbor.com:
# base64 encoded `<robot-name>:<robot-secret>` for robot
# account created in harbor
# auth: YTpiCg==
# skip verifying server certs for HTTPS source registry
insecure: false
webhook:
# webhook request auth header configured in harbor
auth_header: header
localhost:
# If auth is not provided, it will attempt to read from docker config
# auth: YWRtaW46SGFyYm9yMTIzNDU=
# work directory of acceld
work_dir: /tmp
gcpolicy:
# size threshold that triggers GC, the oldest used blobs will be reclaimed if exceeds the size.
threshold: 1000MB
converter:
# number of worker for executing conversion task
worker: 5
# enable to add harbor specified annotations to converted image for tracking.
harbor_annotation: true
# only convert images for specific platforms, leave empty for all platforms.
# platforms: linux/amd64,linux/arm64
driver:
# accelerator driver type: `estargz`
type: estargz
config:
docker2oci: true
rules:
# add suffix to tag of source image reference as target image reference
- tag_suffix: -esgz