mirror of https://github.com/ansible/ansible.git
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 a684bb9f5b
)
pull/62572/head
parent
1bb6d3c21a
commit
5a99d473d3
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- k8s - ensure that apply works with check mode. Bumps minimum openshift version for apply to 0.9.2.
|
Loading…
Reference in New Issue