Using the Operator-sdk I deploy a CR that has a Job with a pod. CR has a Status struct something like below
type CRStatus struct {
TestStatus string `json:"testStatus"`
TestCount int `json:"testCount"`
}
The Pod does some processing and prints output TestStatus and TestCount values. How can operator-sdk controller update CR's TestStatus and TestCount fields with values from Pod output of the job?