Skip to content

Problem with multiple GVKs for DNSEndpoint

While implementing functionality MR for the dns-registration operator to create DNSEndpoints resources I ran into a problem where although I had already registered the different groups and versions for the DNSEndpoint (as shown in the OperatorSDK docs), when I try to create one I get the error:

"multiple group-version-kinds associated with type *endpoint.DNSEndpoint, refusing to guess at one"

This error msg comes from here and I think it might be related to this issue, I tried explicitly specifying the GVK for the resource that I wanted to create but it didn't help.

Currently, my only idea to solve this problem was in OKD4 transition to start only having one GVK for DNSEndpoint, for this to be possible we have however to submit an upstream patch (a small one hopefully).

CC @alossent @kosamara

Edited by Joao Esteves Marcal