Skip to content

Commit

Permalink
fix: the registry host namespace should include the port (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone authored Jan 18, 2024
1 parent 7b1a8d1 commit 43d79ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions charts/dragonfly/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: dragonfly
description: Dragonfly is an intelligent P2P based image and file distribution system
icon: https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/docs/images/logo/dragonfly.svg
type: application
version: 1.1.24
version: 1.1.25
appVersion: 2.1.30
keywords:
- dragonfly
Expand All @@ -26,9 +26,7 @@ sources:

annotations:
artifacthub.io/changes: |
- Change structure of the metrics config in client.
- Update dragonfly image tag to v2.1.30.
- Update client image tag to v0.1.13.
- Fix the registry host namespace in dfdaemon
artifacthub.io/links: |
- name: Chart Source
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ spec:
registry_domain=$registry
fi
# parse registry domain
domain=$(echo $registry | sed -e "s,http.*://,," | sed "s,:.*,,")
domain=$(echo $registry | sed -e "s,http.*://,,")
# inject registry
mkdir -p $etcContainerd/certs.d/$domain
if [[ -e "$etcContainerd/certs.d/$domain/hosts.toml" ]]; then
Expand Down

0 comments on commit 43d79ab

Please sign in to comment.