Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions charts/dragonfly/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ 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.6.27
appVersion: 2.4.4-rc.1
version: 1.6.28
appVersion: 2.4.4-rc.2
keywords:
- dragonfly
- d7y
Expand All @@ -27,7 +27,8 @@ sources:

annotations:
artifacthub.io/changes: |
- Centralize health probe configuration into global readinessProbe and livenessProbe settings, and fix GRPC health probe timeout parameter format.
- Bump dragonfly version to v2.4.4-rc.2.
- Add externalRedis TLS client configuration support.

artifacthub.io/links: |
- name: Chart Source
Expand Down
5 changes: 5 additions & 0 deletions charts/dragonfly/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ helm delete dragonfly --namespace dragonfly-system
| externalRedis.password | string | `""` | External redis password. |
| externalRedis.sentinelPassword | string | `""` | External redis sentinel password. |
| externalRedis.sentinelUsername | string | `""` | External redis sentinel addresses. |
| externalRedis.tls | object | `{"caCert":"","cert":"","insecureSkipVerify":false,"key":""}` | TLS client configuration for external redis connection. |
| externalRedis.tls.caCert | string | `""` | caCert is the CA certificate file path for redis TLS handshake. |
| externalRedis.tls.cert | string | `""` | cert is the client certificate file path for redis TLS handshake. |
| externalRedis.tls.insecureSkipVerify | bool | `false` | insecureSkipVerify controls whether the client verifies the server's certificate chain and hostname. |
| externalRedis.tls.key | string | `""` | key is the client key file path for redis TLS handshake. |
| externalRedis.username | string | `""` | External redis username. |
| fullnameOverride | string | `""` | Override dragonfly fullname. |
| global.imagePullSecrets | list | `[]` | Global Docker registry secret names as an array. |
Expand Down
13 changes: 13 additions & 0 deletions charts/dragonfly/templates/manager/manager-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,19 @@ data:
db: {{ .Values.externalRedis.db }}
brokerDB: {{ .Values.externalRedis.brokerDB }}
backendDB: {{ .Values.externalRedis.backendDB }}
{{- with .Values.externalRedis.tls }}
{{- if or .insecureSkipVerify .caCert }}
tls:
{{- if .caCert }}
caCert: {{ .caCert | quote }}
{{- end }}
{{- if and .cert .key }}
cert: {{ .cert | quote }}
key: {{ .key | quote }}
{{- end }}
insecureSkipVerify: {{ .insecureSkipVerify }}
{{- end }}
{{- end }}
{{- end }}
cache:
{{ toYaml .Values.manager.config.cache | indent 6 }}
Expand Down
26 changes: 26 additions & 0 deletions charts/dragonfly/templates/scheduler/scheduler-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ data:
sentinelPassword: {{ .Values.externalRedis.sentinelPassword }}
brokerDB: {{ .Values.externalRedis.brokerDB }}
backendDB: {{ .Values.externalRedis.backendDB }}
{{- with .Values.externalRedis.tls }}
{{- if or .insecureSkipVerify .caCert }}
tls:
{{- if .caCert }}
caCert: {{ .caCert | quote }}
{{- end }}
{{- if and .cert .key }}
cert: {{ .cert | quote }}
key: {{ .key | quote }}
{{- end }}
insecureSkipVerify: {{ .insecureSkipVerify }}
{{- end }}
{{- end }}
{{- end }}
dynconfig:
{{ toYaml .Values.scheduler.config.dynconfig | indent 6 }}
Expand Down Expand Up @@ -63,6 +76,19 @@ data:
sentinelPassword: {{ .Values.externalRedis.sentinelPassword }}
brokerDB: {{ .Values.externalRedis.brokerDB }}
backendDB: {{ .Values.externalRedis.backendDB }}
{{- with .Values.externalRedis.tls }}
{{- if or .insecureSkipVerify .caCert }}
tls:
{{- if .caCert }}
caCert: {{ .caCert | quote }}
{{- end }}
{{- if and .cert .key }}
cert: {{ .cert | quote }}
key: {{ .key | quote }}
{{- end }}
insecureSkipVerify: {{ .insecureSkipVerify }}
{{- end }}
{{- end }}
{{- end }}
storage:
{{ toYaml .Values.scheduler.config.storage | indent 6 }}
Expand Down
11 changes: 11 additions & 0 deletions charts/dragonfly/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1938,6 +1938,17 @@ externalRedis:
brokerDB: 1
# -- External redis backend db.
backendDB: 2
# -- TLS client configuration for external redis connection.
tls:
# -- caCert is the CA certificate file path for redis TLS handshake.
caCert: ''
# -- cert is the client certificate file path for redis TLS handshake.
cert: ''
# -- key is the client key file path for redis TLS handshake.
key: ''
# -- insecureSkipVerify controls whether the client verifies the
# server's certificate chain and hostname.
insecureSkipVerify: false

injector:
# -- Enable injector.
Expand Down
Loading