-
Notifications
You must be signed in to change notification settings - Fork 64
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
chore: Refactor error messages for Notation signature verification #1730
Conversation
feat: refresher interface fix: formatting and license test: kuberefresher test: kuberefresher helpers refactor: IsRefreshable KMP interface method fix: add IsRefreshable method refactor: kmp spec interval as string mod: rm todo mod: rm comment style: use embedded type feat: namespaced refresher interface test: mock factory & test refreshable logic refactor: use kubeRefreshNamespaced in controller mod: add license blocks refactor: kmp.spec.interval default to empty string disabling refresh tests: increase refresher coverage refactor(kmp): use factory for creating refresher objects This change introduces a RefresherFactory that is responsible for creating the appropriate refresher object based on a configuration that's passed in. This decouples the reconcile logic from the object creation, making the code more modular and easier to test mod: rename interval to refreshinterval & adds crd descriptions mod: remove verbose logging from refresher docs: kmp refresh interval samples doc: corrected resource name of akv samples fix: kmp spec json tag using incorrect values & add refresh interval description fix: add licenses & update interval name in tests mod: comments for exported interfaces test: improve refresher test coverage Signed-off-by: Joshua Duffney <[email protected]>
Signed-off-by: Joshua Duffney <[email protected]>
Signed-off-by: Joshua Duffney <[email protected]>
Signed-off-by: Joshua Duffney <[email protected]>
Signed-off-by: Joshua Duffney <[email protected]>
Signed-off-by: Joshua Duffney <[email protected]>
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.17.0 to 0.17.1. - [Release notes](https://github.com/anchore/sbom-action/releases) - [Commits](anchore/sbom-action@d94f46e...ab9d16d) --- updated-dependencies: - dependency-name: anchore/sbom-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Joshua Duffney <[email protected]>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.0 to 3.26.1. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@eb055d7...29d86d2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Joshua Duffney <[email protected]>
Signed-off-by: Joshua Duffney <[email protected]>
…ect#1697) Signed-off-by: Joshua Duffney <[email protected]>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.1 to 3.26.2. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@29d86d2...429e197) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Joshua Duffney <[email protected]>
Signed-off-by: Yi Zha <[email protected]> Signed-off-by: Joshua Duffney <[email protected]>
86da15d
to
7ff80d1
Compare
4745ef8
to
644e8bb
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.
LGTM , left a minor comment
8c69f5e
to
c258392
Compare
c258392
to
65617a1
Compare
14db495
to
d821a90
Compare
@yizha1 thanks a lot for your feedback, could you take another look? I've addressed all comments. |
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.
Thanks @binbin-li
LGTM for the first round of improvements.
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.
LGTM
…atify-project#1730) Signed-off-by: akashsinghal <[email protected]>
Description
What this PR does / why we need it:
This PR focuses on the notation signature validation scenario, improving the clarity of error messages and providing more intuitive remediation steps for users.
For errors that are self-explanatory, I have not included remediation steps.
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):It will fix some cases of the issue: #1321
Type of change
Please delete options that are not relevant.
main
branch)How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration
Checklist:
Post Merge Requirements
Helm Chart Change