Skip to content

Commit ef7ae8d

Browse files
committed
feat: Support OpenShift external IDP
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
1 parent c64e4a2 commit ef7ae8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/common/infrastructure/cluster.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ func IsKubernetesImagePullerEnabled() bool {
7777

7878
func InitializeForTesting(desiredInfrastructure Type) {
7979
infrastructure = desiredInfrastructure
80-
if infrastructure == OpenShiftV4 {
80+
81+
if IsOpenShift() {
8182
isOpenShiftOAuthEnabled = true
8283
} else {
8384
isOpenShiftOAuthEnabled = false

0 commit comments

Comments
 (0)