-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example to demonstrate usage of patch_cluster_custom_object
method
#1437
Add example to demonstrate usage of patch_cluster_custom_object
method
#1437
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you paste a sample output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits. LGTM otherwise
/lgtm |
@yliaog, all prow tests passed successfully this time. PR now needs an Thank you. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Priyankasaggu11929, yliaog The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind documentation
What this PR does / why we need it:
This PR adds a new example python script
examples/cluster_scoped_custom_object.py
which demonstrates the use of kubernetes.client.CustomObjectsApi for a cluster scoped custom resource. It does the following:create_cluster_custom_object
method.get_cluster_custom_object
method.patch_cluster_custom_object
.This newly added example suffices the ask in the issue #1427.
Which issue(s) this PR fixes:
Fixes #1427
Does this PR introduce a user-facing change?