diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2017-11-30 12:05:18 -0400 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2017-11-30 12:05:18 -0400 |
commit | f6fd3a10c522d807b1a01da1963e1b7558e0333b (patch) | |
tree | 40c11ea6156eb727c48548d9e597fee9cddd119e /utils/test/test_utils.py | |
parent | 6b6b422245be79dd3eec0c93a58875c646bbfba7 (diff) | |
download | openshift-f6fd3a10c522d807b1a01da1963e1b7558e0333b.tar.gz openshift-f6fd3a10c522d807b1a01da1963e1b7558e0333b.tar.bz2 openshift-f6fd3a10c522d807b1a01da1963e1b7558e0333b.tar.xz openshift-f6fd3a10c522d807b1a01da1963e1b7558e0333b.zip |
Fix inventory symlinks in origin-ansible container.
When attempting to run openshift-ansible in a kubernetes pod, we
attempted to use a configmap to mount in our inventory to run against.
However kubernetes mounts configmaps/secrets volumes through the use of
relative symlinks. The use of "cp -a" in this script then copies a
relative symlink to /tmp which is now dangling, and ansible will fail to
run.
This patch changes to just copy the file regularly resulting in a value
temp file that is not a symlink.
Diffstat (limited to 'utils/test/test_utils.py')
0 files changed, 0 insertions, 0 deletions