Skip to content

Commit

Permalink
rucio identification is needed as we are managing users (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
garciagenrique authored Nov 13, 2024
1 parent 9764040 commit 3d47dd0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion infrastructure/cluster/flux/rucio/rucio-cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ spec:
containers:
- name: iam-sync
image: ghcr.io/vre-hub/vre-iam-rucio-sync:v1.0.0-rc.2-82-aea1b65
volumeMounts:
- name: rucio-cfg
mountPath: /opt/rucio/etc/
- name: daemons-rucio-x509up
mountPath: /tmp/
env:
- name: IAM_SERVER
value: "https://iam-escape.cloud.cnaf.infn.it/"
Expand All @@ -37,9 +42,16 @@ spec:
- /bin/sh
- -c
- date; echo '* Hello from iam-rucio-sync container *';
pwd; ls;
pwd; ls; rucio whoami;
echo $IAM_SERVER; echo $IAM_CLIENT_ID; echo $IAM_CLIENT_SECRET; python3 /home/sync_iam_rucio.py;
echo '* Sync to IAM * Done!'
volumes:
- name: rucio-cfg
secret:
secretName: escape-service-account
- name: daemons-rucio-x509up
secret:
secretName: daemons-rucio-x509up
# ---
# apiVersion: batch/v1
# kind: CronJob
Expand Down

0 comments on commit 3d47dd0

Please sign in to comment.