Skip to content

Commit

Permalink
Fix CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
harishsurf committed Nov 14, 2023
1 parent eb41bef commit f0023e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions controllers/quay/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ func (r *QuayRegistryReconciler) checkRoutesAvailable(
quay *v1.QuayRegistry,
bundle *corev1.Secret,
) error {
routeManaged := v1.ComponentIsManaged(quay.Spec.Components, v1.ComponentRoute)
tlsManaged := v1.ComponentIsManaged(quay.Spec.Components, v1.ComponentTLS)
if routeManaged || tlsManaged {
return nil
}
// NOTE: The `route` component is unique because we allow users to set the
// `SERVER_HOSTNAME` field instead of controlling the entire fieldgroup. This
// value is then passed to the created `Route` using a Kustomize variable.
Expand Down

0 comments on commit f0023e3

Please sign in to comment.