-
Notifications
You must be signed in to change notification settings - Fork 20
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
Feature/watch owned resources #2
Conversation
…yConfig however does respond
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.
Some regression and some feedback. Also the make tests were failing and two tests were commented out from razee. Please add those back and get them working.
url := fmt.Sprintf("%s/%s/%s/%s", instance.Spec.DeployConfig.IbmCosURL, instance.Spec.DeployConfig.BucketName, instance.Spec.ClusterUUID, instance.Spec.DeployConfig.ChildRSSFIleName) | ||
instance.Spec.ChildUrl = &url | ||
err = r.client.Update(context.TODO(), instance) | ||
if err != nil { | ||
reqLogger.Error(err, "Failed to update Status.RedHatMarketplaceSecretFound") | ||
reqLogger.Error(err, "Failed to update ChildUrl") | ||
return reconcile.Result{}, err |
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.
We can move this logic into the end of the reconcileRhmOperatorSecret.
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.
Thought about doing that. I was worried about having a partially formed url. As is, I know all the values are there and can create a full url. Is that an issue ?
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.
If you don't have any missing fields and you recalculate it each time the secret is found then by the time you get here the child url will be complete.
Co-authored-by: Zachary Taylor <[email protected]>
Co-authored-by: Zachary Taylor <[email protected]>
Co-authored-by: Zachary Taylor <[email protected]>
Co-authored-by: Zachary Taylor <[email protected]>
Namsimar: Operator deploys single
We've moved this work to the /owned PR |
chore: updating licenses chore: fixing cover error chore: fixing test chore: fixing test #2 chore: removing focus chore: fixing another test chore: fixing another test chore: fixing another test chore: adding test debug fix: making config not crash on bad k8s cfg
This is an alteration of the my other pr which includes some refactoring.
Changes Made:
Remaining Items:
Change github references to use github.com/redhat-marketplace
Test whether adding ownership to the secret after it's found works
Check that I'm returning reconcole.Result{},err in the correct places
Issue with updating JobState
Make sure that legacy crd values are set to null/accounted for properly
Check that the Spec field and Status field descriptors are present and correct after merge with develop
Check that updates to: ClusterUUID, RazeeDashUrl, ChildRRS3FileName trigger an update tocorresponding Razee resources