mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
conversion-gen issues with import that are exactly the same
Technically we don't need this. the instruction below: ``` // +k8s:conversion-gen=k8s.io/kubernetes/pkg/controller/apis/config/v1alpha1 ``` registers the apiserver/apimachinery packages in the "package universe" of the conversion-gen program per comment from lucas in PR 68233 However it looks like some files that use both packages run into trouble and causes failures in CI harness. Attempting here to see if we fix the order by specifying them explicitly helps. Change-Id: I20e9c9256f0b7ffdf4e2101d0ca1fe5090e51344
This commit is contained in:
parent
8e329f1c3c
commit
95c70ff6f0
@ -21,6 +21,8 @@ limitations under the License.
|
||||
|
||||
// +k8s:deepcopy-gen=package
|
||||
// +k8s:conversion-gen=k8s.io/kubernetes/cmd/cloud-controller-manager/app/apis/config
|
||||
// +k8s:conversion-gen=k8s.io/apimachinery/pkg/apis/config/v1alpha1
|
||||
// +k8s:conversion-gen=k8s.io/apiserver/pkg/apis/config/v1alpha1
|
||||
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/controller/apis/config/v1alpha1
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
|
Loading…
Reference in New Issue
Block a user