Skip to content

Status is incompatible with metav1.Condition #449

Description

@calind

Currently, metav1.Condition requires Reason and Message fields to be set. This makes the reconciler impossible to use with resources using it, which is pretty standard.

type ResourceStatus struct {
	Conditions      []metav1.Condition `json:"conditions,omitempty"`
}

Using, results in errors like:

conditions[1].message: Required value, conditions[1].reason: Required value

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions