You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@K0Te: Yeah, this is because if there are multiple versions of a resource available form the API, then we only select one version for typesUnion (and also for types / schemas / defaults). In particular, we prefer the v1 version of a resource over the v1beta1 version
So if you really want the beta1 version of the resource, then there is a way to work around this if you need to use a non-default version, which is to wrap the typesUnion type in yet another sum type, like this:
let typesUnion =...letMyUnion=<Ingress: https://.../types/io.k8s.api.extensions.v1beta1.Ingress.dhall |Other: typesUnion >
... because dhall-to-yaml can handle nested union types (it will strip the alternative from both of them).
Hi,
I am trying to use the new
v1beta1
Ingress API for K8, I've been able to create configuration:But now I cannot use it list API, as the new one is missing from
typesUnion.dhall
, it only contains the old one:Please advise.
The text was updated successfully, but these errors were encountered: