Skip to content

Commit

Permalink
update DELEGATED_STORAGE_HOST value
Browse files Browse the repository at this point in the history
  • Loading branch information
AmelieLoulergue committed Dec 13, 2024
1 parent 1890efb commit 40458d4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions opensource/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,8 @@ spec:
value: "{{ include "redisService" . }}"
- name: DELEGATED_STORAGE_METHOD
value: "{{ default "DISTANT_BACKEND" .Values.delegatedStorage.storageMethod }}"
- name: DELEGATED_STORAGE_HOST
value: >
{{- if eq .Values.delegatedStorage.storageMethod "S3" -}}
http://{{ include "minioService" . }}:{{ .Values.s3.port }}
{{- else -}}
{{ .Values.delegatedStorage.host }}
{{- end -}}
- name: DELEGATED_STORAGE_HOST
value: "{{ if eq .Values.delegatedStorage.storageMethod \"S3\" }}http://{{ include \"minioService\" . }}:{{ .Values.s3.port }}{{ else }}{{ .Values.delegatedStorage.host }}{{ end }}"
- name: DELEGATED_STORAGE_READINESS_CHECK
value: "{{ default "/minio/health/live" .Values.delegatedStorage.routes.readinessCheck }}"
{{- if and (eq .Values.delegatedStorage.connect true) (eq .Values.delegatedStorage.storageMethod "DISTANT_BACKEND") }}
Expand Down

0 comments on commit 40458d4

Please sign in to comment.