Further clean up init scripts
Summary
This MR:
- Removes the mounting of
/mnt/logs
(via theclaimLogs
PVC) from anything butcta
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 thescheduler
andcatalogue
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 thekdc
subchart. As such, I got rid of theinit
chart and we now only have thekdc
chart. - As a result, the
catalogue
,scheduler
andkdc
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 indocker/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 withbuild_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