CRD's don't have dry_run option
See original GitHub issueWhile working with CRDs (create/patch/delete), there is no dry_run option similar to the other native objects.
API Call for creating a custom object
api_instance.create_namespaced_custom_object(group, version, namespace, plural, body, pretty=pretty)
Reference - create_namespaced_custom_object
API Call for Deployment
api_instance.create_namespaced_deployment(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager)
Is there any workaround to this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Command Line Tools — CRDS 11.16.16 documentation
The command line tools operate on CRDS reference and mapping files both inside and outside the CRDS cache. In all releases CRDS has...
Read more >Custom Resource Definitions - Helm
The purpose of "Dry Run" is to validate that the output of the chart will actually work if sent to the server. But...
Read more >APIServer dry-run and kubectl diff - Kubernetes
The existing solution is to run kubectl apply --dry-run , but this runs a local dry-run that doesn't talk to the server: it...
Read more >Sync Options - Argo CD - Declarative GitOps CD for Kubernetes
1) The CRD manifest is part of the same sync. Then Argo CD will automatically skip the dry run, the CRD will be...
Read more >& : Always Use Dry-run Options If Possible
I am asking git to verbosely add any changed files in the current directory and below, including any files previously committed.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
@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. 👍