-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add readiness check for resources #51
Conversation
e6f04d7
to
f08a3c6
Compare
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 job on this Michael :) i left a few comments/questions bellow
5352664
to
64c732b
Compare
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.
Nice iteration, i left a few more comments!
// This function parses resource condition expressions. | ||
// These expressions need to be standalone expressions | ||
// so, this function also does some validation. | ||
// At the end we return the expressions with '${}' removed |
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 suggest to do a quick read on https://go.dev/blog/godoc
@michaelhtm also golangci-lint has a few comments on this. |
2150720
to
dcaa031
Compare
This feature ensures users are allowed to define when a resource is ready or not. For now this feature only allows to look within itself to see whether it's ready or not, so only its spec and status can be accessed using CEL fields. An example with deployement-service RG will be included in this PR
dcaa031
to
b8b4662
Compare
/retest |
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.
Great work Michael! i'll rebase on top of this for my next patch~
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: a-hilaly, michaelhtm 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 |
Issue #51 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #51 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #51 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Add readiness check for resources
Issue #51 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #16
Description of changes:
This feature ensures users are allowed to define
when a resource is ready or not.
For now this feature only allows to look within itself to
see whether it's ready or not, so only its spec and status
can be accessed using CEL fields.
An example with deployement-service RG will be included i
n this PR
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.