integ/kubernetes/cni/plugins
Bin Qian 54f2f7d6c6 Make /usr readonly to support OSTree
OSTree structure requires /usr to be readonly as OSTree's dracut
hook creates a read-only bind mount over /usr.

1. deploy validate_postgresql_connection.sh directly to
   /usr/local/bin. It was copied to the location after
   installation.
2. move /usr/local/etc/ldapscripts to /etc/ldapscripts, files
   need writable.
3. move /usr/libexec/cni to /opt/cni/bin. Plugins are installed
   at runtime.

TCs:
   provision aio-dx centos with /usr mount to readonly fs.
   unlocked host
   provision aio-sx debian and unlocked host.
   upgrade AIO-DX from 21.12
   upgrade AIO-SX from 21.12
   successfully apply cert-manager and nginx-ingress-controller

Story: 2009101
Task: 44314

Change-Id: I99231f3f7db3d2d8eaceba137e13dea650370f71
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2022-04-29 11:19:37 -04:00
..
centos Make /usr readonly to support OSTree 2022-04-29 11:19:37 -04:00
debian Make /usr readonly to support OSTree 2022-04-29 11:19:37 -04:00
Readme.rst uprev the containernetwork-plugins 2021-08-13 11:35:07 -04:00

The spec file used here was from the Centos 7 src rpm for containernetworking-plugins. The orig file is included to help show modifications made to that spec file, to help understand which changes were needed and to assist with future upversioning.