-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Type of question
General operator-related help
Question
What did you do?
I develop an Ansible operator and let it manage its status (and I prefer that way - it will probably manage it better by itself).
However our testers recently complained about the following result:
{
"lastTransitionTime": "2023-07-25T07:14:46Z",
"message": "Last reconciliation succeeded",
"reason": "Successful",
"status": "False",
"type": "Successful"
}They would like to see "True" instead of "False" in the status field which would be more coherent with the actual results. (They use some script to check all statuses, my operator being just one amongst many, and wait for True I guess.)
What did you expect to see?
I'd rather expect something like:
{
"lastTransitionTime": "2023-07-25T07:14:46Z",
"message": "Last reconciliation succeeded",
"reason": "Successful",
"status": "True",
"type": "Successful"
}but maybe I missed something there.
What did you see instead? Under which circumstances?
We actually see status: False and don't understand why.
Environment
Operator type:
/language ansible
Kubernetes cluster type:
OpenShift
$ operator-sdk version
operator-sdk version: "v1.31.0"
$ kubectl version
Client Version: v1.28.1
Additional context
Metadata
Metadata
Assignees
Labels
No labels