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
For crds_by_kind, there is an error when the same kind appears in multiple groups. For example, if there are multiple Certificate resources, the crd passed into KubernetesResource::build may not match the underlying resource definition.
Currently running into something related to this as well. I have a CRD with Kind Deployment, which is cluster-scoped. Krane is now unable to determine if a deployment has been done. Krane checks the scope only using the kind, making it think that a deployment is cluster-scoped. Kind shouldn't be used as an identifier. #895
Bug report
Currently,
DeployTask#discover_resources
is the following:For
crds_by_kind
, there is an error when the samekind
appears in multiple groups. For example, if there are multipleCertificate
resources, thecrd
passed intoKubernetesResource::build
may not match the underlying resource definition.E.g.
The solution is to group CRDs by their full GVK and match them with resource definitions that fully match it.
Version(s) affected: Observed in
krane 2.4.0
, but most likely present in all krane versions.cc @jerr
The text was updated successfully, but these errors were encountered: