Skip to content

I’m curious why the CRD Generator doesn’t include an implementation for metadata.annotations and labels #7092

Open
@il-kyun

Description

@il-kyun

I noticed that although CustomResource has annotation data, these fields aren’t mapped into the instance(HasMetadata) implementation. As a result, when CustomResourceInfo is generated , the metadata passed from HasMetadata never includes annotations or labels. Could you explain why the @annotations and @Labels annotations in io.fabric8.crd.generator.annotation aren’t supported/processed? (https://github.com/fabric8io/kubernetes-client/blob/main/doc/CRD-generator.md#iofabric8crdgeneratorannotationannotations)

If this support is simply unimplemented, I’d be happy to contribute an implementation.

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