Skip to content

Add support for interface member #528

@fiftoine

Description

@fiftoine

Hi,

I have a resource type that has a interface{} type.

When running go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go crdI get an error :

2018/12/13 08:35:47 Unknown supported Kind Interface

Actually, This field could contain string or int or bool but I don't want to create a IntOrStringOrBool type. Is there a workaround or is it a bug?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions