We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3dfaba commit 8990b2bCopy full SHA for 8990b2b
pkg/controller/operators/olm/requirements.go
@@ -273,7 +273,7 @@ func (a *Operator) permissionStatus(strategyDetailsDeployment *v1alpha1.Strategy
273
}
274
275
// Check if the ServiceAccount is owned by CSV
276
- if !ownerutil.IsOwnedBy(sa, csv) {
+ if len(sa.GetOwnerReferences()) != 0 && !ownerutil.IsOwnedBy(sa, csv) {
277
met = false
278
status.Status = v1alpha1.RequirementStatusReasonPresentNotSatisfied
279
status.Message = "Service account is not owned by this ClusterServiceVersion"
0 commit comments