Skip to content

Commit

Permalink
add changes from #3538 for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
cadenmarchese committed Apr 29, 2024
1 parent 7a4e82f commit 658aa49
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/api/v20231122/openshiftcluster_convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,4 +291,11 @@ func (c openShiftClusterConverter) ExternalNoReadOnly(_oc interface{}) {
for i := range oc.Properties.IngressProfiles {
oc.Properties.IngressProfiles[i].IP = ""
}
oc.SystemData = nil
oc.Properties.ConsoleProfile.URL = ""
oc.Properties.APIServerProfile.URL = ""
oc.Properties.APIServerProfile.IP = ""
for i := range oc.Properties.IngressProfiles {
oc.Properties.IngressProfiles[i].IP = ""
}
}
11 changes: 11 additions & 0 deletions pkg/api/v20240812preview/openshiftcluster_convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,4 +339,15 @@ func (c openShiftClusterConverter) ExternalNoReadOnly(_oc interface{}) {
for i := range oc.Properties.IngressProfiles {
oc.Properties.IngressProfiles[i].IP = ""
}
oc.SystemData = nil
oc.Properties.ConsoleProfile.URL = ""
oc.Properties.APIServerProfile.URL = ""
oc.Properties.APIServerProfile.IP = ""
for i := range oc.Properties.IngressProfiles {
oc.Properties.IngressProfiles[i].IP = ""
}
for i := range oc.Properties.PlatformWorkloadIdentityProfile.PlatformWorkloadIdentities {
oc.Properties.PlatformWorkloadIdentityProfile.PlatformWorkloadIdentities[i].ClientID = ""
oc.Properties.PlatformWorkloadIdentityProfile.PlatformWorkloadIdentities[i].ObjectID = ""
}
}

0 comments on commit 658aa49

Please sign in to comment.