Skip to content

Conversation

@stuggi
Copy link
Contributor

@stuggi stuggi commented Dec 3, 2024

Adds tags which to resolve the condition failures reported by the crd checker recently added as a pre-commit validation.

In a follow up, we should integrate the new ObservedGeneration for a condition [1]. The observedGeneration represents the .metadata.generation that the condition was set based upon.

[1] https://github.com/kubernetes/apimachinery/blob/release-1.29/pkg/apis/meta/v1/types.go#L1518

Adds tags which to resolve the condition failures reported by the
crd checker recently added as a pre-commit validation.

In a follow up, we should integrate the new ObservedGeneration for
a condition [1]. The observedGeneration represents the
.metadata.generation that the condition was set based upon.

[1] https://github.com/kubernetes/apimachinery/blob/release-1.29/pkg/apis/meta/v1/types.go#L1518

Signed-off-by: Martin Schuppert <[email protected]>
@dprince
Copy link
Contributor

dprince commented Dec 3, 2024

I think some of these validations will go into the CRD yamls thus increasing the size. want to be sure we are actually getting value out of these vs. just making a tool like crd-schema-checker happy

Copy link
Contributor

@bogdando bogdando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this minimal scoped change looks better to me than the 584th pr

Copy link
Contributor

@mrkisaolamb mrkisaolamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants