-
Notifications
You must be signed in to change notification settings - Fork 10
CFE-351 #15
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
CFE-351 #15
Conversation
…ccount token is always automatically created and mounted on the pod using it Set OwnerReferences on SCC, SA, ClusterRole, ClusterRoleBinding and DaemonSet
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sherine-k 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 |
Fix lintint issue due to removing secret reconciliation
…ing and SCC before deleting NodeObservability
if err := r.deleteSecurityContextConstraints(nodeObs); err != nil { | ||
errs = append(errs, fmt.Errorf("failed to delete SCC : %w", err)) | ||
} | ||
if len(errs) == 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.
nit: merge if statement i.e if len(errs) == 0 && hasFinalizer(nodeObs) {
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.
I tried deleting the nodeobeservability sample I created and got this error
Reconciler error {"reconciler group": "nodeobservability.olm.openshift.io", "reconciler kind": "NodeObservability", "name": "nodeobservability-sample", "namespace": "node-observability-operator", "error": "failed to update NodeObservability with finalizers:, failed to update finalizers: Operation cannot be fulfilled on nodeobservabilities.nodeobservability.olm.openshift.io \"nodeobservability-sample\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/nodeobservability.olm.openshift.io/nodeobservabilities/node-observability-operator/nodeobservability-sample, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 0563674f-07cc-446f-9eff-b59d2b9c8616, UID in object meta: "}
Need to look at why the finalizers we not able to update
/unhold |
/unhold |
I didn't reproduce this one Yes ignore this, as mentioned I think it was an old remnant in my CRC env. I also tried a couple of times and could not reproduce this error |
@sherine-k: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/lgtm |
Main goal:
Also contains: