While working with CRDs (create/patch/delete), there is no dry_run option similar to the other native objects.
api_instance.create_namespaced_custom_object(group, version, namespace, plural, body, pretty=pretty)
Reference - create_namespaced_custom_object
api_instance.create_namespaced_deployment(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager)
Is there any workaround to this?
Hi @sniranjan, the support for dry-run to CRD's has recently been added (https://github.com/kubernetes-client/gen/pull/154). Whenever the next client version is generated, it would get updated.
/assign
Hi @palnabarun , when can we expect the next version of the client? It's currently blocking us for the dry-run feature
Thanks
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
@sniranjan @LouisPlisso -- with https://github.com/kubernetes-client/python/pull/1280, this feature would come to the latest stable client release. Thank you for your patience. :+1:
/remove-lifecycle rotten
This has now been resolved with the latest client release.
/close
@palnabarun: Closing this issue.
In response to this:
This has now been resolved with the latest client release.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Most helpful comment
Hi @sniranjan, the support for
dry-runto CRD's has recently been added (https://github.com/kubernetes-client/gen/pull/154). Whenever the next client version is generated, it would get updated./assign