Skip to content

Commit 21defce

Browse files
committed
conditionally create /data/cta directory
1 parent ba3d174 commit 21defce

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

templates/configmap.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,12 @@ data:
205205
/opt/dcache/bin/chimera chown 1000:1000 /data/g2 || true
206206
/opt/dcache/bin/chimera mkdir /data/s2 || true
207207
/opt/dcache/bin/chimera chown 1000:1000 /data/s2 || true
208+
{{- if .Values.dcache.plugins.cta.enabled }}
209+
/opt/dcache/bin/chimera mkdir /data/cta || true
210+
/opt/dcache/bin/chimera chown 1000:1000 /data/cta || true
211+
/opt/dcache/bin/chimera writetag /data/cta sGroup "tape"
212+
/opt/dcache/bin/chimera writetag /data/cta hsmInstance "cta"
213+
{{- end }}
208214
{{- range .Values.dcache.pools }}
209215
/opt/dcache/bin/chimera mkdir /data/pool-{{.}} || true
210216
/opt/dcache/bin/chimera chown 1000:1000 /data/pool-{{.}} || true

0 commit comments

Comments
 (0)