-
Notifications
You must be signed in to change notification settings - Fork 297
feat: Add ability to hide certain annotations on secret resources #577
Conversation
|
|
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍
|
|
Hi @pasha-codefresh, sorry for the nudge 👉 😅. Did you get a chance to review it again? |
|
@svghadi sorry, had urgent work to do, i will review it tomorrow |
|
Hey @pasha-codefresh, were you able to review it again by any chance? thanks in advance. |
Signed-off-by: Siddhesh Ghadi <[email protected]>
Signed-off-by: Siddhesh Ghadi <[email protected]>
Signed-off-by: Siddhesh Ghadi <[email protected]>
Signed-off-by: Siddhesh Ghadi <[email protected]>
d98e37a to
2dd3ac2
Compare
pkg/diff/diff.go
Outdated
| } | ||
|
|
||
| // HideSecretData replaces secret data values in specified target, live secrets and in last applied configuration of live secret with stars. Also preserves differences between | ||
| // HideSecretData replaces secret data & optional annotations values in specified target, live secrets and in last applied configuration of live secret with stars. Also preserves differences between |
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 kinda object to Hide as a verb, this appears to be closer to Mask than Hide.
That appears to be a preexisting condition, but if I inherited this code, I'd want to change it.
Signed-off-by: Siddhesh Ghadi <[email protected]>
Signed-off-by: Siddhesh Ghadi <[email protected]>
Signed-off-by: Siddhesh Ghadi <[email protected]>
|
agaudreault
left a comment
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
|
Taking one more day for manual testing, but overall LGTM to me |
pasha-codefresh
left a comment
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, thank you a lot




Related to argoproj/argo-cd#15693.
This PR implements core logic from argoproj/argo-cd#hide-annotations.md proposal to hide annotations on secret resources.
This change will be integrated with Argo CD via argoproj/argo-cd#18216.
Integration results:
mask-annotations.mov