diff --git a/data/data/install.openshift.io_installconfigs.yaml b/data/data/install.openshift.io_installconfigs.yaml index b511e7d3c8e..f47a706b868 100644 --- a/data/data/install.openshift.io_installconfigs.yaml +++ b/data/data/install.openshift.io_installconfigs.yaml @@ -979,9 +979,9 @@ spec: \"Manual\": CredentialsRequests must be handled manually by the user \n For each of the following platforms, the field can set to the specified values. For all other platforms, the field must not be set. AWS: \"Mint\", - \"Passthrough\", \"Manual\" Azure: \"Mint\", \"Passthrough\", \"Manual\" - AzureStack: \"Manual\" GCP: \"Mint\", \"Passthrough\", \"Manual\" IBMCloud: - \"Manual\" AlibabaCloud: \"Manual\"" + \"Passthrough\", \"Manual\" Azure: \"Passthrough\", \"Manual\" AzureStack: + \"Manual\" GCP: \"Mint\", \"Passthrough\", \"Manual\" IBMCloud: \"Manual\" + AlibabaCloud: \"Manual\"" enum: - "" - Mint diff --git a/pkg/types/installconfig.go b/pkg/types/installconfig.go index a3ee2651029..d57bc92c0e7 100644 --- a/pkg/types/installconfig.go +++ b/pkg/types/installconfig.go @@ -143,7 +143,7 @@ type InstallConfig struct { // For each of the following platforms, the field can set to the specified values. For all other platforms, the // field must not be set. // AWS: "Mint", "Passthrough", "Manual" - // Azure: "Mint", "Passthrough", "Manual" + // Azure: "Passthrough", "Manual" // AzureStack: "Manual" // GCP: "Mint", "Passthrough", "Manual" // IBMCloud: "Manual" diff --git a/pkg/types/validation/installconfig.go b/pkg/types/validation/installconfig.go index 583cc61a7a8..5c21e50221e 100644 --- a/pkg/types/validation/installconfig.go +++ b/pkg/types/validation/installconfig.go @@ -607,7 +607,7 @@ func validateCloudCredentialsMode(mode types.CredentialsMode, fldPath *field.Pat } allErrs := field.ErrorList{} - allowedAzureModes := []types.CredentialsMode{types.MintCredentialsMode, types.PassthroughCredentialsMode, types.ManualCredentialsMode} + allowedAzureModes := []types.CredentialsMode{types.PassthroughCredentialsMode, types.ManualCredentialsMode} if platform.Azure != nil && platform.Azure.CloudName == azure.StackCloud { allowedAzureModes = []types.CredentialsMode{types.ManualCredentialsMode} }