diff --git a/charts/dragonfly/Chart.yaml b/charts/dragonfly/Chart.yaml index 4661696c..76f95cfa 100644 --- a/charts/dragonfly/Chart.yaml +++ b/charts/dragonfly/Chart.yaml @@ -3,7 +3,7 @@ name: dragonfly description: Dragonfly is an intelligent P2P based image and file distribution system icon: https://raw.githubusercontent.com/dragonflyoss/dragonfly/main/docs/images/logo/dragonfly.svg type: application -version: 1.3.2 +version: 1.3.3 appVersion: 2.2.0 keywords: - dragonfly @@ -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 diff --git a/charts/dragonfly/templates/client/client-daemonset.yaml b/charts/dragonfly/templates/client/client-daemonset.yaml index 4294b611..4447e8aa 100644 --- a/charts/dragonfly/templates/client/client-daemonset.yaml +++ b/charts/dragonfly/templates/client/client-daemonset.yaml @@ -178,6 +178,8 @@ 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 }} @@ -185,6 +187,10 @@ spec: - 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: