forked from goharbor/acceleration-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.estargz.yaml
46 lines (42 loc) · 1.18 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
# 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:
auth: YWRtaW46SGFyYm9yMTIzNDU=
containerd:
# ensure containerd service listening on this address
address: /run/containerd/containerd.sock
snapshotter: overlayfs
converter:
# number of worker for executing conversion task
worker: 5
# enable to add harbor specified annotations to converted image for tracking.
harbor_annotation: true
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