Skip to content

Commit

Permalink
feat: add protocol to manager address for client (#218)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Jan 3, 2024
1 parent da5bc2d commit 055878a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 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.14
version: 1.1.15
appVersion: 2.1.28
keywords:
- dragonfly
Expand All @@ -26,9 +26,7 @@ sources:

annotations:
artifacthub.io/changes: |
- Fix empty host field in client config.
- Fix empty tracing field in client config.
- Update client image version to v0.1.7.
- Add protocol to manager address for client.
artifacthub.io/links: |
- name: Chart Source
Expand Down
2 changes: 1 addition & 1 deletion charts/dragonfly/templates/client/client-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data:
{{- if .Values.client.config.manager.addrs }}
{{ toYaml .Values.client.config.manager.netAddrs | indent 6 }}
{{- else if .Values.manager.enable }}
- {{ template "dragonfly.manager.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:{{ .Values.manager.grpcPort }}
- http://{{ template "dragonfly.manager.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:{{ .Values.manager.grpcPort }}
{{- else }}
- {{ .Values.externalManager.host }}:{{ .Values.externalManager.grpcPort }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data:
{{- if .Values.client.config.manager.addrs }}
{{ toYaml .Values.client.config.manager.netAddrs | indent 6 }}
{{- else if .Values.manager.enable }}
- {{ template "dragonfly.manager.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:{{ .Values.manager.grpcPort }}
- http://{{ template "dragonfly.manager.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}:{{ .Values.manager.grpcPort }}
{{- else }}
- {{ .Values.externalManager.host }}:{{ .Values.externalManager.grpcPort }}
{{- end }}
Expand Down

0 comments on commit 055878a

Please sign in to comment.