This repository has been archived by the owner on Sep 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
01-minimal example does not work as expected. #261
Labels
documentation
Documentation improvements
Comments
zakkg3
changed the title
01-minimal example does not work as spected.
01-minimal example does not work as expected.
Dec 3, 2019
Thanks for reporting. Indeed, that is the definition of additionalPrinterColumns:
- name: Duration
type: string
priority: 0
JSONPath: .spec.duration
description: For how long the pod should sleep.
- name: Children
type: string
priority: 0
JSONPath: .status.create_fn.children
description: The children pods created.
- name: Message
type: string
priority: 0
JSONPath: .status.create_fn.message
description: As returned from the handler (sometimes). (With |
Yes, that will fix all the examples :). Thanks for the super-fast answer. we are thinking about use this framework, and with this response, I think we will go this path. thanks! |
zakkg3
pushed a commit
to zakkg3/kopf
that referenced
this issue
Dec 3, 2019
Signed-off-by: Nicolas Kowenski <[email protected]>
nolar
added a commit
that referenced
this issue
Dec 13, 2019
Fix bug #261, JSONPath should include the function name
Released as |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
As the https://github.com/zalando-incubator/kopf/blob/master/examples/01-minimal/README.md says:
and
Actual Behavior
as documented :
Whatever is returned from any handler, is stored in the object’s status under that handler id (which is the function name by default).
so I get:
and then the message is not picked up:
Steps to Reproduce the Problem
Specifications
kubectl version
) 1.15.5python --version
) 3.8pip freeze --all
) k8s and kopfAm I doing something wrong? do I miss something?
thanks!
The text was updated successfully, but these errors were encountered: