Skip to content

Duplicate API names in different groups won't work with ModelMapper #4040

@brendandburns

Description

@brendandburns

The Code Generator used to place the API group in the class name (AppsV1DaemonSet) but it doesn't do this anymore.

The static ModelMapper code still assumes that this is true.

The net effect of this is that all of the models land in the same namespace despite different API groups. This isn't actually that much of a problem since the names are largely different, but it will cause problems if people expect this to work when they load in CRDs if they have the same names.

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