Skip to content

Commit

Permalink
Merge pull request #34 from BouyguesTelecom/add/release-name-in-kind-…
Browse files Browse the repository at this point in the history
…yaml

update DELEGATED_STORAGE_HOST value
  • Loading branch information
AmelieLoulergue authored Dec 13, 2024
2 parents 1be1d5e + 40458d4 commit 82f6ff8
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 82f6ff8

Please sign in to comment.