apiVersion: v1
kind: ConfigMap
metadata:
  name: eos-config
  labels:
    config: eos
data:
  eos4: |
    use_eos4

  xrd.cf.mgm: |
    mgmofs.nslib /usr/lib64/libEosNsQuarkdb.so
    mgmofs.qdbcluster localhost:7777
    mgmofs.qdbpassword_file  /etc/eos.keytab
    xrd.protocol  XrdHttp:8444 libXrdHttp.so
    http.exthandler  EosMgmHttp libEosMgmHttp.so eos::mgm::http::redirect-to-https=0
    http.exthandler  xrdtpc libXrdHttpTPC.so
    http.trace  all -debug
    all.sitename  cern_tape_archive_ctaeos_ci
    taperestapi.sitename cern-cta-ctaeosci

  xrd.cf.fst: |
    xrd.protocol  XrdHttp:1140 libXrdHttp.so
    http.exthandler  EosFstHttp /usr/lib64/libEosFstHttp.so none
    http.exthandler  xrdtpc libXrdHttpTPC.so
    http.trace  all -debug

  xrootd-quarkdb.cfg: |
    xrd.port 7777
    xrd.protocol redis:7777 /usr/lib64/libXrdQuarkDB.so
    redis.mode standalone
    redis.database /var/lib/quarkdb/quarkdb1
    redis.password_file  /etc/eos.keytab.xrootd
