Open faangbait opened 2 weeks ago
@faangbait Thank you for raising this issue. Would you be willing to open a Pull Request with a fix?
I believe the documentation is correct, it's just poorly worded. The present
state will both create a resource if it doesn't exist and patch a resource if it does exist and differs from the supplied resource. The patched
state will only patch an existing resource.
SUMMARY
kubernetes.core.k8s.state reads "If set to present, an existing object will be patched, if its attributes differ from those specified using resource_definition or src."
Should read "If set to patched, an existing object will be patched, if its attributes differ from those specified using resource_definition or src.
ISSUE TYPE
COMPONENT NAME
k8s
ANSIBLE VERSION