Skip to content

Commit

Permalink
Merge pull request #1049 from eagerworks/fix_custom_object_doc
Browse files Browse the repository at this point in the history
Fix Custom Objects API example
  • Loading branch information
k8s-ci-robot authored Jan 9, 2020
2 parents 96766c2 + 59171fa commit 5181d23
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/custom_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ def main():
"apiVersion": "stable.example.com/v1",
"kind": "CronTab",
"metadata": {"name": "my-new-cron-object"},
"cronSpec": "* * * * */5",
"image": "my-awesome-cron-image",
"spec": {
"cronSpec": "* * * * */5",
"image": "my-awesome-cron-image"
}
}

# create the resource
Expand Down

0 comments on commit 5181d23

Please sign in to comment.