зеркало из https://github.com/Azure/ARO-RP.git
Enforces hivev1azure import alias
This commit is contained in:
Родитель
2ef236a707
Коммит
f22254e177
|
@ -109,5 +109,7 @@ allowedImportNames:
|
|||
- hivefake
|
||||
github.com/openshift/hive/apis/hive/v1:
|
||||
- hivev1
|
||||
github.com/openshift/hive/apis/hive/v1/azure:
|
||||
- hivev1azure
|
||||
github.com/gofrs/uuid:
|
||||
- gofrsuuid
|
||||
|
|
|
@ -5,7 +5,7 @@ package hive
|
|||
|
||||
import (
|
||||
hivev1 "github.com/openshift/hive/apis/hive/v1"
|
||||
"github.com/openshift/hive/apis/hive/v1/azure"
|
||||
hivev1azure "github.com/openshift/hive/apis/hive/v1/azure"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
kruntime "k8s.io/apimachinery/pkg/runtime"
|
||||
|
@ -88,7 +88,7 @@ func clusterDeployment(namespace, clusterName, clusterID, infraID, location, API
|
|||
InfraID: infraID,
|
||||
},
|
||||
Platform: hivev1.Platform{
|
||||
Azure: &azure.Platform{
|
||||
Azure: &hivev1azure.Platform{
|
||||
BaseDomainResourceGroupName: "",
|
||||
Region: location,
|
||||
CredentialsSecretRef: corev1.LocalObjectReference{
|
||||
|
|
Загрузка…
Ссылка в новой задаче