Skip to content

Further clean up init scripts

Niels Alexander Buegel requested to merge 954-further-clean-up-init-scripts into main

Summary

This MR:

  • Removes the mounting of /mnt/logs (via the claimLogs PVC) from anything but cta chart (it was only used there anyway)
  • This allowed for moving the corresponding PVC definition to the cta chart
  • As a result, there is no longer a dependency on the init chart for the scheduler and catalogue charts
  • To simplify things even further, the reset-tapes pod was a bit redundant in the first place; there was no reason for this to be happening in a pod in the current setup. As a result, this was moved to a simple script that is now executed as part of the setup scripts
  • This means the init chart was only installing the kdc subchart. As such, I got rid of the init chart and we now only have the kdc chart.
  • As a result, the catalogue, scheduler and kdc charts can all be installed at the same time
  • Refactored the kdc init script (and modified the chart slightly to accommodate this)
  • Stopped the installing of ceph if this was not necessary. This speeds up the deployment in dev environments where VFS is used
  • Removed unused spec/ directory in docker/ctafrontend
  • Removed some things from init_pod.sh that were not doing anything (useful)
  • Cleaned up the other init scripts a little bit
  • Fixed naming convention for init scripts (prefix with pod name and use only lowercase alphanumeric characters with hyphen separation)
  • Fixed a tiny bug with the log_wrapper.sh script and with build_deploy.sh image cleanup

Additional Required Actions

  • Requires manual tests in pre-production: NO
  • Requires a documentation update: NO

References

Closes #954 (closed)

Edited by Niels Alexander Buegel

Merge request reports

Loading