Open tnozicka opened 3 years ago
There are 4 places where operator forces ownership
controller/scyllacluster/:
Unfortunately the scyllacluster_sa e2e test needs the first 2 to force ownership.
e.g.
syncing key 'e2e-test-scyllacluster-tzr76-5nppk/basic-7554m' failed: can't sync serviceaccounts: can't apply service account: serviceAccount "e2e-test-scyllacluster-tzr76-5nppk/basic-7554m-member" isn't controlled by us
"Event occurred" object="e2e-test-scyllacluster-8f75c-2bpdc/basic-89lj9-member" fieldPath="" kind="RoleBinding" apiVersion="rbac.authorization.k8s.io/v1" type="Warning" reason="UpdateRoleBindingFailed" message="Failed to update RoleBinding e2e-test-scyllacluster-8f75c-2bpdc/basic-89lj9-member: roleBinding \"e2e-test-scyllacluster-8f75c-2bpdc/basic-89lj9-member\" isn't controlled by us"
So it looks like for now we can disable forcing ownership only in pdb and secrets.
The Scylla Operator project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
/lifecycle stale
/remove-lifecycle stale /triage accepted
v1.3 and previous versions didn't set selectors correctly for some cases. Given the Three laws of controllers v1.4 (that respects them) had to release those objects. That got us to a state where we couldn't update them because we don't own them and we can't adopt them because they don't match our selector.
We should set
forceOwnership
parameter back tofalse
in v1.5.