Update manifests creation to skip aro-operator

This commit is contained in:
Rajdeep Singh Chauhan 2024-10-28 19:23:31 -04:00
Родитель 5a4e719d87
Коммит 97cfcef326
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -15,8 +15,8 @@ func ExamplePlatformWorkloadIdentityRoleSetDocument() *PlatformWorkloadIdentityR
OpenShiftVersion: "4.14",
PlatformWorkloadIdentityRoles: []PlatformWorkloadIdentityRole{
{
OperatorName: "ServiceOperator",
RoleDefinitionName: "AzureRedHatOpenShiftServiceOperator",
OperatorName: "aro-operator",
RoleDefinitionName: "Azure Red Hat OpenShift Service Operator",
RoleDefinitionID: "/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000",
ServiceAccounts: []string{
"aro-operator-master",

Просмотреть файл

@ -289,7 +289,7 @@ func TestGeneratePlatformWorkloadIdentitySecrets(t *testing.T) {
ClientID: "00f00f00-0f00-0f00-0f00-f00f00f00f00",
},
{
OperatorName: "ServiceOperator",
OperatorName: "aro-operator",
ClientID: "00ba4ba4-0ba4-0ba4-0ba4-ba4ba4ba4ba4",
},
},
@ -302,7 +302,7 @@ func TestGeneratePlatformWorkloadIdentitySecrets(t *testing.T) {
},
},
{
OperatorName: "ServiceOperator",
OperatorName: "aro-operator",
SecretLocation: api.SecretLocation{
Namespace: "openshift-bar",
Name: "azure-cloud-credentials",

Просмотреть файл

@ -10,7 +10,7 @@ const (
Namespace = "openshift-azure-operator"
SecretName = "cluster"
OperatorIdentityName = "ServiceOperator"
OperatorIdentityName = "aro-operator"
OperatorIdentitySecretName = "azure-cloud-credentials"
OperatorTokenFile = "/var/run/secrets/openshift/serviceaccount/token"
)