Skip to content

Commit 9c6261f

Browse files
lobisrdimaio
authored andcommitted
[daemons]: option to have shared env variables between all daemons
1 parent 2710ac9 commit 9c6261f

18 files changed

+52
-1
lines changed

charts/rucio-daemons/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: rucio-daemons
2-
version: 36.0.5
2+
version: 36.0.6
33
apiVersion: v1
44
description: A Helm chart to deploy daemons for Rucio
55
keywords:

charts/rucio-daemons/templates/abacus-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ spec:
155155
value: "{{ .rucio_daemon }}"
156156
- name: RUCIO_DAEMON_ARGS
157157
value: "{{ .daemon_args }}"
158+
{{- with .Values.additionalEnvs }}
159+
{{ toYaml . | indent 12 }}
160+
{{- end}}
158161
{{- with .component_values.additionalEnvs }}
159162
{{ toYaml . | indent 12 }}
160163
{{- end}}

charts/rucio-daemons/templates/automatix-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ spec:
166166
- name: X509_USER_PROXY
167167
value: "/opt/proxy/x509up"
168168
{{- end }}
169+
{{- with .Values.additionalEnvs }}
170+
{{ toYaml . | indent 12 }}
171+
{{- end}}
169172
{{- with $component_values.additionalEnvs }}
170173
{{ toYaml . | indent 12 }}
171174
{{- end}}

charts/rucio-daemons/templates/cache-consumer-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ spec:
143143
value: "{{ $rucio_daemon }}"
144144
- name: RUCIO_DAEMON_ARGS
145145
value: "{{- if $component_values.threads }} --num-thread {{ $component_values.threads }} {{ end }}"
146+
{{- with .Values.additionalEnvs }}
147+
{{ toYaml . | indent 12 }}
148+
{{- end}}
146149
{{- with $component_values.additionalEnvs }}
147150
{{ toYaml . | indent 12 }}
148151
{{- end}}

charts/rucio-daemons/templates/conveyor-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ spec:
155155
value: "{{ .rucio_daemon }}"
156156
- name: RUCIO_DAEMON_ARGS
157157
value: "{{ .daemon_args }}"
158+
{{- with .Values.additionalEnvs }}
159+
{{ toYaml . | indent 12 }}
160+
{{- end}}
158161
{{- with .component_values.additionalEnvs }}
159162
{{ toYaml . | indent 12 }}
160163
{{- end}}

charts/rucio-daemons/templates/dark-reaper-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ spec:
165165
- name: X509_USER_PROXY
166166
value: "/opt/proxy/x509up"
167167
{{- end }}
168+
{{- with .Values.additionalEnvs }}
169+
{{ toYaml . | indent 12 }}
170+
{{- end}}
168171
{{- with $component_values.additionalEnvs }}
169172
{{ toYaml . | indent 12 }}
170173
{{- end}}

charts/rucio-daemons/templates/hermes-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ spec:
157157
value: "{{ $rucio_daemon }}"
158158
- name: RUCIO_DAEMON_ARGS
159159
value: "{{- if $component_values.threads }} --threads {{ $component_values.threads }}{{ end }} {{ if $component_values.bulk }} --bulk {{ $component_values.bulk }}{{ end }}"
160+
{{- with .Values.additionalEnvs }}
161+
{{ toYaml . | indent 12 }}
162+
{{- end}}
160163
{{- with $component_values.additionalEnvs }}
161164
{{ toYaml . | indent 12 }}
162165
{{- end}}

charts/rucio-daemons/templates/hermes-legacy-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ spec:
157157
value: "{{ $rucio_daemon }}"
158158
- name: RUCIO_DAEMON_ARGS
159159
value: "{{- if $component_values.threads }} --threads {{ $component_values.threads }}{{ end }} {{- if $component_values.bulk }} --bulk {{ $component_values.bulk }}{{ end }} {{- if $component_values.sleepTime }} --sleep-time {{ $component_values.sleepTime }}{{ end }} {{- if $component_values.brokerTimeout }} --broker-timeout {{ $component_values.brokerTimeout }}{{ end }} {{- if $component_values.brokerRetry }} --broker-retry {{ $component_values.brokerRetry }}{{ end }}"
160+
{{- with .Values.additionalEnvs }}
161+
{{ toYaml . | indent 12 }}
162+
{{- end}}
160163
{{- with $component_values.additionalEnvs }}
161164
{{ toYaml . | indent 12 }}
162165
{{- end}}

charts/rucio-daemons/templates/judge-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ spec:
155155
value: "{{ .rucio_daemon }}"
156156
- name: RUCIO_DAEMON_ARGS
157157
value: "{{ .daemon_args }}"
158+
{{- with .Values.additionalEnvs }}
159+
{{ toYaml . | indent 12 }}
160+
{{- end}}
158161
{{- with .component_values.additionalEnvs }}
159162
{{ toYaml . | indent 12 }}
160163
{{- end}}

charts/rucio-daemons/templates/minos-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ spec:
155155
value: "{{ .rucio_daemon }}"
156156
- name: RUCIO_DAEMON_ARGS
157157
value: "{{ .daemon_args }}"
158+
{{- with .Values.additionalEnvs }}
159+
{{ toYaml . | indent 12 }}
160+
{{- end}}
158161
{{- with .component_values.additionalEnvs }}
159162
{{ toYaml . | indent 12 }}
160163
{{- end}}

0 commit comments

Comments
 (0)