Skip to content

Conversation

Aaron-9900
Copy link
Contributor

@Aaron-9900 Aaron-9900 commented Feb 26, 2025

Docs for: #20896

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Toolchain Guide
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.
  • Optional. My organization is added to USERS.md.
  • Optional. For bug fixes, I've indicated what older releases this fix should be cherry-picked into (this may or may not happen depending on risk/complexity).

Copy link

bunnyshell bot commented Feb 26, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com>
@Aaron-9900 Aaron-9900 force-pushed the docs/add-notifications-examples-section branch from 178345b to 5b4e3bc Compare February 26, 2025 16:17
@Aaron-9900 Aaron-9900 changed the title #20896 docs/add notifications examples section #20896 docs | Add notifications examples section Feb 26, 2025
@Aaron-9900 Aaron-9900 changed the title #20896 docs | Add notifications examples section #20896 docs|Add notifications examples section Feb 26, 2025
@Aaron-9900 Aaron-9900 changed the title #20896 docs|Add notifications examples section docs: dd notifications examples section Feb 26, 2025
@Aaron-9900 Aaron-9900 changed the title docs: dd notifications examples section docs: add notifications examples section Feb 26, 2025
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.91%. Comparing base (335b65b) to head (1187e96).
Report is 497 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #22032      +/-   ##
==========================================
+ Coverage   55.87%   55.91%   +0.04%     
==========================================
  Files         343      343              
  Lines       57310    57310              
==========================================
+ Hits        32022    32045      +23     
+ Misses      22637    22627      -10     
+ Partials     2651     2638      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com>
Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com>
@Aaron-9900 Aaron-9900 marked this pull request as ready for review March 4, 2025 20:19
@Aaron-9900 Aaron-9900 requested review from a team as code owners March 4, 2025 20:19
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
images: [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to add an example of a real-world usage of the images key? For example, could I have a notification that zips up all images across all resources, dedupes them, and sends that list as a Slack notification?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dedupes them

That needs an external server I believe? Is the code for that something that should be in these docs?


With this information you can, for example:
1. Monitor the version of your image being deployed
2. Be alerted in case of any vulnerability present in a new deployment
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you go into more detail about how this would work?

Copy link
Contributor Author

@Aaron-9900 Aaron-9900 Mar 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'll remove this part about vulnerabilities. I was thinking of a use case like the following:

  1. Receive the webhook and images
  2. Compare those images against a vulnerability database
    But I don't think this is a good use case in the end because there are tools specific for that, that scan your images before deploying, and it might be misleading to have this here

Added a different example

Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com>
@Aaron-9900 Aaron-9900 force-pushed the docs/add-notifications-examples-section branch from 0e12313 to aff41f1 Compare March 7, 2025 12:06
Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com>
@Aaron-9900 Aaron-9900 requested a review from crenshaw-dev March 7, 2025 12:08
Copy link
Member

@pasha-codefresh pasha-codefresh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea, i definitely missed such page. Thank you

Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com>
Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com>
Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com>
@Aaron-9900
Copy link
Contributor Author

@crenshaw-dev 👋🏼 I think I addressed the requested changes. Could you take another look? Thanks!

@crenshaw-dev crenshaw-dev merged commit 66d7f1b into argoproj:master Mar 24, 2025
27 checks passed
Hapshanko pushed a commit to Hapshanko/argo-cd that referenced this pull request Apr 29, 2025
Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com>
Co-authored-by: Pasha Kostohrys <pasha.kostohrys@gmail.com>
Signed-off-by: Hapshanko <adamgaming391100@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants