diff options
author | Will Thames <will@thames.id.au> | 2019-09-19 13:30:31 +1000 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2019-09-18 21:10:06 -0700 |
commit | 5a99d473d34732028a6fbc3024be0f00d51af5f1 (patch) | |
tree | fd33066fe9aa1fc12e18756790abc57d9d6dc46c /changelogs | |
parent | 1bb6d3c21a8bd453ca3a55bd7b8471883dd03af2 (diff) | |
download | ansible-5a99d473d34732028a6fbc3024be0f00d51af5f1.tar.gz |
Ensure k8s apply works with check mode (#60572)
* Ensure k8s apply works with check mode
Update the new predicted object with fields from the previous object
before applying in check mode
Don't log output of `file` with `state: absent` on huge virtualenvs!
Fixes #60510
* Use openshift client fix to improve apply for check mode
Use new apply_object method to get a better approximation
of the expected object in check mode.
Requires released upgrade to openshift
* Add changelog fragment for k8s apply check mode fix
* Update changelogs/fragments/60510-k8s-apply-check-mode.yml
Co-Authored-By: Felix Fontein <felix@fontein.de>
(cherry picked from commit a684bb9f5b70fb666e26cb2d0f2b357760565951)
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/60510-k8s-apply-check-mode.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/60510-k8s-apply-check-mode.yml b/changelogs/fragments/60510-k8s-apply-check-mode.yml new file mode 100644 index 0000000000..b71c115a4c --- /dev/null +++ b/changelogs/fragments/60510-k8s-apply-check-mode.yml @@ -0,0 +1,2 @@ +bugfixes: + - k8s - ensure that apply works with check mode. Bumps minimum openshift version for apply to 0.9.2. |