Skip to content

Commit

Permalink
Daemons: allow vo-agnostic FTS cronjob #220
Browse files Browse the repository at this point in the history
  • Loading branch information
Soap2G authored and bari12 committed Feb 14, 2025
1 parent c711c8c commit 14ebb40
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/rucio-daemons/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rucio-daemons
version: 36.0.1
version: 36.0.2
apiVersion: v1
description: A Helm chart to deploy daemons for Rucio
keywords:
Expand Down
4 changes: 4 additions & 0 deletions charts/rucio-daemons/templates/renew-fts-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,14 @@
- name: {{ $key1 | upper }}
value: "{{ $val1 }}"
{{- end}}
{{- if ne (coalesce .Values.ftsRenewal.vo (first .Values.ftsRenewal.vos).vo) "none" }}
- name: RUCIO_VO
value: {{ coalesce .Values.ftsRenewal.vo (first .Values.ftsRenewal.vos).vo | quote }}
{{- end }}
{{- if ne (coalesce .Values.ftsRenewal.voms (first .Values.ftsRenewal.vos).voms) "none" }}
- name: RUCIO_FTS_VOMS
value: {{ coalesce .Values.ftsRenewal.voms (first .Values.ftsRenewal.vos).voms | quote }}
{{- end }}
{{- if not .Values.ftsRenewal.vo}}
- name: RUCIO_FTS_SCRIPT
value: "{{ .Values.ftsRenewal.script }}"
Expand Down
4 changes: 2 additions & 2 deletions charts/rucio-daemons/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ ftsRenewal:
servers: "https://fts3-devel.cern.ch:8446,https://cmsfts3.fnal.gov:8446,https://fts3.cern.ch:8446,https://lcgfts3.gridpp.rl.ac.uk:8446,https://fts3-pilot.cern.ch:8446"
script: 'default' # one of: 'default', 'atlas', 'dteam', 'multi_vo', 'tutorial', 'escape'. The associated scripts can be found here: https://github.com/rucio/containers/tree/master/fts-cron
vos:
- vo: "cms"
voms: "cms:/cms/Role=production"
- vo: "none"
voms: "none"
secretMounts: []
# - secretName: fts-cert
# mountPath: /opt/rucio/certs/usercert.pem
Expand Down

0 comments on commit 14ebb40

Please sign in to comment.