Skip to content
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 Checksum Annotation as Transformer to Kustomization #348

Closed

Conversation

jonathan-innis
Copy link

To avoid always adding this to labels (and to not break current users), the proposed solution is to add an AnnotationTransformer to add the checksum as an annotation to track stale resources deployed by Kustomization

Signed-off-by: Jonathan Innis <jonathan.innis.ji@gmail.com>
@jonathan-innis jonathan-innis force-pushed the add-checksum-annotation branch from 9890d66 to 9178ea1 Compare May 23, 2021 03:14
@jonathan-innis
Copy link
Author

@stealthybox This addresses the checksum issue

@hiddeco
Copy link
Member

hiddeco commented May 23, 2021

Can you add a little information about the issue that is being addressed? As I can see what this does, but can not directly see why we want to do this.

@jonathan-innis
Copy link
Author

jonathan-innis commented May 23, 2021

Sure, addresses #305. @stealthybox and I have had some discussion around tracking stale resources regardless of whether the Kustomization has GC enabled. The proposed solution was that we duplicate the data into annotations and don't break current users by adding it always to labels.

This solves an issue that has been blocking the Azure Arc team trying to track which resources were recently deployed and which ones are stale.

@jonathan-innis
Copy link
Author

Closing this because it will not be taken in its current state 😄

@jonathan-innis jonathan-innis deleted the add-checksum-annotation branch June 3, 2021 15:04
@jonathan-innis jonathan-innis restored the add-checksum-annotation branch June 3, 2021 15:04
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.

2 participants