New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
authentication operator is marked available because the deployment is missing #323
Conversation
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
I don't care about the nits so much
Type: "WellKnownAvailable", | ||
Status: operatorv1.ConditionFalse, | ||
Reason: "PrereqsNotReady", | ||
Message: "THe well-known endpoint prereqs are not yet available", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: typo (THe)
if userMetadataConfig := authConfig.Spec.OAuthMetadata.Name; authConfig.Spec.Type != configv1.AuthenticationTypeIntegratedOAuth || len(userMetadataConfig) != 0 { | ||
return true, "", nil | ||
// the operator manages the metadata if specifically requested and by default | ||
isOperatorManagedMetadata := authConfig.Spec.Type == configv1.AuthenticationTypeIntegratedOAuth || len(authConfig.Spec.Type) == 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch with that empty type, I wonder how long we had this there
routev1informers "github.com/openshift/client-go/route/informers/externalversions/route/v1" | ||
routev1listers "github.com/openshift/client-go/route/listers/route/v1" | ||
operatorv1 "github.com/openshift/api/operator/v1" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: no need for this empty line
/hold
|
/hold cancel |
/hold cancel |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, mfojtik, stlaz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Since the CVO treats availability as "past the post", this cause a blip which disturbs the installation flow.