ansible-collections / kubernetes.core

The collection includes a variety of Ansible content to help automate the management of applications in Kubernetes and OpenShift clusters, as well as the provisioning and maintenance of clusters themselves.
Other
215 stars 135 forks source link

k8s_json_patch typo in example #469

Closed el-pako closed 2 years ago

el-pako commented 2 years ago
SUMMARY

According to RFC 6902 JSON (https://datatracker.ietf.org/doc/html/rfc6902#section-4.3)

  - op: replace
        patch: /spec/containers/0/image
        value: nginx

should be

  - op: replace
        path: /spec/containers/0/image
        value: nginx
ISSUE TYPE
COMPONENT NAME

k8s_json_patch

ANSIBLE VERSION

latest

Akasurde commented 2 years ago

@el-pako Thanks for reporting this. This is already been addressed - https://github.com/ansible-collections/kubernetes.core/pull/425

gravesm commented 2 years ago

Closing as this has already been addressed.